:root {
  --bg: #070b12;
  --panel: #0a0f1a;
  --panel2: #0e1524;
  --border: #1a2434;
  --text: #e6edf6;
  --muted: #8fa0b5;
  --faded: #55657c;
  --accent: #3ddbd1;
  --gold: #f5c451;
  --red: #f87171;
  --green: #3ddbd1;
  --mono: "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono { font-family: var(--mono); color: var(--accent); }
.accent { color: var(--accent); }

/* ---------------------------------------------------------------- nav */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 2px; font-size: 15px; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
@media (max-width: 1080px) { .nav-links { gap: 18px; } .nav-links a { font-size: 13px; } }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--accent); color: var(--accent) !important;
  padding: 6px 18px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent); color: var(--bg) !important; }

/* ---------------------------------------------------------------- header */
#top { position: relative; padding: 170px 24px 60px; min-height: 100vh; display: flex; flex-direction: column; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  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 70% 60% at 50% 35%, rgba(0,0,0,.6), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(0,0,0,.6), transparent 75%);
}
.hero-content { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--panel);
  padding: 6px 14px; border-radius: 999px; font-size: 12px; color: var(--muted);
  font-family: var(--mono); margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; }
.hero-sub { max-width: 640px; color: var(--muted); font-size: 17px; margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 10px;
  border: 1px solid transparent; background: transparent;
  -webkit-appearance: none; appearance: none;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .12s, box-shadow .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #04110f; box-shadow: 0 0 28px rgba(61, 219, 209, .28); }
.btn.primary:hover { box-shadow: 0 0 40px rgba(61, 219, 209, .45); }
.btn.ghost { background: var(--panel2); border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-metrics { display: flex; gap: 46px; margin-top: 56px; flex-wrap: wrap; }
.hmv { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--accent); display: block; }
.hmk { font-size: 12.5px; color: var(--faded); text-transform: uppercase; letter-spacing: .8px; }

.ticker {
  position: relative; z-index: 2; margin-top: auto; padding-top: 46px;
  border-top: 1px solid var(--border); overflow: hidden;
}
.ticker-track { display: flex; gap: 40px; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.ticker-track .t-item .p-up { color: var(--green); }
.ticker-track .t-item .p-down { color: var(--red); }
.ticker-track .t-item .p-flat { color: var(--faded); }

/* ---------------------------------------------------------------- sections */
.section { padding: 96px 24px; border-bottom: 1px solid var(--border); position: relative; }
.section.alt { background: var(--panel); }
.container { max-width: 1120px; margin: 0 auto; }
.container.narrow { max-width: 800px; }
.section h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 22px; }
.section .lead { color: var(--muted); font-size: 17px; max-width: 720px; margin-bottom: 44px; }
.section p { color: var(--muted); margin-bottom: 18px; }
.section strong { color: var(--text); }
.section .signature { color: var(--accent); font-weight: 600; margin-top: 6px; }

/* ---------------------------------------------------------------- usecases */
.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 40px; }
.use-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px 20px; transition: border-color .18s, transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.use-card:hover { border-color: rgba(61, 219, 209, .5); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0, 0, 0, .45); }
.mini-chart { height: 92px; margin-bottom: 14px; border-radius: 10px; background: #060a11; border: 1px solid var(--border); }
.use-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.use-tip { font-size: 13.5px; margin-bottom: 14px; flex: 1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span {
  font-family: var(--mono); font-size: 10.5px; color: var(--accent);
  border: 1px solid rgba(61, 219, 209, .35); background: rgba(61, 219, 209, .07);
  padding: 3px 10px; border-radius: 999px;
}
.center-note { text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- websync */
.pair-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; margin: 44px 0 40px; }
.pf-step {
  background: var(--panel2); border: 1px solid var(--border); border-radius: 14px; padding: 22px;
}
.pf-num {
  width: 30px; height: 30px; border-radius: 8px; background: rgba(61, 219, 209, .12);
  border: 1px solid rgba(61, 219, 209, .4); color: var(--accent);
  font-family: var(--mono); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.pf-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.pf-step p { font-size: 13.5px; color: var(--muted); margin: 0; }
.pf-arrow { align-self: center; color: var(--faded); font-size: 22px; }
.ws-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 44px; }
.wsf {
  display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
}
.wsf-icon { color: var(--accent); font-size: 10px; margin-top: 6px; }
.wsf strong { font-size: 14.5px; }
.wsf p { font-size: 13px; margin: 4px 0 0; }
.center { text-align: center; }

/* ---------------------------------------------------------------- compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--faded); background: var(--panel); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td { color: var(--muted); }
.cmp .col-axm { color: var(--accent); font-weight: 600; background: rgba(61, 219, 209, .045); }

/* ---------------------------------------------------------------- about */
.about-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-bottom: 40px; }
.about-cols h3 { font-size: 15px; letter-spacing: .5px; margin-bottom: 10px; color: var(--text); }
.about-cols p { font-size: 13.5px; }
.about-footer { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.about-footer a { color: var(--muted); font-size: 13.5px; }
.about-footer a:hover { color: var(--accent); }
.builtby { color: var(--text); font-size: 14px; }
.builtby strong { color: var(--accent); }
.stack { font-family: var(--mono); font-size: 11.5px; color: var(--faded); }

/* ---------------------------------------------------------------- footer */
footer { padding: 26px 24px; border-top: 1px solid var(--border); }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faded); }
.foot-inner img { width: 18px; vertical-align: middle; margin-right: 6px; }
.foot-inner strong { color: var(--muted); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- page head */
.page-head { padding: 150px 24px 54px; border-bottom: 1px solid var(--border); position: relative; }
.page-head h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.page-head .lead { color: var(--muted); font-size: 17px; max-width: 720px; }

/* ---------------------------------------------------------------- app gallery */
.container.wide { max-width: 1280px; }
.shot-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px; margin-bottom: 36px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.shot-img {
  width: 100%; height: auto; display: block; border-radius: 12px;
  border: 1px solid var(--border); background: #060a11;
}
.shot-caption { padding: 20px 6px 6px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.shot-caption h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.shot-caption p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.shot-caption .chips { grid-column: 2; grid-row: 1; justify-content: flex-end; }
@media (max-width: 760px) {
  .shot-caption { grid-template-columns: 1fr; }
  .shot-caption .chips { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}

/* ---------------------------------------------------------------- verify page */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-item {
  display: flex; gap: 12px; background: var(--panel2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
}
.check-item strong { font-size: 14px; display: block; margin-bottom: 3px; }
.check-item p { font-size: 12.5px; margin: 0; }
.ck-pass { color: var(--accent); font-weight: 700; font-family: var(--mono); }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 16px; margin-top: 22px; }
.section .note a, .section p a { color: var(--accent); }

/* ---------------------------------------------------------------- buy page */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 26px; align-items: stretch; }
.plan {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 26px; position: relative; display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s;
}
.plan:hover { transform: translateY(-3px); }
.plan.featured { border-color: rgba(61, 219, 209, .65); box-shadow: 0 0 0 1px rgba(61, 219, 209, .3), 0 20px 50px rgba(0, 0, 0, .45); }
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #04110f; font-size: 10.5px; font-weight: 800;
  letter-spacing: 1.5px; padding: 4px 12px; border-radius: 999px;
}
.plan-name { font-size: 13px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.plan-price { font-family: var(--mono); font-size: 40px; font-weight: 700; margin-bottom: 22px; }
.plan-price .per { font-family: "Inter", sans-serif; font-size: 14px; color: var(--faded); font-weight: 400; margin-left: 4px; }
.plan-feats { list-style: none; margin-bottom: 26px; flex: 1; }
.plan-feats li { padding: 7px 0 7px 24px; position: relative; color: var(--muted); font-size: 14px; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.block-cta { text-align: center; }
#plans .btn[href="#faq"] { opacity: .92; }

/* ---------------------------------------------------------------- download page */
.dl-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  text-align: center; padding: 52px 40px 38px; max-width: 720px; margin: 0 auto 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.dl-icon { width: 64px; height: 64px; margin: 0 auto 20px; display: block; }
.dl-title { font-size: 27px; font-weight: 800; margin-bottom: 6px; }
.dl-sub { color: var(--muted); margin-bottom: 26px; font-size: 14.5px; }
.dl-main { display: inline-block; padding: 15px 42px; font-size: 16px; margin-bottom: 14px; }
.dl-meta { color: var(--faded); font-size: 13.5px; max-width: 460px; margin: 0 auto 22px; }
.dl-meta a { color: var(--accent); }
.dl-rows { border-top: 1px solid var(--border); margin: 8px auto 0; max-width: 420px; }
.dl-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; }
.dl-row span { color: var(--faded); }
.dl-row b { font-weight: 600; }

.virtual-verify { background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin: 18px auto 0; max-width: 520px; text-align: left; }
.virtual-verify summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--accent); }
.virtual-verify summary:hover { color: var(--text); }
.virtual-verify .sm { word-break: break-all; font-size: 11.5px; margin-top: 10px; color: var(--muted); }
.virtual-verify .mono:hover { color: var(--accent); }

