/* Premium Educational Platform Styling 2025 */


:root {
    /* --- Liquid Glass Palette (iOS 26 Concept) --- */

    /* Brand Colors - Vibrant & Luminous */
    --primary: #6366f1;
    /* Indigo 500 - Main Brand */
    --primary-glow: #818cf8;
    /* Indigo 400 */
    --secondary: #0ea5e9;
    /* Sky 500 */
    --accent: #f43f5e;
    /* Rose 500 */
    --purple: #a855f7;
    /* Purple 500 */

    /* Liquid Glass Variables (Vibrant iOS Style) */
    --glass-bg: rgba(255, 255, 255, 0.6);
    /* More transparent */
    --glass-border: rgba(255, 255, 255, 0.5);
    /* Crisper border */
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    /* Native iOS Blur: heavily saturated background */
    --glass-blur: blur(25px) saturate(200%);

    /* Text */
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 48px;
    --radius-full: 9999px;

    --ease-fluid: cubic-bezier(0.35, 0.45, 0.35, 1);
    /* Natural fluid motion */
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Animation Constants */
    --stagger-delay: 100ms;
    cursor: default;
}

/* --- Global Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease-fluid);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.reveal-delay-1 {
    transition-delay: 100ms;
}

.reveal-delay-2 {
    transition-delay: 200ms;
}

.reveal-delay-3 {
    transition-delay: 300ms;
}

.reveal-delay-4 {
    transition-delay: 400ms;
}

/* Scale Up Animation (for badges/icons) */
.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s var(--ease-bounce);
}

.scale-up.active {
    opacity: 1;
    transform: scale(1);
}

/* Base Reset */
/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f0f4f8;
    /* Soft base for the glass to sit on */
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    /* Create a fixed mesh gradient background */
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(168, 85, 247, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
}

p {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: var(--text-body);
    /* Slight optimizeLegibility */
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s var(--ease-out);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

input,
button,
textarea {
    font-family: inherit;
}

/* Layout Utils */
.container {
    max-width: 1280px;
    /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Reusable Components */

tgs-player {
    width: 160px;
    max-width: 100%;
    height: 160px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    transition: all 0.3s var(--ease-fluid);
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

/* Button Shimmer Effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-primary:hover::after {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Header: Floating Island */
.main-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1080px;
    z-index: 1000;
    padding: 12px 24px;
    padding-left: 16px;
    transition: all 0.3s var(--ease-fluid);

    /* Vibrant Pill Style */
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    border-radius: var(--radius-full);
}

.plus-one h2 {
    font-size: 2rem;
}

.main-header.is-scrolled {
    top: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.45);
    /* Slightly more opaque when shrinking */
    box-shadow:
        0 8px 32px -4px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.main-header.is-scrolled .header-logo img {
    width: 40px;
    height: 40px;
}

.main-header.is-scrolled .header-nav {
    background: transparent;
    border-color: transparent;
}

.main-header .container {
    padding: 0;
    /* Remove container padding as header pill has padding */
    max-width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-logo {
    padding-left: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.header-logo img {
    width: 48px;
    height: 48px;
    border-radius: 100px;
    /* border: 1px solid var(--primary); */
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-fluid);
}

.header-nav {
    display: none;
    background: white;
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
}





.header-nav a {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: all 0.2s var(--ease-out);
}

.header-nav a:hover,
.header-nav a:active,
.header-nav a.active {
    color: var(--primary);
    background: var(--bg-surface);
}

.header-cta {
    display: none;
    padding: 12px 24px;
    font-size: 0.9375rem;
}



.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}



/* Hero */
.hero {
    padding: 160px 0 100px;
    overflow: visible;
    /* Allow blobs to be seen */
    position: relative;
    /* Removed solid gradient */
    background-image: url('hero-pattern.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

}

/* Background Shapes Animation */
/* .bg-shape removed (duplicate of 1994) */

/* .shape-hero removed (duplicate of 2008) */

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1) rotate(20deg);
    }
}

.hero-content {
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr;
    align-items: center;
}



.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-body);
    max-width: 580px;
    margin-bottom: 32px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    /* Better contrast */
}



