/* =========================================================
   SUPER SHELDON — premium 3D landing
   Brand: navy #03215F · orange #FC8741 · yellow #FFC700
   Logo accents: red #F04E5E · teal #33AD9C · purple #A770B5
   ========================================================= */
:root {
  --navy: #03215F;
  --navy-2: #0B2D78;
  --ink: #0A1633;
  --orange: #FC8741;
  --orange-2: #FF6B2C;
  --yellow: #FFC700;
  --red: #F04E5E;
  --teal: #33AD9C;
  --purple: #A770B5;
  --cream: #F7F1E8;
  --cream-2: #EFE6D8;
  --paper: #FFFDF9;
  --muted: #5B6680;
  --line: rgba(3, 33, 95, .12);
  --radius: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --f-head: "Baloo 2", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --pad: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .9s var(--ease), color .9s var(--ease);
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--orange); color: #fff; }

.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.hl {
  position: relative; display: inline-block;
  background: linear-gradient(100deg, var(--orange) 0%, var(--red) 45%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- WebGL canvas ---------- */
#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 2; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-2%,4%)} 80%{transform:translate(5%,-2%)} }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--teal), var(--purple)); }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200; border-radius: 50%; }
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--navy);
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); }
.cursor__label { font: 700 12px/1 var(--f-body); color: #fff; opacity: 0; transition: opacity .2s; letter-spacing: .02em; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(252,135,65,.15); border-color: var(--orange); }
.cursor.is-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--orange); border-color: var(--orange); }
.cursor.is-label .cursor__label { opacity: 1; }
body.theme-dark .cursor { border-color: #fff; }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.preloader__panel { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--cream); z-index: 0; }
.preloader__panel--1 { top: 0; }
.preloader__panel--2 { bottom: 0; }
.preloader__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.preloader__logo { width: 260px; margin: -50px 0 -60px; animation: bob 2.4s ease-in-out infinite; }
.preloader__bar { width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--teal), var(--purple)); }
.preloader__count { font: 800 44px/1 var(--f-head); color: var(--navy); letter-spacing: -.02em; }
.preloader__tag { font-size: 13px; color: var(--muted); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  padding: 16px 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--f-body); letter-spacing: .01em; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(100deg, var(--orange), var(--red));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -12px rgba(252,135,65,.6); }
.btn--primary { --bg: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--navy), 0 18px 40px -12px rgba(3,33,95,.4); }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light:hover { color: #fff; }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--xl { padding: 24px 44px; font-size: 19px; }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Roll links ---------- */
[data-roll] { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
[data-roll] .roll { display: block; transition: transform .45s var(--ease); }
[data-roll] .roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--orange); }
[data-roll]:hover .roll { transform: translateY(-100%); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; margin: 0 auto; z-index: 100;
  width: min(1240px, calc(100% - 28px)); height: 68px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; background: rgba(255, 253, 249, .62);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 10px 40px -18px rgba(3,33,95,.35);
  transition: translate .6s var(--ease), background .4s, top .4s;
}
.nav.is-hidden { translate: 0 -140%; }
.nav__logo { display: block; height: 52px; width: 150px; overflow: hidden; flex-shrink: 0; }
.nav__logo img { width: 168px; max-width: none; margin: -41px 0 0 -10px; }
.nav__links { display: flex; gap: 28px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__ghost { font-weight: 600; font-size: 14px; color: var(--navy); opacity: .8; }
.nav__ghost:hover { opacity: 1; color: var(--orange); }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); position: relative; }
.nav__burger span { position: absolute; left: 14px; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: var(--pad);
  clip-path: circle(0% at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 50px) 50px); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font: 800 clamp(40px, 11vw, 64px)/1.05 var(--f-head); opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links a:hover { color: var(--orange); }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .25s; }
.menu .btn { align-self: flex-start; --bg: var(--orange); }

