/* ============================================
   BrainUp Kids — Premium Landing Page Styles
   ============================================ */

/* === CSS Custom Properties === */
:root {
    /* Core Colors */
    --primary: #6C63FF;
    --primary-light: #8B83FF;
    --primary-dark: #4F46E5;
    --secondary: #FF6B6B;
    --secondary-light: #FF8E8E;
    --accent-yellow: #FFD93D;
    --accent-green: #4ECDC4;
    --accent-purple: #A78BFA;
    --accent-orange: #FF9F43;
    --accent-pink: #F472B6;

    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F7FF;
    --bg-dark: #1A1142;
    --bg-gradient: linear-gradient(135deg, #6C63FF 0%, #A78BFA 50%, #F472B6 100%);
    --bg-gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FF9F43 100%);
    --bg-gradient-cool: linear-gradient(135deg, #4ECDC4 0%, #6C63FF 100%);

    /* Text */
    --text-primary: #1A1142;
    --text-secondary: #5B5675;
    --text-light: #8E89A8;
    --text-white: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(108, 99, 255, 0.08);
    --shadow-md: 0 4px 20px rgba(108, 99, 255, 0.12);
    --shadow-lg: 0 8px 40px rgba(108, 99, 255, 0.16);
    --shadow-xl: 0 16px 60px rgba(108, 99, 255, 0.2);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.3);

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

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Particles Background === */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-gradient);
    border-radius: 2px;
    transition: var(--transition-medium);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--bg-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-medium);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition-medium);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}

.btn-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(108, 99, 255, 0.5), 0 0 60px rgba(108, 99, 255, 0.2); }
}

.btn-secondary {
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    border: 2px solid rgba(108, 99, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(108, 99, 255, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.15rem;
}

.play-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.gradient-text {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #F0EDFF 0%, #FFF5F5 50%, #F0EDFF 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: shape-float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 100px;
    left: -80px;
    animation: shape-float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-yellow);
    top: 40%;
    right: 30%;
    animation: shape-float 12s ease-in-out infinite;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--accent-green);
    bottom: 20%;
    right: 10%;
    animation: shape-float 9s ease-in-out infinite reverse;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: var(--accent-purple);
    top: 20%;
    left: 20%;
    animation: shape-float 7s ease-in-out infinite;
}

@keyframes shape-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background: var(--bg-gradient-warm);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: badge-bounce 2s ease-in-out infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 10px;
    font-size: 1.2rem;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.trust-stars {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.banner-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-medium);
}

.banner-wrapper:hover {
    transform: scale(1.02) rotate(-1deg);
    box-shadow: 0 20px 80px rgba(108, 99, 255, 0.25);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.banner-price-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-gradient-warm);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
    animation: price-bounce 3s ease-in-out infinite;
}

@keyframes price-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

.price-amount {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    color: var(--primary);
}

.float-1 {
    top: 10%;
    left: -10%;
    animation: float-math 4s ease-in-out infinite;
}

.float-2 {
    top: 20%;
    right: -5%;
    animation: float-math 5s ease-in-out infinite 1s;
}

.float-3 {
    bottom: 30%;
    left: -5%;
    animation: float-math 3.5s ease-in-out infinite 0.5s;
    font-size: 1.5rem;
    background: transparent;
    box-shadow: none;
}

.float-4 {
    bottom: 15%;
    right: -8%;
    animation: float-math 4.5s ease-in-out infinite 1.5s;
    font-size: 1.5rem;
    background: transparent;
    box-shadow: none;
}

.float-5 {
    top: 5%;
    right: 30%;
    animation: float-math 3s ease-in-out infinite 0.8s;
    font-size: 1.5rem;
    background: transparent;
    box-shadow: none;
}

@keyframes float-math {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    75% { transform: translateY(10px) rotate(-3deg); }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* === Stats Bar === */
.stats-bar {
    position: relative;
    z-index: 3;
    padding: 50px 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    border: 1px solid rgba(108, 99, 255, 0.06);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 99, 255, 0.15);
}

.stat-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 4px;
}

/* === Learning System Section === */
.learning-system {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.step-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-visual {
    position: relative;
}

.step-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-medium);
}

.step-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step-image {
    width: 100%;
    height: auto;
    display: block;
}

.step-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bg-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.step-content {
    padding: 20px 0;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--step-color) 15%, white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: var(--transition-medium);
}

.step-icon-wrapper:hover {
    transform: rotate(10deg) scale(1.1);
}

