:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --dark: #0a0a0f;
    --dark-light: #1a1a2e;
    --dark-lighter: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Advanced Background with Moving Gradients */
.enhanced-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a0f 100%);
}

    .enhanced-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 25% 25%, rgba(102, 102, 241, 0.15) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.15) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
        animation: bgShift 15s ease-in-out infinite, rotate 30s linear infinite;
    }

    .enhanced-bg::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 80% 20%, rgba(67, 233, 123, 0.1) 0%, transparent 40%), radial-gradient(circle at 20% 80%, rgba(250, 112, 154, 0.1) 0%, transparent 40%);
        animation: bgShift 20s ease-in-out infinite reverse, rotate 40s linear infinite reverse;
    }

@keyframes bgShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Header with Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background-color;
    backdrop-filter: blur(0px);
}

    .header.scrolled {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        transform: translateY(0);
    }
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.sidebar-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .sidebar-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #6366f1;
    }

.logo-wrapper {
    background: white;
    padding: 5px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-3px) rotate(3deg);
    }
}

/* Enhanced Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

    .nav-menu a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }

        .nav-menu a::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-1);
            border-radius: 8px;
            opacity: 0;
            transform: scale(0);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: var(--gradient-1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateX(-50%);
            border-radius: 1px;
        }

        .nav-menu a:hover {
            color: var(--text-primary);
            transform: translateY(-2px);
        }

            .nav-menu a:hover::before {
                opacity: 0.1;
                transform: scale(1);
            }

            .nav-menu a:hover::after {
                width: 80%;
            }

/* Enhanced Buttons */
.header-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    .btn-login::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 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-login:hover::before {
        left: 100%;
    }

    .btn-login:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.btn-signup {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 102, 241, 0.4);
}

    .btn-signup::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
       
        transition: left 0.5s ease;
    }

    .btn-signup::after {
        content: '';
        position: absolute;
        inset: 0;
         opacity: 0;
       
        border-radius: var(--border-radius);
    }

    .btn-signup:hover::before {
        left: 100%;
    }

    .btn-signup:hover::after {
        opacity: 1;
    }

    .btn-signup:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(102, 102, 241, 0.6);
    }

/* Hero Section with Advanced Animations */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    margin-top: 100px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    margin-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
    animation: slideInDown 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    position: relative;
    overflow: hidden;
}

    .hero-badge::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-1);
        border-radius: 50px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .hero-badge:hover::before {
        opacity: 0.1;
    }

    .hero-badge i {
        color: var(--success);
        animation: pulse 2s ease-in-out infinite;
    }

/* Enhanced Title Animation */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both, gradientShift 8s ease-in-out infinite;
    position: relative;
}

    .hero-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-1);
        border-radius: 2px;
        transform: scaleX(0);
        animation: scaleIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) 1.2s both;
    }

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes scaleIn {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    position: relative;
}

    .hero-subtitle::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 50%;
        width: 40px;
        height: 1px;
        background: var(--gradient-3);
        transform: translateY(-50%) scaleX(0);
        animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1.4s both;
    }

    .hero-subtitle::after {
        content: '';
        position: absolute;
        right: -20px;
        top: 50%;
        width: 40px;
        height: 1px;
        background: var(--gradient-3);
        transform: translateY(-50%) scaleX(0);
        animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1.4s both;
    }

/* Enhanced CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.btn-primary {
    padding: 1.25rem 2.5rem;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 102, 241, 0.4);
}

    .btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
         opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: var(--border-radius);
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-primary:hover::before {
        opacity: 1;
    }

    .btn-primary:hover::after {
        width: 300px;
        height: 300px;
    }

    .btn-primary:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 20px 40px rgba(102, 102, 241, 0.6);
    }

    .btn-primary i {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-primary:hover i {
        transform: translateX(5px);
    }

.btn-secondary {
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

    .btn-secondary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-3);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: var(--border-radius);
    }

    .btn-secondary:hover::before {
        opacity: 0.1;
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--accent);
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 15px 30px rgba(6, 182, 212, 0.3);
    }

/* Enhanced Stats with Counter Animation */
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
}

.hero-stat {
    text-align: center;
    position: relative;
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .hero-stat::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-1);
        opacity: 0;
        border-radius: 15px;
        transition: opacity 0.3s ease;
    }

    .hero-stat:nth-child(2)::before {
        background: var(--gradient-2);
    }

    .hero-stat:nth-child(3)::before {
        background: var(--gradient-3);
    }

    .hero-stat:hover::before {
        opacity: 0.1;
    }

    .hero-stat:hover {
        transform: translateY(-5px) scale(1.05);
    }

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    position: relative;
    z-index: 1;
    animation: counterUp 2s ease-out 1.5s both;
}

