/* ==========================================================================
   Vroomly Lifetime — styles
   Design system: dark mode, near-black base (#0A0A0F), electric blue + violet
   accents, glow gradients, soft glass surfaces. No external requests.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-var-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #0A0A0F;
  --surface: #1A1A1F;
  --surface-2: #1E1E24;
  --surface-3: #26262C;
  --surface-4: #2A2A30;

  --blue: #3B82F6;
  --blue-2: #4F7FFF;
  --violet: #7C6FF0;
  --violet-2: #9B8AFB;
  --coral: #FF8C69;
  --green: #3DDC84;
  --danger: #FF7B7B;

  --text: #F5F5F7;
  --text-2: #9B9BA3;
  --text-3: #8A8A93;

  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);

  --radius: 20px;
  --radius-lg: 28px;
  --nav-h: 68px;

  --font-display: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.has-splash:not(.splash-done) { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; -webkit-tap-highlight-color: transparent;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--violet-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 650; color: var(--text); }

:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--surface-3); color: #fff; padding: 10px 14px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Ambient background ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 620px at 82% -6%, rgba(59, 100, 246, .22), transparent 62%),
    radial-gradient(820px 620px at 4% 12%, rgba(124, 111, 240, .15), transparent 62%),
    radial-gradient(1300px 800px at 50% 112%, rgba(42, 27, 92, .38), transparent 60%),
    var(--bg);
}
.page-bg::after { /* fine grain: hides gradient banding on dark surfaces */
  content: ''; position: absolute; inset: 0; opacity: .06;
  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='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Logo lockup (wordmark + shine + ∞ light orbit) ---------- */
.logo-lockup { position: relative; display: inline-block; width: var(--w, 140px); line-height: 0; flex: none; }
.logo-sm { --w: 124px; }
.logo-md { --w: min(280px, 70vw); }
.logo-xl { --w: min(600px, 84vw); }
.logo-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(110, 120, 255, .28)); }

.logo-shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../img/wordmark.webp") center / 100% 100% no-repeat;
          mask: url("../img/wordmark.webp") center / 100% 100% no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat;
  animation: shine 6s ease-in-out 1.4s infinite;
}
@keyframes shine { 0% { background-position: 130% 0; } 40%, 100% { background-position: -30% 0; } }

