/* Top Banner */
.top-banner {
    background: rgba(var(--primary-rgb), 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    position: relative;
    z-index: 1000;
    padding: 4px 0;
}

.top-banner .social-links a {
    color: var(--text-2);
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    padding: 4px 8px;
    border-radius: 6px;
    margin-right: 0.5rem;
}

.top-banner .quick-links a {
    color: var(--text-2);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0.9;
    margin-left: 0.5rem;
}

.top-banner .social-links a:hover {
    color: var(--primary);
    opacity: 1;
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.top-banner .quick-links a:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    opacity: 1;
}

/* Modern Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand .brand-icon {
    font-size: 1.75rem;
    background: linear-gradient(120deg, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand span {
    background: linear-gradient(120deg, var(--text-1), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-2);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
    min-width: 240px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar .dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.dropdown-header {
    color: var(--text-2);
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    color: var(--text-2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1rem;
    opacity: 0.8;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.theme-toggle {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 1.25rem;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle:hover {
    color: var(--primary);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

[data-bs-theme="dark"] .theme-toggle .fa-sun {
    display: inline-block;
}

[data-bs-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-bs-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

[data-bs-theme="light"] .theme-toggle .fa-moon {
    display: inline-block;
}

/* Navbar Search Box */
.navbar .search-container {
    position: relative;
    width: 300px;
}

.navbar .search-box {
    position: relative;
    width: 100%;
}

.navbar .search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-1);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar .search-box input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar .search-box i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-2);
    font-size: 1.2rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-shortcut {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-2);
    pointer-events: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-1), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-2);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Search Input */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 16px;
    color: var(--text-1);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.search-box i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-2);
    font-size: 1.2rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-box input:focus + i {
    color: var(--primary);
}

/* Search Input in Hero */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    color: var(--text-1);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-2);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Root Variables */
:root {
    /* Light Theme */
    --bg-light: #ffffff;
    --bg-offset-light: #f8fafc;
    --text-1-light: #0f172a;
    --text-2-light: #475569;
    --border-light: rgba(0, 0, 0, 0.1);
    --surface-light: rgba(255, 255, 255, 0.9);
    --surface-hover-light: rgba(0, 0, 0, 0.03);
    --primary-light: #3b82f6;
    --primary-rgb-light: 59, 130, 246;
    --shadow-sm-light: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    /* Dark Theme */
    --bg-dark: #0f172a;
    --bg-offset-dark: #1e293b;
    --text-1-dark: #f8fafc;
    --text-2-dark: #cbd5e1;
    --border-dark: rgba(255, 255, 255, 0.1);
    --surface-dark: rgba(30, 41, 59, 0.9);
    --surface-hover-dark: rgba(255, 255, 255, 0.03);
    --primary-dark: #60a5fa;
    --primary-rgb-dark: 96, 165, 250;
    --shadow-sm-dark: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md-dark: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Theme Mapping */
:root {
    --bg: var(--bg-light);
    --bg-offset: var(--bg-offset-light);
    --text-1: var(--text-1-light);
    --text-2: var(--text-2-light);
    --border: var(--border-light);
    --surface: var(--surface-light);
    --surface-hover: var(--surface-hover-light);
    --primary: var(--primary-light);
    --primary-rgb: var(--primary-rgb-light);
    --shadow-sm: var(--shadow-sm-light);
    --shadow-md: var(--shadow-md-light);
}

[data-bs-theme="dark"] {
    --bg: var(--bg-dark);
    --bg-offset: var(--bg-offset-dark);
    --text-1: var(--text-1-dark);
    --text-2: var(--text-2-dark);
    --border: var(--border-dark);
    --surface: var(--surface-dark);
    --surface-hover: var(--surface-hover-dark);
    --primary: var(--primary-dark);
    --primary-rgb: var(--primary-rgb-dark);
    --shadow-sm: var(--shadow-sm-dark);
    --shadow-md: var(--shadow-md-dark);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text-1);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: var(--surface);
    border-bottom: var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
    background: var(--surface);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--text-1);
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--primary);
    transition: color 0.3s ease;
}

.nav-link {
    color: var(--text-2);
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--surface-hover);
}

