/* ============================================================
   SyntroLearn — conversion landing design system
   Apple-grade: large clean type, soft gradients, motion.
   ============================================================ */

:root {
  /* Brand (from logo + hero) */
  --navy-950: #070b22;
  --navy-900: #0a0f2c;
  --navy-800: #111a4d;
  --navy-700: #1b2a6b;
  --violet:   #7c3aed;
  --violet-300:#a78bfa;
  --blue:     #2563eb;
  --blue-300: #60a5fa;

  /* CTA accent — "improvement / go" (resting tones meet WCAG AA on white text) */
  --green:    #10b981;
  --green-600:#067a55;
  --green-300:#6ee7b7;
  --amber:    #f59e0b;
  --coral:    #e5573f;

  /* Neutrals */
  --ink:      #0b1020;
  --slate:    #4d5571;
  --slate-2:  #6b7390;
  --muted:    #5a6178;
  --line:     rgba(11,16,32,.08);
  --line-2:   rgba(11,16,32,.12);
  --bg:       #ffffff;
  --bg-soft:  #f5f7fd;
  --bg-soft-2:#eef2fc;
  --white:    #ffffff;

  /* Brand gradient */
  --grad: linear-gradient(135deg, #7c3aed 0%, #4f46e5 45%, #2563eb 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.10), rgba(37,99,235,.10));
  --grad-cta: linear-gradient(135deg, #0a8a5e 0%, #097050 100%);
  --grad-cta-bright: linear-gradient(135deg, #10b981 0%, #0ea371 100%);

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(11,16,32,.06);
  --sh:    0 10px 30px -12px rgba(17,26,77,.20);
  --sh-lg: 0 28px 70px -28px rgba(17,26,77,.34);
  --sh-cta:0 14px 34px -10px rgba(16,185,129,.55);

  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(72px, 11vh, 132px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vh, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--mesh { background:
  radial-gradient(1100px 540px at 85% -10%, rgba(124,58,237,.10), transparent 60%),
  radial-gradient(900px 500px at 5% 10%, rgba(37,99,235,.08), transparent 55%),
  var(--bg); }

.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--violet);
  background: var(--grad-soft);
  border: 1px solid rgba(124,58,237,.18);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow--green { color: var(--green-600); background: rgba(16,185,129,.10); border-color: rgba(16,185,129,.22); }
.eyebrow--amber { color: #b45309; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.28); }

h1,h2,h3,h4 { line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.035em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.32rem); color: var(--slate); line-height: 1.55; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text--green { background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vh, 64px); }
.section-head.center { text-align: center; }
.section-head .h2 { margin: 16px 0 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--grad-cta); color: #fff; box-shadow: var(--sh-cta); }
.btn--primary:hover { transform: translateY(-2px) scale(1.02); background: var(--grad-cta-bright); box-shadow: 0 20px 44px -10px rgba(16,185,129,.6); }
.btn--brand { background: var(--grad); color: #fff; box-shadow: var(--sh); }
.btn--brand:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--sh-lg); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: var(--navy-800); }
.btn--ghost { background: #fff; color: var(--navy-900); border: 1.5px solid var(--line-2); box-shadow: var(--sh-sm); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--violet); }
.btn--wa { background: #128a4d; color: #fff; box-shadow: 0 12px 30px -10px rgba(18,138,77,.5); }
.btn--wa:hover { transform: translateY(-2px) scale(1.02); background: #0f7a44; }
.btn--lg { padding: 19px 34px; font-size: 1.06rem; }
.btn--sm { padding: 12px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(17,26,77,.5);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--sh-sm); }
.brand span b { color: var(--violet); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-links a {
  font-size: .96rem; font-weight: 600; color: var(--slate);
  padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy-900); position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-900); transition: .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(48px, 8vh, 96px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 540px at 78% 0%, rgba(124,58,237,.16), transparent 55%),
    radial-gradient(820px 520px at 6% 18%, rgba(37,99,235,.13), transparent 52%),
    linear-gradient(180deg, #fbfcff, #f3f6fe 70%, #fff);
}
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; z-index: -1; animation: float 16s var(--ease) infinite; }
.blob.b1 { width: 340px; height: 340px; background: rgba(124,58,237,.4); top: -60px; right: 8%; }
.blob.b2 { width: 300px; height: 300px; background: rgba(37,99,235,.34); bottom: 4%; left: -40px; animation-delay: -6s; }
.blob.b3 { width: 220px; height: 220px; background: rgba(16,185,129,.3); top: 38%; right: 38%; animation-delay: -11s; }
@keyframes float { 0%,100%{ transform: translateY(0) translateX(0) scale(1);} 50%{ transform: translateY(-26px) translateX(16px) scale(1.06);} }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy .h1 { margin: 18px 0 18px; }
.hero-copy .lead { max-width: 560px; }
.hero-cta { margin: 30px 0 18px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--slate); font-weight: 600; font-size: .96rem; }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.hero-rating { display:flex; align-items:center; gap:10px; margin-top:22px; }
.hero-rating .stack { display:flex; }
.hero-rating .stack img { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -12px; box-shadow: var(--sh-sm); object-fit: cover; }
.hero-rating .stack img:first-child { margin-left: 0; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; }

/* Hero system card */
.plan-card {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 22px;
  position: relative;
}
.plan-card::after { content:''; position:absolute; inset:0; border-radius:var(--r-xl); padding:1px; background:linear-gradient(160deg,rgba(124,58,237,.35),rgba(37,99,235,.05) 40%,transparent); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
.plan-head { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan-head .ava { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; box-shadow: var(--sh); }
.plan-head h4 { font-size: 1.06rem; }
.plan-head p { font-size: .86rem; color: var(--muted); }
.plan-badge { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--green-600); background: rgba(16,185,129,.12); padding: 5px 11px; border-radius: 999px; }
.plan-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.plan-row span:first-child { color: var(--muted); font-weight: 600; }
.plan-row span:last-child { font-weight: 700; }
.plan-prog { margin: 16px 0 6px; }
.plan-prog-top { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.bar { height: 10px; border-radius: 999px; background: var(--bg-soft-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--grad-cta); width: 0; transition: width 1.4s var(--ease); }
.plan-match { display: flex; align-items: center; gap: 11px; margin-top: 16px; padding: 12px; background: var(--bg-soft); border-radius: var(--r-sm); }
.plan-match img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.plan-match .mt { font-size: .8rem; color: var(--muted); }
.plan-match .mn { font-weight: 700; font-size: .95rem; }
.plan-match .matchpct { margin-left: auto; text-align: right; }
.plan-match .matchpct b { color: var(--green-600); font-size: 1.05rem; }
.plan-check { margin-top: 14px; display: grid; gap: 9px; }
.plan-check li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; }
.plan-check li .ck { width: 20px; height: 20px; border-radius: 6px; background: rgba(16,185,129,.14); color: var(--green-600); display: grid; place-items: center; flex: none; }
.plan-check li .ck svg { width: 12px; height: 12px; }
.float-chip {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--sh-lg);
  padding: 12px 15px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem;
  border: 1px solid var(--line);
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-chip small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.float-chip.c1 { top: -18px; left: -26px; animation: float 9s var(--ease) infinite; }
.float-chip.c2 { bottom: 22px; right: -28px; animation: float 11s var(--ease) infinite -3s; }

/* ---------- Logo strip / marquee ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll-x 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; color: var(--navy-800); font-size: .95rem; box-shadow: var(--sh-sm);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.stat .num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--slate); font-weight: 600; font-size: .96rem; margin-top: 4px; }

/* ---------- Generic card grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(124,58,237,.25); }
.card .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); color: var(--violet);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { color: var(--slate); font-size: .98rem; }

/* ---------- Pain → Fix (the emotional core) ---------- */
.pain { background: radial-gradient(900px 600px at 80% -10%, rgba(124,58,237,.22), transparent 55%), radial-gradient(700px 500px at 0% 100%, rgba(37,99,235,.18), transparent 55%), var(--navy-950); color: #fff; }
.pain .h2, .pain h3 { color: #fff; }
.pain .lead { color: rgba(255,255,255,.74); }
.pain .eyebrow { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.2); }
.flip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.flip {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  padding: 28px; transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.flip:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.flip .tag { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.flip .tag.bad { color: #ffb4a8; background: rgba(251,111,91,.16); }
.flip .pain-q { font-size: 1.24rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: #fff; }
.flip .divider { height: 1px; background: rgba(255,255,255,.12); margin: 18px 0; }
.flip .fix { display: flex; gap: 12px; align-items: flex-start; }
.flip .fix .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-cta); display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px -6px rgba(16,185,129,.7); }
.flip .fix .ck svg { width: 15px; height: 15px; color: #fff; }
.flip .fix p { color: rgba(255,255,255,.86); font-size: .98rem; }
.flip .fix p b { color: var(--green-300); }

/* ---------- Outcomes ---------- */
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.outcome {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.outcome:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.outcome .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--violet); }
.outcome .ic svg { width: 24px; height: 24px; }
.outcome h4 { font-size: 1.04rem; letter-spacing: -.01em; }
.outcome p { font-size: .9rem; color: var(--slate); }

/* ---------- How it works steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; text-align: center; }
.step .stepimg { width: 100%; max-width: 180px; margin: 0 auto 18px; aspect-ratio: 1; object-fit: contain; padding: 20px; background: linear-gradient(160deg, #fff, var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover .stepimg { transform: translateY(-5px); box-shadow: var(--sh); }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: var(--sh); }
.step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .95rem; max-width: 260px; margin-inline: auto; }
.step-line { position: absolute; top: 90px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); z-index: -1; }

/* ---------- Assessment ---------- */
.assess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.assess-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 30px; }
.assess-card .h3 { margin-bottom: 18px; }
.assess-list { display: grid; gap: 12px; }
.assess-list li { display: flex; align-items: center; gap: 13px; padding: 13px 15px; background: var(--bg-soft); border-radius: var(--r-sm); font-weight: 600; transition: background .25s, transform .25s; }
.assess-list li:hover { background: var(--bg-soft-2); transform: translateX(4px); }
.assess-list li .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-cta); display: grid; place-items: center; flex: none; }
.assess-list li .ck svg { width: 14px; height: 14px; color: #fff; }

/* ---------- Subjects (tabs) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tab { padding: 11px 20px; border-radius: 999px; font-weight: 700; color: var(--slate); border: 1px solid var(--line-2); background: #fff; transition: .25s; }
.tab:hover { color: var(--navy-900); border-color: var(--violet); }
.tab.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tabpanel { display: none; animation: fade-up .5s var(--ease); }
.tabpanel.active { display: block; }
.subj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.subj {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; box-shadow: var(--sh-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.subj:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: rgba(124,58,237,.3); }
.subj .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--violet); flex: none; }
.subj .ic svg { width: 21px; height: 21px; }

/* ---------- Curriculum ---------- */
.curric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.curric {
  text-align: center; padding: 24px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.curric:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: rgba(37,99,235,.3); }
.curric .badge { font-weight: 800; font-size: 1.18rem; color: var(--violet); letter-spacing: -.02em; }
.curric small { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; font-weight: 600; }

/* ---------- Tutors ---------- */
.tutor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tutor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tutor:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.tutor-top { display: flex; align-items: center; gap: 14px; padding: 22px 22px 14px; }
.tutor-top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--sh); }
.tutor-top .vbadge { font-size: .72rem; font-weight: 700; color: var(--green-600); background: rgba(16,185,129,.12); padding: 3px 9px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; margin-top: 5px; }
.tutor-top h4 { font-size: 1.1rem; }
.tutor-top .subj-line { color: var(--slate); font-size: .9rem; font-weight: 600; }
.tutor-body { padding: 0 22px 22px; }
.tutor-spec { font-size: .92rem; color: var(--slate); padding: 14px; background: var(--bg-soft); border-radius: var(--r-sm); }
.tutor-spec b { color: var(--navy-900); }
.tutor-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tutor-tags span { font-size: .76rem; font-weight: 700; color: var(--violet); background: var(--grad-soft); padding: 5px 10px; border-radius: 999px; }

.quality-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px 28px; }
.quality-list li { display: flex; gap: 11px; align-items: center; font-weight: 600; }
.quality-list li .ck { width: 24px; height: 24px; border-radius: 7px; background: rgba(16,185,129,.13); color: var(--green-600); display: grid; place-items: center; flex: none; }
.quality-list li .ck svg { width: 14px; height: 14px; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tst { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.tst:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.tst .stars { margin-bottom: 13px; }
.tst .quote { font-size: 1.04rem; font-weight: 600; color: var(--ink); line-height: 1.5; letter-spacing: -.01em; flex: 1; }
.tst .by { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tst .by img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.tst .by b { display: block; font-size: .92rem; }
.tst .by small { color: var(--muted); font-size: .82rem; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.ba { border-radius: var(--r-lg); padding: 28px; }
.ba.before { background: var(--bg-soft); border: 1px solid var(--line); }
.ba.after { background: linear-gradient(160deg, rgba(16,185,129,.10), rgba(37,99,235,.08)); border: 1px solid rgba(16,185,129,.25); }
.ba h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.ba.before h4 { color: var(--coral); }
.ba.after h4 { color: var(--green-600); }
.ba li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-weight: 600; color: var(--slate); }
.ba.after li { color: var(--navy-900); }
.ba li .mk { flex: none; margin-top: 2px; }
.ba-arrow { display: grid; place-items: center; color: var(--violet); }
.ba-arrow svg { width: 34px; height: 34px; }
.result-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 30px; }
.result-card { text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.result-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--violet); display: grid; place-items: center; margin: 0 auto 12px; }
.result-card p { font-size: .88rem; font-weight: 700; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.price.featured { border: 2px solid var(--violet); box-shadow: var(--sh-lg); }
.price.featured::before { content: 'Most popular'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; padding: 6px 16px; border-radius: 999px; box-shadow: var(--sh); }
.price .pname { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.price .pfor { color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }
.price .pdesc { color: var(--slate); font-size: .96rem; margin-bottom: 20px; }
.price ul { display: grid; gap: 11px; margin-bottom: 24px; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--navy-900); font-weight: 500; }
.price ul li .ck { width: 22px; height: 22px; border-radius: 7px; background: rgba(16,185,129,.13); color: var(--green-600); display: grid; place-items: center; flex: none; }
.price ul li .ck svg { width: 13px; height: 13px; }
.price-note { text-align: center; color: var(--muted); margin-top: 26px; font-size: .95rem; }

/* ---------- Big CTA band ---------- */
.cta-band { background: var(--grad); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-band .h2, .cta-band .lead { color: #fff; position: relative; }
.cta-band .lead { opacity: .92; max-width: 640px; margin: 16px auto 30px; }
.cta-band .cta-row { position: relative; }
.cta-band .btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- Lead form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(26px, 3vw, 38px); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--navy-900); }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.field .err { font-size: .8rem; color: var(--coral); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--coral); }
.field.invalid .err { display: block; }
.form-foot { grid-column: 1/-1; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.show { display: block; animation: fade-up .5s var(--ease); }
.form-success .big { width: 72px; height: 72px; border-radius: 50%; background: var(--grad-cta); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--sh-cta); }
.form-success .big svg { width: 38px; height: 38px; color: #fff; }
.form-aside .badge-line { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--bg-soft); border-radius: var(--r-sm); margin-bottom: 12px; font-weight: 600; font-size: .95rem; }
.form-aside .badge-line .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--grad-soft); color: var(--violet); display: grid; place-items: center; flex: none; }
.wa-box { margin-top: 18px; padding: 20px; border-radius: var(--r); background: linear-gradient(160deg, rgba(37,211,102,.10), rgba(37,211,102,.03)); border: 1px solid rgba(37,211,102,.25); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.open { box-shadow: var(--sh); border-color: rgba(124,58,237,.25); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 20px 22px; font-weight: 700; font-size: 1.06rem; color: var(--navy-900); }
.faq-q .pm { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 22px 22px; color: var(--slate); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: clamp(56px,7vh,88px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-desc { font-size: .94rem; line-height: 1.6; max-width: 320px; margin-bottom: 20px; }
.footer h5 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px -16px rgba(17,26,77,.4); }
.sticky-cta .btn { flex: 1; padding: 14px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .grid-4, .outcome-grid, .result-grid { grid-template-columns: repeat(2, 1fr); }
  .curric-grid { grid-template-columns: repeat(3, 1fr); }
  .subj-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brandcol { grid-column: 1 / -1; }
  .float-chip { display: none; } /* chips are designed for the wide 2-col hero only */
}

/* Collapse the nav to a hamburger before the desktop nav can overflow (~900px) */
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn:not(.nav-cta) { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; margin: 0; padding: 16px 22px 22px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
  }
  .nav.open .nav-links a { padding: 14px; font-size: 1.04rem; min-height: 44px; display: flex; align-items: center; }
  .nav.open .nav-actions { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .grid-2, .grid-3, .grid-4, .flip-grid, .tutor-grid, .tst-grid, .price-grid,
  .assess-grid, .form-grid, .outcome-grid, .quality-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .curric-grid { grid-template-columns: repeat(2, 1fr); }
  .subj-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .lead-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brandcol { grid-column: 1 / -1; }
  .sticky-cta { display: flex; }
  .price.featured { transform: none; }
  .tab { padding: 13px 18px; min-height: 44px; }
  .footer-col a { padding: 10px 0; }
  .hero-trust { font-size: .88rem; gap: 8px 12px; }
  .hero-trust .dot { display: none; }
  .field input, .field select, .field textarea { padding: 13px 12px; }
}
@media (max-width: 420px) {
  .stats, .result-grid, .curric-grid, .footer-grid { grid-template-columns: 1fr; }
}
