/* ============================================================
   NextSelf — "Ascent" premium dark marketing site
   ============================================================ */

:root {
  --bg: #0B0B12;
  --bg-soft: #10101b;
  --ink: #F4F4FB;
  --ink-dim: #A9A8C4;
  --ink-faint: #6E6D8C;

  --violet: #8B7CFF;
  --indigo: #5B8DEF;
  --cyan: #3FE0C5;
  --mint: #4ADE9B;
  --gold: #FFD97A;
  --warn: #FFCB6B;

  --grad: linear-gradient(100deg, #8B7CFF 0%, #5B8DEF 50%, #3FE0C5 100%);
  --grad-soft: linear-gradient(120deg, rgba(139,124,255,.16), rgba(63,224,197,.16));

  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --glass: rgba(255,255,255,.035);
  --glass-2: rgba(255,255,255,.06);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.7);

  --maxw: 1160px;
  --ease: cubic-bezier(.16,1,.3,1);
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}

h1, h2, h3, h4, .nav__word {
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.03;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
b { font-weight: 700; }

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

/* ---------- Ambient aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .55;
  will-change: transform;
}
.aurora__blob--1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #8B7CFF, transparent 65%);
  top: -180px; left: -120px;
  animation: drift1 34s var(--ease) infinite alternate;
}
.aurora__blob--2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, #3FE0C5, transparent 65%);
  top: 30%; right: -160px;
  opacity: .4;
  animation: drift2 40s var(--ease) infinite alternate;
}
.aurora__blob--3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #5B8DEF, transparent 65%);
  bottom: -200px; left: 30%;
  opacity: .38;
  animation: drift3 46s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-100px, 60px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(80px, -90px) scale(1.2); } }

.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  opacity: .025;
  mix-blend-mode: overlay;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(91,141,239,.8);
  transition: width .1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: "Sora", sans-serif;
  font-weight: 600; font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { padding: 16px 30px; font-size: 16.5px; }
.btn--sm { padding: 9px 17px; font-size: 14px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #0a0a12; font-weight: 700;
  box-shadow: 0 10px 40px -8px rgba(91,141,239,.6), inset 0 0 0 1px rgba(255,255,255,.2);
}
.btn--primary:hover { box-shadow: 0 16px 50px -8px rgba(91,141,239,.85), inset 0 0 0 1px rgba(255,255,255,.35); }
.btn__glow {
  position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: sheen 6.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 65% { left: -120%; } 88%, 100% { left: 160%; } }

.btn--ghost {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,.28); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; gap: 22px;
  padding: 16px clamp(18px, 5vw, 44px);
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-top: 11px; padding-bottom: 11px;
  background: rgba(11,11,18,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(91,141,239,.5)); }
.nav__word { font-size: 20px; font-weight: 700; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 14.5px; color: var(--ink-dim); font-weight: 500;
  position: relative; transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

/* ---------- Reveal animation (slow, replays on re-entry) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1.5s var(--ease), transform 1.5s var(--ease);
  transition-delay: calc(var(--d, 0) * 150ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Layout ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 40px); }
.section__head { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section__head h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; }
.section__head p { color: var(--ink-dim); font-size: clamp(16px, 2vw, 19px); margin-top: 18px; }

.kicker, .eyebrow__dot ~ *, .eyebrow {
  font-family: "Sora", sans-serif;
}
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan);
  padding: 6px 14px; border-radius: 999px;
  background: rgba(63,224,197,.08); border: 1px solid rgba(63,224,197,.2);
  margin-bottom: 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px clamp(20px, 5vw, 44px) 60px; max-width: 1240px; margin: 0 auto; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; width: 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-dim);
  padding: 8px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); margin-bottom: 26px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 12px var(--mint); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero__title { font-size: clamp(46px, 8vw, 92px); font-weight: 800; letter-spacing: -0.045em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block; transform: translateY(110%);
  transition: transform 1.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 190ms);
}
.hero__title .line.is-in > span { transform: none; }
.line--grad > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__sub { color: var(--ink-dim); font-size: clamp(17px, 2.2vw, 20px); max-width: 480px; margin-top: 26px; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--ink-faint); font-size: 13.5px; }
.hero__trust span { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

/* Phone */
.hero__stage { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: min(310px, 74vw); aspect-ratio: 310 / 640;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #24243a, #0d0d16 60%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.14);
  animation: floaty 11s ease-in-out infinite;
  will-change: transform;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotateZ(0); } 50% { transform: translateY(-14px) rotateZ(-.4deg); } }
