/* ============================================================
   EJJÉ — Financial literacy for a brighter generation
   style.css
   ------------------------------------------------------------
   0.  Tokens & base
   1.  Utilities (buttons, badges, layout)
   2.  Loader & scroll progress
   3.  Navigation
   4.  Hero + phone mockup
   5.  Section 2 — The idea
   6.  Section 3 — How it works
   7.  Section 4 — App experience
   8.  Section 5 — Savings goals
   9.  Section 6 — Financial education
   10. Section 7 — Rewards
   11. Section 8 — For parents
   12. Section 9 — Impact
   13. Section 10 — Brand statement
   14. Section 11 — CTA
   15. Footer
   16. Reveal animations
   17. Responsive
============================================================= */

/* ============================================================
   0. TOKENS & BASE
============================================================= */
:root {
  /* Brand palette */
  --purple-900: #17072E;   /* very dark purple / navy */
  --purple-800: #250C4A;
  --purple-700: #3B0D8A;   /* primary */
  --purple-500: #7B3FE4;   /* bright */
  --lav-300:    #C9A9FF;   /* soft lavender */
  --lav-100:    #E7DBFF;
  --lav-50:     #F3ECFF;   /* very light lavender */
  --white:      #FFFFFF;

  /* Semantic */
  --ink:        #1B1230;   /* body text on light */
  --ink-soft:   #5A4F73;   /* secondary text on light */
  --line:       rgba(59, 13, 138, 0.10);
  --green:      #35C98B;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #3B0D8A, #7B3FE4);
  --grad-bright: linear-gradient(135deg, #7B3FE4, #A56CFF);
  --grad-deep:  linear-gradient(160deg, #250C4A 0%, #17072E 100%);

  /* Surfaces */
  --bg:         #FFFFFF;
  --card:       #FFFFFF;
  --radius:     22px;
  --radius-sm:  14px;
  --radius-lg:  34px;

  /* Shadows */
  --shadow-sm:  0 6px 20px rgba(37, 12, 74, 0.06);
  --shadow-md:  0 20px 50px rgba(37, 12, 74, 0.10);
  --shadow-lg:  0 40px 90px rgba(37, 12, 74, 0.18);
  --shadow-glow:0 30px 80px rgba(123, 63, 228, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Inline icons: consistent thin stroke */
svg { stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   1. UTILITIES
============================================================= */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.section { position: relative; padding: clamp(74px, 10vw, 140px) 0; }

.section__head { max-width: 720px; margin: 0 auto clamp(44px, 5vw, 68px); text-align: center; }
.section__head--light { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple-500);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--lav-300); }

.section__title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
.section__lead { margin-top: 20px; font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--ink-soft); font-weight: 500; }
.section__head--light .section__lead { color: var(--lav-100); }

/* Gradient text */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text-anim {
  background: linear-gradient(100deg, #C9A9FF, #FFFFFF 40%, #A56CFF 60%, #C9A9FF);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* Buttons */
.btn {
  --btn-py: 15px; --btn-px: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 100px;
  font-weight: 700; font-size: 0.96rem; letter-spacing: -0.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn__icon { width: 17px; height: 17px; }
.btn--sm { --btn-py: 11px; --btn-px: 22px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad-brand); color: var(--white); box-shadow: 0 12px 28px rgba(123, 63, 228, 0.32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(123, 63, 228, 0.44); }

.btn--outline { background: rgba(255,255,255,0.6); color: var(--purple-700); border: 1.5px solid var(--line); backdrop-filter: blur(8px); }
.btn--outline:hover { transform: translateY(-3px); border-color: var(--purple-500); color: var(--purple-500); }

.btn--light { background: var(--white); color: var(--purple-700); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.26); }

.btn--outline-light { background: rgba(255,255,255,0.08); color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn--outline-light:hover { transform: translateY(-3px); background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.6); }

.btn--ghost { background: var(--lav-50); color: var(--purple-700); }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px; border-radius: 100px;
  background: rgba(123, 63, 228, 0.08);
  border: 1px solid rgba(123, 63, 228, 0.16);
  color: var(--purple-700);
  font-size: 0.83rem; font-weight: 600;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-500); box-shadow: 0 0 0 4px rgba(123,63,228,0.18); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(123,63,228,0.18);} 50%{ box-shadow: 0 0 0 8px rgba(123,63,228,0.04);} }

/* Generic progress bar */
.bar { height: 7px; border-radius: 100px; background: rgba(123,63,228,0.14); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; border-radius: 100px; background: var(--grad-bright); transition: width 1.2s var(--ease); }

/* ============================================================
   2. LOADER & SCROLL PROGRESS
============================================================= */
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--grad-deep);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__mark { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; color: var(--white); opacity: 0; animation: loaderIn 1s var(--ease) forwards; }
.loader__accent { color: var(--lav-300); }
@keyframes loaderIn { 0%{opacity:0; transform: translateY(14px) scale(.96);} 100%{opacity:1; transform:none;} }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-bright); z-index: 200; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(123,63,228,0.6);
}

