:root {
    
    --primary-50: #f8fafc;
    
    --primary-100: #f1f5f9;
    
    --primary-200: #e2e8f0;
    
    --primary-300: #cbd5e1;
    
    --primary-400: #94a3b8;
    
    --primary-500: #64748b;
    
    --primary-600: #475569;
    
    --primary-700: #334155;
    
    --primary-800: #1e293b;
    
    --primary-900: #0f172a;
    

    
    --secondary-50: #eff6ff;
    
    --secondary-100: #dbeafe;
    
    --secondary-200: #bfdbfe;
    
    --secondary-300: #93c5fd;
    
    --secondary-400: #60a5fa;
    
    --secondary-500: #3b82f6;
    
    --secondary-600: #2563eb;
    
    --secondary-700: #1d4ed8;
    
    --secondary-800: #1e40af;
    
    --secondary-900: #1e3a8a;
    

    
    --accent-50: #f0fdf4;
    
    --accent-100: #dcfce7;
    
    --accent-200: #bbf7d0;
    
    --accent-300: #86efac;
    
    --accent-400: #4ade80;
    
    --accent-500: #22c55e;
    
    --accent-600: #16a34a;
    
    --accent-700: #15803d;
    
    --accent-800: #166534;
    
    --accent-900: #14532d;
    

    
    --neutral-50: #f9fafb;
    
    --neutral-100: #f3f4f6;
    
    --neutral-200: #e5e7eb;
    
    --neutral-300: #d1d5db;
    
    --neutral-400: #9ca3af;
    
    --neutral-500: #6b7280;
    
    --neutral-600: #4b5563;
    
    --neutral-700: #374151;
    
    --neutral-800: #1f2937;
    
    --neutral-900: #111827;
    

    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-overlay: rgba(249, 250, 251, 0.9);

    
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-inverse: #ffffff;

    
    --border-light: #f3f4f6;
    --border-medium: #e5e7eb;
    --border-dark: #d1d5db;

    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%);

    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    
    --navbar-height: 64px;
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    
    --bg-navbar: rgba(255, 255, 255, 0.95);
    --bg-navbar-hover: rgba(249, 250, 251, 0.8);
    --bg-navbar-active: rgba(243, 244, 246, 0.9);
    --border-navbar: rgba(229, 231, 235, 0.5);

    --bg-dropdown: rgba(255, 255, 255, 0.98);
    --bg-dropdown-hover: rgba(249, 250, 251, 0.9);
    --border-dropdown: rgba(229, 231, 235, 0.3);

    --bg-user-menu: rgba(255, 255, 255, 0.95);
    --bg-user-menu-hover: rgba(249, 250, 251, 0.9);
    --border-user-menu: rgba(229, 231, 235, 0.4);

    --bg-avatar: rgba(243, 244, 246, 0.8);
    --bg-theme-toggle: rgba(255, 255, 255, 0.9);
    --bg-theme-toggle-hover: rgba(249, 250, 251, 0.95);
    --border-theme-toggle: rgba(229, 231, 235, 0.4);

    
    --primary-color: #3b82f6;
    --secondary-color: #22c55e;
    --accent-color: #f59e0b;
    --dark-color: #111827;
    --light-color: #ffffff;
    --text-color: #111827;
    --text-light: #6b7280;

    
    --bg-gradient: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%);

    
    --bg-gradient-alt1: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --bg-gradient-alt2: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    --bg-gradient-alt3: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);

    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}


[data-theme="light"] {
    --primary-color: #3b82f6;
    --secondary-color: #22c55e;
    --accent-color: #f59e0b;
    --dark-color: #111827;
    --light-color: #ffffff;
    --text-color: #111827;
    --text-light: #6b7280;

    
    --bg-gradient: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%);

    --box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    --box-shadow-hover: 0 8px 30px rgba(59, 130, 246, 0.15);

    
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --secondary-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --glass-border: rgba(229, 231, 235, 0.4);
    --text-primary-dark: #111827;
    --text-secondary-dark: #374151;
    --shadow-primary: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}


[data-theme="dark"] {
    --primary-color: #3b82f6;
    --secondary-color: #22c55e;
    --accent-color: #f59e0b;
    --dark-color: #030712;
    --light-color: #111827;
    --text-color: #ffffff;
    --text-light: #e5e7eb;
    
    --dark-bg: transparent;

    
    --bg-gradient: linear-gradient(135deg, #030712 0%, #111827 50%, #1f2937 100%);

    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);

    
    --bg-navbar: rgba(17, 24, 39, 0.95);
    --bg-navbar-hover: rgba(31, 41, 55, 0.8);
    --bg-navbar-active: rgba(75, 85, 99, 0.3);
    --border-navbar: rgba(75, 85, 99, 0.3);

    --bg-dropdown: rgba(17, 24, 39, 0.98);
    --bg-dropdown-hover: rgba(31, 41, 55, 0.8);
    --border-dropdown: rgba(75, 85, 99, 0.2);

    --bg-user-menu: rgba(17, 24, 39, 0.95);
    --bg-user-menu-hover: rgba(31, 41, 55, 0.8);
    --border-user-menu: rgba(75, 85, 99, 0.3);

    --bg-avatar: rgba(31, 41, 55, 0.8);
    --bg-theme-toggle: rgba(17, 24, 39, 0.9);
    --bg-theme-toggle-hover: rgba(31, 41, 55, 0.8);
    --border-theme-toggle: rgba(75, 85, 99, 0.3);
}