.hero-stat:nth-child(2) .hero-stat-number {
    background: var(--gradient-2);
}

.hero-stat:nth-child(3) .hero-stat-number {
    background: var(--gradient-4);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out 2s both;
}

/* Advanced Card Animations */
.features, .learning-paths, .services, .testimonials {
    padding: 8rem 2rem;
    position: relative;
}

.features {
    max-width: 1400px;
    margin: 0 auto;
}

.learning-paths {
    background: var(--dark-light);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
    animation: bounceIn 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;  
    user-select: none;  
}

    .section-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
        animation: shimmer 3s ease-in-out infinite;
    }
@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Enhanced Grid Layouts */
.features-grid, .services-grid, .paths-grid, .testimonials-grid {
    display: grid;
    gap: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
}

.paths-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

/* Enhanced Card Styles */
.feature-card, .service-card, .path-card, .testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    will-change: transform;
    opacity: 0;
    transform: translateY(50px);
}

    /* Staggered Animation for Cards */
    .feature-card:nth-child(1) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    }

    .feature-card:nth-child(2) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }

    .feature-card:nth-child(3) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    }

    .feature-card:nth-child(4) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    }

    .service-card:nth-child(1) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    }

    .service-card:nth-child(2) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }

    .service-card:nth-child(3) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    }

    .service-card:nth-child(4) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    }

    .service-card:nth-child(5) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
    }

    .service-card:nth-child(6) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    }

    .path-card:nth-child(1) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    }

    .path-card:nth-child(2) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }

    .path-card:nth-child(3) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    }

    .path-card:nth-child(4) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    }

    .testimonial-card:nth-child(1) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    }

    .testimonial-card:nth-child(2) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }

    .testimonial-card:nth-child(3) {
        animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    }

    /* Enhanced Hover Effects */
    .feature-card:hover, .service-card:hover, .path-card:hover, .testimonial-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
        border-color: var(--primary);
    }

    .feature-card::before, .service-card::before, .path-card::before, .testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-1);
        transform: scaleX(0);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 24px 24px 0 0;
    }

    .service-card:nth-child(2)::before, .feature-card:nth-child(2)::before {
        background: var(--gradient-2);
    }

    .service-card:nth-child(3)::before, .feature-card:nth-child(3)::before {
        background: var(--gradient-3);
    }

    .service-card:nth-child(4)::before, .feature-card:nth-child(4)::before {
        background: var(--gradient-4);
    }

    .service-card:nth-child(5)::before {
        background: var(--gradient-5);
    }

    .service-card:nth-child(6)::before {
        background: var(--gradient-6);
    }

    .feature-card:hover::before, .service-card:hover::before, .path-card:hover::before, .testimonial-card:hover::before {
        transform: scaleX(1);
    }

/* Enhanced Icons with Advanced Animations */
.feature-icon, .service-icon, .path-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: iconFloat 4s ease-in-out infinite;
}

.service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-bottom: 0;
    border-radius: 16px;
    animation: iconFloat 3s ease-in-out infinite;
}

.path-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: iconFloat 5s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon, .service-card:nth-child(2) .service-icon, .path-card:nth-child(2) .path-icon {
    background: var(--gradient-2);
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon, .service-card:nth-child(3) .service-icon, .path-card:nth-child(3) .path-icon {
    background: var(--gradient-3);
    animation-delay: 1s;
}

.feature-card:nth-child(4) .feature-icon, .service-card:nth-child(4) .service-icon, .path-card:nth-child(4) .path-icon {
    background: var(--gradient-4);
    animation-delay: 1.5s;
}

.service-card:nth-child(5) .service-icon {
    background: var(--gradient-5);
    animation-delay: 2s;
}

.service-card:nth-child(6) .service-icon {
    background: var(--gradient-6);
    animation-delay: 2.5s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(3deg);
    }

    50% {
        transform: translateY(0px) rotate(0deg);
    }

    75% {
        transform: translateY(-3px) rotate(-2deg);
    }
}

.feature-icon::before, .service-icon::before, .path-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotate 3s linear infinite;
}

.feature-card:hover .feature-icon::before,
.service-card:hover .service-icon::before,
.path-card:hover .path-icon::before {
    opacity: 1;
}

.feature-card:hover .feature-icon,
.service-card:hover .service-icon,
.path-card:hover .path-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Enhanced Typography */
.feature-card h3, .service-card h3, .path-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.path-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card:hover h3, .service-card:hover h3, .path-card:hover h3 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p, .service-card p, .path-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.feature-card:hover p, .service-card:hover p, .path-card:hover p {
    color: var(--text-primary);
}

/* Learning Paths Specific Styles */
.path-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.path-stat {
    text-align: center;
    position: relative;
}