.step-emoji {
    font-size: 1.8rem;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.check {
    flex-shrink: 0;
}

.step-highlight {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.06), rgba(167, 139, 250, 0.06));
    border-left: 4px solid var(--primary);
    padding: 14px 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* === Video Section === */
.video-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.video-section .section-tag {
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary-light);
}

.video-section .section-title {
    color: white;
}

.video-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.video-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(108, 99, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.video-wrapper {
    position: relative;
    z-index: 1;
}

.video-player {
    max-width: 860px;
    margin: 0 auto 40px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(108, 99, 255, 0.3);
    position: relative;
    background: #0a0520;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.video-thumbnail {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0838 0%, #2d1b69 50%, #1a0838 100%);
    position: relative;
}

.video-thumb-img {
    width: 200px;
    height: auto;
    opacity: 0.6;
    animation: thumb-pulse 3s ease-in-out infinite;
}

@keyframes thumb-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.5);
    animation: play-glow 2s ease-in-out infinite;
}

@keyframes play-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(108, 99, 255, 0.5); }
    50% { box-shadow: 0 0 60px rgba(108, 99, 255, 0.8), 0 0 100px rgba(108, 99, 255, 0.3); }
}

.play-button:hover {
    transform: scale(1.1);
}

.video-info {
    padding: 20px 24px;
    background: rgba(26, 17, 66, 0.9);
}

.video-info h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 4px;
}

.video-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

.video-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.video-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 99, 255, 0.15);
    transition: var(--transition-medium);
}

.video-feature-item:hover {
    background: rgba(108, 99, 255, 0.2);
    transform: translateY(-3px);
}

.vf-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.video-feature-item h4 {
    font-size: 0.9rem;
    color: white;
    font-weight: 700;
}

.video-feature-item p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

/* === Levels Section === */
.levels-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}

.level-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    border: 1px solid rgba(108, 99, 255, 0.08);
    transition: var(--transition-medium);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.level-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.level-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.level-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.level-beginner .level-glow {
    background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
}

.level-intermediate .level-glow {
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
}

.level-advanced .level-glow {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
}

.level-card:hover .level-glow {
    opacity: 1;
}

.level-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.level-card.featured.visible {
    transform: scale(1.05);
}

.level-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.level-ribbon {
    position: absolute;
    top: 16px;
    right: -28px;
    background: var(--bg-gradient);
    color: white;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
}

.level-header {
    text-align: center;
    margin-bottom: 24px;
}

.level-icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 2rem;
    background: rgba(108, 99, 255, 0.06);
    border-radius: 50%;
}

.level-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.level-stars {
    font-size: 1rem;
    letter-spacing: 2px;
}

.level-body {
    margin-bottom: 24px;
}

.level-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.level-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.level-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.level-test-info {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.test-badge {
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.test-questions {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.level-progress {
    padding-top: 16px;
    border-top: 1px solid rgba(108, 99, 255, 0.08);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    width: var(--progress);
    background: var(--bg-gradient);
    border-radius: var(--radius-full);
    transition: width 1.5s ease-out;
}

.progress-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.testing-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tf-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

/* === Final Test Section === */
.final-test-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.final-test-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #fef0f5 0%, #fce4ec 50%, #fef0f5 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.15), 0 6px 20px rgba(244, 143, 177, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.trophy-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 217, 61, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: trophy-pulse 2s ease-in-out infinite;
}

@keyframes trophy-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.trophy-emoji {
    font-size: 6rem;
    position: relative;
    z-index: 1;
    animation: trophy-float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(255, 217, 61, 0.4));
}

@keyframes trophy-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.final-test-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.final-test-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.final-test-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.final-test-highlight {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1), rgba(255, 159, 67, 0.1));
    border-left: 4px solid var(--accent-yellow);
    padding: 14px 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* === Testimonials === */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 260px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(108, 99, 255, 0.06);
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.testimonial-stars {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 50%;
    font-size: 1.5rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(108, 99, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-medium);
}

.dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: var(--radius-full);
}

/* === Enrollment Section === */
.enrollment-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #F8F7FF 0%, #FFF5F5 100%);
}

.enrollment-card {
    max-width: 780px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px 40px 40px;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary);
    overflow: hidden;
}

/* Form Row (horizontal pairs) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-btn {
    display: flex;
    align-items: flex-end;
    padding-top: 24px;
}

.enrollment-badge {
    background: var(--bg-gradient-warm);
    color: white;
    padding: 8px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.enrollment-price-strip {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

.enrollment-price-strip .price-strike {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.enrollment-price-strip .price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
}

.enrollment-price-strip .price-currency {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.enrollment-price-strip .price-value {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.enrollment-price-strip .price-duration {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.enrollment-price-strip .price-save {
    display: inline-block;
    background: rgba(78, 205, 196, 0.1);
    color: var(--accent-green);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Form Styles */
