/* ============================================
   EduGPT.com — Marketing single page
   ============================================ */

:root {
  --bg: #070a14;
  --bg-elevated: #0e1424;
  --bg-soft: #f6f7fc;
  --bg-card: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --indigo: #6366f1;
  --indigo-deep: #4f46e5;
  --violet: #8b5cf6;
  --teal: #14b8a6;
  --teal-soft: #5eead4;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.25);
  --shadow-soft: 0 8px 30px -12px rgba(15, 23, 42, 0.12);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --nav-h: 72px;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Ambient orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s var(--ease) infinite alternate;
}
.orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(99,102,241,.55), transparent 70%);
  top: -80px; left: -60px;
}
.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(20,184,166,.4), transparent 70%);
  top: 40%; right: -100px;
  animation-delay: -6s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,.35), transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: -12s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(246, 247, 252, 0.72);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.86);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(15,23,42,.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  z-index: 2;
}
.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 36px; height: 36px; }
.logo-text span { color: var(--indigo); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.45rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(99,102,241,.65);
}
.btn-primary:hover {
  box-shadow: 0 14px 36px -10px rgba(99,102,241,.75);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.btn-ghost {
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); background: rgba(15,23,42,.04); }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(99,102,241,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(20,184,166,.12), transparent 50%),
    linear-gradient(180deg, #eef0ff 0%, var(--bg-soft) 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,.2);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,184,166,.35); }
  50% { box-shadow: 0 0 0 6px rgba(20,184,166,0); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 1.15rem;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--indigo-deep), var(--violet) 50%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--ink-muted);
  font-size: .92rem;
}
.hero-trust strong { color: var(--ink); }
.avatars {
  display: flex;
}
.avatars span {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-left: calc(var(--i) * -8px);
  background: linear-gradient(135deg, hsl(calc(230 + var(--i) * 25), 70%, 58%), hsl(calc(260 + var(--i) * 20), 65%, 50%));
}
.avatars span:first-child { margin-left: 0; }

/* Device mock */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.device-frame {
  background: linear-gradient(160deg, #1a1f35, #0b1020);
  border-radius: 22px;
  padding: 12px;
  box-shadow:
    0 40px 80px -30px rgba(15,23,42,.55),
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.1);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .device-frame {
  transform: rotateY(-2deg) rotateX(1deg);
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 12px;
}
.device-bar > span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3f465c;
}
.device-bar > span:nth-child(1) { background: #ff5f57; }
.device-bar > span:nth-child(2) { background: #febc2e; }
.device-bar > span:nth-child(3) { background: #28c840; }
.device-url {
  margin-left: auto;
  flex: 1;
  text-align: center;
  font-size: .7rem;
  color: #8b93ab;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: .35rem .6rem;
  max-width: 220px;
  margin-right: auto;
}
.lesson-ui {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  background: #11172a;
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
}
.lesson-sidebar {
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 1rem .75rem;
  color: #c5cbe0;
  font-size: .72rem;
}
.ui-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .62rem;
  color: #7b849e;
  margin-bottom: .75rem;
  font-weight: 600;
}
.path-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .5rem;
  border-radius: 10px;
  margin-bottom: .35rem;
  color: #9aa3bd;
}
.path-item.done { color: #5eead4; }
.path-item.active {
  background: rgba(99,102,241,.2);
  color: #e0e7ff;
  font-weight: 500;
}
.path-item .check,
.path-item .num {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .6rem;
  flex-shrink: 0;
}
.path-item .check { background: rgba(94,234,212,.2); }
.path-item .num {
  background: rgba(255,255,255,.08);
  color: #8b93ab;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 0 rgba(99,102,241,.6);
  animation: pulse 1.6s ease infinite;
  margin: 0 5px;
  flex-shrink: 0;
}
.lesson-main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.tutor-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #e8ecf8;
  margin-bottom: .25rem;
}
.tutor-row small {
  display: block;
  color: #8b93ab;
  font-size: .7rem;
}
.tutor-avatar {
  position: relative;
  width: 38px; height: 38px;
}
.tutor-face {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #14b8a6);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .95rem;
}
.tutor-avatar .online {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 10px; height: 10px;
  background: #22c55e;
  border: 2px solid #11172a;
  border-radius: 50%;
}
.chat-bubble {
  max-width: 92%;
  padding: .7rem .85rem;
  border-radius: 14px;
  font-size: .78rem;
  line-height: 1.45;
  color: #d5dbed;
}
.chat-bubble.tutor {
  background: rgba(99,102,241,.18);
  border: 1px solid rgba(99,102,241,.25);
  border-top-left-radius: 4px;
}
.chat-bubble.student {
  margin-left: auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-top-right-radius: 4px;
  color: #eef1fa;
}
.chat-bubble.success {
  background: rgba(20,184,166,.15);
  border-color: rgba(20,184,166,.3);
  color: #ccfbf1;
}
.lesson-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: .55rem .65rem;
  color: #6b738c;
  font-size: .75rem;
}
.lesson-input .send {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  padding: .75rem 1rem;
  box-shadow: var(--shadow);
  font-size: .85rem;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .9rem; }