.logo-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 5px rgba(150, 185, 255, .95)) drop-shadow(0 0 16px rgba(124, 111, 240, .85)); }
.logo-orbit path { fill: none; stroke-linecap: round; stroke-linejoin: round; animation: orbit 5.2s linear infinite; }
.logo-orbit .o-g2 { stroke: rgba(150, 130, 255, .4); stroke-width: 23; stroke-dasharray: .26 .24; animation-name: orbit-g2; }
.logo-orbit .o-g1 { stroke: rgba(160, 195, 255, .85); stroke-width: 15; stroke-dasharray: .18 .32; animation-name: orbit-g1; }
.logo-orbit .o-c  { stroke: #fff; stroke-width: 6; stroke-dasharray: .1 .4; animation-name: orbit-c; }
@keyframes orbit-g2 { from { stroke-dashoffset: .16; } to { stroke-dashoffset: -.34; } }
@keyframes orbit-g1 { from { stroke-dashoffset: .08; } to { stroke-dashoffset: -.42; } }
@keyframes orbit-c  { from { stroke-dashoffset: 0; }   to { stroke-dashoffset: -.5; } }

/* Intro variant: wipe-in, then the light runs the loop */
.is-intro .logo-img {
  -webkit-mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
          mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: logo-in 1.15s var(--ease) .2s both;
}
.is-intro .logo-shine { animation-delay: 1.6s; animation-iteration-count: 1; animation-duration: 1.3s; }
.is-intro .logo-orbit { opacity: 0; animation: fade-in .3s ease .9s forwards; }
.is-intro .logo-orbit path { animation-duration: 1.5s; }
@keyframes logo-in {
  from { opacity: 0; transform: scale(.94); filter: blur(12px) drop-shadow(0 0 22px rgba(110, 120, 255, .28)); -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { opacity: 1; transform: none;       filter: blur(0) drop-shadow(0 0 22px rgba(110, 120, 255, .28));   -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}
@keyframes fade-in { to { opacity: 1; } }

/* ---------- Splash ---------- */
.splash { display: none; }
.has-splash .splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--bg); cursor: pointer;
  animation: splash-out .85s cubic-bezier(.7, 0, .2, 1) 2.55s forwards;
}
.splash.is-skipping { animation: splash-out .45s ease forwards; }
.splash-glow {
  position: absolute; inset: 0; margin: auto; width: min(900px, 120vw); height: min(900px, 120vw); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(79, 110, 255, .30), rgba(124, 111, 240, .12) 40%, transparent 68%);
  animation: splash-glow 2.6s ease both;
}
.splash-tag { position: relative; color: var(--text-2); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: fade-up .8s var(--ease) 1.2s forwards; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
@keyframes splash-glow { from { opacity: 0; transform: scale(.6); } 60% { opacity: 1; } to { opacity: .8; transform: scale(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons / pills ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 40%, var(--violet) 100%);
  box-shadow: 0 10px 30px -10px rgba(79, 127, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::after { /* hover sheen */
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(79, 127, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; filter: saturate(.5); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border-color: var(--line-strong); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); }
.btn-sm { min-height: 42px; padding: 0 18px; border-radius: 12px; font-size: .95rem; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600; letter-spacing: .02em; color: #C9D6FF;
  background: rgba(79, 127, 255, .1); border: 1px solid rgba(110, 140, 255, .28);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2.2s ease infinite; }
.eyebrow-sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 14px; }
.text-grad {
  background: linear-gradient(100deg, #7FA8FF 0%, #9B8AFB 50%, #C9B8FF 75%, #7FA8FF 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: grad-move 9s ease-in-out infinite alternate;
}
@keyframes grad-move { to { background-position: 100% 0; } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(10, 10, 15, .86); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: inline-flex; text-decoration: none; }
.nav-links { display: flex; gap: 30px; margin-left: auto; margin-right: 8px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ---------- Reveal-on-scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* Failsafe: a script error must never leave content hidden or the page locked */
.js-error .reveal { opacity: 1 !important; transform: none !important; }
.js-error .splash { display: none !important; }
html.js-error.has-splash:not(.splash-done) { overflow: auto; }
.splash-done .splash { pointer-events: none; }
/* Opened straight from disk (file://): browsers block URL masks there, so skip the masked shine. */
.no-mask .logo-shine { display: none; }

/* ---------- Hero ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-head { max-width: 860px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2, .apply-intro h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }

.hero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 5vw, 64px)) 0 clamp(40px, 6vw, 80px); overflow: clip; }
.aurora { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.aurora i:nth-child(1) { width: 560px; height: 560px; right: -8%; top: -6%; background: #2F59E6; animation: drift 19s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 480px; height: 480px; left: -10%; top: 30%; background: #5B3FD0; opacity: .38; animation: drift 24s ease-in-out -6s infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 50px, 0) scale(1.12); } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: clamp(2.7rem, 1.6rem + 4.3vw, 4.7rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.lead { font-size: clamp(1.05rem, .98rem + .5vw, 1.28rem); color: var(--text-2); max-width: 36em; line-height: 1.6; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--text-2); font-size: .93rem; }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust .ico { color: var(--violet-2); }

.hero-art { position: relative; justify-self: center; width: min(500px, 100%); aspect-ratio: 960 / 1180; }
.art-halo { position: absolute; inset: 6% -6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(86, 110, 255, .5), rgba(124, 111, 240, .18) 55%, transparent 80%); filter: blur(30px); animation: halo 7s ease-in-out infinite alternate; }
@keyframes halo { to { transform: scale(1.08); opacity: .8; } }
.art-otter {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-composite: intersect;
  will-change: transform;
}
.float-card {
  position: absolute; z-index: 2; display: grid; gap: 3px; padding: 14px 18px; border-radius: 18px;
  background: rgba(26, 26, 31, .74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(79, 127, 255, .5);
  animation: float 6.5s ease-in-out infinite alternate;
}
.fc-value { left: -12%; top: 10%; }
.fc-request { right: -4%; bottom: 16%; min-width: 200px; animation-delay: -3s; animation-duration: 7.5s; }
@keyframes float { to { transform: translateY(-14px); } }
.fc-label { font-size: .78rem; color: var(--text-3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fc-price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; display: flex; align-items: baseline; gap: 10px; }
.fc-price s { font-size: .95rem; font-weight: 600; color: var(--text-3); text-decoration-thickness: 2px; }
.fc-price b { background: linear-gradient(120deg, #7FA8FF, #3DDC84); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.fc-sub { font-size: .85rem; color: var(--text-2); }
.fc-badge { justify-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); background: rgba(255, 140, 105, .12); padding: 3px 9px; border-radius: 999px; }
.fc-title { font-weight: 650; }
.fc-btn { margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; font-weight: 650; color: #fff; padding: 8px 12px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--violet)); }

/* ---------- Stats ---------- */
.stats { padding-block: clamp(8px, 2vw, 24px) clamp(32px, 5vw, 56px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  position: relative; padding: 30px 28px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 40, 96, .5), rgba(30, 30, 36, .6) 60%);
  border: 1px solid var(--line);
}
.stat::after { content: ''; position: absolute; right: 0; top: 14%; bottom: 14%; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue-2), var(--violet-2), var(--coral)); opacity: .85; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -.04em; background: linear-gradient(120deg, #fff 30%, #9BB6FF); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat-arrow { margin: 0 .12em; opacity: .6; font-weight: 600; }
.stat-inf-img { display: inline-block; width: 1.55em; height: auto; vertical-align: -.04em; -webkit-text-fill-color: initial; filter: drop-shadow(0 0 14px rgba(120, 140, 255, .55)); }
.stat p { margin-top: 12px; color: var(--text-2); font-size: .98rem; max-width: 22em; }

/* ---------- Showcase (marquee + features) ---------- */
.showcase { padding-top: clamp(48px, 7vw, 96px); overflow: clip; }
.marquee { position: relative; overflow-x: auto; padding: 34px 0 44px; scroll-snap-type: x proximity; scrollbar-width: none; }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; width: max-content; padding-inline: 20px; }
.marquee-track li {
  flex: none; width: clamp(180px, 20vw, 262px); margin-right: clamp(14px, 2vw, 26px);
  border-radius: 26px; overflow: hidden; scroll-snap-align: center;
  border: 1px solid var(--line-strong); background: var(--surface);
  box-shadow: 0 34px 60px -30px rgba(70, 100, 255, .55), 0 0 0 1px rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.marquee-track li:nth-child(even) { transform: translateY(26px); }
.marquee-track li:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 44px 80px -30px rgba(110, 130, 255, .8); }
.marquee-track img { display: block; width: 100%; aspect-ratio: 640 / 1388; object-fit: cover; }
.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.is-marquee .marquee-track { animation: marquee var(--marquee-dur, 70s) linear infinite; }
.is-marquee:hover .marquee-track, .is-marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(24px, 4vw, 48px); }
.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(145deg, rgba(30, 30, 36, .9), rgba(22, 22, 27, .8));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { border-color: rgba(110, 140, 255, .4); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(79, 127, 255, .5); }
.feature-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, rgba(59, 130, 246, .9), rgba(124, 111, 240, .9)); box-shadow: 0 10px 24px -10px rgba(79, 127, 255, .9); }
.feature-ico .ico { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.feature p { color: var(--text-2); font-size: .98rem; }

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step-card:not(:last-child)::after { /* connector: badge → next badge */
  content: ''; position: absolute; z-index: 2; top: 51px; left: 86px; width: calc(100% - 50px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(79, 127, 255, .9), rgba(155, 138, 251, .5));
  transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease);
}
.steps.is-in .step-card:nth-child(1)::after { transform: scaleX(1); transition-delay: .5s; }
.steps.is-in .step-card:nth-child(2)::after { transform: scaleX(1); transition-delay: 1s; }
.steps.is-in .step-card:nth-child(3)::after { transform: scaleX(1); transition-delay: 1.5s; }
.step-card { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #16161B; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 20px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 0 6px var(--bg), 0 0 30px -4px rgba(79, 127, 255, .8); }
.step-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-2); font-size: .96rem; }

