/* ─────────────────────────────────────────────
   WealthWise Junior — Marketing Site
   Design: shadcn/ui light theme — clean, modern
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-muted:     #f1f5f9;
  --text:         #0f172a;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --slate-800:    #1e293b;
  --slate-900:    #0f172a;
  --slate-600:    #475569;
  --slate-500:    #64748b;
  --slate-300:    #cbd5e1;
  --slate-200:    #e2e8f0;
  --slate-100:    #f1f5f9;
  --slate-50:     #f8fafc;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow:       0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg:    0 4px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --radius:       0.625rem;
  --radius-lg:    0.875rem;
  --radius-xl:    1.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTILITIES ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 3rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: #1e293b;
  color: #f8fafc;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.btn-primary:hover { background: #0f172a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }

/* btn-orange maps to btn-primary in the new theme */
.btn-orange {
  background: #1e293b;
  color: #f8fafc;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.btn-orange:hover { background: #0f172a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }

.btn-outline {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.btn-outline:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); }

.btn-white {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.16); }

.btn-lg { font-size: 1rem; padding: .875rem 2rem; }
.btn-sm { font-size: .82rem; padding: .5rem 1.1rem; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: #0f172a;
}
.nav-logo span { color: #0f172a; }
.nav-logo img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: #64748b;
  padding: .4rem .85rem;
  border-radius: .4rem;
  transition: all .15s;
}
.nav-links a:hover,
.nav-links a.active { color: #0f172a; background: #f1f5f9; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

.nav-mobile-btn { display: none; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: #0f172a; border-radius: 2px; transition: all .2s; margin: 5px 0; }

/* ── HERO ── */
.hero {
  padding: 5.5rem 0 4.5rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero::before { display: none; }
.hero::after  { display: none; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #f1f5f9;
  color: #475569;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid #e2e8f0;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: #475569;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
  color: #0f172a;
}
.hero h1 em {
  font-style: normal;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
}
.hero-sub {
  font-size: 1.05rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.trust-badge {
  font-size: .72rem;
  font-weight: 600;
  color: #475569;
  padding: .3rem .75rem;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  background: #f1f5f9;
}

/* hero card */
.hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #f8fafc;
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: 2rem;
  white-space: nowrap;
  letter-spacing: .04em;
}
.level-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.level-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  transition: all .18s;
}
.level-chip:hover { border-color: #cbd5e1; background: #f1f5f9; transform: translateY(-2px); }
.level-chip-emoji { font-size: 1.5rem; line-height: 1; }
.level-chip-info {}
.level-chip-name { font-size: .82rem; font-weight: 700; color: #0f172a; }
.level-chip-grade { font-size: .68rem; font-weight: 500; color: #64748b; }

/* ── STATS BAR ── */
.stats-bar {
  background: #0f172a;
  padding: 2.5rem 0;
  margin: 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .75rem 3rem;
}
.stat-val {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-lbl {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .35rem;
}
.stat-div { width: 1px; height: 44px; background: rgba(255,255,255,.12); }

/* ── SECTION BASE ── */
.section { padding: 6rem 0; }
.section-soft { background: #f8fafc; }

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 2rem;
  padding: .25rem .75rem;
  margin-bottom: .9rem;
  border: 1px solid #e2e8f0;
}

.section-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  color: #0f172a;
}
.section-sub {
  font-size: 1rem;
  color: #64748b;
  font-weight: 400;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── CARDS ── */
.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.card:hover { box-shadow: var(--shadow); border-color: #cbd5e1; transform: translateY(-2px); }

/* ── LEVELS SECTION ── */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.level-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all .2s;
  cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.level-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.level-card.featured {
  border-color: #1e293b;
  border-width: 2px;
  background: #f8fafc;
}
.level-card.featured::before {
  content: 'Start Here';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #f8fafc;
  font-size: .6rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.level-card.grad {
  border-color: #475569;
  background: #f8fafc;
}
.level-card-num {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #64748b;
  margin-bottom: .4rem;
}
.level-card-emoji { font-size: 2rem; margin-bottom: .5rem; line-height: 1; }
.level-card-name { font-size: 1rem; font-weight: 800; color: #0f172a; margin-bottom: .25rem; }
.level-card-mod { font-size: .75rem; font-weight: 600; color: #475569; margin-bottom: .3rem; }
.level-card-grade { font-size: .68rem; color: #64748b; font-weight: 500; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.feat-card:hover { border-color: #cbd5e1; box-shadow: var(--shadow); transform: translateY(-2px); }
.feat-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.feat-title { font-size: .97rem; font-weight: 700; color: #0f172a; margin-bottom: .45rem; }
.feat-desc { font-size: .875rem; color: #64748b; line-height: 1.7; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 1.625rem;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 1px;
  background: #e2e8f0;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  width: 52px; height: 52px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: .45rem; color: #0f172a; }
.step-desc { font-size: .875rem; color: #64748b; line-height: 1.7; }

/* ── FEARS (PARENTS PAGE) ── */
.fears-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fear-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color .2s, box-shadow .2s;
}
.fear-card:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
.fear-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.fear-q { font-size: .95rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; line-height: 1.35; }
.fear-a { font-size: .84rem; color: #64748b; font-weight: 400; line-height: 1.7; }

/* ── SHOCK STATS ── */
.shock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.shock-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
.shock-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #1e293b;
}
.shock-card.orange::before { background: #1e293b; }
.shock-card.indigo::before { background: #1e293b; }
.shock-card.red::before   { background: #1e293b; }
.shock-num {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .5rem;
}
.shock-num.orange { color: #0f172a; }
.shock-num.indigo { color: #0f172a; }
.shock-num.red    { color: #0f172a; }
.shock-label { font-size: .88rem; font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
.shock-sub { font-size: .75rem; color: #64748b; font-weight: 400; line-height: 1.55; }

/* ── COMPARISON TABLE ── */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: .9rem;
}
.compare-table th {
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.compare-table th:first-child { text-align: left; color: #64748b; background: #f8fafc; }
.compare-table th.school { background: #f1f5f9; color: #475569; }
.compare-table th.wwj { background: #1e293b; color: #f8fafc; }
.compare-table td {
  padding: .9rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  vertical-align: middle;
}
.compare-table td:first-child { font-weight: 600; color: #0f172a; background: #f8fafc; }
.compare-table td.school { text-align: center; color: #64748b; background: #ffffff; }
.compare-table td.wwj { text-align: center; color: #0f172a; font-weight: 700; }
.compare-table tr:hover td { background: #f8fafc; }
.compare-table tr:hover td.wwj { background: #f1f5f9; }

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.testi-stars { color: #ca8a04; font-size: .9rem; letter-spacing: .1em; }
.testi-quote { font-size: .95rem; color: #0f172a; font-weight: 400; line-height: 1.75; flex: 1; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #334155, #64748b);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: .88rem; font-weight: 700; color: #0f172a; }
.testi-meta { font-size: .72rem; color: #64748b; font-weight: 500; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .5rem; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s;
}
.faq-item.open { border-color: #cbd5e1; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  gap: 1rem;
  user-select: none;
  color: #0f172a;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-q:hover { background: #f8fafc; }
.faq-arrow {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  transition: all .2s;
  border: 1px solid #e2e8f0;
}
.faq-item.open .faq-arrow { background: #1e293b; color: #fff; border-color: #1e293b; transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.2rem;
  font-size: .9rem;
  color: #64748b;
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }
.faq-a-inner { padding: 0 1.5rem 1.2rem; font-size: .88rem; color: #64748b; line-height: 1.75; }

/* ── FINAL CTA ── */
.cta-section {
  background: #0f172a;
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before { display: none; }
.cta-section .section-tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.15);
}
.cta-section h2 { color: #ffffff; position: relative; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.6); max-width: 480px; margin: 0 auto 2.5rem; position: relative; }
.cta-note { margin-top: 1.25rem; font-size: .78rem; color: rgba(255,255,255,.4); font-weight: 500; position: relative; }

/* ── SCHOLARSHIP BANNER ── */
.scholar-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.scholar-left {}
.scholar-tag { font-size: .72rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .09em; margin-bottom: .5rem; }
.scholar-h { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin-bottom: .4rem; }
.scholar-p { font-size: .9rem; color: #64748b; line-height: 1.7; max-width: 480px; }
.scholar-p strong { color: #0f172a; }

/* ── FOOTER ── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.45);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: 1.1rem; color: #ffffff;
  margin-bottom: .75rem;
}
.footer-logo span { color: #94a3b8; }
.footer-tagline { font-size: .84rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-trust { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-trust-badge {
  font-size: .65rem; font-weight: 600;
  padding: .25rem .65rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2rem;
  color: rgba(255,255,255,.4);
}
.footer-col h4 { font-size: .75rem; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .84rem; transition: color .18s; }
.footer-col ul a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a:hover { color: #ffffff; }

/* ── INDEX PAGE: GATEWAY CARDS ── */
.gateway-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.gateway-card {
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.gateway-card.student {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.gateway-card.parent {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.gateway-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.gw-icon { font-size: 2.75rem; line-height: 1; }
.gw-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #64748b; }
.gw-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.gw-desc { font-size: .9rem; color: #64748b; line-height: 1.7; }
.gw-cta { margin-top: auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp .55s ease forwards;
}
.fade-up.delay-1 { animation-delay: .1s; }
.fade-up.delay-2 { animation-delay: .2s; }
.fade-up.delay-3 { animation-delay: .3s; }

/* ── OBSERVE (scroll reveal) ── */
.observe { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.observe.visible { opacity: 1; transform: translateY(0); }

/* ── STUDENTS PAGE: XP / PROFILE DEMO ── */
.xp-demo { background: #e2e8f0; border-radius: 3rem; overflow: hidden; height: 8px; margin-top: .6rem; }
.xp-fill { height: 100%; border-radius: 3rem; background: #1e293b; }

.streak-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  color: #475569; font-weight: 700; font-size: .8rem;
  padding: .3rem .8rem; border-radius: 2rem;
}

.level-path { display: flex; align-items: center; gap: 0; overflow-x: auto; padding-bottom: .5rem; }
.lp-dot {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  position: relative; z-index: 1;
}
.lp-dot.done { background: #1e293b; }
.lp-dot.active { background: #334155; box-shadow: 0 0 0 4px rgba(30,41,59,0.2); }
.lp-dot.locked { background: #e2e8f0; }
.lp-line { flex: 1; height: 2px; background: #e2e8f0; min-width: 24px; }
.lp-line.done { background: #1e293b; }

.profile-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 340px;
}
.profile-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.profile-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #334155, #64748b);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.profile-name { font-weight: 800; font-size: 1rem; color: #0f172a; }
.profile-roll { font-size: .72rem; color: #64748b; font-weight: 500; font-family: 'Inter', monospace; }
.profile-level {
  background: #f1f5f9;
  border-radius: .625rem;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
}
.profile-level-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #475569; margin-bottom: .2rem; }
.profile-level-name { font-size: 1rem; font-weight: 800; color: #0f172a; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; }
.ps-item { text-align: center; }
.ps-val { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.ps-lbl { font-size: .6rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .06em; }

.module-card {
  background: #0f172a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #ffffff;
}
.module-live { font-size: .65rem; font-weight: 700; color: #94a3b8; letter-spacing: .1em; margin-bottom: .5rem; }
.module-title { font-size: 1.05rem; font-weight: 800; margin-bottom: .3rem; }
.module-sub { font-size: .75rem; color: rgba(255,255,255,.5); font-weight: 500; margin-bottom: 1rem; }
.module-bar { height: 5px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.module-fill { height: 100%; background: rgba(255,255,255,.6); border-radius: 3px; }

/* ── PARENTS PAGE: SPECIFIC ── */
.money-visual {
  background: #0f172a;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.money-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.money-visual::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
}
.mv-tag { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 1rem; }
.mv-num {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .5rem;
  color: #ffffff;
  position: relative; z-index: 1;
}
.mv-desc { font-size: .88rem; color: rgba(255,255,255,.55); font-weight: 400; line-height: 1.65; position: relative; z-index: 1; }
.mv-items { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; position: relative; z-index: 1; }
.mv-item { display: flex; align-items: center; gap: .75rem; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.7); }
.mv-dot { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; flex-shrink: 0; }

.curriculum-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cl-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  background: #ffffff;
  transition: all .18s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.cl-card:hover { border-color: #cbd5e1; box-shadow: var(--shadow); transform: translateY(-2px); }
.cl-emoji { font-size: 1.5rem; margin-bottom: .5rem; }
.cl-level { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #64748b; margin-bottom: .2rem; }
.cl-name { font-size: .88rem; font-weight: 700; color: #0f172a; margin-bottom: .3rem; }
.cl-class { font-size: .72rem; color: #64748b; font-weight: 400; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tcard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
}
.tcard::before {
  content: '"';
  position: absolute; top: 1rem; right: 1.5rem;
  font-size: 4rem; font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
}
.tcard-stars { font-size: .9rem; margin-bottom: 1rem; color: #ca8a04; }
.tcard-text { font-size: .9rem; color: #0f172a; font-weight: 400; line-height: 1.7; margin-bottom: 1.25rem; }
.tcard-author { display: flex; align-items: center; gap: .75rem; }
.tcard-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.tcard-name { font-weight: 700; font-size: .88rem; color: #0f172a; }
.tcard-role { font-size: .72rem; color: #64748b; font-weight: 500; }

.safety-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
}
.safety-item { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: #475569; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .fears-grid { grid-template-columns: 1fr 1fr; }
  .curriculum-levels { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero { padding: 3.5rem 0 3rem; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .gateway-cards { grid-template-columns: 1fr; }
  .features-grid,
  .fears-grid,
  .testi-grid,
  .testimonial-grid,
  .levels-grid { grid-template-columns: 1fr; }
  .shock-grid { grid-template-columns: 1fr; }
  .curriculum-levels { grid-template-columns: repeat(2, 1fr); }
  .compare-wrap { overflow-x: auto; }
  .scholar-banner { flex-direction: column; padding: 2rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stat-item { padding: .75rem 1.5rem; }
  .stat-div { display: none; }
  .stats-inner { justify-content: flex-start; }
  .nav-mobile-btn { display: flex; }
  .money-visual { margin-top: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .btn-lg { font-size: .9rem; padding: .8rem 1.6rem; }
  .section { padding: 4rem 0; }
  .curriculum-levels { grid-template-columns: 1fr 1fr; }
}