@keyframes liquidFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-liquid {
    background: linear-gradient(45deg,
            var(--primary) 0%,
            var(--accent) 25%,
            var(--secondary) 50%,
            var(--primary) 75%,
            var(--accent) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: liquidFlow 20s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
}

.hero h1 span {
    /* Liquid Gradient */
    background: linear-gradient(45deg,
            var(--primary) 0%,
            var(--accent) 25%,
            var(--secondary) 50%,
            var(--primary) 75%,
            var(--accent) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Animation */
    animation: liquidFlow 20s linear infinite;

    /* Glossy Glow */
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));

    /* Remove old highlighter style */
    display: inline-block;
    z-index: 10;
    position: relative;
    /* Ensure z-index works */
}

.hero h1 span::after {
    display: none;
}

.hero-badge-wrapper {
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    color: var(--text-main);
    font-weight: 400;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 10px 40px -10px rgba(99, 102, 241, 0.7),
        0 4px 12px -2px rgba(99, 102, 241, 0.5);
    position: relative;
    letter-spacing: -0.01em;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    letter-spacing: -0.04em;
}

.stat-item p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    max-width: 200px;
    line-height: 1.4;
    margin-bottom: 0;
}



.hero-form,
.final-form,
.course-form-wrapper {
    /* Lighter Pastel Gradient: Indigo -> Purple */
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    color: var(--text-main);
    /* Dark Text */
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 48px;
    border-radius: var(--radius-xl);
    /* Vibrant Border for pop */
    border: 2px solid rgba(99, 102, 241, 0.4);
    /* Colored Glow Shadow */
    box-shadow:
        0 25px 50px -12px rgba(99, 102, 241, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    /* Inner white highlight */
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-form h3,
.final-form h3,
.course-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--text-main);
    text-shadow: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.3);
    /* Visible Indigo Border */
    background: rgba(255, 255, 255, 0.8);
    /* Higher opacity background */
    transition: all 0.2s;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.15),
        0 0 20px rgba(99, 102, 241, 0.2);
    /* Soft glow */
    outline: none;
    transform: translateY(-1px);
}

.form-agreement {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

.hero-form .btn,
.final-form .btn,
.course-form-wrapper .btn {
    width: 100%;
    padding: 18px;
    margin-top: 12px;
}

/* Programs */
.programs {
    background: transparent;
    /* Changed from var(--bg-surface) */
    padding-top: 100px;
    position: relative;
}

#methodology {
    padding: 24px;
}

.section-header {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 80px;
}

.section-header tgs-player {
    margin: 0 auto 16px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 0 32px;
    max-width: 1080px;
    margin: 0 auto;
}





.program-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 20px;
    padding-top: 20px;
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    /* transition: all 0.4s var(--ease-fluid); REMOVED for instant switch */
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* --- Course Details Section --- */
.course-details {
    padding: 60px 0;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.4) 100%);
}

.course-description-block {
    background: rgba(255, 255, 255, 0.5);
    /* Lighter glass */
    backdrop-filter: var(--glass-blur);
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: none;
    /* Cleaner look in hero */
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.course-desc-text {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-body);
    margin-bottom: 0;
}

/* Logistics Grid */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    /* More compact for hero */
    gap: 16px;
    margin-top: 32px;
}

.logistics-card {
    background: rgba(255, 255, 255, 0.7);
    /* More transparent */
    backdrop-filter: blur(10px);
    padding: 16px;
    /* Smaller padding */
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s var(--ease-fluid);
}

.logistics-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
}

.logistics-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--bg-surface);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.logistics-card h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.logistics-card p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
}

/* --- Program Modules --- */
.course-program {
    padding: 80px 0;
    background: var(--bg-surface);
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}



.module-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s var(--ease-fluid);
}

.module-card:hover {
    transform: translateX(5px);
    border-color: var(--primary);
}

.module-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-glow);
    opacity: 0.5;
    font-family: 'Space Grotesk', sans-serif;
    min-width: 40px;
}

.module-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0;
    color: var(--text-main);
}




.program-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

/* Modules Grid Hero */
.modules-grid-hero {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    gap: 12px;
    margin-top: 24px;
}



.modules-grid-hero .module-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.modules-grid-hero .module-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(3px);
}

.modules-grid-hero .module-number {
    font-size: 1rem;
    min-width: 24px;
    opacity: 0.7;
}

.modules-grid-hero .module-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 32px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease-bounce);
}

.program-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}


.program-card p {
    font-size: 1rem;
}

