:root {
  --bg: #07070d;
  --bg-soft: #0c0c16;
  --card: #101019;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f8;
  --muted: #9b9bb2;
  --accent: #8b74ff;
  --accent-2: #3ee0f2;
  --grad: linear-gradient(115deg, #8b74ff 0%, #3ee0f2 100%);
  --radius: 18px;
  --max: 1120px;
}

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

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

body {
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(139, 116, 255, 0.16), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::selection { background: rgba(139, 116, 255, 0.35); color: #fff; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn--lg { padding: 14px 28px; font-size: 15px; }

.btn--primary {
  background: var(--grad);
  color: #08080f;
  box-shadow: 0 8px 28px -12px rgba(124, 92, 255, 0.85);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(124, 92, 255, 0.95); }

.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--text); }

.btn--outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--outline:hover { border-color: var(--accent); background: rgba(124, 92, 255, 0.1); }

/* ---------- GlowCursor overlay ---------- */
.glow-cursor-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 14px;
}

/* Floating glass menu (React Bits <GlassSurface />) */
.nav__glass {
  width: 100%;
  height: 64px;
  color-scheme: dark;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: 100%;
  padding: 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--grad);
  color: #08080f;
  font-size: 17px;
  font-weight: 800;
}

.brand__name { font-size: 17px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav__links a {
  position: relative;
  transition: color 0.16s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 108px;
  text-align: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(139, 116, 255, 0.34), rgba(62, 224, 242, 0.08) 46%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: glowPulse 9s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.hero__inner { position: relative; z-index: 1; }

/* ---------- LightTunnel background ---------- */
.hero__tunnel {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Fade the effect out towards the bottom so copy stays readable. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}

.light-tunnel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.light-tunnel-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}


.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(62, 224, 242, 0.28);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #d8f8fd;
  background: linear-gradient(180deg, rgba(62, 224, 242, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 24px -12px rgba(62, 224, 242, 0.8);
  margin-bottom: 26px;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.04); }
}

.hero__title {
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}

/* Static headline with React Bits <TrueFocus /> word brackets */
.hero__title--focus {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
}

.hero__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 0.26em;
}

.hero__focus-word {
  display: inline-block;
  white-space: nowrap;
}

.hero__title--focus .focus-frame {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.115rem);
}

