:root {
  --bg: #0b0d0c;
  --surface: #131715;
  --surface-2: #1a1f1d;
  --border: #252b29;
  --text: #f4f6f2;
  --text-2: #a3aba7;
  --muted: #7c8581;
  --accent: #c6f432;
  --accent-dim: #3d4f17;
  --accent-tint: #1c240e;
  --radius: 18px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0; color: var(--text-2); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 13, 12, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #0b0d0c; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(198, 244, 50, .55); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 82px); margin: 18px 0 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) span { animation-delay: .24s; }
.hero .lede { font-size: 19px; max-width: 520px; opacity: 0; animation: fade .8s .45s forwards; }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; opacity: 0; animation: fade .8s .6s forwards; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); opacity: 0; animation: fade .8s .75s forwards; }

.glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 244, 50, .16), transparent 62%);
  right: -120px; top: -80px; pointer-events: none; filter: blur(10px);
  animation: drift 12s ease-in-out infinite alternate;
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}

/* swing stage */
.stage {
  position: relative; background: linear-gradient(180deg, var(--surface), #0f1211);
  border: 1px solid var(--border); border-radius: 28px; padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(24px) scale(.98);
  animation: stageIn 1s .35s cubic-bezier(.2, .8, .2, 1) forwards;
}
.stage-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(198, 244, 50, .6); animation: ping 1.6s infinite; }
.pos-name { font-size: 13px; color: var(--accent); font-weight: 600; min-width: 150px; text-align: right; }
.stage svg { width: 100%; height: auto; display: block; }
.scan { position: absolute; left: 22px; right: 22px; top: 56px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5; animation: scan 3.2s ease-in-out infinite; }
.pills { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 10px; }
.pill {
  border: 1px solid var(--border); background: var(--bg); color: var(--muted);
  font-size: 12px; font-weight: 600; padding: 8px 0; border-radius: 10px; text-align: center;
  transition: all .25s; cursor: pointer; font-family: inherit;
}
.pill:hover { color: var(--text); border-color: var(--muted); }
.pill.on { background: var(--accent); color: #0b0d0c; border-color: var(--accent); transform: translateY(-2px); }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "●"; color: var(--accent-dim); font-size: 9px; }

/* ---------- sections ---------- */
section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { margin: 16px 0 16px; }
.section-head p { font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--accent-dim); transform: translateY(-4px); }
.step .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.step h3 { margin: 18px 0 10px; }
.step .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-tint); display: grid; place-items: center; margin-top: 18px; }
.step .icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* results showcase */
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.phone {
  width: min(340px, 100%); margin: 0 auto; background: #050605; border: 1px solid var(--border);
  border-radius: 44px; padding: 14px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 6px #111412;
}
.screen { background: var(--bg); border-radius: 32px; padding: 22px 18px; min-height: 560px; }
.screen-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.score { display: flex; align-items: center; gap: 18px; margin: 22px 0 20px; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: var(--surface-2); }
.ring .bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.ring .val small { font-size: 12px; color: var(--muted); font-weight: 600; display: block; margin-top: -6px; text-align: center; }
.score-text b { display: block; font-size: 17px; }
.score-text span { font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 8px; opacity: 0; transform: translateX(14px); transition: all .5s; }
.check.in { opacity: 1; transform: none; }
.check .tag { flex: none; font-size: 11px; font-weight: 700; padding: 4px 7px; border-radius: 7px; background: var(--surface-2); color: var(--text-2); }
.check.warn .tag { background: #3a2c10; color: #f2c94c; }
.check.good .tag { background: #14301f; color: #5bd68a; }
.check b { display: block; font-size: 14px; }
.check span { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; }
.drill { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--accent-tint); border: 1px solid var(--accent-dim); }
.drill small { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.drill b { display: block; font-size: 14px; margin-top: 4px; }

.feature-list { display: grid; gap: 14px; margin-top: 34px; }
.feature { display: flex; gap: 16px; padding: 18px; border-radius: 16px; border: 1px solid transparent; transition: all .3s; }
.feature:hover { background: var(--surface); border-color: var(--border); }
.feature .dot { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-tint); display: grid; place-items: center; }
.feature .dot svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature b { display: block; font-size: 16px; margin-bottom: 3px; }
.feature p { font-size: 15px; }

/* positions grid */
.positions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.p-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; transition: all .3s; position: relative; overflow: hidden; }
.p-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.p-card:hover { transform: translateY(-4px); border-color: var(--accent-dim); }
.p-card:hover::after { transform: scaleX(1); }
.p-card .code { font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.p-card b { display: block; margin: 8px 0 4px; font-size: 15px; }
.p-card span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }

/* stats band */
.band { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.stat span { font-size: 14px; color: var(--muted); }

/* pricing */
.toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 36px; }
.toggle button { border: 0; background: none; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.toggle button.on { background: var(--accent); color: #0b0d0c; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.price:hover { transform: translateY(-4px); }
.price.featured { border-color: var(--accent); background: linear-gradient(180deg, #171d10, var(--surface) 55%); }
.price .badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 999px; background: var(--accent); color: #0b0d0c; margin-bottom: 14px; }
.price h3 { font-size: 18px; color: var(--text-2); font-weight: 600; }
.price .amt { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; }
.price .amt small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price .per { font-size: 14px; color: var(--accent); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; color: var(--text-2); }
.price li { display: flex; gap: 10px; }
.price li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6f432' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.price .btn { margin-top: auto; }
.price-note { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.plan-set { display: none; }
.plan-set.on { display: grid; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; font-size: 16px; max-width: 720px; }

/* cta */
.cta { position: relative; overflow: hidden; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: 80px 30px; }
.cta h2 { margin: 18px 0 16px; }
.cta p { max-width: 520px; margin: 0 auto 30px; font-size: 18px; }
.cta .glow { left: 50%; top: 50%; right: auto; transform: translate(-50%, -50%); animation: none; }
.cta > *:not(.glow) { position: relative; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 46px 0 60px; margin-top: 110px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
footer img { height: 24px; width: auto; }
footer nav { display: flex; gap: 24px; font-size: 14px; color: var(--text-2); flex-wrap: wrap; }
footer nav a:hover { color: var(--text); }
footer small { color: var(--muted); font-size: 13px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 70px 0 20px; }
.legal h1 { font-size: clamp(38px, 5vw, 54px); margin: 14px 0 10px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--accent); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes stageIn { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 50px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(198, 244, 50, 0); } }
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: .55; } 50% { transform: translateY(330px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .hero-grid, .showcase { grid-template-columns: 1fr; }
  .steps, .prices { grid-template-columns: 1fr; }
  .positions { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: repeat(2, 1fr); padding: 30px; }
  .nav-links { display: none; }
  section { padding: 80px 0; }
  .showcase .phone { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .scan { display: none; }
}