/* ============================================================
   3. NAVIGATION
============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(37,12,74,0.06);
}

.logo { display: inline-flex; align-items: baseline; }
.logo__word { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.04em; color: var(--purple-700); }
.logo__accent { color: var(--purple-500); }

.nav__links { display: flex; gap: 6px; }
.nav__link {
  padding: 9px 15px; border-radius: 100px; font-size: 0.92rem; font-weight: 600;
  color: var(--ink-soft); transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link:hover { background: var(--lav-50); color: var(--purple-700); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__signin { font-size: 0.92rem; font-weight: 600; color: var(--purple-700); transition: color .25s; }
.nav__signin:hover { color: var(--purple-500); }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--purple-700); transition: transform .4s var(--ease), opacity .3s var(--ease), background .3s; }
.nav__burger span:nth-child(1){ top: 15px; } .nav__burger span:nth-child(2){ top: 20px; } .nav__burger span:nth-child(3){ top: 25px; }
.nav__burger.is-open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 110;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
  padding: 20px 28px 32px; border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .45s var(--ease), opacity .45s var(--ease), visibility .45s;
  box-shadow: var(--shadow-md);
}
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__link { padding: 14px 6px; font-size: 1.05rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }

/* ============================================================
   4. HERO
============================================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 78% 8%, rgba(201,169,255,0.30), transparent 55%),
    radial-gradient(90% 70% at 8% 100%, rgba(123,63,228,0.14), transparent 60%),
    linear-gradient(180deg, #FBF8FF 0%, #F3ECFF 100%);
}

.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.7; }
.orb--1 { width: 420px; height: 420px; top: -60px; right: 4%; background: radial-gradient(circle, rgba(123,63,228,0.55), transparent 70%); animation: drift 18s ease-in-out infinite; }
.orb--2 { width: 340px; height: 340px; bottom: -80px; left: 6%; background: radial-gradient(circle, rgba(201,169,255,0.6), transparent 70%); animation: drift 22s ease-in-out infinite reverse; }
.orb--3 { width: 260px; height: 260px; top: 40%; right: 30%; background: radial-gradient(circle, rgba(59,13,138,0.28), transparent 70%); animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%,100%{ transform: translate(0,0);} 33%{ transform: translate(30px,-24px);} 66%{ transform: translate(-22px,20px);} }

.hero__glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,63,228,0.22), transparent 65%);
  transform: translate(-50%, -50%); left: 60%; top: 40%;
  transition: left .6s var(--ease), top .6s var(--ease); pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}

.hero__title { font-size: clamp(2.7rem, 6.6vw, 5rem); font-weight: 900; margin: 24px 0 22px; letter-spacing: -0.035em; }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-soft); font-weight: 500; max-width: 480px; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__pillline { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.05em; color: var(--purple-700); }
.hero__pillline i { width: 4px; height: 4px; border-radius: 50%; background: var(--lav-300); }

/* Phone stage */
.hero__stage { position: relative; display: grid; place-items: center; }
.phone-tilt { position: relative; transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }

