/* =========================================
   KINEDU — WARM LIGHT EDITION (FINAL)
   Personality: Warm + Expert · Playful + Modern
   Theme: Light, kid-friendly, professional
   ========================================= */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ====== LIGHT WARM PALETTE ====== */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F8FB;
    --bg-warm: #F0F6FF;
    --bg-cream: #EFF5FF;
    --bg-soft-blue: #EEF5FF;
    --bg-soft-green: #ECFBEF;
    --bg-soft-pink: #FFF0F6;
    --bg-soft-orange: #FFF7EB;
    --bg-soft-purple: #F4F0FF;
    --bg-soft-teal: #ECFCF9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFBFE;
    --bg-glass: rgba(255,255,255,0.78);

    /* ====== KINEDU BRAND COLORS ====== */
    --kinedu-blue: #2B8BE4;
    --kinedu-green: #4CD964;
    --kinedu-orange: #FFC033;
    --kinedu-pink: #E84D8A;

    /* Extended palette */
    --accent-blue: #2B8BE4;
    --accent-blue-light: #5AABF5;
    --accent-green: #4CD964;
    --accent-green-light: #7AE88E;
    --accent-orange: #FFC033;
    --accent-orange-light: #FFD470;
    --accent-pink: #E84D8A;
    --accent-pink-light: #F07AAD;
    --accent-purple: #7B5CE8;
    --accent-magenta: #D946EF;
    --accent-cyan: #38D0E8;
    --accent-teal: #2DD4BF;
    --accent-yellow: #FFE566;
    --accent-coral: #FF7B6B;

    /* Text hierarchy */
    --text-primary: #1A1D2E;
    --text-secondary: #4A5068;
    --text-tertiary: #8B93A7;
    --text-dim: #C4CAD8;

    /* Borders */
    --border: rgba(0,0,0,0.06);
    --border-hover: rgba(0,0,0,0.12);
    --border-colored: rgba(43,139,228,0.12);

    /* Spacing */
    --section-pad: 80px;

    /* Radius — extra rounded = friendly */
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 100px;

    /* Shadows — soft & warm */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.03);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.03);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.04);
    --shadow-glow-blue: 0 8px 32px rgba(43,139,228,0.18);
    --shadow-glow-green: 0 8px 32px rgba(76,217,100,0.14);
    --shadow-glow-pink: 0 8px 32px rgba(232,77,138,0.14);
    --shadow-glow-orange: 0 8px 32px rgba(255,192,51,0.18);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF5FF 30%, #E8F1FE 55%, #EEF5FF 75%, #FFFFFF 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

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