.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 40px; }
.req-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 24px;
}
.req-card.highlighted { border-color: rgba(61, 219, 209, .5); box-shadow: 0 0 0 1px rgba(61, 219, 209, .2); }
.req-title { font-size: 12px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.req-card ul { list-style: none; }
.req-card li { padding: 6px 0 6px 22px; position: relative; color: var(--muted); font-size: 14px; }
.req-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.req-card em { color: var(--faded); font-style: normal; }
.center { text-align: center; }

/* ---------------------------------------------------------------- legal pages */
.legal h2 { font-size: 17px; font-weight: 700; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 12px; }
.legal ul { list-style: none; margin: 0 0 16px; }
.legal li { padding: 5px 0 5px 22px; position: relative; color: var(--muted); font-size: 14px; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.legal-date { color: var(--faded); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------------------------------------------------------------- 404 */
.err-wrap { text-align: center; padding: 120px 24px 140px; }
.err-code { font-family: var(--mono); font-size: 110px; font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--accent), #7fd8ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-title { font-size: 24px; font-weight: 800; margin: 18px 0 10px; }
.err-sub { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }

/* ---------------------------------------------------------------- faq */
.faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text); }
.faq summary:hover { color: var(--accent); }
.faq p { margin: 12px 0 0; font-size: 14px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 880px) {
  .shot-card { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .pair-flow { grid-template-columns: 1fr; }
  .pf-arrow { transform: rotate(90deg); text-align: center; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-metrics { gap: 26px; }
  #top { padding-top: 130px; }
}