[data-theme="dark"] .hero-section,
[data-theme="dark"] .features-section,
[data-theme="dark"] .content-showcase,
[data-theme="dark"] .how-it-works,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .footer,
[data-theme="dark"] .site-overview,
[data-theme="dark"] .testimonials,
[data-theme="dark"] .final-cta {
    background: transparent !important;
    background-image: none !important;
    border-top: none !important;
    box-shadow: none !important;
}


[data-theme="dark"] {
    
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --secondary-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --dark-bg: #030712;
    --card-bg: rgba(249, 250, 251, 0.05);
    --glass-border: rgba(249, 250, 251, 0.1);
    --text-primary-dark: #ffffff;
    --text-secondary-dark: #e5e7eb;
    --shadow-primary: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.5);

    
    --bg-primary: var(--dark-bg);
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --bg-card: var(--card-bg);
    --bg-overlay: rgba(17, 24, 39, 0.9);

    
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #d1d5db;
    --text-inverse: #111827;

    
    --border-light: var(--glass-border);
    --border-medium: #374151;
    --border-dark: #4b5563;

    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);

    
    --gradient-hero: linear-gradient(135deg, #030712 0%, #111827 50%, #1f2937 100%);
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    padding-top: var(--navbar-height);
    min-height: 100vh;
    overflow-x: hidden;
}

[data-theme="dark"].card-text {
    color: #06b6d4;
}

.card-text {
    color: var(--text-secondary);
}


.navbar {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
    height: var(--navbar-height);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-primary);
    z-index: 1050;
}

.navbar.scrolled {
    background: var(--card-bg);
    box-shadow: var(--shadow-hover);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-500);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform var(--transition-normal);
}

.logo-container:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


[data-theme="light"] .logo-text {
    color: var(--text-primary);
    background: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


[data-theme="dark"] .logo-text {
    color: var(--text-primary-dark);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary-dark) !important;
    font-weight: 500;
    padding: 12px 16px !important;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left var(--transition-normal);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: white !important;
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.nav-link i {
    transition: transform var(--transition-normal);
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    color: white !important;
    background: var(--primary-gradient) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}


[data-theme="light"] .nav-link {
    color: var(--text-color) !important;
}

[data-theme="light"] .nav-link:hover {
    color: white !important;
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .nav-link.active {
    color: white !important;
    background: transparent !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}


[data-theme="dark"] .nav-link {
    color: var(--text-secondary-dark) !important;
}

[data-theme="dark"] .nav-link:hover {
    color: white !important;
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .nav-link.active {
    color: white !important;
    background: var(--primary-gradient) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}


.dropdown-menu {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-primary);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-item {
    color: var(--text-secondary-dark);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-100), transparent);
    transition: width var(--transition-fast);
}

.dropdown-item:hover::before {
    width: 100%;
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(-4px);
    padding-left: 25px;
}

.dropdown-item i {
    transition: transform var(--transition-fast);
    color: var(--primary-500);
}

.dropdown-item:hover i {
    transform: scale(1.2);
}


.duel-menu .nav-link {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-primary);
    position: relative;
}

.duel-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.duel-menu .nav-link:hover::after {
    width: 80%;
}

.duel-menu .nav-link:hover {
    background: var(--primary-gradient);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-hover);
}


.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}


.theme-toggle-btn {
    background: var(--primary-gradient);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #7be5e8;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all var(--transition-normal);
    transform: translate(-50%, -50%);
}

.theme-toggle-btn:hover::before {
    width: 100%;
    height: 100%;
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: var(--shadow-lg);
}


.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px !important;
    border-radius: var(--border-radius-lg);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: var(--text-primary-dark);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.user-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left var(--transition-normal);
}

.user-menu:hover::before {
    left: 100%;
}

.user-menu:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
    border: 2px solid transparent;
}

.user-menu:hover .user-avatar {
    transform: scale(1.1);
    border-color: var(--primary-300);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.username {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    white-space: nowrap;
}


.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-buttons .btn {
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.auth-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-normal);
}

.auth-buttons .btn:hover::before {
    left: 100%;
}

.auth-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dropdown-menu.show {
    animation: slideInDown 0.3s ease-out;
}

.nav-link.active {
    animation: fadeInScale 0.3s ease-out;
}


@media (max-width: 991.98px) {
    .navbar-nav {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 12px !important;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        min-width: 200px;
        margin-top: 4px;
    }

    .navbar-actions {
        gap: 12px;
    }

    .username {
        display: none;
    }

    .user-menu {
        padding: 6px 12px !important;
    }
}


@media (max-width: 1199.98px) {
    .navbar-nav {
        gap: 6px;
    }

    .nav-link {
        padding: 11px 14px !important;
    }

    .dropdown-menu {
        min-width: 200px;
    }
}




.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60%;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--primary-400);
}


.nav-link i,
.dropdown-item i {
    filter: drop-shadow(0 0 2px rgba(99, 102, 241, 0.3));
}


.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}


.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
    transform: rotate(45deg);
}


.logo-container:hover .logo-text {
    text-shadow: 0 0 20px var(--primary-400);
}