.enrollment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.label-icon {
    font-size: 1.1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(108, 99, 255, 0.12);
    border-radius: var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(108, 99, 255, 0.02);
    transition: var(--transition-medium);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.form-group input.input-error,
.form-group select.input-error {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.form-group input.input-success,
.form-group select.input-success {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236C63FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid rgba(108, 99, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(108, 99, 255, 0.02);
    transition: var(--transition-medium);
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.phone-input-wrapper.input-error {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.phone-input-wrapper.input-success {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

.phone-prefix {
    padding: 14px 14px 14px 18px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    background: rgba(108, 99, 255, 0.06);
    border-right: 2px solid rgba(108, 99, 255, 0.1);
    flex-shrink: 0;
    user-select: none;
}

.phone-input-wrapper input {
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 1rem;
    flex: 1;
    width: 100%;
    outline: none;
    font-family: 'Nunito', sans-serif;
    color: var(--text-primary);
}

.phone-input-wrapper input::placeholder {
    color: var(--text-light);
}

.phone-input-wrapper input:focus {
    box-shadow: none;
}

.form-error {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    min-height: 18px;
    transition: var(--transition-fast);
}

.enroll-submit-btn {
    width: 100%;
    margin-top: 8px;
    font-size: 1.15rem;
    padding: 18px 32px;
}

.enroll-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}

.enroll-submit-btn:active {
    transform: translateY(-1px);
}

.enroll-submit-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Enrollment Features Card */
.enrollment-features-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(108, 99, 255, 0.08);
    position: sticky;
    top: 100px;
}

.enrollment-features-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(108, 99, 255, 0.08);
}

.enrollment-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.enrollment-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.ef-check {
    flex-shrink: 0;
    font-size: 1rem;
}

.enrollment-trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(108, 99, 255, 0.08);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(108, 99, 255, 0.06);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-guarantee {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
}

/* === Play + Learn CTA === */
.play-learn-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.play-learn-card {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.pl-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: bounce-shake 2s ease-in-out infinite;
}

@keyframes bounce-shake {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.play-learn-card h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 12px;
}

.play-learn-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

.pl-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pl-tag {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === FAQ Section === */
.faq-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.faq-item {
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(108, 99, 255, 0.08);
    transition: var(--transition-medium);
}

.faq-item:hover {
    border-color: rgba(108, 99, 255, 0.2);
}

.faq-item.open {
    box-shadow: var(--shadow-md);
    border-color: rgba(108, 99, 255, 0.2);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition-medium);
}

.faq-question:hover {
    background: rgba(108, 99, 255, 0.03);
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.06);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition-medium);
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === Footer === */
.footer {
    background: var(--bg-dark);
    position: relative;
    padding-top: 0;
}

.footer-wave {
    position: relative;
    top: 0;
    margin-bottom: -2px;
}

.footer-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 12px;
    line-height: 1.7;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-logo .logo-text {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 50%;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-medium);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
}

.footer-links-group h4,
.footer-contact h4 {
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links-group a:hover {
    color: white;
    padding-left: 4px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.contact-item:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-medium);
    animation: wa-bounce 3s ease-in-out infinite;
}

@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.wa-icon {
    font-size: 1.3rem;
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* === Confetti === */
.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    opacity: 0;
    animation: confetti-fall 3s ease-out infinite;
}

@keyframes confetti-fall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translateY(120px) rotate(720deg) scale(0.3); }
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-features {
        align-items: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-banner {
        max-width: 500px;
        margin: 0 auto;
    }

    .step-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-card-left .step-content {
        order: 1;
    }

    .step-card-left .step-visual {
        order: 2;
    }

    .levels-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 48px;
    }

    .level-card.featured {
        transform: none;
    }

    .level-card.featured.visible {
        transform: none;
    }

    .level-card.featured:hover {
        transform: translateY(-8px);
    }

    .final-test-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .step-card {
        gap: 24px;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .play-learn-card h2 {
        font-size: 1.8rem;
    }

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

    .enrollment-card {
        padding: 40px 20px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .price-value {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-features {
        grid-template-columns: 1fr 1fr;
    }

    .wa-text {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }

    .testing-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .video-features {
        grid-template-columns: 1fr;
    }

    .float-item {
        display: none;
    }
}

/* === Scroll Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Selection styling === */
::selection {
    background: rgba(108, 99, 255, 0.2);
    color: var(--text-primary);
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