/* ---------- Generic ---------- */
section { position: relative; padding: clamp(90px, 12vw, 170px) var(--pad); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 700 12.5px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.light { color: var(--yellow); }
.h2 { font: 800 clamp(38px, 5.6vw, 82px)/1.0 var(--f-head); letter-spacing: -.025em; color: var(--navy); }
.h2 .serif { font-size: 1.04em; color: var(--orange); }
.h2.light { color: #fff; }
.h2.light .serif { color: var(--yellow); }
.lead { margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 560px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.lead.light { color: rgba(255,255,255,.75); }
.lead a { color: var(--orange); font-weight: 700; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > .word { display: inline-block; will-change: transform; }
.split-lines .sl { display: block; overflow: hidden; padding-bottom: .08em; }
.split-lines .sl > span { display: inline-block; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 4vw, 70px); padding-top: 130px; padding-bottom: 110px; max-width: 1440px; margin: 0 auto; }
.hero__content { position: relative; z-index: 3; max-width: 680px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; margin-bottom: 28px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--navy);
  backdrop-filter: blur(10px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(51,173,156,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(51,173,156,0); } 100% { box-shadow: 0 0 0 0 rgba(51,173,156,0); } }
.hero__title { font: 800 clamp(46px, 6.4vw, 104px)/.92 var(--f-head); letter-spacing: -.035em; color: var(--navy); }
.hero__title .serif { font-size: 1.02em; color: var(--navy); }
.hero__sub { margin-top: 28px; max-width: 520px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hero__trust-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__trust img { height: 28px; width: auto; filter: saturate(.9); opacity: .9; transition: transform .3s, opacity .3s; }
.hero__trust img:hover { transform: translateY(-3px); opacity: 1; }

/* hero visual: live class window */
.hero__visual { position: relative; z-index: 3; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1 / 1.02; }
.classwin {
  position: absolute; inset: 6% 4% 8% 8%; border-radius: 30px; overflow: hidden;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 50px 100px -40px rgba(3,33,95,.55), inset 0 1px 0 rgba(255,255,255,.9);
  display: flex; flex-direction: column;
}
.classwin__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.classwin__dots { display: flex; gap: 6px; }
.classwin__dots i { width: 10px; height: 10px; border-radius: 50%; background: #F04E5E; }
.classwin__dots i:nth-child(2) { background: #FFC700; }
.classwin__dots i:nth-child(3) { background: #33AD9C; }
.classwin__title { flex: 1; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #F04E5E; color: #fff; font-size: 11px; letter-spacing: .08em; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.classwin__stage { position: relative; flex: 1; margin: 0 10px 10px; border-radius: 22px; overflow: hidden; background: var(--cream-2); }
.classwin__tutor { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.classwin__name { position: absolute; right: 14px; bottom: 64px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(3,33,95,.72); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.classwin__name .mic { width: 8px; height: 8px; border-radius: 50%; background: #3BE37F; animation: ping 1.6s infinite; }
.classwin__pip { position: absolute; top: 14px; right: 14px; width: 30%; aspect-ratio: 3/3.6; border-radius: 16px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 14px 30px -10px rgba(3,33,95,.5); background: #fff; }
.classwin__pip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.18); transform-origin: 50% 45%; }
.classwin__pip span { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; border-radius: 8px; background: rgba(3,33,95,.75); color: #fff; font-size: 10px; font-weight: 700; text-align: center; }
.classwin__controls { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); }
.classwin__controls span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.classwin__controls span.end { background: #F04E5E; }
.classwin__controls svg { width: 16px; height: 16px; fill: var(--navy); }
.classwin__controls .end svg { fill: #fff; }
.hcard {
  position: absolute; z-index: 4; padding: 14px 16px; border-radius: 20px; font-size: 13px; line-height: 1.3; color: var(--navy);
  background: rgba(255,255,255,.9); border: 1px solid #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(3,33,95,.4);
}
.hcard span { color: var(--muted); font-size: 11.5px; }
.hcard--progress { left: -6%; bottom: 16%; width: 230px; }
.hcard__row { display: flex; align-items: center; gap: 10px; }
.hcard__row img { width: 38px; height: 38px; }
.hcard__row div { flex: 1; }
.hcard__row strong { display: block; font-size: 13.5px; }
.hcard__row em { font-style: normal; font-weight: 800; color: #1F9E57; font-size: 13px; }
.hcard__bar { margin-top: 10px; height: 7px; border-radius: 7px; background: rgba(3,33,95,.08); overflow: hidden; }
.hcard__bar i { display: block; height: 100%; width: 92%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--red)); transform-origin: 0 50%; }
.hcard--tutors { right: -4%; bottom: 1%; display: flex; align-items: center; gap: 12px; }
.hcard__avatars { display: flex; }
.hcard__avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; margin-left: -10px; background: var(--cream-2); }
.hcard__avatars img:first-child { margin-left: 0; }
.hcard--nova { left: -4%; top: 18%; display: flex; align-items: center; gap: 10px; max-width: 250px; }
.hcard--nova img { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); }
.hcard--nova p { font-size: 13px; }
.hcard--nova strong { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.hero__icon { position: absolute; z-index: 5; pointer-events: none; filter: drop-shadow(0 20px 26px rgba(3,33,95,.25)); }
.hero__icon--1 { width: 27%; top: 30%; right: -13%; }
.hero__icon--2 { width: 22%; bottom: -8%; left: 34%; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); z-index: 3; }
.scroll-cue i { width: 22px; height: 36px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ---------- Trust / stats ---------- */
.trust { padding-top: 40px; padding-bottom: 60px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.trust .marquee__track span {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,.7);
  border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: 15px;
}
.trust .marquee__track img { width: 26px; height: 18px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag { display: inline-block; width: 20px; height: 14px; object-fit: cover; border-radius: 3px; margin-right: 8px; vertical-align: -2px; }
.stats { margin: 70px auto 0; max-width: 1100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 10px; border-radius: var(--radius); background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(10px); }
.stat__num { font: 800 clamp(40px, 5vw, 68px)/1 var(--f-head); color: var(--orange); letter-spacing: -.03em; }
.stat__label { margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }

/* ---------- Statement ---------- */
.statement { min-height: 90vh; display: flex; align-items: center; justify-content: center; }
.statement__text { max-width: 1150px; font: 700 clamp(30px, 4.4vw, 66px)/1.12 var(--f-head); letter-spacing: -.02em; color: var(--navy); text-align: center; }
.statement__text .w { display: inline-block; opacity: .12; transition: none; }
.statement__text .serif { color: var(--orange); }

/* ---------- Academies (stacked sticky cards) ---------- */
.stack { display: flex; flex-direction: column; gap: 40px; max-width: 1240px; margin: 0 auto; }
.acard {
  position: sticky; top: 110px; min-height: 480px; border-radius: 40px; padding: clamp(28px, 4vw, 60px);
  display: grid; grid-template-columns: auto 1fr 0.8fr; gap: clamp(20px, 4vw, 60px); align-items: center;
  overflow: hidden; color: #fff; box-shadow: 0 40px 80px -40px rgba(3,33,95,.55);
  transform-origin: 50% 0;
}
.acard--school { background: linear-gradient(135deg, #0B2D78 0%, #03215F 60%, #021645 100%); }
.acard--exam { background: linear-gradient(135deg, #FF9A55 0%, #FC8741 40%, #F04E5E 100%); top: 130px; }
.acard--skill { background: linear-gradient(135deg, #3CC2AE 0%, #2A9C8C 50%, #6D4FA0 100%); top: 150px; }
.acard { --dim: 0; }
.acard::before { content: ""; position: absolute; inset: 0; background: #020B24; opacity: var(--dim); pointer-events: none; z-index: 3; border-radius: inherit; }
.acard::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.18), transparent 50%); pointer-events: none; }
.acard__index { align-self: start; font: 800 clamp(70px, 9vw, 150px)/0.8 var(--f-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.5); }
.acard__kicker { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.acard--exam .acard__kicker { color: var(--navy); }
.acard__title { margin: 10px 0 16px; font: 800 clamp(38px, 4.6vw, 70px)/1 var(--f-head); letter-spacing: -.025em; }
.acard__text { max-width: 480px; font-size: 17px; opacity: .88; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); transition: background .3s, transform .3s; }
.chips li:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; padding-bottom: 4px; border-bottom: 2px solid rgba(255,255,255,.4); transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 18px; border-color: #fff; }
.acard__art { position: relative; height: 100%; min-height: 260px; }
.acard__art img { position: absolute; filter: drop-shadow(0 30px 40px rgba(0,0,0,.3)); }
.acard__art img:first-child { width: 70%; max-width: 330px; top: 0; right: 4%; animation: float 6s ease-in-out infinite; }
.acard__art img:last-child { width: 42%; max-width: 200px; bottom: 0; left: 4%; animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(4deg); } }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1240px; margin: 0 auto; perspective: 1200px; }
.feature {
  position: relative; padding: 40px 34px 34px; border-radius: var(--radius); min-height: 380px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -36px rgba(3,33,95,.35); transform-style: preserve-3d; transition: box-shadow .4s;
  display: flex; flex-direction: column;
}
.feature:hover { box-shadow: 0 40px 80px -30px rgba(252,135,65,.45); }
.feature--accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.feature__num { position: absolute; top: 26px; right: 30px; font: 800 18px/1 var(--f-head); color: var(--orange); }
.feature__icon { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--cream); margin-bottom: 34px; transform: translateZ(40px); }
.feature--accent .feature__icon { background: rgba(255,255,255,.1); }
.feature__icon img { width: 72px; }
.feature h3 { font: 800 28px/1.1 var(--f-head); color: var(--navy); margin-bottom: 12px; transform: translateZ(30px); }
.feature--accent h3 { color: #fff; }
.feature p { color: var(--muted); font-size: 15.5px; flex: 1; }
.feature--accent p { color: rgba(255,255,255,.75); }
.feature__tag { margin-top: 24px; align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--orange); padding: 8px 14px; border-radius: 999px; background: rgba(252,135,65,.12); }
.spec { max-width: 860px; margin: 90px auto 0; }
.spec__row { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.spec__row strong { color: var(--navy); font-weight: 800; text-align: right; }
.spec__line { flex: 1; border-bottom: 1.5px dotted rgba(3,33,95,.25); transform: translateY(-4px); }

/* ---------- Nova ---------- */
.nova {
  color: #fff; min-height: 100vh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  margin: 0 14px; border-radius: 48px; background: radial-gradient(120% 90% at 0% 0%, #0E3290 0%, var(--navy) 45%, #021645 100%);
  box-shadow: 0 60px 120px -60px rgba(3,33,95,.7);
}
.nova__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .75; pointer-events: none; }
.nova__glow--1 { width: 460px; height: 460px; right: 8%; top: 12%; background: radial-gradient(circle, #A770B5, transparent 65%); animation: glowA 12s ease-in-out infinite; }
.nova__glow--2 { width: 380px; height: 380px; right: 26%; bottom: 6%; background: radial-gradient(circle, #33AD9C, transparent 65%); animation: glowB 14s ease-in-out infinite; }
.nova__glow--3 { width: 300px; height: 300px; right: 2%; bottom: 20%; background: radial-gradient(circle, #FC8741, transparent 65%); animation: glowA 10s ease-in-out infinite reverse; }
@keyframes glowA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.15); } }
@keyframes glowB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, -50px) scale(.9); } }
.nova__stars { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 80%, #FFC700, transparent), radial-gradient(1px 1px at 85% 65%, #fff, transparent), radial-gradient(1px 1px at 10% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 45%, #33AD9C, transparent);
  background-size: 420px 420px; }
.nova__grid { width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.nova__points { list-style: none; margin-top: 34px; display: grid; gap: 14px; }
.nova__points li { display: flex; gap: 12px; font-weight: 600; color: rgba(255,255,255,.9); }
.nova__points span { color: var(--yellow); }
.chat {
  border-radius: 32px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2);
  overflow: hidden; display: flex; flex-direction: column; height: 560px;
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.chat__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; }
.chat__head strong { display: block; font-size: 16px; }
.chat__head span { font-size: 12.5px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 6px; }
.chat__head i { width: 7px; height: 7px; border-radius: 50%; background: #3BE37F; }
.chat__body { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }
.msg { max-width: 85%; padding: 12px 16px; border-radius: 20px; font-size: 14.5px; line-height: 1.5; animation: msgIn .5s var(--ease) both; white-space: pre-line; }
.msg--bot { align-self: flex-start; background: rgba(255,255,255,.12); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--orange); color: #fff; border-bottom-right-radius: 6px; }
.msg--typing { display: inline-flex; gap: 5px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); animation: dot 1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%,80%,100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat__suggest { display: flex; gap: 8px; padding: 0 22px 14px; flex-wrap: wrap; }
.chat__suggest button { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: 12.5px; font-weight: 600; transition: background .3s, border-color .3s; }
.chat__suggest button:hover { background: rgba(255,255,255,.14); border-color: var(--yellow); }
.chat__input { display: flex; gap: 10px; padding: 14px 16px 18px; border-top: 1px solid rgba(255,255,255,.12); }
.chat__input input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.18); color: #fff; font: 500 14.5px var(--f-body); outline: none; transition: border-color .3s; }
.chat__input input:focus { border-color: var(--orange); }
.chat__input input::placeholder { color: rgba(255,255,255,.45); }
.chat__input button { width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.chat__input button:hover { transform: rotate(-12deg) scale(1.06); }

/* ---------- Steps ---------- */
.steps__track { position: relative; max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps__line { position: absolute; top: 34px; left: 16%; right: 16%; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.steps__line span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--orange), var(--red), var(--purple)); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__dot { width: 70px; height: 70px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--orange); font: 800 28px/1 var(--f-head); color: var(--navy); box-shadow: 0 16px 30px -12px rgba(252,135,65,.6); position: relative; z-index: 1; }
.step h3 { font: 800 26px/1.1 var(--f-head); color: var(--navy); margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 300px; margin: 0 auto; }

/* ---------- Tutors ---------- */
.tutors { padding-right: 0; }
.tutor-rail { overflow: hidden; cursor: grab; padding: 20px 0 40px; margin-left: calc(var(--pad) * -1); padding-left: var(--pad); }
.tutor-rail.is-dragging { cursor: grabbing; }
.tutor-rail__track { display: flex; gap: 22px; width: max-content; will-change: transform; user-select: none; }
.tcard { position: relative; width: 270px; flex-shrink: 0; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 50px -28px rgba(3,33,95,.45); transform-style: preserve-3d; }
.tcard__img { aspect-ratio: 4/4.6; overflow: hidden; background: linear-gradient(160deg, var(--cream-2), #fff); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); pointer-events: none; }
.tcard:hover .tcard__img img { transform: scale(1.07); }
.tcard__info { padding: 16px 20px 20px; }
.tcard__info h3 { font: 800 21px/1.1 var(--f-head); color: var(--navy); }
.tcard__info p { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--orange); line-height: 1.35; }
.tcard__badge { position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; color: var(--teal); display: flex; gap: 5px; align-items: center; }

/* ---------- Reviews ---------- */
.reviews { padding-left: 0; padding-right: 0; }
.reviews .section-head { padding: 0 var(--pad); }
.reviews__score { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 15px; color: var(--navy); }
.reviews__score img { height: 22px; width: auto; }
.stars { color: #00B67A; letter-spacing: 2px; }
.marquee--reviews { padding: 12px 0; }
.marquee--reviews .marquee__track { gap: 22px; }
.rcard { width: 380px; flex-shrink: 0; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -28px rgba(3,33,95,.35); display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease); }
.rcard:hover { transform: translateY(-6px) rotate(-.6deg); }
.rcard__q { font: 400 64px/0.5 var(--f-serif); color: var(--orange); height: 22px; }
.rcard p { color: var(--ink); font-size: 15.5px; flex: 1; }
.rcard__who { display: flex; align-items: center; gap: 12px; }
.rcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 18px/1 var(--f-head); }
.rcard__who strong { display: block; color: var(--navy); font-size: 15px; }
.rcard__who span { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__grid .section-head { position: sticky; top: 130px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.qa { border-radius: 24px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(12px); transition: background .4s, box-shadow .4s; overflow: hidden; }
.qa.is-open { background: #fff; box-shadow: 0 24px 50px -30px rgba(252,135,65,.6); }
.qa__q { width: 100%; text-align: left; display: flex; align-items: center; gap: 18px; padding: 24px 26px; font: 700 18px/1.3 var(--f-body); color: var(--navy); }
.qa__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(252,135,65,.14); color: var(--orange); position: relative; transition: background .4s, transform .5s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon { background: var(--orange); color: #fff; transform: rotate(180deg); }
.qa.is-open .qa__icon::after { transform: rotate(0); }
.qa__a { height: 0; overflow: hidden; transition: height .55s var(--ease); }
.qa__a p { padding: 0 26px 26px 80px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 40px; }
.cta__title { font: 800 clamp(60px, 13vw, 210px)/.88 var(--f-head); letter-spacing: -.045em; color: var(--navy); }
.cta__title .serif { color: var(--navy); }
.cta { gap: 30px; padding-bottom: 0; min-height: auto; padding-top: clamp(120px, 14vw, 200px); }
.cta__note { font-size: 14px; font-weight: 600; color: var(--muted); }
.cta__img { width: min(1000px, 100%); margin-top: 10px; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }

/* ---------- Footer ---------- */
.footer { padding: 0 14px 14px; }
.footer__inner { background: var(--navy); color: #fff; border-radius: 48px; padding: clamp(50px, 7vw, 90px) var(--pad) 26px; overflow: hidden; position: relative; }
.footer__inner::before { content: ""; position: absolute; width: 700px; height: 700px; top: -350px; right: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(252,135,65,.28), transparent 65%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1.3fr .8fr 1fr 1.2fr; gap: clamp(24px, 3vw, 50px); }
.footer__logo { width: 190px; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.7); font-size: 14.5px; max-width: 280px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--orange); transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 17px; height: 17px; fill: #fff; }
.footer__col h4 { font: 800 18px/1 var(--f-head); margin-bottom: 18px; color: #fff; }
.footer__col h4.mt { margin-top: 30px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.78); }
.footer__col a:hover { color: var(--orange); }
.footer__contact li { display: flex; flex-direction: column; gap: 4px; }
.footer__contact .k { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-top: 6px; }
.footer__contact a { word-break: break-word; }
.footer__news p { font-size: 14.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.footer__news .btn { font-size: 13px; }
.footer__mail { color: var(--yellow); font-weight: 700; word-break: break-all; }
.footer__mega {
  position: relative; margin: clamp(50px, 7vw, 90px) 0 20px; text-align: center; white-space: nowrap; overflow: hidden;
  font: 800 clamp(40px, 11vw, 190px)/.95 var(--f-head); letter-spacing: -.035em;
  color: rgba(255,255,255,.08);
  background: linear-gradient(90deg, var(--red), var(--teal), var(--orange), var(--purple), var(--yellow)) no-repeat;
  background-size: 0% 100%; -webkit-background-clip: text; background-clip: text;
}
.footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: rgba(255,255,255,.65); }
.to-top:hover { color: var(--orange); }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 16px 34px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPing 2.2s infinite; }
@keyframes waPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal helpers (JS sets initial) ---------- */
.reveal-up { will-change: transform, opacity; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 20px; font-size: 14px; }
  .nav__ghost { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: span 3; }
}
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav .btn--sm { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 50px; }
  .hero__content { max-width: 640px; }
  .hero__visual { max-width: 500px; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .acard { grid-template-columns: 1fr; min-height: auto; top: 90px; }
  .acard--exam { top: 105px; } .acard--skill { top: 120px; }
  .acard__index { font-size: 64px; }
  .acard__art { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .nova__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .section-head { position: static; }
  .steps__track { grid-template-columns: 1fr; gap: 50px; }
  .steps__line { display: none; }
  .chat { height: 520px; }
}
@media (max-width: 640px) {
  .nav { height: 60px; top: 10px; }
  .nav__logo { height: 46px; width: 130px; }
  .nav__logo img { width: 148px; margin: -36px 0 0 -9px; }
  .hcard { padding: 10px 12px; font-size: 12px; }
  .hcard--progress { width: 190px; left: -2%; bottom: 12%; }
  .hcard--nova { left: -1%; top: 14%; max-width: 205px; }
  .classwin { inset: 4% 2% 10% 4%; }
  .hcard--progress { bottom: 16%; }
  .hcard--nova p { font-size: 12px; }
  .hcard--tutors { right: 0; bottom: -2%; }
  .hero__icon--1 { right: -6%; top: 32%; }
  .classwin__name { bottom: 58px; font-size: 11px; }
  .hero__trust img { height: 22px; }
  .btn { padding: 15px 22px; }
  .btn--xl { padding: 20px 30px; font-size: 17px; }
  .stats { gap: 12px; }
  .rcard { width: 300px; padding: 22px; }
  .tcard { width: 220px; }
  .qa__q { font-size: 16px; padding: 20px; }
  .qa__a p { padding: 0 20px 22px 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__news, .footer__col:nth-child(2) { grid-column: span 2; }
  .footer__inner { border-radius: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .spec__row { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* spacing tweaks */
.tutors { padding-bottom: clamp(40px, 5vw, 70px); }
.reviews { padding-top: clamp(60px, 7vw, 100px); }