.phone {
  position: relative; width: 300px; height: 620px;
  background: linear-gradient(160deg, #2A0F55, #17072E);
  border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone--lg { width: 320px; height: 650px; }
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 116px; height: 26px; background: #0d0320; border-radius: 0 0 16px 16px; z-index: 4; }
.phone__screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #F6F1FF 0%, #FFFFFF 32%);
}

/* App shell */
.app { position: relative; height: 100%; padding: 44px 18px 22px; display: flex; flex-direction: column; }
.app__statusbar { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.app__statusicons { display: flex; align-items: center; gap: 5px; }
.app__statusicons svg { width: 16px; height: 12px; color: var(--ink); }

.app__hello { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.app__greeting { margin-bottom: 14px; }

.app__balance { position: relative; background: var(--grad-brand); border-radius: 20px; padding: 18px 18px 16px; color: var(--white); box-shadow: 0 16px 30px rgba(59,13,138,0.28); }
.app__balance-label { font-size: 0.72rem; font-weight: 600; opacity: 0.85; }
.app__balance-value { display: block; font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; }
.app__balance-trend { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.18); padding: 4px 9px; border-radius: 100px; }
.app__balance-trend svg { width: 13px; height: 13px; }

.app__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.app__action { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.62rem; font-weight: 600; color: var(--ink-soft); }
.app__action-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--lav-50); color: var(--purple-700); transition: transform .3s var(--ease), background .3s; }
.app__action-ico svg { width: 18px; height: 18px; }
.app__action:hover .app__action-ico { transform: translateY(-3px); background: var(--lav-100); }

.app__goal { margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); }
.app__recent { margin-top: 16px; }
.app__recent-label { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em; }
.app__tx--mini { margin-top: 10px; gap: 12px; }
.app__tx--mini li { font-size: 0.78rem; }
.app__goal-top { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.app__goal-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--lav-50); color: var(--purple-700); display: grid; place-items: center; }
.app__goal-ico svg { width: 19px; height: 19px; }
.app__goal-name { font-size: 0.82rem; font-weight: 700; }
.app__goal-amt { font-size: 0.72rem; color: var(--ink-soft); font-weight: 600; }
.app__goal-amt span { opacity: 0.7; }
.app__goal-pct { margin-left: auto; font-size: 0.9rem; font-weight: 800; color: var(--purple-500); }

