/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== VARIABLES ===== */
:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --accent: #ec4899;
    --accent-light: #f472b6;
    --success: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #84cc16 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #facc15 100%);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== GLASSMORPHISM HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-purple);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
}

/* ===== NEXT-GEN BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn-sm {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.3rem 3.5rem;
    font-size: 1.15rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    padding-top: 100px;
}

/* ===== HERO DECORATIVE ANIMATIONS ===== */
.hero-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrb 15s ease-in-out infinite;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.8) 0%, rgba(168, 85, 247, 0.4) 50%, transparent 100%);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.7) 0%, rgba(244, 114, 182, 0.3) 50%, transparent 100%);
    top: 50%;
    right: -5%;
    animation-delay: -7s;
    animation-duration: 18s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(147, 197, 253, 0.3) 50%, transparent 100%);
    bottom: 20%;
    left: 5%;
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -80px) scale(1.1);
    }
    50% {
        transform: translate(-80px, 100px) scale(0.9);
    }
    75% {
        transform: translate(120px, 60px) scale(1.05);
    }
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: rotateShape 20s linear infinite;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 15%;
    right: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-duration: 15s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 8%;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 45%;
    left: 15%;
    border-radius: 41% 59% 41% 59% / 41% 59% 41% 59%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes rotateShape {
    0% {
        transform: rotate(0deg) scale(1);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        transform: rotate(90deg) scale(1.1);
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        transform: rotate(180deg) scale(0.9);
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        transform: rotate(270deg) scale(1.05);
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        transform: rotate(360deg) scale(1);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Gradient Blobs */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    mix-blend-mode: screen;
    animation: blobMove 25s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5) 0%, rgba(139, 92, 246, 0.3) 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.4) 0%, rgba(236, 72, 153, 0.3) 100%);
    bottom: -150px;
    left: -150px;
    animation-delay: -12s;
}

@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    33% {
        transform: translate(150px, -100px) rotate(120deg);
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    }
    66% {
        transform: translate(-100px, 150px) rotate(240deg);
        border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
    }
}

/* Particle Stars */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 15% 90%, rgba(255, 255, 255, 0.6), transparent);
    background-size: 200% 200%;
    animation: sparkle 8s linear infinite;
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        background-position: 0% 0%;
    }
    50% {
        opacity: 0.7;
        background-position: 100% 100%;
    }
}

/* Floating Grid Lines */
.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(90deg, transparent 0%, transparent 49%, rgba(124, 58, 237, 0.1) 49%, rgba(124, 58, 237, 0.1) 51%, transparent 51%),
        linear-gradient(0deg, transparent 0%, transparent 49%, rgba(236, 72, 153, 0.1) 49%, rgba(236, 72, 153, 0.1) 51%, transparent 51%);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    opacity: 0.3;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--white);
    padding-top: 8rem;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -3px;
    animation: titleReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(-20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientFlow 4s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.6));
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MODERN SEARCH BAR */
.hero-search {
    display: flex;
    max-width: 700px;
    margin: 0 auto 5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.search-icon {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.5rem 1rem 4rem;
    font-size: 1.1rem;
    color: var(--white);
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-search .btn {
    border-radius: 12px;
}

/* ANIMATED STATS */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 6rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-purple);
    border-radius: 10px;
}

.stat h3 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== SECTIONS ===== */
section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: var(--gradient-purple);
    margin: 1.5rem auto 4rem;
    border-radius: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.section-header .section-title::after {
    margin: 1rem 0 0;
}

.view-all {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.view-all:hover {
    gap: 1.2rem;
    color: var(--primary-dark);
}

/* ===== 3D CATEGORY CARDS ===== */
.categories {
    background: linear-gradient(180deg, var(--light) 0%, #fff 50%, var(--light) 100%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-purple);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.4);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-purple);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover h3 {
    color: var(--white);
}

/* ===== PREMIUM COURSE CARDS ===== */
.courses {
    background: var(--white);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 3rem;
}

.course-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 70px rgba(124, 58, 237, 0.25);
    border-color: var(--primary);
}

.course-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-image img {
    transform: scale(1.2) rotate(3deg);
}

.course-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.course-info {
    padding: 2.5rem;
}

.course-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.course-card:hover .course-info h3 {
    color: var(--primary);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
}

.course-meta i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FLOATING TEACHER CARDS ===== */
.teachers {
    background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.teacher-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 24px;
}

.teacher-card:hover::before {
    opacity: 1;
}

.teacher-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 30px 70px rgba(124, 58, 237, 0.3);
}

.teacher-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 6px solid #f1f5f9;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.teacher-card:hover .teacher-avatar {
    border-color: var(--white);
    transform: scale(1.15) translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.teacher-card h3,
.teacher-spec,
.teacher-stats,
.teacher-card .btn {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.teacher-card:hover h3,
.teacher-card:hover .teacher-spec,
.teacher-card:hover .teacher-stats {
    color: var(--white);
}

.teacher-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.teacher-spec {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.teacher-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
    font-size: 1rem;
    color: #64748b;
    font-weight: 700;
}

/* ===== EPIC CTA ===== */
.cta {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    animation: ctaPulse 10s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* ===== PREMIUM FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 2rem;
    font-weight: 800;
    font-size: 1.4rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary-light);
    transform: translateX(8px);
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
}

.social-links a:hover {
    background: var(--gradient-purple);
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .section-title { font-size: 3rem; }
    .cta-content h2 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero { min-height: 90vh; padding-top: 120px; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-stats { flex-direction: column; gap: 2rem; }
    .stat h3 { font-size: 3rem; }
    .section-title { font-size: 2.3rem; }
    .cta-content h2 { font-size: 2.5rem; }
    .course-grid, .teacher-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .floating-orb, .geometric-shape, .gradient-blob { display: none; }
    .hero::before, .hero::after { opacity: 0.2; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; letter-spacing: -1px; }
    .hero-search { flex-direction: column; padding: 0.8rem; }
    .search-input { padding: 1rem; text-align: center; }
    .search-icon { display: none; }
    .category-grid { grid-template-columns: 1fr; }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 10px;
    border: 3px solid var(--dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}