.phone__glow {
  position: absolute; inset: -30% -20% -10%; z-index: -1;
  background: radial-gradient(circle at 50% 40%, rgba(91,141,239,.4), transparent 65%);
  filter: blur(30px);
}
.phone__notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #05050a; border-radius: 999px; z-index: 3;
}
.phone__screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #16162a, #0a0a12 70%);
  border: 1px solid rgba(255,255,255,.05);
}
.app { height: 100%; padding: 40px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.app__top { display: flex; align-items: baseline; justify-content: space-between; }
.app__hi { font-family: "Sora"; font-weight: 700; font-size: 18px; }
.app__rank { font-size: 11px; color: var(--cyan); font-weight: 600;
  background: rgba(63,224,197,.1); padding: 4px 9px; border-radius: 999px; }

.ascent { position: relative; flex: 1; min-height: 210px; }
.ascent__svg { width: 100%; height: 100%; }
.ascent__track { stroke: rgba(255,255,255,.08); stroke-width: 3; stroke-linecap: round; }
.ascent__draw { stroke: url(#pathGrad); stroke-width: 3.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; }
.ascent__summit-label { position: absolute; top: 4px; right: 6px; font-size: 10.5px;
  color: var(--gold); font-weight: 600; font-family: "Sora"; }

.node { transform-box: fill-box; transform-origin: center; }
.node--done { fill: var(--indigo); }
.node--future { fill: rgba(255,255,255,.25); }
.node--summit { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(255,217,122,.9)); }
.node--current { fill: #fff; filter: drop-shadow(0 0 10px rgba(63,224,197,.9)); animation: nodePulse 3s infinite; }
@keyframes nodePulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .8; } }

.app__stats { display: flex; gap: 8px; }
.stat { flex: 1; background: var(--glass); border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 6px; text-align: center; }
.stat b { display: block; font-family: "Sora"; font-size: 16px; font-weight: 700; }
.stat span { font-size: 9.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }

.app__tasks { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.task { display: flex; align-items: center; gap: 10px; font-size: 12.5px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 11px; padding: 9px 11px; color: var(--ink-dim); }
.task__box { width: 16px; height: 16px; border-radius: 6px; border: 1.6px solid var(--line-2); flex-shrink: 0; position: relative; }
.task--done { color: var(--ink); }
.task--done .task__box { background: var(--grad); border-color: transparent; }
.task--done .task__box::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; color: #0a0a12; font-weight: 900; }
.task--live .task__box.is-checked { background: var(--grad); border-color: transparent; animation: pop .5s var(--ease); }
.task--live .task__box.is-checked::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; color: #0a0a12; font-weight: 900; }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* floating chips */
.chip {
  position: absolute; font-size: 13px; font-weight: 600; font-family: "Sora";
  padding: 9px 14px; border-radius: 14px;
  background: rgba(20,20,34,.7); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); box-shadow: 0 14px 40px -12px rgba(0,0,0,.7);
  white-space: nowrap;
}
.chip--a { top: 12%; left: -8%; animation: floaty 9s ease-in-out infinite; color: var(--warn); }
.chip--b { top: 44%; right: -12%; animation: floaty 11s ease-in-out .5s infinite; color: var(--violet); }
.chip--c { bottom: 12%; left: -4%; animation: floaty 10s ease-in-out 1s infinite; color: var(--mint); }

.hero__scrollcue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint);
}
.hero__scrollcue span { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent);
  animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; background: rgba(255,255,255,.015); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; align-items: center; gap: 34px; white-space: nowrap; width: max-content;
  animation: scroll 42s linear infinite; }