.app__toast {
  position: absolute; left: 16px; right: 16px; bottom: 78px;
  display: flex; align-items: center; gap: 9px;
  background: var(--purple-900); color: var(--white);
  padding: 12px 14px; border-radius: 14px; font-size: 0.76rem; font-weight: 600;
  box-shadow: 0 14px 30px rgba(23,7,46,0.4);
  transform: translateY(140%); opacity: 0; transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.app__toast.is-show { transform: none; opacity: 1; }
.app__toast-ico { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.app__toast-ico svg { width: 14px; height: 14px; }

/* App bottom tab bar (brand signature) */
.app__nav { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 11px 2px 0; border-top: 1px solid var(--line); }
.app__nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.01em; color: var(--ink-soft); }
.app__nav-item svg { width: 19px; height: 19px; }
.app__nav-item.is-active { color: var(--purple-700); }
.app__nav-item.is-active svg { color: var(--purple-500); }

/* Floating cards */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 11px 15px; border-radius: 16px; font-size: 0.82rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-md); white-space: nowrap; z-index: 5;
}
.float-card--a { top: 45%; left: -50px; }
.float-card--b { top: 63%; right: -54px; flex-direction: row; }
.float-card--c { bottom: 8%; left: -54px; }
.float-card__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.float-card__ico.plus { background: var(--green); }
.float-card__ico svg { width: 16px; height: 16px; }
.float-card__star { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg,#FFB547,#FF8A00); color: #fff; display: grid; place-items: center; }
.float-card__star svg { width: 16px; height: 16px; fill: #fff; stroke: none; }
.float-card__ring { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
.float-card__ring svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.float-card__ring circle { fill: none; stroke: var(--lav-100); stroke-width: 4; }
.float-card__ring-fill { stroke: var(--purple-500); stroke-dasharray: 94; stroke-dashoffset: 64; stroke-linecap: round; }
.float-card__ring b { position: absolute; font-size: 0.58rem; color: var(--purple-700); }

@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
[data-float="1"] { animation: floaty 5s ease-in-out infinite; }
[data-float="2"] { animation: floaty 6.4s ease-in-out infinite; }
[data-float="3"] { animation: floaty 5.6s ease-in-out infinite 0.4s; }

/* ============================================================
   5. SECTION 2 — THE IDEA
============================================================= */
.idea { background: var(--white); }
.idea__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(123,63,228,0.2); }
.feature-card__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--lav-50); color: var(--purple-700); display: grid; place-items: center; margin-bottom: 20px; transition: transform .45s var(--ease); }
.feature-card__ico svg { width: 26px; height: 26px; }
.feature-card:hover .feature-card__ico { transform: scale(1.08) rotate(-4deg); background: var(--grad-brand); color: #fff; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; line-height: 1.55; }

/* ============================================================
   6. SECTION 3 — HOW IT WORKS
============================================================= */
.how { background: linear-gradient(180deg, #FFFFFF, #FBF8FF); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps__track { position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: var(--line); z-index: 0; }
.steps__track-fill { display: block; height: 100%; width: 0; background: var(--grad-bright); transition: width 1.6s var(--ease); }

.step { position: relative; z-index: 1; text-align: center; padding: 8px 10px; }
.step__num { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; color: var(--lav-300); display: block; margin-bottom: 14px; }
.step__ico { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); color: var(--purple-700); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), background .4s, color .4s, box-shadow .4s; }
.step__ico svg { width: 26px; height: 26px; }
.step:hover .step__ico { transform: translateY(-6px) scale(1.05); background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.step h3 { font-size: 1.14rem; margin-bottom: 9px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; max-width: 210px; margin: 0 auto; }

/* ============================================================
   7. SECTION 4 — APP EXPERIENCE
============================================================= */
.experience { background: var(--white); overflow: hidden; }
.experience__bg { position: absolute; inset: 0; pointer-events: none; }
.orb--soft { width: 520px; height: 520px; left: -140px; top: 20%; background: radial-gradient(circle, rgba(201,169,255,0.4), transparent 70%); filter: blur(70px); }
.experience__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: center; }
.experience__copy .section__lead { max-width: 460px; }

.tabs { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; max-width: 360px; }
.tab {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  font-size: 0.98rem; font-weight: 700; text-align: left;
  transition: transform .35s var(--ease), border-color .35s, background .35s, color .35s, box-shadow .35s;
}
.tab svg { width: 22px; height: 22px; color: var(--purple-500); transition: color .3s; flex: none; }
.tab:hover { transform: translateX(4px); border-color: rgba(123,63,228,0.3); }
.tab.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.tab.is-active svg { color: #fff; }

.experience__stage { display: grid; place-items: center; }
.experience .phone { transform: rotate(0deg); }

/* App panes (inside experience phone) */
.app--pane { padding: 44px 18px 24px; }
.app__pane-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.app__pane-head > span:first-child { font-size: 1.1rem; font-weight: 800; }
.app__pane-more { width: 34px; height: 34px; border-radius: 11px; background: var(--lav-50); color: var(--purple-700); display: grid; place-items: center; }
.app__pane-more svg { width: 18px; height: 18px; }
.app__pane-badge { font-size: 0.68rem; font-weight: 700; color: var(--purple-700); background: var(--lav-50); padding: 6px 11px; border-radius: 100px; }
.app__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; }

.app__hero-figure { background: var(--grad-brand); border-radius: 20px; padding: 20px; color: #fff; box-shadow: 0 16px 30px rgba(59,13,138,0.26); }
.app__hero-label { font-size: 0.74rem; opacity: 0.85; font-weight: 600; }
.app__hero-value { display: block; font-size: 2rem; font-weight: 800; margin-top: 4px; }

.app__spark { margin: 18px 0; }
.app__spark-label { font-size: 0.74rem; color: var(--ink-soft); font-weight: 600; }
.spark { display: flex; align-items: flex-end; gap: 7px; height: 74px; margin-top: 10px; }
.spark span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #A56CFF, #7B3FE4); opacity: 0.9; }
.spark span:last-child { background: var(--grad-brand); box-shadow: 0 6px 14px rgba(123,63,228,0.4); }
.spark--sm { height: 46px; }

.app__tx { display: flex; flex-direction: column; gap: 10px; }
.app__tx li { display: flex; align-items: center; gap: 11px; font-size: 0.82rem; font-weight: 600; }
.app__tx-ico { width: 34px; height: 34px; border-radius: 11px; background: var(--lav-50); color: var(--purple-700); display: grid; place-items: center; flex: none; }
.app__tx-ico.green { background: rgba(53,201,139,0.14); color: var(--green); }
.app__tx-ico svg { width: 17px; height: 17px; }
.app__tx-name { color: var(--ink-soft); }
.app__tx b { margin-left: auto; color: var(--ink); }

.goal-row { display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 11px; box-shadow: var(--shadow-sm); }
.goal-row__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--lav-50); color: var(--purple-700); display: grid; place-items: center; }
.goal-row__ico svg { width: 20px; height: 20px; }
.goal-row__body { flex: 1; min-width: 0; }
.goal-row__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.goal-row__top b { font-size: 0.86rem; }
.goal-row__top small { font-size: 0.72rem; color: var(--ink-soft); font-weight: 600; }