.navbar.scrolled .nav-link:hover {
    background: var(--primary-50);
    color: var(--primary-700) !important;
}

.navbar.scrolled .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
}




.dropdown-menu li {
    position: relative;
    overflow: hidden;
}

.dropdown-menu li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.3s ease;
}

.dropdown-menu li:hover::before {
    left: 100%;
}


.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-left: 8px;
}


.theme-toggle-btn .theme-icon {
    transition: transform var(--transition-normal);
}

.theme-toggle-btn:hover .theme-icon {
    transform: rotate(180deg);
}


@media (max-width: 767.98px) {
    .navbar-nav {
        background: var(--bg-card);
        border-radius: var(--border-radius-lg);
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .dropdown-menu {
        background: var(--bg-secondary);
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
    }

    .navbar-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .user-menu {
        width: 100%;
        justify-content: center;
    }
}




.main-content {
    min-height: calc(100vh - var(--navbar-height));
}


.hero-section {
    min-height: calc(100vh - var(--navbar-height));
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin-top: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(45deg, #1e3a8a, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    text-shadow: none;
}

.magic-text {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.magic-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-400);
    opacity: 0.3;
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 500;
    text-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-accent {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.28);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 18px 40px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.3);
}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin: 3rem 0;
    perspective: 1000px;
}

.stat-card-modern {
    position: relative;
    width: 240px;
    height: 240px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
}

.stat-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.stat-card-front,
.stat-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.stat-card-front {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(124, 92, 255, 0.18);
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.stat-card-back {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(124, 92, 255, 0.15);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: rotateY(180deg);
    display: none;
}


.stat-icon-3d {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.4s ease;
}

.stat-icon-3d i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow-3d 2s ease-in-out infinite;
}

@keyframes pulse-glow-3d {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}


.stat-number-3d {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-number-3d .counter {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.stat-unit-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}


.stat-label-modern {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-align: center;
}


.stat-details {
    text-align: center;
}

.stat-percentage {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.stat-description {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}


.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.card-particles::before,
.card-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particle 6s ease-in-out infinite;
}

.card-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.card-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}


.stat-card-modern:nth-child(1) .stat-card-front {
    background: linear-gradient(135deg,
        rgba(124, 92, 255, 0.95) 0%,
        rgba(34, 211, 238, 0.95) 100%);
}

.stat-card-modern:nth-child(1) .stat-card-back {
    background: linear-gradient(135deg,
        rgba(34, 211, 238, 0.95) 0%,
        rgba(124, 92, 255, 0.95) 100%);
}

.stat-card-modern:nth-child(2) .stat-card-front {
    background: linear-gradient(135deg,
        rgba(124, 92, 255, 0.95) 0%,
        rgba(34, 211, 238, 0.95) 100%);
}

.stat-card-modern:nth-child(2) .stat-card-back {
    background: linear-gradient(135deg,
        rgba(34, 211, 238, 0.95) 0%,
        rgba(124, 92, 255, 0.95) 100%);
}

.stat-card-modern:nth-child(3) .stat-card-front {
    background: linear-gradient(135deg,
        rgba(124, 92, 255, 0.95) 0%,
        rgba(34, 211, 238, 0.95) 100%);
}

.stat-card-modern:nth-child(3) .stat-card-back {
    background: linear-gradient(135deg,
        rgba(34, 211, 238, 0.95) 0%,
        rgba(124, 92, 255, 0.95) 100%);
}


.stat-card-modern:nth-child(1) .stat-icon-3d {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(34, 211, 238, 0.18));
    border-color: rgba(124, 92, 255, 0.55);
}

.stat-card-modern:nth-child(2) .stat-icon-3d {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(34, 211, 238, 0.18));
    border-color: rgba(34, 211, 238, 0.55);
}

.stat-card-modern:nth-child(3) .stat-icon-3d {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(34, 211, 238, 0.18));
    border-color: rgba(124, 92, 255, 0.55);
}


.stat-card-modern:nth-child(1) {
    animation: slideInLeft 1s ease-out 0.2s both;
}

.stat-card-modern:nth-child(2) {
    animation: slideInUp 1s ease-out 0.4s both;
}

.stat-card-modern:nth-child(3) {
    animation: slideInRight 1s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) rotateY(0deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px) rotateY(0deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0deg);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) rotateY(0deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}


.stat-card-modern::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.1));
    border-radius: 28px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card-modern:hover::before {
    opacity: 1;
}


[data-theme="light"] .stat-card-modern::before {
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.2));
}


[data-theme="dark"] .stat-card-modern::before {
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.02), 
        rgba(255, 255, 255, 0.05));
}


.stat-card-modern:hover .stat-icon-3d {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.stat-card-modern:hover .stat-icon-3d i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


.stat-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-card-modern:hover::after {
    opacity: 1;
}


.stat-card-modern.animate-in {
    animation: cardEntrance 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: rotateY(90deg) scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg) scale(1) translateY(0);
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.8s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.stat-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-icon {
    font-size: 2.2rem;
    background: linear-gradient(45deg, #ffffff, #f0f8ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    z-index: 2;
    position: relative;
}

.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

.stat-content {
    text-align: center;
    width: 100%;
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stat-number .counter {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #f0f8ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    display: block;
}

.stat-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    border-radius: 2px;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}


@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-5px); 
    }
}

