:root {
  --bg: #0a0b0d;
  --bg-soft: #0e0e10;
  --surface: #141418;
  --surface-2: #1a1a1d;
  --surface-3: #24242a;
  --border: #2a2a2f;
  --border-2: #3a3a3f;
  --green: #107c10;
  --green-hi: #16a116;
  --green-dim: #0b4e0b;
  --green-glow: rgba(22,161,22,0.35);
  --text: #ffffff;
  --text-muted: #a0a0a8;
  --text-dim: #6b6b72;
  --amber: #f2a900;
  --red: #e81123;
  --font-ui: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Mono', 'Cascadia Code', Consolas, monospace;
  --maxw: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(16,124,16,0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(22,161,22,0.08), transparent 70%),
    var(--bg);
}

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 30%, var(--border) 70%, transparent);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.nav.scrolled::after { opacity: 1; }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(22, 161, 22, 0.35), 0 0 14px var(--green-glow);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a { transition: color 150ms var(--ease); }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 16px;
  background: var(--green);
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background 150ms var(--ease), transform 150ms var(--ease);
}
.nav-cta:hover { background: var(--green-hi); transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.btn.primary {
  background: var(--green);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 18px rgba(22,161,22,0.18);
}
.btn.primary:hover {
  background: var(--green-hi);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 24px rgba(22,161,22,0.28);
}
.btn.primary:active { transform: translateY(0); }
.btn.ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
}
.btn.ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn.block { display: flex; width: 100%; padding: 16px 22px; font-size: 16px; }
.price-inline {
  padding: 3px 10px;
  background: rgba(0,0,0,0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- Chrome Web Store CTA ---------- */
.webstore-cta { position: relative; }
.webstore-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: #fff;
  opacity: 0.95;
}
.soon-pill {
  padding: 3px 9px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #eaffea;
}
.webstore-cta[data-webstore="coming-soon"] { cursor: pointer; }
.webstore-cta[data-webstore="coming-soon"].notified {
  background: var(--surface-3);
  color: var(--text-muted);
  pointer-events: none;
}
.webstore-cta[data-webstore="coming-soon"].notified .soon-pill,
.webstore-cta[data-webstore="coming-soon"].notified .webstore-icon { opacity: 0.5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 28px 120px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-glow {
  position: absolute;
  inset: -100px 0 0 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 80% 30%, rgba(22,161,22,0.22), transparent 60%);
  filter: blur(6px);
  opacity: 0.85;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy { max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(22,161,22,0.1);
  border: 1px solid rgba(22,161,22,0.35);
  border-radius: 999px;
  font-size: 12px;
  color: #8ed98e;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  animation: fade-up 600ms var(--ease) 100ms both;
}
.dot-live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-hi);
  box-shadow: 0 0 8px var(--green-hi);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fade-up 700ms var(--ease) 200ms both;
}
.grad {
  background: linear-gradient(130deg, #16a116 0%, #8ed98e 60%, #e8eaf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
  animation: fade-up 700ms var(--ease) 300ms both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  animation: fade-up 700ms var(--ease) 400ms both;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: fade-up 700ms var(--ease) 500ms both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero viz ---------- */
.hero-viz {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fade-up 900ms var(--ease) 300ms both;
}
.viz-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  gap: 28px;
  align-items: center;
  padding: 32px 36px;
  background: linear-gradient(160deg, var(--surface) 0%, #0f1513 100%);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(22,161,22,0.08) inset,
    0 0 80px rgba(22,161,22,0.12);
}
.viz-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(22,161,22,0.2), transparent 60%);
}
.viz-wheel {
  width: 220px;
  height: 220px;
  display: block;
  transform-box: view-box;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 8px 24px rgba(22,161,22,0.2));
  transition: transform 120ms linear;
}
.viz-pedals {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.pedal { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.pedal-bar {
  width: 18px;
  height: 130px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.pedal-fill {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 0;
  transition: height 180ms var(--ease);
}
.pedal-fill.t { background: linear-gradient(to top, var(--green), var(--green-hi)); }
.pedal-fill.b { background: linear-gradient(to top, #a5121e, #ff5a5f); }
.pedal-label {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.viz-angle {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-hi);
  letter-spacing: 0.08em;
  padding: 3px 10px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(22,161,22,0.3);
  border-radius: 999px;
}

/* ---------- Sections ---------- */
section { padding: 96px 28px; max-width: var(--maxw); margin: 0 auto; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-hi);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.feature {
  padding: 24px 22px 22px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--green-dim);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(22,161,22,0.12);
  border: 1px solid rgba(22,161,22,0.25);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--green-hi);
  position: relative;
}
.feature-icon::after {
  content: '';
  width: 18px; height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.feature-icon[data-icon="games"]::after  { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a116' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='20' height='10' rx='5'/><circle cx='8' cy='12' r='1.5'/><circle cx='16' cy='12' r='1.5'/></svg>"); }
.feature-icon[data-icon="wheel"]::after  { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a116' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='3'/><line x1='12' y1='3' x2='12' y2='9'/><line x1='12' y1='15' x2='12' y2='21'/><line x1='3' y1='12' x2='9' y2='12'/><line x1='15' y1='12' x2='21' y2='12'/></svg>"); }
.feature-icon[data-icon="tune"]::after   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a116' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='4' y1='21' x2='4' y2='14'/><line x1='4' y1='10' x2='4' y2='3'/><line x1='12' y1='21' x2='12' y2='12'/><line x1='12' y1='8' x2='12' y2='3'/><line x1='20' y1='21' x2='20' y2='16'/><line x1='20' y1='12' x2='20' y2='3'/><line x1='1' y1='14' x2='7' y2='14'/><line x1='9' y1='8' x2='15' y2='8'/><line x1='17' y1='16' x2='23' y2='16'/></svg>"); }
.feature-icon[data-icon="overlay"]::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a116' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='3' width='20' height='14' rx='2'/><line x1='8' y1='21' x2='16' y2='21'/><line x1='12' y1='17' x2='12' y2='21'/></svg>"); }

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- How ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-hi);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Pricing ---------- */
.pricing {
  display: flex;
  justify-content: center;
  max-width: 560px;
}
.price-card {
  position: relative;
  width: 100%;
  padding: 38px 36px 32px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(22,161,22,0.16), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--green-dim);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0,0,0,0.4), 0 0 60px rgba(22,161,22,0.08);
}
.price-ribbon {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(22,161,22,0.14);
  border: 1px solid rgba(22,161,22,0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ed98e;
  margin-bottom: 20px;
}
.price-amount {
  font-family: var(--font-ui);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.price-amount .cur { font-size: 34px; vertical-align: top; margin-right: 2px; opacity: 0.75; }
.price-amount .cents { font-size: 34px; opacity: 0.75; }
.price-sub {
  color: var(--text-muted);
  margin-bottom: 26px;
  font-size: 14px;
}
.price-feats {
  list-style: none;
  text-align: left;
  margin: 0 auto 26px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-feats li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
}
.price-feats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(22,161,22,0.16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316a116' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,8 7,12 13,4'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  border: 1px solid rgba(22,161,22,0.35);
}
.price-fine {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: 14px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.qa {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color 200ms var(--ease);
}
.qa[open] { border-color: var(--border-2); }
.qa summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '+';
  font-weight: 400;
  font-size: 22px;
  color: var(--text-muted);
  transition: transform 220ms var(--ease);
  line-height: 1;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.ftr {
  border-top: 1px solid var(--border);
  padding: 40px 28px 28px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
}
.ftr-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-size: 12px;
  text-align: center;
}
.ftr-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.ftr-links { display: flex; gap: 22px; }
.ftr-links a:hover { color: var(--text); }
.ftr-note { max-width: 580px; opacity: 0.7; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hero { padding: 40px 20px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: none; }
  .hero-viz { order: -1; }
  .viz-wheel { width: 180px; height: 180px; }
  section { padding: 64px 20px; }
}
@media (max-width: 480px) {
  .nav { padding: 12px 18px; }
  .brand-text { display: none; }
  h1 { font-size: 40px; }
  .price-amount { font-size: 56px; }
  .viz-panel { padding: 20px 24px; }
}