/* Guarantee */
.guarantee {
    background: var(--bg-main);
    padding-top: 0;
}

.guarantee-content {
    display: grid;
    gap: 80px;
    align-items: center;
    background: var(--glass-bg);
    /* Glass instead of surface-2 */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 80px;
    border-radius: 48px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}



.guarantee h2 span {
    color: var(--primary);
}

.guarantee-badge {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 50%;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1/1;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-subtle);
}

.guarantee-badge tgs-player {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
}

.guarantee-badge h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1;
}

/* Ecosystem */
.ecosystem {
    background: rgba(15, 23, 42, 0.6);
    /* Dark glass */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: white;
    border-radius: 64px;
    margin: 40px 24px;
    width: calc(100% - 48px);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ecosystem .section-header h2 {
    color: white;
}

.ecosystem .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.eco-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--ease-fluid);
    backdrop-filter: blur(10px);
}

.eco-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.eco-card h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.eco-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.eco-card.large {
    grid-column: span 1;
    background: var(--primary);
    border: none;
    box-shadow: var(--shadow-primary);
}



/* Teachers */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.teacher-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: all 0.3s var(--ease-fluid);
    position: relative;
    overflow: hidden;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.teacher-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

/* Duplicate .header-logo and .audio-btn removed */


/* Testimonials */
.testimonials {
    background: transparent;
    overflow: hidden;
    position: relative;
    padding-bottom: 120px;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 48px;
    padding: 80px;
    box-shadow: var(--glass-shadow);
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    position: relative;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.testimonial-avatar {
    width: 96px;
    height: 96px;
    background: #ffe4e6;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.testimonial-header h3 {
    margin-bottom: 4px;
    font-size: 1.5rem;
}

.testimonial-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 500;
}

.testimonial-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}



.point-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.point-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Approach / Bonuses */
.approach {
    background: var(--bg-main);
}

/* .bonuses-header removed (duplicate of 1979) */

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.bonus-card {
    padding: 48px 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s var(--ease-fluid);
}

.bonus-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-style: solid;
    box-shadow: var(--glass-shadow);
    border-color: var(--glass-border);
    transform: translateY(-4px);
}

.bonus-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.bonus-card p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Consultation & CTA */
.final-cta {
    padding: 20px 24px 40px;
}

.final-cta .container {
    max-width: 1280px;
    padding: 0;
}

.final-cta-content {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 64px;
    padding: 80px 60px;
    color: white;
    display: grid;
    gap: 60px;
    align-items: center;
    box-shadow: var(--shadow-2xl);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.final-cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
    pointer-events: none;
}

.final-cta-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 24px;
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 580px;
}

.final-form {
    background: white;
    padding: 48px;
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

/* FAQ */
.faq {
    background: var(--bg-surface);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s var(--ease-fluid);
    box-shadow: var(--glass-shadow);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.faq-question {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-main);
}

.faq-answer {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    display: none;
    padding-top: 16px;
    border-top: 1px solid var(--bg-surface-2);
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s var(--ease-out);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
/* Footer */
.footer {
    position: relative;
    /* Richer, multi-layered background */
    background:
        radial-gradient(circle at 0% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #020617 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #f8fafc;
    padding: 100px 0 60px;
    font-size: 0.95rem;
    /* Removed overflow: hidden to allow top glow */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

/* Optional: Subtle Grid Pattern Overlay */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    color: #4ade80;
    /* Green-400 */
    opacity: 0.8;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* Glowing Top Border Line */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 20%,
            var(--primary) 50%,
            transparent 80%,
            transparent 100%);
    opacity: 0.5;
    box-shadow: 0 0 15px var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}





.footer-col h4 {
    color: #fff;
    margin-bottom: 32px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    display: inline-block;
}

/* Underscore indicator for headers */
.footer-col h4::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--purple);
    margin-top: 8px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -16px;
    opacity: 0;
    color: var(--primary);
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-family: monospace;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(16px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    text-align: center;
    position: relative;
}



.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 32px;
}

.footer-legal-links a {
    color: #64748b;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--primary-glow);
}

.footer-legal img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    /* Smoother rounding */
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* .course-detail panel removed */

/* Responsive */