.stat-card {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 2s;
}

.stat-card:hover {
    animation-play-state: paused;
}


.stat-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover .stat-icon-wrapper::after {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}


.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}


.stat-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.1s ease;
}


.stat-card:nth-child(1) .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.1));
}

.stat-card:nth-child(2) .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3), rgba(240, 147, 251, 0.1));
}

.stat-card:nth-child(3) .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.3), rgba(118, 75, 162, 0.1));
}

.stat-card:nth-child(1):hover .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(102, 126, 234, 0.2));
}

.stat-card:nth-child(2):hover .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.4), rgba(240, 147, 251, 0.2));
}

.stat-card:nth-child(3):hover .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.4), rgba(118, 75, 162, 0.2));
}


.math-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.math-element {
    position: absolute;
    font-size: 3rem;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: float 6s infinite ease-in-out;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.math-element:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.math-element:nth-child(2) {
    top: 40%;
    left: 15%;
    animation-delay: 1s;
}

.math-element:nth-child(3) {
    bottom: 30%;
    right: 20%;
    animation-delay: 2s;
}

.math-element:nth-child(4) {
    bottom: 15%;
    left: 25%;
    animation-delay: 3s;
}

.math-element:nth-child(5) {
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}


.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23f8f9fa" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23f8f9fa" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f8f9fa"/></svg>');
    background-size: cover;
    z-index: 1;
}


.wave { display: none !important; }


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 201, 14, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(246, 201, 14, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(246, 201, 14, 0);
    }
}

.pulse-animate {
    animation: pulse 2s infinite;
}