/* --- ANIMATED GRADIENT TEXT — Kinedu Brand --- */
.gradient-shift {
    background: linear-gradient(
        135deg,
        var(--kinedu-blue),
        var(--accent-cyan),
        var(--kinedu-green),
        var(--kinedu-blue)
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

.gradient-shift-alt {
    background: linear-gradient(
        135deg,
        var(--kinedu-pink),
        var(--kinedu-orange),
        var(--accent-yellow),
        var(--kinedu-green),
        var(--kinedu-pink)
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

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

/* --- SECTION COMMON --- */
.section-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.sec-header {
    text-align: center;
    margin-bottom: 48px;
}

.sec-tag {
    display: inline-block;
    padding: 8px 22px;
    background: var(--bg-soft-blue);
    border: 1px solid rgba(43,139,228,0.1);
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--kinedu-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.sec-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: var(--text-primary);
    margin-bottom: 18px;
}

.sec-title-left {
    text-align: left;
}

.sec-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* =========================================
   NAVBAR — Floating pill (warm light)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 32px;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.navbar.scrolled {
    padding: 8px 32px;
}

.nav-pill {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--r-full);
    pointer-events: all;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.navbar.scrolled .nav-pill {
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
    max-width: 900px;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo-img {
    height: 30px;
    width: auto;
    display: block;
}

.mobile-only {
    display: none !important;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
    position: relative;
}

.nav-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
    padding: 7px 16px;
    border-radius: var(--r-full);
}

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

.nav-links a.active {
    color: var(--kinedu-blue);
    background: rgba(43, 139, 228, 0.08);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 2px;
    gap: 0;
    flex-shrink: 0;
}

.lang-btn {
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    color: var(--text-tertiary);
    background: transparent;
    border: none;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: white;
    color: var(--kinedu-blue);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.lang-toggle--mobile {
    display: none;
}

.nav-login {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: all 0.25s ease;
    padding: 8px 16px;
    border-radius: var(--r-full);
}

.nav-login:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.nav-cta {
    padding: 10px 26px;
    background: var(--kinedu-blue);
    color: white;
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
}

.nav-cta:hover {
    background: #1D7DD9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(43,139,228,0.25);
}

.nav-schools {
    padding: 10px 22px;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-schools:hover {
    color: var(--kinedu-blue);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.2s;
}

.nav-hamburger:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-hamburger span {
    width: 18px;
    height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger → X animation */
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================
   HERO — Split layout: Phone LEFT, Text RIGHT
   ========================================= */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 110px 0 60px;
    overflow: hidden;
    background: var(--bg-cream);
}

/* Animated gradient orbs — hidden for clean bg */
.hero-orbs {
    display: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(43,139,228,0.18);
    top: -200px;
    left: 20%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: rgba(76,217,100,0.16);
    bottom: -100px;
    left: 10%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(232,77,138,0.12);
    top: 30%;
    right: 5%;
    animation: orbFloat3 18s ease-in-out infinite;
}

.orb-4 {
    width: 280px;
    height: 280px;
    background: rgba(255,192,51,0.14);
    bottom: 20%;
    left: 40%;
    animation: orbFloat2 22s ease-in-out infinite reverse;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 40px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.05); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.15); }
}

/* Grid overlay — hidden for clean bg */
.hero-grid {
    display: none;
}

/* Noise texture — hidden for clean bg */
.hero-noise {
    display: none;
}

/* --- Split layout container --- */
.hero-split {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- Phone column (LEFT) --- */
.hero-phone-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Text column (RIGHT) --- */
.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* --- Hero Headline --- */
.hero-headline {
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
    animation: fadeUp 0.8s ease 0.15s forwards;
    opacity: 0;
    color: var(--text-primary);
}

.hero-headline .line {
    display: block;
}

/* --- Hero Subtitle --- */
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 12px;
    animation: fadeUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-proof {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-bottom: 36px;
    letter-spacing: 0.01em;
    animation: fadeUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* --- Hero CTA Buttons --- */
.hero-ctas {
    display: flex;
    gap: 14px;
    margin-bottom: 36px;
    animation: fadeUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.btn-hero-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 22px 80px;
    border-radius: var(--r-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    z-index: 1;
}

.btn-hero-primary .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--kinedu-blue),
        #3AA0F0,
        var(--kinedu-green),
        var(--kinedu-blue)
    );
    background-size: 400% 400%;
    animation: gradientShift 5s ease infinite;
    z-index: -1;
    border-radius: inherit;
}

.btn-hero-primary .btn-text {
    position: relative;
    z-index: 1;
}

/* Mobile/Desktop text toggle */
.btn-text--mobile {
    display: none;
}

.btn-hero-primary svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 10px 36px rgba(43,139,228,0.3),
        0 4px 16px rgba(76,217,100,0.12);
}

.btn-hero-primary:hover svg {
    transform: translateX(3px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 30px;
    border-radius: var(--r-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* --- Hero Trust Row (stats inline) --- */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.trust-item {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.trust-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.trust-val--blue { color: var(--kinedu-blue); }
.trust-val--green { color: var(--kinedu-green); }
.trust-val--orange { color: var(--kinedu-orange); }
.trust-val--pink { color: var(--kinedu-pink); }

.trust-label {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.trust-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

.device-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
        rgba(43,139,228,0.12) 0%,
        rgba(76,217,100,0.06) 40%,
        transparent 70%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15); }
}

/* ===== HERO PHONE IMAGE ===== */
.hero-phone-img {
    position: relative;
    z-index: 2;
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
}


/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border-radius: 13px;
    border: 2px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 8px;
    background: linear-gradient(180deg, var(--kinedu-blue), var(--kinedu-green));
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

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

/* =========================================
   PROBLEM STATEMENT — Illuminating text
   ========================================= */
.problem {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
}

.problem-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,192,51,0.06) 0%, rgba(232,77,138,0.03) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.problem-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

.problem-text .word {
    color: var(--text-dim);
    transition: color 0.5s ease, text-shadow 0.5s ease;
    display: inline-block;
    margin-right: 0.3em;
}

.problem-text .word.lit {
    color: var(--text-primary);
}

.problem-text .word.accent {
    background: linear-gradient(135deg, var(--kinedu-blue), var(--kinedu-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.problem-text .word.accent.lit {
    background: linear-gradient(135deg, var(--kinedu-orange), var(--kinedu-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.problem-source {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-top: 16px;
    letter-spacing: 0.01em;
}

/* =========================================
   WHY RIGHT NOW — Science section
   ========================================= */
.why-now {
    padding: 40px 0 50px;
    position: relative;
}

.why-now-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.why-now-stat {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.why-now-stat .gradient-shift {
    font-weight: 800;
}

.why-now-source {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.why-now-body {
    font-size: clamp(0.92rem, 1.5vw, 1.02rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.why-now-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--kinedu-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.why-now-cta:hover {
    opacity: 0.7;
}

/* =========================================
   STATS — Minimal inline (Opal-style)
   ========================================= */
.stats {
    padding: 40px 0;
    background: transparent;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 16px 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.stat-item.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat-item:hover .stat-num {
    transform: scale(1.08);
}

.stat-num {
    transition: transform 0.3s ease;
}

/* Divider between items */
.stat-item + .stat-item {
    border-left: 1px solid rgba(0,0,0,0.08);
}

/* Hide glow elements */
.stat-glow { display: none; }

.stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

/* Subtle gradient on numbers */
.stat-item:nth-child(1) .stat-num {
    background: linear-gradient(135deg, var(--kinedu-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item:nth-child(2) .stat-num {
    background: linear-gradient(135deg, var(--kinedu-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item:nth-child(3) .stat-num {
    background: linear-gradient(135deg, var(--kinedu-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item:nth-child(4) .stat-num {
    background: linear-gradient(135deg, var(--kinedu-pink), var(--accent-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 0;
}

.stat-sub {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    display: block;
}

/* =========================================
   LOGOS
   ========================================= */
.logos-section {
    padding: 36px 0;
    border-top: none;
    border-bottom: none;
    background: var(--bg-secondary);
}

.logos-title {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.logos-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.logos-track {
    display: flex;
    gap: 70px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.logo-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color 0.3s;
    letter-spacing: -0.02em;
}

/* Logo items hover — cycle brand colors */
.logo-item:nth-child(4n+1):hover { color: var(--kinedu-blue); }
.logo-item:nth-child(4n+2):hover { color: var(--kinedu-green); }
.logo-item:nth-child(4n+3):hover { color: var(--kinedu-orange); }
.logo-item:nth-child(4n+4):hover { color: var(--kinedu-pink); }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   FEATURES — VERTICAL STACK LAYOUT
   ========================================= */
.features {
    padding: 50px 0 var(--section-pad);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.features-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Individual feature row --- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 36px;
    padding: 48px 40px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    overflow: hidden;
}

.feature-row:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Reversed layout (image on right) */
.feature-row--reversed {
    direction: rtl;
}
.feature-row--reversed > * {
    direction: ltr;
}

/* --- Image side --- */
.feature-row__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-row__image-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.feature-row__image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--r-lg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-row:hover .feature-row__image-wrap img {
    transform: scale(1.03) translateY(-4px);
}

/* --- Text side --- */
.feature-row__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-row__num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.07;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    margin-bottom: -8px;
}

/* Feature tag pill */
.feature-tag {
    display: inline-block;
    width: fit-content;
    padding: 6px 18px;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

[data-color="green"] .feature-tag {
    color: #3BB54A;
    background: rgba(76, 217, 100, 0.1);
    border: 1px solid rgba(76, 217, 100, 0.15);
}
[data-color="orange"] .feature-tag {
    color: #E8913A;
    background: rgba(255, 168, 66, 0.1);
    border: 1px solid rgba(255, 168, 66, 0.15);
}
[data-color="blue"] .feature-tag {
    color: #3DA1E0;
    background: rgba(93, 184, 232, 0.1);
    border: 1px solid rgba(93, 184, 232, 0.15);
}
[data-color="pink"] .feature-tag {
    color: var(--accent-pink);
    background: var(--bg-soft-pink);
    border: 1px solid rgba(232, 77, 138, 0.12);
}

.feature-row__text h3 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.feature-row__text p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 440px;
}

/* Scroll reveal for feature rows */
.feature-row.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-item {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 28px;
    position: relative;
}

.step-num-wrap {
    position: relative;
    margin-bottom: 24px;
}

.step-num-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--kinedu-blue);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.12;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--bg-card);
    position: relative;
    color: var(--kinedu-blue);
    -webkit-text-fill-color: var(--kinedu-blue);
    box-shadow: var(--shadow-sm);
}

/* Step color accents */
.step-item:nth-child(1) .step-num { color: var(--kinedu-blue); -webkit-text-fill-color: var(--kinedu-blue); }
.step-item:nth-child(3) .step-num { color: var(--kinedu-green); -webkit-text-fill-color: var(--kinedu-green); }
.step-item:nth-child(5) .step-num { color: var(--kinedu-pink); -webkit-text-fill-color: var(--kinedu-pink); }
.step-item:nth-child(1) .step-num-glow { background: var(--kinedu-blue); }
.step-item:nth-child(3) .step-num-glow { background: var(--kinedu-green); }
.step-item:nth-child(5) .step-num-glow { background: var(--kinedu-pink); }

.step-icon-lg {
    font-size: 3.2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.step-item h3 {
    font-size: 1.12rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 90px;
    position: relative;
}

.connector-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--border), rgba(43,139,228,0.2), var(--border));
}

.connector-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(43,139,228,0.3);
}

/* =========================================
   SCIENCE SECTION
   ========================================= */
.science {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.science-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.science-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.science-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sci-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.sci-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
    transform: translateX(6px);
}

/* Unique border glow per sci-card */
.sci-card:nth-child(1):hover { border-color: rgba(43,139,228,0.15); box-shadow: var(--shadow-md), -4px 0 20px rgba(43,139,228,0.05); }
.sci-card:nth-child(2):hover { border-color: rgba(76,217,100,0.15); box-shadow: var(--shadow-md), -4px 0 20px rgba(76,217,100,0.05); }
.sci-card:nth-child(3):hover { border-color: rgba(255,192,51,0.2); box-shadow: var(--shadow-md), -4px 0 20px rgba(255,192,51,0.06); }

.sci-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.sci-text strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.sci-text span {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* Graph card */
.graph-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.graph-card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--kinedu-blue);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.06;
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.graph-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-primary);
    margin-bottom: 28px;
    text-align: center;
}

.graph-bars-wrap {
    display: flex;
    justify-content: center;
    gap: 48px;
    align-items: flex-end;
    height: 200px;
    padding: 0 20px;
}

.graph-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    justify-content: flex-end;
    flex: 1;
    max-width: 80px;
}

.graph-bar-outer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.graph-bar {
    width: 100%;
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12px;
    transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 0;
}

.graph-bar span {
    font-size: 0.82rem;
    font-weight: 700;
}

.gb-dim {
    background: rgba(0,0,0,0.04);
}

.gb-dim span {
    color: var(--text-tertiary);
}

.gb-glow {
    background: linear-gradient(180deg, var(--kinedu-blue), var(--kinedu-green));
    box-shadow: 0 0 40px rgba(43,139,228,0.15);
}

.gb-glow span {
    color: white;
}

.graph-lbl {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.graph-note {
    font-size: 0.68rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

/* Impact cards */
.impact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.impact-card {
    text-align: center;
    padding: 22px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.impact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.impact-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    background: linear-gradient(135deg, var(--kinedu-green), var(--kinedu-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.impact-txt {
    font-size: 0.73rem;
    color: var(--text-tertiary);
    font-weight: 500;
    display: block;
}


/* =========================================
   TESTIMONIALS — App Store Review Cards
   ========================================= */
.testimonials {
    padding: var(--section-pad) 0;
    background: rgba(255, 255, 255, 0.45);
}

/* --- Masonry Grid --- */
.reviews-masonry {
    columns: 3;
    column-gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Individual Review Card --- */
.review-card {
    break-inside: avoid;
    margin-bottom: 20px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    transform: rotate(var(--tilt, 0deg));
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    border-radius: 2px;
}

.review-card:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

/* --- Card Header --- */
.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-card__stars {
    font-size: 0.82rem;
    color: #fbbf24;
    letter-spacing: 1.5px;
}

.review-card__source {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* --- Review Body --- */
.review-card__body {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Author --- */
.review-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.review-card__name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Scroll reveal for review cards */
.review-card.reveal {
    opacity: 0;
    transform: translateY(30px) rotate(var(--tilt, 0deg));
    transition:
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card.reveal.active {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt, 0deg));
}

/* Testimonials — Community blurb */
.testi-community {
    text-align: center;
    max-width: 560px;
    margin: 48px auto 0;
}

.testi-community-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.testi-community-sub {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
}


/* =========================================
   PRICING
   ========================================= */
.pricing {
    padding: 50px 0 var(--section-pad);
    background: transparent;
}

/* --- Trial header --- */
.trial-header {
    text-align: center;
    margin-bottom: 40px;
}

.trial-intro {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.trial-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.trial-price {
    background: linear-gradient(135deg, var(--kinedu-blue), var(--kinedu-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trial-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

.trial-accent {
    color: var(--kinedu-blue);
    font-weight: 600;
}

/* --- Horizontal timeline --- */
.trial-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

/* Horizontal connecting line */
.tl-line {
    position: absolute;
    top: 32px;
    left: calc(16.66% + 32px);
    right: calc(16.66% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--kinedu-blue), var(--kinedu-blue) 66%, var(--border));
}

/* Each step */
.tl-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Icon circles */
.tl-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.tl-step:hover .tl-icon {
    transform: scale(1.08);
}

.tl-icon--green {
    background: rgba(43, 139, 228, 0.1);
    color: var(--kinedu-blue);
}

.tl-icon--green-light {
    background: rgba(43, 139, 228, 0.1);
    color: var(--kinedu-blue);
}

.tl-icon--gray {
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    border: 1px solid var(--border);
}

/* Day label */
.tl-day {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

/* Description */
.tl-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 200px;
}

.tl-muted {
    color: var(--text-tertiary);
    font-size: 0.78rem;
}

/* Footnote */
.trial-footnote {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-tertiary);
    margin-top: 40px;
}

/* CTA button */
.trial-cta-area {
    text-align: center;
    margin-top: 28px;
}

.btn-trial {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 17px 40px;
    border-radius: var(--r-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    cursor: pointer;
    overflow: hidden;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--kinedu-blue), #3AA0F0, var(--kinedu-green), var(--kinedu-blue));
    background-size: 400% 400%;
    animation: gradientShift 5s ease infinite;
}

.btn-trial:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(43, 139, 228, 0.25);
}

.trial-note {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    margin-top: 14px;
}

/* =========================================
   FAQ
   ========================================= */
.faq {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.5);
}

.faq-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s;
}

/* FAQ question hover — brand colors */
.faq-item:nth-child(odd) .faq-question:hover { color: var(--kinedu-blue); }
.faq-item:nth-child(even) .faq-question:hover { color: var(--kinedu-green); }
.faq-item:nth-child(3n) .faq-question:hover { color: var(--kinedu-pink); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: transform 0.3s, color 0.3s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--kinedu-blue);
}

.faq-item:nth-child(odd).open .faq-chevron { color: var(--kinedu-blue); }
.faq-item:nth-child(even).open .faq-chevron { color: var(--kinedu-green); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}

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

.faq-answer p {
    padding-bottom: 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =========================================
   FINAL CTA
   ========================================= */
.final-cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--kinedu-blue);
    top: -150px;
    left: -100px;
    animation: orbFloat2 20s ease-in-out infinite;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--kinedu-green);
    bottom: -150px;
    right: -100px;
    animation: orbFloat3 18s ease-in-out infinite;
}

.cta-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--kinedu-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat1 22s ease-in-out infinite;
}

.cta-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
}

.btn-cta-main {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
}

/* =========================================
   FOOTER — Dark contrast
   ========================================= */
.footer {
    background: #2B8BE4;
    border-top: none;
    padding: 48px 0 28px;
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: white;
    border-color: white;
    color: #2B8BE4;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    padding: 5px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

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

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

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding: 0 24px;
    }

    .hero-phone-col {
        order: -1;
    }

    .hero-text-col {
        align-items: center;
        text-align: center;
    }

    .hero-phone-img {
        width: 180px;
    }

    .device-glow {
        width: 300px;
        height: 300px;
    }

    .hero-headline {
        font-size: clamp(2.4rem, 6vw, 3.2rem);
    }

    .hero-sub {
        max-width: 480px;
    }

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

    .hero-trust {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .trust-item {
        padding: 0 16px;
    }

    .trust-item:first-child {
        padding-left: 16px;
    }

    .nav-schools {
        display: none;
    }

    .feature-row {
        gap: 32px;
        padding: 36px 32px;
    }

    .science-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sec-title-left {
        text-align: center;
    }

    .science-desc {
        text-align: center;
    }

    .science-cards {
        max-width: 440px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    :root {
        --section-pad: 48px;
    }

    .nav-pill {
        position: relative;
        padding: 0 20px;
        height: 52px;
        justify-content: center;
    }

    .nav-hamburger {
        position: absolute;
        right: 12px;
    }

    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: flex; }

    /* --- Mobile menu backdrop --- */
    .nav-menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: transparent;
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu-backdrop.visible {
        display: block;
        opacity: 1;
    }

    /* --- Slide-in sidebar from right --- */
    .nav-pill.menu-open {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 40px;
        gap: 2px;
        z-index: 9999;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.08);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.35s;
        overflow-y: auto;
        display: flex !important;
        transform: translateX(100%);
        visibility: hidden;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-hamburger.active {
        position: fixed;
        top: 16px;
        right: 20px;
        z-index: 10000;
    }

    .nav-links a {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-primary);
        padding: 14px 20px;
        border-radius: 14px;
        width: 100%;
        transition: all 0.2s ease;
        letter-spacing: -0.01em;
    }

    .nav-links a:hover {
        background: linear-gradient(135deg, rgba(43, 139, 228, 0.06), rgba(76, 217, 100, 0.04));
        transform: translateX(4px);
    }

    .nav-links a.active {
        color: var(--kinedu-blue);
        background: linear-gradient(135deg, rgba(43, 139, 228, 0.1), rgba(76, 217, 100, 0.05));
        font-weight: 700;
    }

    .nav-links .mobile-only {
        display: flex !important;
    }

    .nav-links .nav-cta.mobile-only {
        margin-top: 16px;
        padding: 15px 24px;
        font-size: 0.95rem;
        text-align: center;
        justify-content: center;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--kinedu-blue), var(--accent-cyan), var(--kinedu-green));
        background-size: 200% 200%;
        animation: gradientShift 6s ease infinite;
        color: #fff;
        font-weight: 700;
        letter-spacing: 0.02em;
        box-shadow: 0 4px 16px rgba(43, 139, 228, 0.25);
        transition: all 0.3s ease;
    }

    .nav-links .nav-cta.mobile-only:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 24px rgba(43, 139, 228, 0.35);
    }

    .lang-toggle--mobile {
        display: flex;
        margin-top: 20px;
        justify-content: center;
    }

    /* --- HERO MOBILE — Opal-style clean layout --- */
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-split {
        gap: 0;
    }

    .hero-phone-col {
        margin-bottom: 0;
    }

    .hero-phone-img {
        width: 220px;
    }

    .device-glow {
        width: 220px;
        height: 220px;
    }

    .hero-headline {
        font-size: clamp(1.85rem, 7.5vw, 2.4rem);
        letter-spacing: -0.035em;
        margin-bottom: 12px;
        line-height: 1.12;
    }

    .hero-sub {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 28px;
        max-width: 320px;
        color: var(--text-tertiary);
    }

    /* Hide secondary elements — keep it clean like Opal */
    .hero-proof {
        display: none;
    }

    .hero-trust {
        display: none !important;
    }

    .trust-sep {
        display: none;
    }

    /* Single CTA — pill style */
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn-hero-primary {
        width: auto;
        min-width: 260px;
        justify-content: center;
        padding: 16px 40px;
        font-size: 1rem;
        border-radius: 60px;
    }

    .btn-hero-secondary {
        display: none;
    }

    /* Swap CTA text for mobile */
    .btn-text--desktop {
        display: none;
    }

    .btn-text--mobile {
        display: inline;
    }

    .btn-hero-primary .btn-arrow {
        display: none;
    }

    /* --- STATS MOBILE --- */
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .stat-item {
        padding: 14px 16px;
        border-left: none !important;
    }

    .stat-item:nth-child(2n) {
        border-left: 1px solid rgba(0,0,0,0.08) !important;
    }

    .stat-item:nth-child(n+3) {
        border-top: 1px solid rgba(0,0,0,0.08);
    }

    .stat-num {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .stat-sub {
        font-size: 0.65rem;
    }

    /* --- FEATURES MOBILE --- */
    .features {
        padding: 40px 0;
    }

    .features-stack {
        gap: 24px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
        border-radius: 24px;
    }

    .feature-row--reversed {
        direction: ltr;
    }

    .feature-row__image {
        order: -1;
    }

    .feature-row__image-wrap {
        max-width: 220px;
    }

    .feature-row__text {
        align-items: center;
    }

    .feature-row__text h3 {
        font-size: 1.35rem;
    }

    .feature-row__text p {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .feature-row__num {
        font-size: 2rem;
        margin-bottom: -4px;
    }

    /* --- TESTIMONIALS MOBILE — Horizontal scroll --- */
    .reviews-masonry {
        columns: unset;
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 4px 16px;
        max-width: 100%;
        scrollbar-width: none;
    }

    .reviews-masonry::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        width: calc(50% - 5px);
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 16px 14px;
        margin-bottom: 0;
        transform: rotate(0deg);
    }

    .review-card:hover {
        transform: translateY(-2px);
    }

    .review-card__body {
        font-size: 0.78rem;
        line-height: 1.55;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .review-card__stars {
        font-size: 0.72rem;
    }

    .review-card__source {
        font-size: 0.6rem;
    }

    .review-card__name {
        font-size: 0.72rem;
    }

    .review-card__author {
        padding-top: 8px;
    }

    /* --- PROBLEM/QUOTE MOBILE --- */
    .problem {
        padding: 32px 0;
    }

    .problem-text {
        font-size: 1.25rem;
        line-height: 1.55;
    }

    .problem-source {
        font-size: 0.78rem;
    }

    /* --- WHY NOW MOBILE --- */
    .why-now {
        padding: 24px 0 36px;
    }

    .why-now-body {
        font-size: 0.88rem;
    }

    /* --- LOGOS MOBILE --- */
    .logos-section {
        padding: 24px 0;
    }

    .logos-title {
        font-size: 0.65rem;
        margin-bottom: 18px;
    }

    .logo-item {
        font-size: 1.1rem;
    }

    /* --- PRICING MOBILE --- */
    .pricing {
        padding: 40px 0;
    }

    .trial-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .trial-timeline {
        gap: 8px;
    }

    .tl-icon {
        width: 48px;
        height: 48px;
    }

    .tl-icon svg {
        width: 20px;
        height: 20px;
    }

    .tl-line {
        top: 24px;
    }

    .tl-day {
        font-size: 0.85rem;
    }

    .tl-label {
        font-size: 0.78rem;
        max-width: 160px;
    }

    /* --- FAQ MOBILE --- */
    .faq {
        padding: 32px 0;
    }

    .faq-title {
        font-size: 1.15rem;
    }

    .faq-question {
        font-size: 0.88rem;
        padding: 14px 0;
    }

    .faq-answer p {
        font-size: 0.82rem;
    }

    /* --- COMMUNITY BLURB MOBILE --- */
    .testi-community {
        margin-top: 32px;
    }

    .testi-community-title {
        font-size: 1.1rem;
    }

    .testi-community-sub {
        font-size: 0.85rem;
    }

    /* --- SECTION HEADERS MOBILE --- */
    .sec-header {
        margin-bottom: 28px;
    }

    .sec-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .sec-desc {
        font-size: 0.92rem;
    }

    /* --- GRAPH / SCIENCE MOBILE --- */
    .graph-card {
        padding: 24px;
    }

    .science-cards {
        gap: 12px;
    }

    .steps-row {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        padding-top: 0;
        transform: rotate(90deg);
        margin: -10px 0;
    }

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

    /* --- FOOTER MOBILE --- */
    .footer {
        padding: 36px 0 20px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 0.82rem;
    }

    .footer-col h4 {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-col a {
        font-size: 0.78rem;
        padding: 4px 0;
    }

    .footer-bottom {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 96px 0 28px;
    }

    .hero-split {
        gap: 0;
        padding: 0 20px;
    }

    .hero-headline {
        font-size: 1.65rem;
        letter-spacing: -0.035em;
    }

    .hero-sub {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 24px;
        max-width: 280px;
    }

    .hero-phone-img {
        width: 200px;
    }

    .device-glow {
        width: 260px;
        height: 260px;
    }

    .btn-hero-primary {
        min-width: 220px;
        padding: 14px 36px;
        font-size: 0.95rem;
    }

    /* --- SECTIONS --- */
    .sec-title {
        font-size: 1.5rem;
    }

    .sec-tag {
        font-size: 0.62rem;
    }

    .sec-desc {
        font-size: 0.85rem;
    }

    /* --- PROBLEM --- */
    .problem {
        padding: 24px 0;
    }

    .problem-text {
        font-size: 1.1rem;
        line-height: 1.55;
    }

    /* --- WHY NOW --- */
    .why-now {
        padding: 16px 0 28px;
    }

    .why-now-content {
        padding: 0 8px;
    }

    .why-now-body {
        font-size: 0.82rem;
    }

    .why-now-cta {
        font-size: 0.82rem;
    }

    /* --- STATS --- */
    .stat-item {
        padding: 10px 12px;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    /* --- FEATURES --- */
    .features-stack {
        gap: 16px;
    }

    .feature-row {
        padding: 20px 16px;
        border-radius: 20px;
        gap: 16px;
    }

    .feature-row__image-wrap {
        max-width: 180px;
    }

    .feature-row__text h3 {
        font-size: 1.2rem;
    }

    .feature-row__text p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .feature-row__num {
        font-size: 1.6rem;
    }

    .feature-tag {
        font-size: 0.68rem;
        padding: 4px 14px;
    }

    /* --- TESTIMONIALS --- */
    .review-card {
        width: calc(50% - 5px);
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding: 12px 10px;
    }

    .review-card__body {
        font-size: 0.72rem;
        line-height: 1.5;
        -webkit-line-clamp: 4;
    }

    .review-card__stars {
        font-size: 0.62rem;
    }

    .review-card__source {
        font-size: 0.55rem;
    }

    .review-card__name {
        font-size: 0.65rem;
    }

    .review-card__author {
        padding-top: 6px;
    }

    .review-card__header {
        gap: 4px;
    }

    /* --- LOGOS --- */
    .logos-track {
        gap: 40px;
    }

    .logo-item {
        font-size: 0.95rem;
    }

    /* --- PRICING --- */
    .trial-headline {
        font-size: 1.8rem;
    }

    .trial-timeline {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        max-width: 260px;
    }

    .tl-line {
        display: none;
    }

    .tl-icon {
        width: 48px;
        height: 48px;
    }

    .tl-label {
        max-width: none;
        font-size: 0.78rem;
    }

    .btn-trial {
        padding: 14px 32px;
        font-size: 0.88rem;
    }

    .trial-note {
        font-size: 0.72rem;
    }

    /* --- FAQ --- */
    .faq-question {
        font-size: 0.85rem;
        padding: 12px 0;
    }

    .faq-answer p {
        font-size: 0.78rem;
        padding-bottom: 12px;
    }

    /* --- FOOTER --- */
    .footer-wrap {
        padding: 0 16px;
    }

    .footer-grid {
        gap: 20px;
    }

    .nav-logo-img {
        height: 24px;
    }
}