.marquee__row span { font-family: "Sora"; font-weight: 700; font-size: clamp(22px, 3vw, 34px);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); }
.marquee__row i { color: var(--cyan); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { max-width: 960px; margin: 0 auto; padding: clamp(70px, 12vh, 130px) clamp(20px, 5vw, 40px); text-align: center; }
.statement__text { font-family: "Sora"; font-weight: 600; font-size: clamp(24px, 4.4vw, 44px);
  line-height: 1.25; letter-spacing: -0.03em; }
.statement__text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.statement__text .word { display: inline-block; opacity: .16; transition: opacity .9s var(--ease); }
.statement__text .word.is-lit { opacity: 1; }

/* ============================================================
   FEATURE — THE PATH / CONSTELLATION
   ============================================================ */
.constellation { position: relative; max-width: 960px; margin: 0 auto;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 30px 56px; box-shadow: var(--shadow); overflow: hidden; }
.constellation::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 60% 20%, rgba(91,141,239,.12), transparent 70%);
}
.constellation__svg { width: 100%; height: auto; position: relative; }
.constellation__track { stroke: rgba(255,255,255,.07); stroke-width: 4; stroke-linecap: round; }
.constellation__draw { stroke: url(#bigGrad); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; }
.constellation__labels { position: relative; height: 24px; margin-top: 6px; }
.constellation__labels span { position: absolute; transform: translateX(-50%); font-size: 12.5px;
  color: var(--ink-faint); font-family: "Sora"; font-weight: 500; }
.constellation__labels .is-now { color: #fff; }
.constellation__labels .is-summit { color: var(--gold); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.step { position: relative; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 22px; transition: transform .4s var(--ease), border-color .4s, background .4s; }
.step:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--glass-2); }
.step__n { font-family: "Sora"; font-weight: 800; font-size: 15px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; margin: 14px 0 10px; font-weight: 700; }
.step p { color: var(--ink-dim); font-size: 15px; }

/* ============================================================
   FEATURES BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 30px 26px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,124,255,.14), transparent 65%);
  top: var(--my, -30%); left: var(--mx, 50%); transform: translate(-50%,-50%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--glass-2); }
.card:hover::after { opacity: 1; }
.card--wide { grid-column: span 2; background: var(--grad-soft); border-color: rgba(139,124,255,.25); }
.card--accent { border-color: rgba(74,222,155,.28); background: linear-gradient(120deg, rgba(74,222,155,.08), rgba(63,224,197,.05)); }
.card__icon { font-size: 26px; margin-bottom: 16px; filter: drop-shadow(0 0 12px rgba(91,141,239,.5)); }
.card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--ink-dim); font-size: 15px; }
.card--wide h3 { font-size: 25px; }

/* ============================================================
   CHALLENGES
   ============================================================ */
.challenge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.challenge {
  position: relative; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.challenge:hover { transform: translateY(-5px); border-color: var(--line-2); }
.challenge::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.challenge:hover::before { transform: scaleY(1); }
.challenge__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.challenge__tag { font-size: 11px; font-weight: 600; font-family: "Sora"; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; color: var(--violet); background: rgba(139,124,255,.12); }
.challenge__tag--focus { color: var(--indigo); background: rgba(91,141,239,.12); }
.challenge__tag--fit { color: var(--warn); background: rgba(255,203,107,.12); }
.challenge__tag--calm { color: var(--cyan); background: rgba(63,224,197,.12); }
.challenge__tag--build { color: var(--gold); background: rgba(255,217,122,.12); }
.challenge__len { font-size: 12px; color: var(--ink-faint); font-weight: 500; }
.challenge h3 { font-size: 21px; margin-bottom: 6px; }
.challenge p { color: var(--ink-dim); font-size: 14.5px; }
.challenge--build { background: var(--grad-soft); border-color: rgba(255,217,122,.22); border-style: dashed; }

/* ============================================================
   REST
   ============================================================ */
.rest__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center; }
.rest__copy h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; margin-bottom: 18px; }
.rest__copy > p { color: var(--ink-dim); font-size: 18px; margin-bottom: 26px; }
.rest__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.rest__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); }
.rest__list span { font-size: 18px; }

.restshop { background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow); }
.restshop__head { display: flex; justify-content: space-between; font-family: "Sora"; font-weight: 700;
  font-size: 18px; margin-bottom: 18px; }
.restshop__head span { color: var(--gold); font-size: 14px; background: rgba(255,217,122,.1);
  padding: 4px 12px; border-radius: 999px; }
.restpack { position: relative; display: flex; justify-content: space-between; align-items: center;
  padding: 15px 18px; border-radius: 14px; background: rgba(255,255,255,.03);
  border: 1px solid var(--line); margin-bottom: 10px; transition: transform .3s var(--ease), border-color .3s; }
.restpack:hover { transform: translateX(4px); border-color: var(--line-2); }
.restpack b { font-family: "Sora"; font-size: 16px; }
.restpack span { color: var(--ink-dim); font-size: 14px; }
.restpack--best { background: var(--grad-soft); border-color: rgba(63,224,197,.3); }
.restpack--best i { position: absolute; top: -9px; right: 14px; font-style: normal; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #0a0a12;
  background: var(--cyan); padding: 3px 8px; border-radius: 999px; }