@media (max-width: 992px) {
    .navbar-nav {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 12px !important;
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background: var(--bg-card);
        border-radius: var(--border-radius-lg);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-xl);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-link {
        justify-content: center;
        padding: 12px !important;
    }

    .navbar-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        width: 100%;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .user-menu {
        justify-content: center;
        width: 100%;
    }

    .theme-toggle-btn {
        align-self: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .stat-card-modern {
        width: 100%;
        max-width: 280px;
        height: 250px;
    }
    
    .stat-icon-3d {
        width: 70px;
        height: 70px;
    }
    
    .stat-icon-3d i {
        font-size: 2.2rem;
    }
    
    .stat-number-3d .counter {
        font-size: 2.5rem;
    }
    
    .stat-label-modern {
        font-size: 0.95rem;
    }
    
    .stat-percentage {
        font-size: 2.2rem;
    }
    
    .stat-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-accent,
    .btn-outline-light {
        padding: 15px 30px;
        font-size: 1rem;
    }
}




[data-theme="light"] .hero-section {
    background: var(--bg-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="light"] .hero-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .wave {
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffffff" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
}


[data-theme="light"] .stat-card-modern .stat-card-front {
    background: linear-gradient(135deg,
        rgba(124, 92, 255, 0.95) 0%,
        rgba(34, 211, 238, 0.95) 100%);
    border-color: rgba(124, 92, 255, 0.35);
    box-shadow:
        0 25px 50px rgba(124, 92, 255, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .stat-card-modern .stat-card-back {
    background: linear-gradient(135deg,
        rgba(34, 211, 238, 0.95) 0%,
        rgba(124, 92, 255, 0.95) 100%);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow:
        0 25px 50px rgba(34, 211, 238, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .stat-card-modern .stat-icon-3d {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.20), rgba(34, 211, 238, 0.15));
    border-color: rgba(124, 92, 255, 0.25);
    box-shadow: 0 0 25px rgba(124, 92, 255, 0.25);
}

[data-theme="light"] .stat-card-modern:hover .stat-card-front,
[data-theme="light"] .stat-card-modern:hover .stat-card-back {
    box-shadow:
        0 35px 70px rgba(124, 92, 255, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .stat-card-modern:hover .stat-icon-3d {
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
    transform: scale(1.1) rotate(5deg);
}


[data-theme="dark"] .hero-section {
    background: var(--bg-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .hero-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}


[data-theme="dark"] .stat-card-modern .stat-card-front {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.85) 0%, 
        rgba(139, 92, 246, 0.85) 50%, 
        rgba(236, 72, 153, 0.85) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .stat-card-modern .stat-card-back {
    background: linear-gradient(135deg, 
        rgba(236, 72, 153, 0.85) 0%, 
        rgba(99, 102, 241, 0.85) 50%, 
        rgba(139, 92, 246, 0.85) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(236, 72, 153, 0.3);
}

[data-theme="dark"] .stat-card-modern .stat-icon-3d {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .stat-card-modern:hover .stat-card-front,
[data-theme="dark"] .stat-card-modern:hover .stat-card-back {
    box-shadow: 
        0 45px 90px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(99, 102, 241, 0.4);
}

[data-theme="dark"] .stat-card-modern:hover .stat-icon-3d {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(5deg);
}

[data-theme="dark"] .wave {
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231e293b" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231e293b" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231e293b"/></svg>');
}




[data-theme="light"] .site-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 5rem 2rem 4rem;
    margin-top: 5rem;
    position: relative;
    box-shadow: 0 -10px 30px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="light"] .footer-wave {
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 80" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffffff" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
}


[data-theme="dark"] .site-footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 5rem 2rem 4rem;
    margin-top: 5rem;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .footer-wave {
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 80" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231e293b" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231e293b" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231e293b"/></svg>');
}


.site-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 5rem 2rem 4rem;
    margin-top: 5rem;
    position: relative;
}


.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 80" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23f8f9fa" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23f8f9fa" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f8f9fa"/></svg>');
    background-size: cover;
    z-index: 1;
    transform: rotate(180deg);
    animation: waveFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

@keyframes waveFloat {

    0%,
    100% {
        transform: rotate(180deg) translateY(0px);
    }

    50% {
        transform: rotate(180deg) translateY(-5px);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: var()
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--accent-400);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.footer-top h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-top h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-400);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all var(--transition-normal);
}

.footer-links li a:hover {
    color: var(--accent-400);
    transform: translateX(-5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 2px solid var(--accent-400);
    color: var(--accent-400);
    font-size: 1.2rem;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--accent-400);
    color: var(--text-inverse);
    transform: translateY(-5px) scale(1.1);
}

.footer-contact form {
    display: flex;
    margin-bottom: 1rem;
}

.footer-contact input {
    flex-grow: 1;
    padding: 0.8rem;
    border: 1px solid transparent;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px 0 0 5px;
    outline: none;
    transition: all var(--transition-normal);
}

.footer-contact input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact input:focus {
    border-color: var(--accent-400);
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-contact button {
    padding: 0.8rem 1.2rem;
    background-color: var(--accent-400);
    color: var(--text-inverse);
    border: none;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.footer-contact button:hover {
    background-color: var(--accent-500);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.highlight-text {
    color: var(--accent-400);
    font-weight: 700;
}


[data-theme="dark"] .site-footer {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

[data-theme="dark"] .footer-wave {
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 80" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231e293b" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231e293b" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231e293b"/></svg>');
}

[data-theme="dark"] .footer-logo {
    color: var(--accent-300);
}

[data-theme="dark"] .social-icon {
    border-color: var(--accent-300);
    color: var(--accent-300);
}

[data-theme="dark"] .social-icon:hover {
    background-color: var(--accent-300);
    color: var(--text-inverse);
}

[data-theme="dark"] .footer-contact button {
    background-color: var(--accent-300);
}

[data-theme="dark"] .footer-contact button:hover {
    background-color: var(--accent-400);
}

[data-theme="dark"] .highlight-text {
    color: var(--accent-300);
}


@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1;
        margin-bottom: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-contact form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-contact input,
    .footer-contact button {
        border-radius: 5px;
    }

    .footer-wave {
        height: 60px;
    }
}




:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #f6c90e;
    --dark-color: #1e1e2d;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;

    
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    
    --bg-gradient-alt1: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --bg-gradient-alt2: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --bg-gradient-alt3: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);

    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}


[data-theme="light"] {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #2d3748;
    --light-color: #ffffff;
    --text-color: #2d3748;
    --text-light: #718096;

    
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    --box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    --box-shadow-hover: 0 15px 35px rgba(102, 126, 234, 0.25);
}


[data-theme="dark"] {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #0a0e27;
    --light-color: #1a1a2e;
    --text-color: #ffffff;
    --text-light: #e5e7eb;

    
    --bg-gradient: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);

    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.4);
}


.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: var(--bg-gradient);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.magic-text {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.magic-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent-color);
    opacity: 0.5;
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-accent:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-outline-light {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.pulse-animate {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 201, 14, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(246, 201, 14, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(246, 201, 14, 0);
    }
}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-content {
    text-align: right;
}

.stat-content .counter {
    font-size: 2rem;
    font-weight: 700;
}

.stat-content span {
    font-size: 0.9rem;
    opacity: 0.8;
}


.math-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.math-element {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    animation: float 6s infinite ease-in-out;
}

.math-element:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.math-element:nth-child(2) {
    top: 40%;
    left: 15%;
    animation-delay: 1s;
}

.math-element:nth-child(3) {
    bottom: 30%;
    right: 20%;
    animation-delay: 2s;
}

.math-element:nth-child(4) {
    bottom: 15%;
    left: 25%;
    animation-delay: 3s;
}

.math-element:nth-child(5) {
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}


.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23f8f9fa" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23f8f9fa" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f8f9fa"/></svg>');
    background-size: cover;
    z-index: 1;
}


.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(134, 77, 227, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(94, 165, 220, 0.1) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}





.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(134, 77, 227, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(94, 165, 220, 0.1) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary-dark);
    margin-bottom: 1rem;
}




.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}


.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-left: 8px;
}

.main-headline {
    font-family: 'Vazirmatn', sans-serif;
    
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    color: transparent;
    
    background: var(--gradient-hero);
    
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out;
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-text {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    
    text-align: center;
    margin-top: 25px;
    margin-bottom: 35px;
    padding-bottom: 10px;
    border-bottom: 2px dotted var(--border-medium);
    
    display: inline-block;
    
    animation: fadeInUp 1s ease-out 0.5s both;
}


[data-theme="dark"] .question-text {
    color: #cbd5e1;
    border-bottom-color: #818cf8;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .card-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    color: var(--text-color);
}

[data-theme="light"] .card-body {
    color: var(--text-color);
}

[data-theme="light"] .card-text {
    color: var(--text-light);
}


[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

[data-theme="light"] .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

[data-theme="light"] .btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

[data-theme="light"] .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

[data-theme="light"] .btn-accent {
    background: linear-gradient(135deg, #f6c90e 0%, #f093fb 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(246, 201, 14, 0.3);
}

[data-theme="light"] .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 201, 14, 0.4);
    background: linear-gradient(135deg, #f093fb 0%, #f6c90e 100%);
}


[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .navbar-brand {
    color: var(--primary-color);
    font-weight: 700;
}

[data-theme="light"] .nav-link {
    color: var(--text-color);
    transition: all 0.3s ease;
}

[data-theme="light"] .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

[data-theme="light"] .nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 8px;
}


[data-theme="light"] .features-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

[data-theme="light"] .section-title {
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section-subtitle {
    color: var(--text-light);
}


[data-theme="light"] .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
}

[data-theme="light"] .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
    color: var(--text-color);
}

[data-theme="light"] .form-label {
    color: var(--text-color);
    font-weight: 600;
}


[data-theme="light"] .table {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .table th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .table td {
    color: var(--text-color);
    border-bottom: 1px solid rgba(102, 126, 234, 0.05);
}

[data-theme="light"] .table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}


[data-theme="light"] .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .modal-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .modal-title {
    color: var(--text-color);
    font-weight: 700;
}

[data-theme="light"] .modal-body {
    color: var(--text-color);
}


[data-theme="light"] .alert {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    color: var(--text-color);
}

[data-theme="light"] .alert-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    border-color: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

[data-theme="light"] .alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border-color: rgba(255, 193, 7, 0.2);
    color: #f57c00;
}

[data-theme="light"] .alert-danger {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.05));
    border-color: rgba(244, 67, 54, 0.2);
    color: #d32f2f;
}