/* Course Page Specifics */
.course-hero {
    padding-top: 200px;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.course-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.course-hero-bottom {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 48px;
    /* Separate from top content */
}

.course-hero-content {
    z-index: 2;
}

.course-hero-content h1 {
    margin-bottom: 16px;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.course-hero-content .hero-subtitle {
    margin-bottom: 32px;
    opacity: 0.9;
}

.course-form-wrapper p {
    font-size: 18px;
    margin-bottom: 24px;
    text-align: center;
}





/* Responsive */


/* Helpers */
.hero-sticker-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.hero-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-author-details {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.more-teachers {
    margin-top: 48px;
    text-align: center;
}

/* Layout Fixes */
.consultation-inner,
.final-cta-content {
    display: grid;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}



.bonuses-header {
    text-align: center;
    margin-bottom: 60px;
}

.bonuses-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bonuses-header tgs-player {
    margin: 0 auto 10px;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.bg-shape svg {
    width: 100%;
    height: 100%;
    filter: blur(80px);
    opacity: 0.8;
}

.shape-hero {
    top: -100px;
    left: -100px;
    width: 700px;
    height: 700px;
    animation: float-slow 20s ease-in-out infinite alternate;
}

.shape-eco-1 {
    top: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
    animation: float-slow 15s ease-in-out infinite alternate-reverse;
}

.shape-eco-2 {
    bottom: -100px;
    left: -50px;
    width: 600px;
    height: 600px;
    animation: morph 25s linear infinite;
}

.shape-testi {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    z-index: -1;
    opacity: 0.3;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(40px, 60px) rotate(8deg);
    }
}

@keyframes morph {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Hover Interactions */
.hero:hover .shape-hero {
    filter: blur(60px);
    transition: filter 1s ease;
}

.ecosystem:hover .shape-eco-1,
.ecosystem:hover .shape-eco-2 {
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

/* Plus One Section */
.plus-one {
    background: transparent;
    padding: 100px 0;
    position: relative;
}

.plus-one-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}



.plus-one-display {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Wrapper for the card content */
.plus-one-grid {
    /* Unified Card Style */
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 32px;
    border-radius: 40px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Ensure it fills height if needed */
    z-index: 1;
    /* New stacking context */
}

.plus-one-bg-shape {
    position: absolute;
    top: -120px;
    left: -100px;
    width: 600px;
    height: 600px;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    /* transition: all 1s ease; REMOVED for instant switch */
}






/* Removed media query to keep this stacked */


.plus-one-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 24px;
    border-radius: 40px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}



.plus-one-person {
    position: absolute;
    bottom: 0;
    right: -40px;
    /* Increased Size */
    height: 480px;
    /* Bigger */
    width: auto;
    z-index: 1;
    /* Changed from -10 to be visible but properly layered if needed, or adjust z-index context */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    pointer-events: none;
    transform: scaleX(-1);
    transition: all 0.3s ease-out;
}







.plus-one h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.plus-one h2 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 100%;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}



/* Previous benefits list styling removed/overwritten above by the generic block or specific position block */
/* Need to ensure I target the existing block correctly or I'll duplicate. */
/* I will replace the block I added in the previous turn */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Tighter gap */
}



.benefits-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 16px 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    /* transition: all 0.3s var(--ease-fluid); REMOVED for instant switch */
    box-shadow: var(--shadow-sm);
}

.benefits-list li:hover {
    transform: translateY(-2px);
    border-color: var(--primary-subtle);
    box-shadow: var(--shadow-md);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ecfccb;
    color: #65a30d;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin: 8px;
}

.benefit-title {
    display: block;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-description {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.plus-one-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 420px;
    /* Constrain width of the visual column */
    margin: 0 auto;
}





/* Courses Navigation */
.courses-nav {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding: 16px 4px 4px 4px;
    margin-bottom: 24px;

    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.courses-nav::-webkit-scrollbar {
    display: none;
}



.course-nav-card {
    min-width: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s var(--ease-fluid);
    border: 1px solid var(--glass-border);
    position: relative;
    flex-shrink: 0;
}



.course-nav-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
}

.course-nav-card.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.course-nav-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.course-nav-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.nav-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* Feature Tags Styles Removed */

/* Benefits List - Bottom Left */
#programBenefits {
    bottom: 48px;
    left: 48px;
    margin: 0;
    width: auto;
    max-width: 400px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.6);
    /* Optional backing for readability */
    backdrop-filter: blur(8px);
    padding: 16px;
    border-radius: 20px;
}