/* ============================================================
   PRICING
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; max-width: 920px; margin: 0 auto; }
.plan { position: relative; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 28px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan h3 { font-size: 20px; margin-bottom: 14px; color: var(--ink-dim); font-weight: 600; }
.plan__price { font-family: "Sora"; font-weight: 800; font-size: 46px; letter-spacing: -0.04em; display: flex; align-items: baseline; }
.plan__price span { font-size: 24px; margin-right: 2px; color: var(--ink-dim); }
.plan__price i { font-style: normal; font-size: 16px; color: var(--ink-faint); font-weight: 500; margin-left: 6px; }
.plan__note { color: var(--ink-dim); font-size: 14.5px; margin: 12px 0 26px; flex: 1; }
.plan--featured { background: var(--grad-soft); border-color: rgba(91,141,239,.4);
  box-shadow: 0 30px 80px -30px rgba(91,141,239,.5); transform: scale(1.03); }
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: "Sora"; font-weight: 700; font-size: 11.5px; white-space: nowrap;
  background: var(--grad); color: #0a0a12; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 8px 24px -6px rgba(91,141,239,.7); }
.pricing__fine { text-align: center; color: var(--ink-faint); font-size: 14px; margin-top: 30px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 4px 24px; transition: border-color .3s, background .3s; }
.qa[open] { border-color: var(--line-2); background: var(--glass-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 18px 0; font-family: "Sora"; font-weight: 600; font-size: 17.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; background: var(--cyan);
  top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 2px; transition: transform .3s var(--ease); }
.qa__plus::before { width: 14px; height: 2px; }
.qa__plus::after { width: 2px; height: 14px; }
.qa[open] .qa__plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.qa p { color: var(--ink-dim); font-size: 15.5px; padding-bottom: 20px; max-width: 640px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { position: relative; padding: clamp(90px, 16vh, 180px) clamp(20px, 5vw, 40px); text-align: center; overflow: hidden; }
.finalcta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 50% 50%, rgba(91,141,239,.18), transparent 70%);
}
.finalcta__inner { max-width: 720px; margin: 0 auto; }
.finalcta h2 { font-size: clamp(34px, 7vw, 68px); font-weight: 800; letter-spacing: -0.04em; }
.finalcta p { color: var(--ink-dim); font-size: clamp(17px, 2.4vw, 20px); margin: 22px 0 34px; }
.finalcta__fine { font-family: "Sora"; color: var(--cyan); font-size: 15px; margin-top: 24px; letter-spacing: .03em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 60px clamp(20px, 5vw, 40px) 40px;
  border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer__brand .nav__word { font-size: 22px; }
.footer__brand p { color: var(--ink-faint); font-size: 15px; margin-top: 10px; max-width: 260px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint);
  margin-bottom: 14px; font-family: "Sora"; }
.footer__cols a { display: block; color: var(--ink-dim); font-size: 15px; margin-bottom: 9px; transition: color .25s; }
.footer__cols a:hover { color: var(--ink); }
.footer__copy { grid-column: 1 / -1; text-align: center; color: var(--ink-faint); font-size: 13.5px;
  padding-top: 30px; margin-top: 20px; border-top: 1px solid var(--line); }

/* ============================================================
   RESPONSIVE — scales fluidly from phones to ultrawide monitors
   ============================================================ */

/* Large desktops / iMac-class displays */
@media (min-width: 1500px) {
  :root { --maxw: 1320px; }
  body { font-size: 18px; }
  .hero { max-width: 1360px; }
}

/* 4K / ultrawide — widen the shell and lift base type so the
   layout fills the screen instead of stranding empty gutters */
@media (min-width: 1920px) {
  :root { --maxw: 1480px; }
  body { font-size: 19px; }
  .hero { max-width: 1520px; }
  .section__head { max-width: 820px; }
}
@media (min-width: 2560px) {
  :root { --maxw: 1640px; }
  body { font-size: 20px; }
  .hero { max-width: 1680px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero__copy { text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__scrollcue { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
  .rest__inner { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 420px; }
  .plan--featured { transform: scale(1); }
  .plan--featured:hover { transform: translateY(-6px); }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .chip--a { left: 0; } .chip--b { right: -4%; } .chip--c { left: 2%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__title .line > span { transform: none !important; }
}