[data-theme="light"] .badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .badge-success {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

[data-theme="light"] .badge-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

[data-theme="light"] .badge-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}


[data-theme="light"] .progress {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .progress-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}


[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .dropdown-item {
    color: var(--text-color);
    transition: all 0.3s ease;
}

[data-theme="light"] .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--primary-color);
}


[data-theme="light"] .page-link {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
}

[data-theme="light"] .page-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

[data-theme="light"] .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}


[data-theme="light"] .card,
[data-theme="light"] .btn,
[data-theme="light"] .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .card:hover,
[data-theme="light"] .btn:hover,
[data-theme="light"] .nav-link:hover {
    transform: translateY(-2px);
}


[data-theme="light"] .text-primary {
    color: var(--primary-color) !important;
}

[data-theme="light"] .text-secondary {
    color: var(--secondary-color) !important;
}

[data-theme="light"] .text-accent {
    color: var(--accent-color) !important;
}


[data-theme="light"] .bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

[data-theme="light"] .bg-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

[data-theme="light"] .bg-accent {
    background: linear-gradient(135deg, #f6c90e 0%, #f093fb 100%) !important;
}


[data-theme="light"] .border-primary {
    border-color: var(--primary-color) !important;
}

[data-theme="light"] .border-secondary {
    border-color: var(--secondary-color) !important;
}

[data-theme="light"] .border-accent {
    border-color: var(--accent-color) !important;
}




[data-theme="dark"] .card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


[data-theme="dark"] {
    color: #ffffff;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #ffffff !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div {
    color: #e5e7eb !important;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-secondary {
    color: #9ca3af !important;
    opacity: 0.9;
    font-weight: 500;
}

[data-theme="dark"] .card-text {
    color: #e5e7eb !important;
}

[data-theme="dark"] .nav-link {
    color: #e5e7eb !important;
}

[data-theme="dark"] .dropdown-item {
    color: #e5e7eb !important;
}

[data-theme="dark"] .username {
    color: #ffffff !important;
}

[data-theme="dark"] .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}



@media (max-width: 768px) {

    [data-theme="light"] .card,
    [data-theme="dark"] .card {
        margin-bottom: 1rem;
    }

    [data-theme="light"] .btn,
    [data-theme="dark"] .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    [data-theme="light"] .navbar,
    [data-theme="dark"] .navbar {
        padding: 0.5rem 1rem;
    }
}




* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}




[data-theme="light"] .card:hover,
[data-theme="light"] .btn:hover {
    box-shadow:
        0 20px 40px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}


[data-theme="dark"] .card:hover,
[data-theme="dark"] .btn:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}




.wave,
.footer-wave {
    display: none;
}




.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.1) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.05) 70%, transparent 70%);
    background-size: 60px 60px, 40px 40px;
    animation: geometricFloat 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes geometricFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
        opacity: 1;
    }
}


.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}




.section-separator {
    position: relative;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
    margin: 2rem 0;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: separatorGlow 6s ease-in-out infinite;
}

.section-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-400), transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-400);
    animation: separatorPulse 3s ease-in-out infinite;
}

@keyframes separatorGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes separatorPulse {

    0%,
    100% {
        width: 60px;
        opacity: 0.7;
    }

    50% {
        width: 100px;
        opacity: 1;
    }
}




.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background:
        linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.1) 70%, transparent 70%),
        linear-gradient(-135deg, transparent 30%, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.05) 70%, transparent 70%);
    background-size: 80px 80px, 60px 60px;
    animation: footerGeometric 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes footerGeometric {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-5px) rotate(-1deg);
        opacity: 1;
    }
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
}