#programBenefits li {
    padding: 4px;
    background: none;
    border: none;
    box-shadow: none;
    margin-bottom: 8px;
}

#programBenefits li:last-child {
    margin-bottom: 0;
}

#programBenefits li strong {
    font-size: 0.9rem;
}

#programBenefits li p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
}

/* Feature Tags Styles Removed */

/* Sale Notification */
/* Sale Notification */
.sale-notification {
    position: relative;
    /* In flow above form */
    margin-bottom: 24px;
    z-index: 900;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow:
        0 12px 32px -8px rgba(99, 102, 241, 0.3),
        0 4px 8px -2px rgba(99, 102, 241, 0.1);

    padding: 16px 18px;
    border-radius: 124px;
    /* Less rounded to match form card potentially, or keep full */
    display: flex;
    align-items: center;
    gap: 20px;

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sale-notification.visible {
    transform: translateY(0);
    opacity: 1;
}

.sale-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.sale-image-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sale-image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

/* .sale-caption duplicate removed */

.sale-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sale-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.sale-main-line {
    display: flex;
    align-items: center;
    /* Align items vertically center in the row */
    gap: 12px;
    margin-bottom: 6px;
}

.sale-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    background: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    margin-bottom: 0;
    /* Reset margin as it is in a flex row */
}

.sale-description {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.2;
}

.sale-caption {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: left;
    /* Align left to match info block */
    max-width: none;
    /* Remove width constraint */
    line-height: 1.2;
    margin-left: 0;
    /* Reset margin */
    align-self: flex-start;
    /* Reset align */
}

/* Helper for wrapper if created */
.hero-form-wrapper {
    display: flex;
    flex-direction: column;
    /* Ensure it fills the grid cell */
    width: 100%;
}

/* Mobile responsive */


/* Program Card Image */
.program-image-container {
    /* Full width / Full bleed style */
    margin: -20px -20px 20px -20px;
    width: calc(100% + 40px);

    /* Auto height so image fits fully */
    height: auto;
    border-radius: 0;
    overflow: hidden;
    /* Removed shadow as it is now full bleed */
}

.program-image {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    object-fit: cover;
    display: block;
    /* Remove inline gap */
    /* transition: transform 0.6s var(--ease-fluid); REMOVED for instant switch */
}


.program-emoji-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
    /* transition: transform 0.6s var(--ease-fluid); REMOVED for instant switch */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.program-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.program-emoji-icon {
    font-size: 2rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.5);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.program-card-header h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}


/* --- Combined Media Queries --- */


/* --- Sorted Media Queries --- */

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

}

@media (min-width: 768px) {
    .header-cta {
        display: inline-flex;
    }

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

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

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

    .testimonial-points {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .plus-one-content {
        padding: 48px;
        min-height: 520px;
    }

    #programSubtitle {}

}

@media (min-width: 900px) {
    .header-nav {
        display: flex;
        gap: 4px;
    }

    .mobile-menu-btn {
        display: none;
    }

}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1.1fr 0.9fr;
    }

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

    .guarantee-content {
        grid-template-columns: 1.5fr 1fr;
    }

    .final-cta-content {
        grid-template-columns: 1fr 0.8fr;
        padding: 100px;
    }

    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
        /* Force 5 columns on desktop */
        gap: 32px;
        margin-bottom: 80px;
    }

    .consultation-inner,
    .final-cta-content {
        grid-template-columns: 1fr 1fr;
    }

    .plus-one-container {
        grid-template-columns: 200px 1fr;
        align-items: start;
        gap: 40px;
    }

    .plus-one-grid {
        padding: 48px;
    }

    .section-subtitle {
        max-width: 60%;
        /* Limit width to avoid overlap with image */
        padding-right: 0;
    }

    .benefits-list {
        max-width: 65%;
        /* Prevent overlap with image on right */
    }

    .course-hero-content .benefits-list {
        max-width: 100%;
    }

    .courses-nav {
        flex-direction: column;
        margin-top: 0;
        margin-bottom: 0;
        overflow: visible;
        position: sticky;
        top: 100px;
    }

    .course-nav-card {
        width: 100%;
        min-width: 0;
        padding: 24px;
    }

}

@media(min-width: 992px) {
    .eco-card.large {
        grid-column: span 2;
    }

}