.lesson-list { display: flex; flex-direction: column; gap: 11px; }
.lesson-list li { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; font-size: 0.88rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.lesson-list__ico { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--lav-50); color: var(--purple-500); display: grid; place-items: center; }
.lesson-list__ico.done { background: rgba(53,201,139,0.14); color: var(--green); }
.lesson-list__ico svg { width: 16px; height: 16px; }

.reward-mini { display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; margin-bottom: 11px; box-shadow: var(--shadow-sm); }
.reward-mini__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.reward-mini__ico svg { width: 20px; height: 20px; }
.reward-mini b { font-size: 0.86rem; display: block; }
.reward-mini small { font-size: 0.72rem; color: var(--ink-soft); font-weight: 600; }

/* Pane transition */
.app--pane[hidden] { display: none; }
.app--pane { animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px) scale(.99);} to { opacity: 1; transform: none;} }

/* ============================================================
   8. SECTION 5 — SAVINGS GOALS
============================================================= */
.goals { background: linear-gradient(180deg, #FBF8FF, #FFFFFF); }
.goals__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.goal-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  transform-style: preserve-3d;
}
.goal-card:hover { box-shadow: var(--shadow-md); }
.goal-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.goal-card__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--lav-50); color: var(--purple-700); display: grid; place-items: center; }
.goal-card__ico svg { width: 24px; height: 24px; }
.goal-card__pct { font-size: 1.05rem; font-weight: 800; color: var(--purple-500); }
.goal-card h3 { font-size: 1.24rem; margin-bottom: 6px; }
.goal-card__amt { font-size: 0.86rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.goal-card__amt span { color: var(--ink-soft); font-weight: 600; }

/* ============================================================
   9. SECTION 6 — FINANCIAL EDUCATION
============================================================= */
.learn { background: var(--white); }
.learn__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.learn-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  overflow: hidden;
}
.learn-card::before { content: ""; position: absolute; inset: 0; background: var(--grad-brand); opacity: 0; transition: opacity .45s var(--ease); z-index: 0; }
.learn-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.learn-card > * { position: relative; z-index: 1; }
.learn-card__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--lav-50); color: var(--purple-700); display: grid; place-items: center; margin-bottom: 20px; transition: background .4s, color .4s; }
.learn-card__ico svg { width: 26px; height: 26px; }
.learn-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.learn-card p { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; line-height: 1.55; }