.section-spacer {
    height: 60px;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(102, 126, 234, 0.02) 25%,
            rgba(240, 147, 251, 0.02) 50%,
            rgba(102, 126, 234, 0.02) 75%,
            transparent 100%);
    position: relative;
    overflow: hidden;
}

.section-spacer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-300), transparent);
    border-radius: 1px;
    animation: spacerGlow 4s ease-in-out infinite;
}

@keyframes spacerGlow {

    0%,
    100% {
        width: 40px;
        opacity: 0.5;
    }

    50% {
        width: 80px;
        opacity: 1;
    }
}




.card {
    margin-bottom: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--secondary-400));
    border-radius: 2px;
    transition: width var(--transition-normal);
    box-shadow: 0 0 10px var(--primary-400);
}

.card:hover::after {
    width: 80%;
}




.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-400), var(--secondary-400));
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 40%;
    left: 15%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--accent-400), var(--primary-400));
    border-radius: 8px;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    bottom: 30%;
    right: 20%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--secondary-400), var(--accent-400));
    border-radius: 50%;
    animation-delay: 4s;
}

.floating-shape:nth-child(4) {
    bottom: 15%;
    left: 25%;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--accent-400), var(--primary-400));
    border-radius: 6px;
    animation-delay: 6s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-20px) rotate(180deg) scale(1.1);
        opacity: 0.3;
    }
}




.navbar-nav {
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-400), var(--secondary-400));
    border-radius: 1px;
    transition: width var(--transition-normal);
    box-shadow: 0 0 8px var(--primary-400);
}

.nav-item:hover::after {
    width: 80%;
}




.btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}




.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}




.row {
    margin-bottom: 2rem;
}

.col,
.col-md,
.col-lg {
    padding: 1rem;
}




.modal-content {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}



@media (max-width: 768px) {
    .section-separator {
        height: 60px;
    }

    .section-spacer {
        height: 40px;
    }

    .floating-shapes {
        display: none;
    }

    .hero-section::after {
        height: 80px;
        background-size: 40px 40px, 30px 30px;
    }

    .site-footer::before {
        height: 60px;
        background-size: 50px 50px, 40px 40px;
    }
}




[data-theme="light"] .section-separator::before {
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.05) 50%, transparent 100%);
}

[data-theme="light"] .section-spacer {
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(102, 126, 234, 0.05) 25%,
            rgba(240, 147, 251, 0.05) 50%,
            rgba(102, 126, 234, 0.05) 75%,
            transparent 100%);
}


[data-theme="dark"] .section-separator::before {
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
}

[data-theme="dark"] .section-spacer {
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(102, 126, 234, 0.03) 25%,
            rgba(240, 147, 251, 0.03) 50%,
            rgba(102, 126, 234, 0.03) 75%,
            transparent 100%);
}




.particle-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-400);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}




.hero-section::after,
.section-separator,
.section-separator::before,
.section-separator::after,
.site-footer::before,
.section-spacer,
.section-spacer::before,
.floating-shapes,
.floating-shape,
.particle-effect,
.particle {
    display: none !important;
}




.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" opacity="0.3"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffffff" opacity="0.6"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
    background-size: cover;
    z-index: 1;
    animation: waveFloat 6s ease-in-out infinite;
}

@keyframes waveFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}


.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" opacity="0.3"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffffff" opacity="0.6"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
    background-size: cover;
    transform: rotate(180deg);
    z-index: 1;
    animation: waveFloat 6s ease-in-out infinite reverse;
}




.section-spacer {
    height: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 2rem 0;
}




.card {
    margin-bottom: 2rem;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}




.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-400);
    transition: width var(--transition-normal);
}

.nav-item:hover::after {
    width: 80%;
}




.btn {
    transition: all var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



@media (max-width: 768px) {

    .hero-section::after,
    .site-footer::before {
        height: 60px;
    }

    .section-spacer {
        height: 30px;
        margin: 1rem 0;
    }
}




[data-theme="light"] .hero-section::after,
[data-theme="light"] .site-footer::before {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" opacity="0.4"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffffff" opacity="0.7"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
}


[data-theme="dark"] .hero-section::after,
[data-theme="dark"] .site-footer::before {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231e293b" opacity="0.3"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231e293b" opacity="0.6"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231e293b"/></svg>');
}


.lesson-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lesson-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-normal);
    position: relative;
}

.lesson-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.25);
}

.lesson-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-400), var(--secondary-400));
}

.lesson-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lesson-card:hover .lesson-thumbnail img {
    transform: scale(1.05);
}

.lesson-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(99, 102, 241, 0.3),
            rgba(236, 72, 153, 0.3));
    z-index: 1;
}

.lesson-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.lesson-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary-dark);
}

.lesson-content p {
    color: var(--text-secondary-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lesson-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.lesson-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lesson-meta i {
    color: var(--primary-500);
}


.game-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.game-preview {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-primary);
    max-width: 800px;
    width: 100%;
    transition: all var(--transition-normal);
}

.game-preview:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.25);
}

.game-screen {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-400), var(--secondary-400));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-preview:hover .game-screen img {
    transform: scale(1.02);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-600);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-btn:hover {
    background: var(--primary-600);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.game-info {
    padding: 2rem;
}

.game-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary-dark);
}