/* ---------- Fit ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-card { padding: 34px; }
.fit-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 750; margin-bottom: 22px; }
.fit-card h3 .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; stroke-width: 2.4; }
.fit-yes { border-color: rgba(61, 220, 132, .28); background: linear-gradient(145deg, rgba(20, 50, 40, .55), rgba(22, 22, 27, .85) 60%); }
.fit-yes h3 .ico { color: #0A0A0F; background: var(--green); }
.fit-no { border-color: rgba(255, 140, 105, .22); }
.fit-no h3 .ico { color: #0A0A0F; background: var(--coral); }
.fit-card li { position: relative; padding-left: 28px; margin-top: 14px; color: var(--text-2); }
.fit-card li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; }
.fit-yes li::before { background: var(--green); box-shadow: 0 0 12px rgba(61, 220, 132, .7); }
.fit-no li::before { background: var(--coral); opacity: .8; }

/* ---------- Apply / form ---------- */
.apply-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.apply-intro { position: sticky; top: calc(var(--nav-h) + 28px); }
.apply-intro h2 { margin-bottom: 18px; }
.lead-sm { color: var(--text-2); font-size: 1.1rem; max-width: 30em; }
.check-list { display: grid; gap: 18px; margin-top: 32px; }
.check-list li { display: flex; gap: 14px; color: var(--text-2); font-size: .98rem; }
.check-list .ico { width: 26px; height: 26px; margin-top: 2px; color: var(--violet-2); }
.spots-badge { display: inline-block; margin-top: 28px; padding: 8px 16px; border-radius: 999px; font-weight: 650; font-size: .92rem; color: #C9D6FF; background: rgba(79, 127, 255, .12); border: 1px solid rgba(110, 140, 255, .3); }

.form-card {
  position: relative; padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, rgba(32, 32, 40, .95), rgba(21, 21, 27, .95) 55%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -40px rgba(60, 90, 255, .5), 0 0 0 1px rgba(0, 0, 0, .5);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.form-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(110, 140, 255, .55), transparent 35%, transparent 65%, rgba(155, 138, 251, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; }
.form-card::after { content: ''; position: absolute; right: 0; top: 12%; bottom: 12%; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue-2), var(--violet-2), var(--coral)); opacity: .9; }

