:root {
  --bg: #070a1c;
  --bg-2: #0d1230;
  --panel: #121838;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8ebff;
  --muted: #9aa3c7;
  --cyan: #22d3ee;
  --indigo: #818cf8;
  --pink: #e879f9;
  --brand: linear-gradient(90deg, var(--cyan), var(--indigo) 55%, var(--pink));
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(16px); background: rgba(7,10,28,.72); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #0a0d24; box-shadow: 0 10px 30px -10px rgba(129,140,248,.8); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(232,121,249,.8); }
.btn-ghost { border: 1px solid rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-small { padding: 8px 18px; font-size: 14px; background: #fff; color: #0a0d24; }
.full { width: 100%; }

/* Hero */
.hero { position: relative; padding: 88px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -200px 0 auto; height: 800px; background: radial-gradient(600px 400px at 70% 30%, rgba(124,108,255,.35), transparent 70%), radial-gradient(500px 300px at 15% 10%, rgba(34,211,238,.18), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(129,140,248,.4); background: rgba(129,140,248,.1); color: #c7cdfd; font-size: 13px; font-weight: 600; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -0.03em; margin: 20px 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 14px; }
.fine { color: var(--muted); font-size: 13px; }

/* Window mock-up */
.window { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin: 0 auto; color: var(--muted); font-size: 13px; font-weight: 600; padding-right: 50px; }
.win-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.win-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.win-side b { font-weight: 500; padding: 6px 10px; border-radius: 8px; }
.win-side b.on { background: rgba(129,140,248,.2); color: var(--text); }
.win-main { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.card { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.card small { display: block; color: var(--muted); font-size: 12px; }
.card strong { font-size: 20px; }
.card .ok { color: #4ade80; }
.chart-row { display: flex; align-items: center; gap: 24px; }
.donut { --s: 130px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#22d3ee 0 24%, #818cf8 0 43%, #e879f9 0 60%, #f59e0b 0 70%, #475569 0 82%, rgba(255,255,255,.08) 0);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); position: relative; }
.chart-row { position: relative; }
.donut span { display: none; }
.legend { list-style: none; margin: 0; padding: 0; flex: 1; font-size: 13px; display: grid; gap: 6px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.legend em { margin-left: auto; font-style: normal; color: var(--muted); }
.bars { display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.bars div { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 10px; }
.bars b { height: 8px; width: var(--w); border-radius: 999px; background: var(--brand); }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 20px 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.strip-inner span::before { content: "✓ "; color: var(--cyan); }

/* Sections */
.section { padding: 96px 0; scroll-margin-top: 40px; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; text-align: center; }
.sub { color: var(--muted); font-size: 18px; text-align: center; max-width: 620px; margin: 0 auto 48px; }
.two-col .h2, .sub.left { text-align: left; margin-left: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.feat:hover { border-color: rgba(129,140,248,.5); transform: translateY(-3px); }
.feat h3 { margin: 14px 0 8px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: #0a0d24; background: var(--brand); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 52px; position: relative; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: rgba(34,211,238,.15); color: var(--cyan); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.checks b { color: var(--text); }

/* Devices */
.devices { display: flex; align-items: flex-end; justify-content: center; gap: 28px; }
.phone { width: 220px; height: 440px; border-radius: 40px; border: 8px solid #1f2547; background: var(--panel); padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.phone p { margin: 0; color: var(--muted); font-size: 14px; }
.ring { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--cyan), var(--indigo), var(--pink) 64%, rgba(255,255,255,.08) 0); -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); mask: radial-gradient(circle, transparent 60%, #000 61%); }
.ring span { display: none; }
.ring.sm { width: 90px; height: 90px; }
.mini { width: 100%; display: grid; gap: 10px; margin-top: 10px; }
.mini b { height: 10px; width: var(--w); border-radius: 999px; background: rgba(255,255,255,.14); }
.watch { width: 130px; height: 160px; border-radius: 38px; border: 7px solid #1f2547; background: #000; display: grid; place-items: center; margin-bottom: 40px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 24px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.plan.pro { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--brand) border-box; border: 1.5px solid transparent; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 44px; font-weight: 800; margin: 8px 0 20px; letter-spacing: -0.02em; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; color: var(--muted); flex: 1; }
.plan li::before { content: "✓"; color: var(--cyan); margin-right: 10px; font-weight: 700; }
.badge { position: absolute; top: -12px; right: 24px; background: var(--brand); color: #0a0d24; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Final + footer */
.final { padding: 96px 0; text-align: center; background: radial-gradient(500px 300px at 50% 40%, rgba(124,108,255,.25), transparent 70%); }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final .h2 { margin: 0; }
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .btn-small { margin-left: auto; }
  .hero { padding-top: 56px; }
}
@media (max-width: 600px) {
  .grid, .plans { grid-template-columns: 1fr; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .chart-row { gap: 16px; }
  .donut { --s: 100px; }
  .devices .watch { display: none; }
  .section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .feat { transition: none; } }