.learn-card--live { display: flex; flex-direction: column; }
.lesson-btn { align-self: flex-start; margin-top: 18px; }
.lesson-btn__ring { position: relative; width: 52px; height: 52px; display: grid; place-items: center; }
.lesson-btn__ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.lesson-btn__ring circle { fill: none; stroke-width: 4; }
.lesson-btn__ring circle:first-child { stroke: var(--lav-100); }
.lesson-btn__prog { stroke: var(--purple-500); stroke-linecap: round; stroke-dasharray: 107; stroke-dashoffset: 107; transition: stroke-dashoffset 1.4s var(--ease); }
.lesson-btn__check { position: absolute; color: var(--purple-500); transform: scale(0); transition: transform .4s var(--ease); }
.lesson-btn__check svg { width: 22px; height: 22px; }
.learn-card--live.is-done .lesson-btn__check { transform: scale(1); color: var(--green); }
.learn-card--live.is-done .lesson-btn__prog { stroke: var(--green); stroke-dashoffset: 0; }
.lesson-done { margin-top: 14px; font-size: 0.82rem; font-weight: 700; color: var(--green); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.learn-card--live.is-done .lesson-done { opacity: 1; transform: none; }

/* ============================================================
   10. SECTION 7 — REWARDS
============================================================= */
.rewards { background: var(--grad-deep); color: var(--white); overflow: hidden; }
.rewards__bg { position: absolute; inset: 0; pointer-events: none; }
.orb--r1 { width: 440px; height: 440px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(123,63,228,0.5), transparent 70%); filter: blur(70px); }
.orb--r2 { width: 360px; height: 360px; bottom: -120px; left: -60px; background: radial-gradient(circle, rgba(201,169,255,0.28), transparent 70%); filter: blur(70px); }
.rewards .container { position: relative; z-index: 1; }

.carousel { max-width: 100%; }
.carousel__viewport { overflow: hidden; padding: 6px; }
.carousel__track { display: flex; gap: 22px; transition: transform .6s var(--ease); }
.reward-card {
  flex: 0 0 calc(33.333% - 15px); min-width: 0;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 30px 28px; backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.reward-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); border-color: rgba(201,169,255,0.4); }
.reward-card__ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-bright); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 12px 26px rgba(123,63,228,0.4); }
.reward-card__ico svg { width: 27px; height: 27px; }
.reward-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.reward-card p { font-size: 0.9rem; color: var(--lav-100); font-weight: 500; line-height: 1.55; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.carousel__btn { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s, border-color .3s; }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.06); border-color: rgba(201,169,255,0.5); }
.carousel__dots { display: flex; gap: 9px; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.28); transition: width .3s var(--ease), background .3s; }
.carousel__dots button.is-active { width: 26px; border-radius: 100px; background: var(--lav-300); }

/* ============================================================
   11. SECTION 8 — FOR PARENTS
============================================================= */
.parents { background: linear-gradient(180deg, #FFFFFF, #FBF8FF); overflow: hidden; }
.parents__inner { display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px; align-items: center; }
.parents__list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.parents__list li { display: flex; align-items: center; gap: 13px; font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.tick svg { width: 15px; height: 15px; }

.parents__stage { display: grid; place-items: center; }
.app--parent { padding: 44px 18px 24px; }
.parent-stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px; box-shadow: var(--shadow-sm); }
.parent-stat--wide { background: var(--grad-brand); color: #fff; border: 0; margin-bottom: 12px; box-shadow: 0 16px 30px rgba(59,13,138,0.26); }
.parent-stat__label { font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); }
.parent-stat--wide .parent-stat__label { color: rgba(255,255,255,0.85); }
.parent-stat__value { display: block; font-size: 1.5rem; font-weight: 800; margin-top: 2px; }
.parent-stat__value.green { color: var(--green); }
.parent-stat--wide .parent-stat__value { font-size: 1.85rem; }
.parent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.parent-grid .parent-stat__value { font-size: 1.25rem; }

/* ============================================================
   12. SECTION 9 — IMPACT
============================================================= */
.impact { background: var(--white); }
.impact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 960px; margin: 0 auto; }
.impact-stat { text-align: center; padding: 40px 24px; border-radius: var(--radius); background: linear-gradient(180deg, #FBF8FF, #FFFFFF); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.impact-stat__num { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.impact-stat__label { display: block; font-size: 1.05rem; font-weight: 800; margin-top: 8px; color: var(--ink); }
.impact-stat__desc { display: block; font-size: 0.86rem; color: var(--ink-soft); font-weight: 500; margin-top: 6px; }
.impact__words { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; font-size: clamp(0.9rem, 1.6vw, 1.1rem); font-weight: 700; color: var(--purple-700); }
.impact__words i { width: 6px; height: 6px; border-radius: 50%; background: var(--lav-300); }

/* ============================================================
   13. SECTION 10 — BRAND STATEMENT
============================================================= */
.statement { position: relative; padding: clamp(90px, 14vw, 180px) 0; background: var(--purple-900); overflow: hidden; text-align: center; }
.statement__light {
  position: absolute; inset: -30% -10%; z-index: 0;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(123,63,228,0.45), transparent 60%),
    radial-gradient(45% 55% at 72% 65%, rgba(201,169,255,0.3), transparent 60%);
  animation: lightMove 14s ease-in-out infinite alternate;
}
@keyframes lightMove { 0%{ transform: translate(0,0) scale(1);} 100%{ transform: translate(6%, -4%) scale(1.1);} }
.statement__inner { position: relative; z-index: 1; }
.statement__big { font-size: clamp(2.4rem, 7vw, 5.4rem); font-weight: 900; letter-spacing: -0.04em; }
.statement__sub { margin-top: 26px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; color: var(--lav-300); letter-spacing: 0.02em; }

/* ============================================================
   14. SECTION 11 — CTA
============================================================= */
.cta-wrap { background: var(--white); padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: var(--grad-brand); border-radius: var(--radius-lg);
  padding: clamp(50px, 8vw, 88px) 28px; color: #fff;
  box-shadow: var(--shadow-glow);
}
.cta__glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% -10%, rgba(255,255,255,0.35), transparent 60%), radial-gradient(40% 60% at 90% 120%, rgba(201,169,255,0.5), transparent 60%); pointer-events: none; }
.cta > *:not(.cta__glow) { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 800; max-width: 720px; margin: 0 auto; }
.cta__text { margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--lav-100); font-weight: 500; }
.cta__actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ============================================================
   15. FOOTER