.float-card small { color: var(--ink-muted); font-size: .75rem; }
.fc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
}
.float-1 { top: 12%; left: -8%; animation-delay: 0s; }
.float-2 { bottom: 14%; right: -6%; animation-delay: -2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Logo strip */
.logo-strip {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}
.strip-label {
  text-align: center;
  font-size: .85rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}
.strip-items span {
  padding: .45rem .95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}
.section-alt {
  background: linear-gradient(180deg, #fff 0%, #f3f5fb 100%);
}
.section-dark {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(600px 400px at 90% 80%, rgba(20,184,166,.15), transparent 50%),
    var(--bg);
  color: #e8ecf8;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head.light .eyebrow { color: var(--teal-soft); }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #a8b0c8; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: .75rem;
}
.eyebrow.light { color: var(--teal-soft); }
.section-head h2,
.parents-grid h2,
.cta-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: .85rem;
  color: var(--ink);
}
.section-head p,
.parents-grid .lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(99,102,241,.12);
  line-height: 1;
  margin-bottom: .5rem;
}
.step-icon {
  width: 48px; height: 48px;
  color: var(--indigo);
  margin-bottom: 1rem;
}
.step-icon svg { width: 48px; height: 48px; }
.step h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  letter-spacing: -0.02em;
}
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Feature bento */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.bento {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.bento:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bento-lg {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(99,102,241,.08), transparent 60%),
    #fff;
}
.bento-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(99,102,241,.1);
  padding: .3rem .65rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.bento h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: .55rem;
}
.bento p { color: var(--ink-soft); }
.check-list {
  margin-top: 1rem;
  display: grid;
  gap: .55rem;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .35rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(20,184,166,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230d9488' stroke-width='2'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list.light li { color: #c5cbe0; }
.check-list.light li::before {
  background: rgba(94,234,212,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235eead4' stroke-width='2'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center/12px no-repeat;
}

.plan-mock {
  background: linear-gradient(160deg, #0f172a, #1e1b4b);
  border-radius: 18px;
  padding: 1.25rem;
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.plan-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .75rem;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  margin-bottom: .5rem;
  font-size: .88rem;
}
.plan-row em {
  margin-left: auto;
  font-style: normal;
  color: #94a3b8;
  font-size: .8rem;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.indigo { background: #818cf8; }
.dot.teal { background: #2dd4bf; }
.dot.amber { background: #fbbf24; }
.dot.rose { background: #fb7185; }
.plan-bar {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  margin: 1rem 0 .5rem;
  overflow: hidden;
}
.plan-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--teal));
  border-radius: inherit;
}
.plan-mock small { color: #94a3b8; font-size: .78rem; }

.mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.mode {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  transition: .2s;
}
.mode.active,
.mode:hover {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  border-color: transparent;
}

/* Grades */
.grade-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.grade-tab {
  padding: .7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  transition: .2s;
}
.grade-tab:hover { color: var(--ink); }
.grade-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.grade-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  animation: fadeUp .4s var(--ease);
}
.grade-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.grade-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.grade-grid h3 {
  font-size: 1.4rem;
  margin-bottom: .5rem;
  letter-spacing: -0.02em;
}
.grade-grid > div > p {
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
}
.subject-chips span {
  padding: .65rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(20,184,166,.1));
  border: 1px solid rgba(99,102,241,.15);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}

/* Tutors */
.tutor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.tutor-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.tutor-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.tutor-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.tutor-badge.math { background: rgba(99,102,241,.2); color: #a5b4fc; }
.tutor-badge.ela { background: rgba(244,63,94,.15); color: #fda4af; }
.tutor-badge.sci { background: rgba(20,184,166,.15); color: #5eead4; }
.tutor-badge.hist { background: rgba(245,158,11,.15); color: #fcd34d; }
.tutor-orb {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.math-orb { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.ela-orb { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.sci-orb { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.hist-orb { background: linear-gradient(135deg, #f59e0b, #d97706); }
.tutor-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: .2rem;
}
.tutor-role {
  color: #8b93ab;
  font-size: .85rem;
  margin-bottom: .75rem;
}
.tutor-card > p:last-child {
  color: #b0b8d0;
  font-size: .92rem;
}

/* Parents */
.parents-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.parents-grid .lead {
  margin-bottom: 2rem;
  max-width: 34rem;
}
.parent-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.parent-stats > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}
.parent-stats strong {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--indigo-deep);
  letter-spacing: -0.03em;
}
.parent-stats span {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--indigo);
  margin-left: 2px;
}
.parent-stats small {
  display: block;
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--ink-muted);
  line-height: 1.35;
}
.fine-print {
  font-size: .75rem;
  color: var(--ink-muted);
}
.parent-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.parent-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.parent-card li {
  display: flex;
  gap: .9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.parent-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.parent-card li:first-child { padding-top: 0; }
.li-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.parent-card strong { display: block; margin-bottom: .15rem; }
.parent-card p { color: var(--ink-soft); font-size: .92rem; }

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
blockquote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
blockquote p {
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}
blockquote footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .88rem;
}
blockquote footer span { color: var(--ink-muted); }

/* CTA */
.cta-section { padding-top: 2rem; }
.cta-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(99,102,241,.35), transparent 55%),
    radial-gradient(500px 300px at 100% 100%, rgba(20,184,166,.2), transparent 50%),
    linear-gradient(145deg, #0f172a, #1e1b4b 60%, #0f172a);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #e8ecf8;
  box-shadow: 0 40px 80px -30px rgba(15,23,42,.5);
  border: 1px solid rgba(255,255,255,.08);
}
.cta-copy h2 { color: #fff; }
.cta-copy > p {
  color: #b0b8d0;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.cta-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: .75rem;
  backdrop-filter: blur(8px);
}
.cta-form input,
.cta-form select {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,23,42,.45);
  color: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cta-form input::placeholder { color: #8b93ab; }
.cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238b93ab' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.cta-form select option { color: #0f172a; background: #fff; }
.cta-form input:focus,
.cta-form select:focus {
  border-color: rgba(99,102,241,.7);
  box-shadow: 0 0 0 3px rgba(99,102,241,.25);
}
.form-note {
  font-size: .75rem;
  color: #8b93ab;
  text-align: center;
}
.form-success {
  background: rgba(20,184,166,.15);
  border: 1px solid rgba(94,234,212,.35);
  color: #ccfbf1;
  padding: .9rem 1rem;
  border-radius: 12px;
  font-size: .92rem;
  text-align: center;
}
.cta-form.submitted input,
.cta-form.submitted select,
.cta-form.submitted button { display: none; }
.cta-form.submitted .form-note { display: none; }
.cta-form.submitted .form-success { display: block; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: .75rem;
}
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: border-color .2s;
}
details[open] { border-color: rgba(99,102,241,.3); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--indigo);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
details[open] summary::after {
  content: "−";
}
details p {
  padding: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  color: #a8b0c8;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: .95rem;
  line-height: 1.6;
}
.footer .logo-text { color: #fff; }
.footer .logo-text span { color: #a5b4fc; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-cols h4 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-cols a {
  display: block;
  font-size: .92rem;
  margin-bottom: .55rem;
  color: #a8b0c8;
  transition: color .2s;
}
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .85rem;
}
.footer-tag {
  font-family: var(--display);
  font-style: italic;
  color: #8b93ab;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .bento-lg,
  .grade-grid,
  .parents-grid,
  .cta-card,
  .faq-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .tutor-grid { grid-template-columns: repeat(2, 1fr); }
  .device-frame { transform: none; }
  .hero-visual:hover .device-frame { transform: none; }
  .float-1 { left: 0; top: -8px; }
  .float-2 { right: 0; }
  .subject-chips { justify-content: flex-start; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .3s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 768px) {
  .steps,
  .feature-bento,
  .quotes,
  .parent-stats,
  .tutor-grid {
    grid-template-columns: 1fr;
  }
  .lesson-ui { grid-template-columns: 1fr; }
  .lesson-sidebar { display: none; }
  .hero { padding-top: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .float-card { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .orb, .float-card, .pill-dot, .pulse { animation: none; }
}