.game-info p {
    color: var(--text-secondary-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.game-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.game-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.game-stats i {
    color: var(--primary-500);
}


.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-md);
    margin: 0 0.25rem;
}

.tab-btn:hover {
    color: var(--primary-600);
    background: rgba(99, 102, 241, 0.1);
}

.tab-btn.active {
    color: var(--primary-600);
    background: rgba(99, 102, 241, 0.15);
}

.tab-indicator {
    position: absolute;
    bottom: 0.5rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    z-index: 1;
}


@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    display: block;
    animation: slideInUp 0.5s ease;
}


@media (max-width: 768px) {
    .lesson-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-preview {
        margin: 0 1rem;
    }

    .game-screen {
        height: 250px;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .game-info {
        padding: 1.5rem;
    }

    .game-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        margin: 0;
        border-radius: var(--border-radius-sm);
    }
}

@media (max-width: 576px) {
    .lesson-content {
        padding: 1rem;
    }

    .lesson-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .game-info {
        padding: 1rem;
    }

    .game-info h4 {
        font-size: 1.3rem;
    }
}




.site-overview {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}


.site-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}


.site-overview .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.site-overview .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.site-overview .section-header p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.site-overview .divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.site-overview .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-500);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-400);
    animation: pulse 2s infinite;
}


.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}


.overview-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease-out;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--transition-normal);
    z-index: 1;
}

.overview-card:hover::before {
    left: 100%;
}

.overview-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
    background: var(--bg-overlay);
}


.overview-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.overview-icon i {
    font-size: 2rem;
    color: white;
    transition: all var(--transition-normal);
}

.overview-card:hover .overview-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.overview-card:hover .overview-icon i {
    transform: scale(1.1);
}


.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}


.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: right;
    position: relative;
    z-index: 2;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-radius: var(--border-radius-sm);
}

.feature-list li:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.05);
    padding-right: 0.75rem;
    transform: translateX(-5px);
}

.feature-list i {
    color: var(--primary-500);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.feature-list li:hover i {
    color: var(--primary-600);
    transform: scale(1.2);
}


.overview-actions {
    position: relative;
    z-index: 2;
}

.overview-actions .btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.overview-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-normal);
}

.overview-actions .btn:hover::before {
    left: 100%;
}

.overview-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: var(--gradient-secondary);
}



[data-theme="light"] .site-overview {
    background: linear-gradient(135deg,
            rgba(248, 250, 252, 1) 0%,
            rgba(238, 242, 255, 0.8) 50%,
            rgba(248, 250, 252, 1) 100%);
}

[data-theme="light"] .site-overview::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .overview-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .overview-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

[data-theme="light"] .overview-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .overview-card:hover .overview-icon {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

[data-theme="light"] .feature-list li:hover {
    background: rgba(102, 126, 234, 0.08);
}

[data-theme="light"] .overview-actions .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .overview-actions .btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}



[data-theme="dark"] .site-overview {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 1) 0%,
            rgba(30, 58, 138, 0.1) 50%,
            rgba(15, 23, 42, 1) 100%);
}

[data-theme="dark"] .site-overview::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
}

[data-theme="dark"] .overview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .overview-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .overview-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .overview-card:hover .overview-icon {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .feature-list li:hover {
    background: rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .overview-actions .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .overview-actions .btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}


.overview-card:nth-child(1) {
    animation-delay: 0.1s;
}

.overview-card:nth-child(2) {
    animation-delay: 0.2s;
}

.overview-card:nth-child(3) {
    animation-delay: 0.3s;
}

.overview-card:nth-child(4) {
    animation-delay: 0.4s;
}

.overview-card:nth-child(5) {
    animation-delay: 0.5s;
}

.overview-card:nth-child(6) {
    animation-delay: 0.6s;
}



@media (max-width: 1200px) {
    .overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-overview {
        padding: 4rem 0;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .overview-card {
        padding: 2rem;
    }

    .overview-icon {
        width: 70px;
        height: 70px;
    }

    .overview-icon i {
        font-size: 1.75rem;
    }

    .site-overview .section-header h2 {
        font-size: 2.5rem;
    }

    .site-overview .section-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .site-overview {
        padding: 3rem 0;
    }

    .overview-card {
        padding: 1.5rem;
    }

    .overview-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .overview-icon i {
        font-size: 1.5rem;
    }

    .overview-card h3 {
        font-size: 1.3rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }

    .overview-actions .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}




.overview-card:hover {
    animation: float 0.6s ease-out;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(-10px);
    }
}


.overview-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-400);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: -1;
}

.overview-card:hover .overview-icon::after {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.5);
}




.overview-card:focus-within {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

.overview-actions .btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {

    .overview-card,
    .overview-icon,
    .overview-actions .btn,
    .feature-list li {
        transition: none;
    }

    .overview-card:hover {
        transform: none;
    }

    .overview-card:hover .overview-icon {
        transform: none;
    }
}




.overview-card,
.overview-icon,
.overview-actions .btn {
    will-change: transform;
    transform: translateZ(0);
}



@media print {
    .site-overview {
        background: white !important;
        color: black !important;
    }

    .overview-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }

    .overview-icon {
        background: #f0f0f0 !important;
        color: #333 !important;
    }

    .overview-actions .btn {
        background: #333 !important;
        color: white !important;
        border: 1px solid #333 !important;
    }
}