.hero__sub p {
  margin: 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.specular-button.is-primary {
  background: linear-gradient(180deg, rgba(139, 116, 255, 0.22), rgba(62, 224, 242, 0.08));
  box-shadow: 0 18px 40px -22px rgba(139, 116, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.specular-button.is-quiet {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.specular-button.is-primary:hover,
.specular-button.is-quiet:hover { transform: translateY(-2px); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 36px auto 0;
  padding: 8px;
  width: fit-content;
  max-width: 100%;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  padding: 14px 28px;
  border-radius: 16px;
}

.hero__stats li + li { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.06); }

.hero__stats strong {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats span { font-size: 13px; color: var(--muted); }

.today {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(560px, 100%);
  margin: 28px auto 0;
  padding: 10px 12px 10px 10px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(139, 116, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(139, 116, 255, 0.16), rgba(62, 224, 242, 0.06)),
    rgba(8, 8, 14, 0.55);
  box-shadow: 0 18px 40px -28px rgba(139, 116, 255, 0.9);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.today:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 116, 255, 0.55);
}

.today__streak {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 64px;
  height: 48px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #071016;
  background: var(--grad);
}

.today__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.today__copy strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.today__copy em {
  margin-top: 3px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.today__go {
  margin-left: auto;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: #d8fbff;
  transition: transform 0.22s ease;
}

.today:hover .today__go { transform: translateX(3px); }

.card:focus-visible,
.today:focus-visible {
  outline: 2px solid rgba(139, 116, 255, 0.85);
  outline-offset: 3px;
}

section[id],
#start,
#join { scroll-margin-top: 96px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee span {
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.marquee span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 28px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(139, 116, 255, 0.8);
  vertical-align: 2px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }

.section--lift {
  position: relative;
}

.section--lift::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 280px;
  background: radial-gradient(520px 180px at 50% 0, rgba(139, 116, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.section--how {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 28%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  border: 1px solid rgba(62, 224, 242, 0.28);
  background: rgba(62, 224, 242, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8fbff;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.section__head h2,
.features__copy h2,
.cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section__head p { margin-top: 14px; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  --tone: #8b74ff;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  background:
    radial-gradient(140px 90px at 18% 0%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.card[data-tone="violet"] { --tone: #8b74ff; }
.card[data-tone="cyan"] { --tone: #3ee0f2; }
.card[data-tone="pink"] { --tone: #f472b6; }
.card[data-tone="amber"] { --tone: #fbbf24; }
.card[data-tone="green"] { --tone: #34d399; }
.card[data-tone="blue"] { --tone: #60a5fa; }

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.09), transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tone) 70%, white), transparent);
  opacity: 0.35;
  transition: opacity 0.28s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tone) 65%, transparent);
  box-shadow:
    0 28px 60px -28px color-mix(in srgb, var(--tone) 90%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--tone) 25%, transparent);
}

.card:hover::before { transform: translateX(130%); }
.card:hover::after { opacity: 1; }

.card > * { position: relative; z-index: 1; }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 32%, transparent);
}

.card__icon svg { width: 20px; height: 20px; }

.card__arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  border: 1px solid transparent;
  transform: translateX(-4px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.card:hover .card__arrow {
  opacity: 1;
  transform: none;
  color: var(--text);
  border-color: var(--border);
}

.card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.015em; }

.card p { margin-top: 8px; font-size: 14px; color: var(--muted); flex: 1; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.card__meta {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in srgb, var(--tone) 72%, white);
  background: color-mix(in srgb, var(--tone) 12%, transparent);
  letter-spacing: 0.01em;
}

.card__go {
  font-size: 13px;
  font-weight: 700;
  color: var(--tone);
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.card:hover .card__go { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
}

.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 46%), var(--card);
  overflow: hidden;
}

.step:hover { border-color: var(--border-strong); }

.step__num {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #061016;
  background: var(--grad);
}

.step h3 { font-size: 1.05rem; font-weight: 700; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.features__copy p { margin-top: 16px; color: var(--muted); }

.checks {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.5);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 5px;
  height: 9px;
  border: solid #34d399;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.features__panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(280px 140px at 80% 0%, rgba(62, 224, 242, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(139, 116, 255, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 60px -36px rgba(139, 116, 255, 0.7);
}

.panel__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.panel__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 600;
}

.panel__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
}

.mini {
  background: #0b0b14;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.mini__head { display: flex; gap: 6px; margin-bottom: 18px; }

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.mini__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mini__row .bar {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: center;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.mini__row .bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 4px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(139, 116, 255, 0.55);
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.features__panel.is-visible .mini__row .bar::after { width: var(--w); }

.mini__row em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  grid-row: 1;
}

.mini__row b {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  grid-row: 1;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.faq__item:hover { border-color: var(--border-strong); }

.faq__item[open] {
  border-color: rgba(139, 116, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(139, 116, 255, 0.1), transparent 42%),
    var(--card);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta { padding: 72px 0 96px; }

.cta__inner {
  position: relative;
  text-align: center;
  padding: 78px 32px;
  border: 1px solid rgba(139, 116, 255, 0.28);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 116, 255, 0.34), transparent 55%),
    radial-gradient(circle at 85% 120%, rgba(62, 224, 242, 0.2), transparent 48%),
    linear-gradient(120deg, rgba(139, 116, 255, 0.16), rgba(62, 224, 242, 0.08), rgba(139, 116, 255, 0.16));
  background-size: auto, auto, 200% 200%;
  animation: ctaShift 8s ease-in-out infinite;
  box-shadow: 0 30px 80px -40px rgba(139, 116, 255, 0.85);
}

@keyframes ctaShift {
  0%, 100% { background-position: 0% 0%, 0% 0%, 0% 50%; }
  50% { background-position: 0% 0%, 0% 0%, 100% 50%; }
}

.cta__inner::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.cta p { margin: 12px 0 28px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__note { font-size: 14px; color: var(--muted); }

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.34);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Page hero (compact, for sub-pages like JEE/NEET) ---------- */
.page-hero { padding: 128px 0 56px; }
.page-hero__title {
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 20px auto 0; /* center inside the centered hero */
  max-width: 720px;
}
.page-hero .hero__sub { max-width: 620px; }
.page-hero .hero__cta { margin-top: 28px; }

/* ---------- Batch pages (PW) ---------- */
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 2px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.chip b {
  color: color-mix(in srgb, var(--tone) 72%, white);
  font-weight: 600;
}

.fineprint {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.75;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .features { grid-template-columns: 1fr; gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* The glass surface clips its own visuals; let the mobile dropdown escape. */
  #navGlass { overflow: visible; }

  .nav__links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #090910;
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    font-size: 15px;
  }

  .nav__links a { padding: 11px 0; width: 100%; }

  .nav.is-open .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__toggle { display: flex; }
  .nav__actions .nav__ghost { display: none; }

  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 132px 0 80px; }
  .hero__stats { width: 100%; gap: 8px; margin-top: 48px; }
  .hero__stats li { min-width: 0; flex: 1; padding: 12px 16px; }
  .hero__stats li + li { box-shadow: none; }
  .today { width: 100%; }
  .section { padding: 68px 0; }
  .steps { grid-template-columns: 1fr; }
  .nav__links a::after { display: none; }
}

@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
  .cta__inner { padding: 48px 22px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .today { gap: 12px; flex-wrap: wrap; }
  .today__go { margin-left: 0; }
  .today__copy em { white-space: normal; }
  .card__foot { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track,
  .cta__inner,
  .hero__glow,
  .pill__dot { animation: none; }
  .mini__row .bar::after { width: var(--w); }
}