@media (min-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 1200px) {
    .plus-one-person {
        right: -30px;
        bottom: -50px;
    }

}

@media (max-width: 730px) {
    .plus-one-person {
        display: none;
        position: absolute;
        right: 0;
        top: 4rem;
        margin-top: 24px;
        height: auto;
        width: 80%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 968px) {
    .course-hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .course-hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .course-hero-content h1 {
        font-size: 2.8rem;
    }

}

@media (max-width: 899px) {
    .header-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-radius: 0 0 24px 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-subtle);
        gap: 8px;
        animation: slideDown 0.3s var(--ease-out);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-nav.is-open a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .bg-shape svg {
        filter: blur(60px);
    }

    .main-header {
        padding: 12px;

        position: fixed;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1080px;
        z-index: 1000;
        padding: 12px 24px;
        transition: all 0.3s var(--ease-fluid);

        /* Vibrant Pill Style */
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);

        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.3) inset;
        border-radius: var(--radius-full);
    }

    .main-header.is-scrolled {
        top: 24px;
        padding: 6px 10px;
    }

    .sale-content {
        gap: 4px;
    }

    .hero {
        padding: 110px 0 40px;
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .program-card,
    .teacher-card,
    .eco-card,
    .bonus-card,
    .testimonial-card,
    .plus-one-grid,
    .plus-one-content,
    .hero-form,
    .final-form,
    .consultation-form {
        padding: 24px;
    }

    .programs-grid,
    .teachers-grid,
    .ecosystem-grid,
    .bonuses-grid,
    .modules-grid,
    .stats {
        gap: 24px;
    }

    .stats {
        margin-top: 32px;
        padding-top: 24px;
    }

    .ecosystem {
        margin: 24px 12px;
        width: calc(100% - 24px);
        border-radius: 32px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .guarantee-content {
        padding: 24px;
        gap: 40px;
    }

    .guarantee-badge {
        padding: 24px;
        width: 100%;
        height: auto;
        border-radius: 32px;
    }

    .footer {
        padding: 60px 0 40px;
    }

    .plus-one-bg-shape {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        filter: blur(50px);
    }

    .courses-nav {
        margin-bottom: 0;
        margin-bottom: -12px
    }

}

@media (max-width: 640px) {
    .sale-notification {
        padding: 14px;
        gap: 12px;
    }

    .sale-image-wrapper {
        width: 60px;
        height: 60px;
    }

    .section-header p {
        font-size: 1.2rem;
    }

    .sale-caption {
        font-size: 0.8rem;
    }

    .sale-description {
        font-size: 0.8rem;
    }

    .plus-one h2 {
        font-size: 1.75rem;
        margin-bottom: 14rem;
    }

    .footer-status {
        justify-content: center;
    }

    #programSubtitle {
        display: none;
        /* display: inline-block; */

        background: rgba(255, 255, 255, 0.4);
        /* backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px); */
        padding: 12px 16px;
        border-radius: 16px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-main);
        /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); Optional depth */
    }

    .hero-form h3,
    .final-form h3,
    .course-form-wrapper h3 {
        font-size: 1.2rem;
    }

    .stat-item h3 {
        font-size: 1.75rem;
    }

    #methodology .container {
        padding: 0;
    }

    .final-cta .container {
        padding: 0;
    }

    .final-cta-content {
        padding: 0;
        gap: 32px;
        border-radius: 0;
        border: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        color: var(--text-main);
    }

    .final-cta-content::before {
        display: none;
    }

    .final-cta-content h2 {
        font-size: 2rem;
        margin-bottom: 16px;
        color: var(--text-main);
    }

    .final-cta-content p {
        font-size: 1rem;
        color: var(--text-body);
    }

    .final-form {
        padding: 24px;
        border-radius: 24px;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .plus-one-person {
        display: block;
        left: 0;
    }


}

/* --- Prices Section --- */
.prices {
    padding: 100px 0;
    position: relative;
    background: transparent;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease-fluid);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    background: rgba(255, 255, 255, 0.75);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 24px;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-period {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

.pricing-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.4;
}

.feature-item .check-icon {
    color: var(--primary);
    font-weight: 800;
    /* font-size: 1.25rem; */
    flex-shrink: 0;
}

.pricing-cta .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .prices-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card {
        padding: 32px 24px;
    }
}