.path-stat-number {
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.path-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.path-card:hover .path-stat-number {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.path-card:hover .path-stat-label {
    color: var(--text-secondary);
}

.path-cta {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .path-cta::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-1);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 12px;
    }

    .path-cta:hover::before {
        opacity: 1;
    }

    .path-cta:hover {
        border-color: transparent;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 102, 241, 0.4);
    }

/* Service Features List */
.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

    .service-features li {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        color: var(--text-secondary);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

        .service-features li:nth-child(1) {
            animation-delay: 0.1s;
        }

        .service-features li:nth-child(2) {
            animation-delay: 0.2s;
        }

        .service-features li:nth-child(3) {
            animation-delay: 0.3s;
        }

        .service-features li:nth-child(4) {
            animation-delay: 0.4s;
        }

        .service-features li i {
            color: var(--success);
            margin-right: 0.5rem;
            font-size: 0.8rem;
            transition: all 0.3s ease;
        }

.service-card:hover .service-features li {
    color: var(--text-primary);
    transform: translateX(5px);
}

    .service-card:hover .service-features li i {
        color: var(--accent);
        transform: scale(1.2);
    }

/* Testimonials Specific Styles */
.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    transition: color 0.3s ease;
}

    .testimonial-quote::before {
        content: '"';
        position: absolute;
        top: -20px;
        left: -10px;
        font-size: 4rem;
        color: var(--primary);
        opacity: 0.3;
        font-family: serif;
    }

.testimonial-card:hover .testimonial-quote {
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:nth-child(2) .author-avatar {
    background: var(--gradient-2);
}

.testimonial-card:nth-child(3) .author-avatar {
    background: var(--gradient-3);
}

.author-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotate 2s linear infinite;
}

.testimonial-card:hover .author-avatar::before {
    opacity: 1;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
}

.author-info h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-info h4 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-card:hover .author-info p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem 3rem;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

    .cta-content::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        border-radius: 32px;
        opacity: 0;
        animation: rotate 8s linear infinite;
    }

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
}

/* Footer */
.footer {
    background: var(--dark-lighter);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
        animation: shimmer 4s ease-in-out infinite;
    }

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

    .footer-section:nth-child(1) {
        animation-delay: 0.1s;
    }

    .footer-section:nth-child(2) {
        animation-delay: 0.2s;
    }

    .footer-section:nth-child(3) {
        animation-delay: 0.3s;
    }

    .footer-section:nth-child(4) {
        animation-delay: 0.4s;
    }

    .footer-section h3 {
        color: var(--text-primary);
        font-weight: 600;
        margin-bottom: 1.5rem;
        position: relative;
    }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--gradient-1);
            border-radius: 1px;
        }

    .footer-section p,
    .footer-section a {
        color: var(--text-secondary);
        text-decoration: none;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        display: block;
        transition: all 0.3s ease;
        position: relative;
        padding: 0.25rem 0;
    }

        .footer-section a::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 1px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .footer-section a:hover::before {
            width: 100%;
        }

        .footer-section a:hover {
            color: var(--primary);
            transform: translateX(5px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    animation: fadeIn 1s ease-out 0.8s both;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

    .mobile-menu-btn:hover {
        background: var(--glass);
        transform: scale(1.1);
    }

/* Keyframe Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes counterUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Scroll-triggered Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

/* Performance Optimizations */
.feature-card,
.service-card,
.path-card,
.testimonial-card {
    contain: layout style paint;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        margin-top: 80px;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.75rem);
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .hero-stat {
        min-width: 150px;
    }

    .features, .learning-paths, .services, .testimonials, .cta-section {
        padding: 6rem 1rem;
    }

    .cta-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .services-grid,
    .paths-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card, .service-card, .path-card, .testimonial-card {
        padding: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-cta {
        width: 100%;
    }

    .path-stats {
        gap: 1rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        margin-top: 60px;
    }

    .hero-stat {
        padding: 0.5rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .feature-icon, .path-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .path-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .testimonial-quote::before {
        font-size: 3rem;
        top: -15px;
        left: -5px;
    }

    .features, .learning-paths, .services, .testimonials, .cta-section {
        padding: 4rem 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .enhanced-bg::before,
    .enhanced-bg::after {
        animation: none !important;
    }
}

/* Focus states */
.btn-primary:focus,
.btn-secondary:focus,
.btn-login:focus,
.btn-signup:focus,
.path-cta:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass: rgba(255, 255, 255, 0.15);
        --glass-border: rgba(255, 255, 255, 0.3);
        --text-secondary: #e0e0e0;
        --text-muted: #c0c0c0;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #000000;
        --dark-light: #111111;
        --dark-lighter: #1a1a1a;
    }
}