/* Enhanced Navbar Styles */
.navbar {
    background: rgba(var(--surface-rgb), 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(var(--border-rgb), 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand .brand-icon {
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.75rem;
}

.nav-link {
    color: var(--text-1);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 0 0.25rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-link i {
    transition: transform 0.3s ease;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link:hover i {
    transform: translateY(-2px) scale(1.1);
}

/* Enhanced Dropdown Styles */
.dropdown-menu {
    background: rgba(var(--surface-rgb), 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--border-rgb), 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    min-width: 260px;
    margin-top: 0.75rem;
    animation: dropdownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFade {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-header {
    color: var(--text-2);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dropdown-item {
    color: var(--text-1);
    padding: 0.875rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.dropdown-item:hover::before {
    opacity: 0.1;
}

.dropdown-item:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.dropdown-item i {
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--text-2), var(--text-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.1);
}

.dropdown-divider {
    border-color: rgba(var(--border-rgb), 0.1);
    margin: 0.75rem 0;
}

/* Mobile Menu Enhancements */
.navbar-toggler {
    border: none;
    padding: 0.75rem;
    color: var(--text-1);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.navbar-toggler:hover {
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.1);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(var(--surface-rgb), 0.98);
        backdrop-filter: blur(10px);
        padding: 1.25rem;
        border-radius: 16px;
        margin-top: 1rem;
        border: 1px solid rgba(var(--border-rgb), 0.1);
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
        backdrop-filter: none;
    }
    
    .dropdown-item {
        padding: 0.875rem 1rem;
    }
}

/* Hero Section Enhancement */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    min-height: 500px;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFade 1s ease-out;
}

@keyframes titleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: descriptionFade 1s ease-out 0.3s both;
}

@keyframes descriptionFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Search Box */
.hero-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: searchFade 1s ease-out 0.6s both;
}

@keyframes searchFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.search-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.search-box input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.search-box:focus-within i {
    color: #fff;
    transform: scale(1.1);
}

/* Hero Search Box */
.hero .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    animation: searchAppear 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero .search-input {
    width: 100%;
    height: 64px;
    padding: 0 2rem;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero .search-input:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero .search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.1),
        0 0 0 2px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero .search-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero .search-container:hover::before {
    opacity: 1;
}

.hero .search-container::after {
    content: '⌘K';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    pointer-events: none;
}

/* Section Title Enhancements */
.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin: 4rem 0 1rem;
    background: linear-gradient(135deg, var(--text-1), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.section-description {
    text-align: center;
    color: var(--text-2);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Navigation Refinements */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    font-size: 1.5rem;
    padding: 0;
}

.nav-item {
    margin: 0 0.25rem;
}

.nav-link {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Section Headers */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-1), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Card Refinements */
.tool-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.3s ease;
    background: var(--surface);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.tool-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-1);
}

.tool-card p {
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Modern Gradient Text Effect */
.gradient-text {
    background: linear-gradient(90deg, #FF8A65, #FF4081, #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navigation Links */
.nav-link {
    color: var(--text-2) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-1) !important;
    background: var(--surface-hover);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    margin-top: 6rem;
}

.footer-brand h4 {
    color: var(--text-1);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-2);
}

.footer-links-group h5 {
    color: var(--text-1);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
}

.footer-links-group ul li {
    margin-bottom: 0.75rem;
}

.footer-links-group ul li a {
    color: var(--text-2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links-group ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    color: var(--text-2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-box {
        width: 100%;
        margin: 1rem 0;
    }
    
    .search-input {
        width: 100%;
    }
    
    .theme-toggle {
        margin-top: 1rem;
    }
    
    .navbar-collapse {
        background: var(--surface);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid var(--border);
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
        backdrop-filter: none;
    }
    
    .dropdown-item {
        padding: 0.875rem 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-2);
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, #2563eb, #3b82f6);
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    opacity: 0.8;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H36zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: heroTitle 1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: heroText 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Search Container */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    animation: searchAppear 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes searchAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Modern Tool Cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--primary-rgb), 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card > * {
    position: relative;
    z-index: 2;
}

.tool-card .icon {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid var(--border);
}

.tool-card .icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--primary), var(--primary));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tool-card:hover .icon {
    transform: scale(1.1) rotate(12deg);
    background: transparent;
}

.tool-card:hover .icon::before {
    opacity: 1;
}

.tool-card .icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.tool-card:hover .icon i {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.2);
}

.tool-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-1), var(--text-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.tool-card:hover h3 {
    background: linear-gradient(45deg, var(--primary), var(--primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-card p {
    color: var(--text-2);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.tool-card .btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.tool-card .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary), var(--primary), var(--primary));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tool-card:hover .btn {
    transform: translateY(-2px);
    border-color: transparent;
}

.tool-card:hover .btn::before {
    opacity: 1;
}

/* Section Styles */
.category-group {
    padding: 6rem 0;
    position: relative;
}

.category-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
    filter: blur(80px);
    pointer-events: none;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-1), var(--text-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    color: var(--text-2);
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 6rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.25rem;
        padding: 0 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .tool-card {
        padding: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.125rem;
    }
}

/* Modern Gradient Text Effect */
.gradient-text {
    background: linear-gradient(90deg, #FF8A65, #FF4081, #7C4DFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navigation Links */
.nav-link {
    color: var(--text-2) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-1) !important;
    background: var(--surface-hover);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    color: var(--text-2);
    line-height: 1.7;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-links-group h4 {
    color: var(--text-1);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 1rem;
}

.footer-links-group ul li a {
    color: var(--text-2);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.8rem;
}

.footer-links-group ul li a:hover {
    color: var(--primary);
}

.footer-links-group ul li a i {
    font-size: 1.125rem;
    color: var(--primary);
    opacity: 0.7;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.footer-links-group ul li a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-2);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.social-links a:hover {
    transform: translateY(-4px);
    background: var(--primary);
    color: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mega Menu Styles */
.mega-menu {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.mega-menu-title {
    color: var(--text-1);
    font-weight: 600;
    margin-bottom: 1rem;
}

.mega-menu-link {
    color: var(--text-2);
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: block;
}

.mega-menu-link:hover {
    color: var(--primary);
    background-color: var(--surface-hover);
    transform: translateX(4px);
}

/* Card Styles */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Button Styles */
.btn {
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Form Controls */
.form-control {
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-1);
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-hover);
}

/* Utility Classes */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

/* Alert Styles */
.alert {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid transparent;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: color-mix(in srgb, var(--success-light) 10%, transparent);
    border-color: var(--success-light);
    color: var(--success-light);
}

.alert-warning {
    background-color: color-mix(in srgb, var(--warning-light) 10%, transparent);
    border-color: var(--warning-light);
    color: var(--warning-light);
}

.alert-error {
    background-color: color-mix(in srgb, var(--error-light) 10%, transparent);
    border-color: var(--error-light);
    color: var(--error-light);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 70px);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.tool-card {
    background: var(--surface);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-md);
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary), var(--primary), var(--primary));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(236,72,153,0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.tool-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
}

.tool-card:hover::before {
    opacity: 0.1;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-card > * {
    position: relative;
    z-index: 2;
}

.tool-card .icon {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid var(--border);
}

.tool-card .icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--primary), var(--primary));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tool-card:hover .icon {
    transform: scale(1.1) rotate(12deg);
    background: transparent;
}

.tool-card:hover .icon::before {
    opacity: 1;
}

.tool-card .icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.tool-card:hover .icon i {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.2);
}

.tool-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-1), var(--text-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.tool-card:hover h3 {
    background: linear-gradient(45deg, var(--primary), var(--primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-card p {
    color: var(--text-2);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.tool-card .btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.tool-card .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary), var(--primary), var(--primary));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tool-card:hover .btn {
    transform: translateY(-2px);
    border-color: transparent;
}

.tool-card:hover .btn::before {
    opacity: 1;
}

/* Section Styles */
.category-group {
    padding: 6rem 0;
    position: relative;
}

.category-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
    filter: blur(80px);
    pointer-events: none;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-1), var(--text-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    color: var(--text-2);
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 6rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.25rem;
        padding: 0 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .tool-card {
        padding: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.125rem;
    }
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-1);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--surface-hover);
}

.search-result-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
}

.search-result-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-1);
}

.search-result-item p {
    font-size: 0.9rem;
    color: var(--text-2);
    margin: 0.25rem 0 0;
}

.no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-2);
}

/* Search Input Focus */
.search-box input:focus {
    background: var(--surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.search-box input:focus + i {
    color: var(--primary);
}

/* Search Container */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

/* Back to Top Button */
#back-to-top {
    display: none;
}