.progress { margin-bottom: 30px; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: .85rem; font-weight: 600; color: var(--text-3); }
.progress-label span:last-child { color: var(--text); }
.progress-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.progress-bars i { position: relative; height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.progress-bars i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-2), var(--violet-2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.progress-bars i.is-done::after, .progress-bars i.is-active::after { transform: scaleX(1); }
.progress-bars i.is-active::after { box-shadow: 0 0 14px rgba(110, 140, 255, .9); }

.step { animation: step-in .55s var(--ease) both; }
.step.is-back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.step-title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); font-weight: 800; letter-spacing: -.03em; outline: none; }
.step-sub { color: var(--text-2); margin: 6px 0 26px; font-size: .98rem; }

.field { display: block; min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; padding: 0; margin-bottom: 10px; font-size: .95rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.opt { margin-left: 6px; font-weight: 500; font-size: .8rem; color: var(--text-3); }
.hint { margin-top: 8px; font-size: .85rem; color: var(--text-3); line-height: 1.45; }
.field-error { min-height: 0; margin-top: 8px; font-size: .86rem; font-weight: 550; color: var(--danger); }
.field-error:empty { display: none; }

.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  display: block; width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px;
  color: var(--text); font-size: 16px; /* 16px stops iOS zoom-on-focus */ line-height: 1.4;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line-strong);
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239B9BA3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option, .field select optgroup { background: #1E1E24; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: .8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .24); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); background: rgba(79, 127, 255, .06); box-shadow: 0 0 0 4px rgba(79, 127, 255, .2); }
.field.has-error input[type="text"], .field.has-error input[type="email"], .field.has-error select, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 123, 123, .14); }
.counter { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: .82rem; color: var(--text-3); }
.counter .hint { margin: 0; }
.subfield { margin: 14px 0 0; }