============================================================= */
.footer { background: var(--purple-900); color: var(--white); padding: clamp(60px, 8vw, 88px) 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; padding-bottom: 54px; }
.logo--footer .logo__word { color: #fff; }
.footer__tagline { margin-top: 20px; font-size: 1.3rem; font-weight: 800; line-height: 1.2; color: var(--lav-100); letter-spacing: -0.02em; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer__col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lav-300); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.72); padding: 6px 0; transition: color .25s, transform .25s; }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: background .3s, transform .3s; }
.footer__social a:hover { background: var(--grad-bright); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.84rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.footer__meta { letter-spacing: 0.06em; }

/* ============================================================
   16. REVEAL ANIMATIONS
============================================================= */
.reveal { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal[data-reveal="fade-up"] { transform: translateY(34px); }
.reveal[data-reveal="fade-in"] { transform: none; }
.reveal[data-reveal="scale-in"] { transform: scale(0.94); }
.reveal[data-reveal="slide-in"] { transform: translateX(-40px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   17. RESPONSIVE
============================================================= */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__signin { display: none; }
  .nav__burger { display: block; }
  .nav__actions .btn--primary { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { max-width: 560px; }
  .hero__stage { order: 2; }
  .float-card--b { right: -30px; }

  .idea__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 22px; }
  .steps__track { display: none; }
  .experience__inner { grid-template-columns: 1fr; gap: 44px; }
  .experience__copy { text-align: center; }
  .tabs { margin-inline: auto; }
  .goals__grid { grid-template-columns: repeat(2, 1fr); }
  .learn__grid { grid-template-columns: repeat(2, 1fr); }
  .reward-card { flex: 0 0 calc(50% - 11px); }
  .parents__inner { grid-template-columns: 1fr; gap: 44px; }
  .parents__copy { text-align: center; }
  .parents__list { align-items: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }

  .hero { padding-top: calc(var(--nav-h) + 20px); min-height: auto; }
  .hero__actions { justify-content: center; }
  .hero__actions .btn { flex: 1 1 auto; }
  .phone { width: 270px; height: 560px; }
  .phone--lg { width: 280px; height: 580px; }
  .float-card { font-size: 0.74rem; padding: 9px 12px; }
  .float-card--a { left: -10px; }
  .float-card--c { left: -14px; bottom: 6%; }
  .float-card--b { right: -14px; }

  .idea__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .goals__grid { grid-template-columns: 1fr; }
  .learn__grid { grid-template-columns: 1fr; }
  .reward-card { flex: 0 0 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .impact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .phone { width: 100%; max-width: 300px; }
  .hero__actions { flex-direction: column; width: 100%; }
}

/* ============================================================
   ACCESSIBILITY
============================================================= */
:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