/* Option cards (single choice, big targets) */
.options { display: grid; gap: 10px; }
.options-2 { grid-template-columns: 1fr 1fr; }
.options-2 .option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.option { display: block; cursor: pointer; }
.option input, .chip input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.option-body {
  position: relative; display: grid; gap: 2px; min-height: 56px; align-content: center; padding: 12px 52px 12px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-strong);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease);
}
.option-body b { font-weight: 600; font-size: 1rem; }
.option-body small { font-size: .85rem; color: var(--text-3); }
.option-body::before { content: ''; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); transition: border-color .2s, background .2s; }
.option-body::after { content: ''; position: absolute; right: 25px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .25s var(--ease); }
.option:hover .option-body { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.option input:checked + .option-body { border-color: var(--blue-2); background: linear-gradient(135deg, rgba(59, 130, 246, .16), rgba(124, 111, 240, .12)); box-shadow: 0 0 0 1px rgba(79, 127, 255, .5), 0 12px 30px -16px rgba(79, 127, 255, .8); }
.option input:checked + .option-body::before { border-color: var(--blue-2); background: linear-gradient(135deg, var(--blue), var(--violet)); }
.option input:checked + .option-body::after { transform: scale(1); }
.option input:focus-visible + .option-body, .chip input:focus-visible + span, .check input:focus-visible + .check-box { outline: 2px solid var(--blue-2); outline-offset: 3px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-size: .96rem; font-weight: 550; color: var(--text-2); background: rgba(255, 255, 255, .045); border: 1px solid var(--line-strong); transition: all .2s var(--ease); -webkit-user-select: none; user-select: none; }
.chip:hover span { border-color: rgba(255, 255, 255, .3); color: #fff; }
.chip input:checked + span { color: #fff; border-color: var(--blue-2); background: linear-gradient(135deg, rgba(59, 130, 246, .35), rgba(124, 111, 240, .3)); box-shadow: 0 8px 22px -10px rgba(79, 127, 255, .9); transform: translateY(-1px); }

/* Checkboxes */
.field label.check { position: relative; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; margin: 0 0 14px; font-weight: 450; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.check-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); transition: all .2s var(--ease); }
.check-box .ico { width: 15px; height: 15px; stroke-width: 3; color: #fff; transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked + .check-box { border-color: var(--blue-2); background: linear-gradient(135deg, var(--blue), var(--violet)); }
.check input:checked + .check-box .ico { transform: scale(1); }
.check:hover .check-box { border-color: rgba(255, 255, 255, .5); }

/* Notices */
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 14px; font-size: .92rem; line-height: 1.5; color: #FFD9CC; background: rgba(255, 140, 105, .1); border: 1px solid rgba(255, 140, 105, .35); animation: fade-up .4s var(--ease) both; }
.notice .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--coral); }
.notice-warn { margin: 0 0 20px; }

.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 0; margin-top: 4px; font-size: .92rem; color: var(--danger); font-weight: 550; }
.form-status:empty { display: none; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.form-actions .btn { min-width: 150px; }
.form-actions #btn-next, .form-actions #btn-submit { flex: 1 1 auto; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.success { display: grid; justify-items: center; gap: 18px; padding: clamp(10px, 3vw, 30px) 0; text-align: center; outline: none; }
.success-mark { position: relative; width: 112px; height: 112px; }
.success-mark::before { content: ''; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 220, 132, .28), transparent); animation: halo 3s ease-in-out infinite alternate; }
.success-mark svg { position: relative; width: 100%; height: 100%; fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.sm-ring { stroke-dasharray: 327; stroke-dashoffset: 327; animation: draw 1s var(--ease) forwards; }
.sm-check { stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
.success-text { max-width: 30em; color: var(--text-2); }
.success-text.small { font-size: .92rem; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(24, 24, 29, .85); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(110, 140, 255, .35); background: rgba(28, 28, 36, .95); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.04rem; -webkit-user-select: none; user-select: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--violet-2); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq-body { padding: 0 24px 22px; color: var(--text-2); animation: fade-up .4s var(--ease) both; }
.faq-body p { max-width: 44em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-copy { color: var(--text-3); font-size: .9rem; margin-right: auto; }
.footer-links { display: flex; gap: 24px; font-size: .92rem; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-art { width: min(440px, 88%); margin-top: 8px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .apply-grid { grid-template-columns: 1fr; }
  .apply-intro { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .stats-grid, .fit-grid, .feature-grid { grid-template-columns: 1fr; }
  .stat { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .options-2 { grid-template-columns: 1fr; }
  .fit-card { padding: 26px; }
  .fc-value { left: 0; top: 14%; }
  .fc-request { right: 0; bottom: 8%; }
  .float-card { padding: 11px 14px; }
  .fc-price { font-size: 1.3rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .form-actions { position: sticky; bottom: 0; margin-inline: calc(-1 * clamp(22px, 4vw, 40px)); padding: 14px clamp(22px, 4vw, 40px) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(21, 21, 27, 1) 70%, rgba(21, 21, 27, 0)); z-index: 5; }
  .form-actions .btn { min-width: 0; }
  .sticky-cta {
    position: fixed; z-index: 80; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); display: inline-flex;
    transform: translateY(160%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; box-shadow: 0 16px 40px -8px rgba(40, 70, 220, .9);
  }
  .sticky-cta.is-visible { transform: none; opacity: 1; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  .fc-request { display: none; }
  .fc-value { left: 2%; top: 8%; }
  .steps { grid-template-columns: 1fr; }
  .container { width: calc(100% - 32px); }
  .chip span { min-height: 44px; padding: 0 16px; }
  .aurora i { filter: blur(70px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logo-orbit, .logo-shine { display: none; }
  .step-card::after { transform: scaleX(1) !important; transition: none !important; }
}
