/* ── Variables ───────────────────────────────────────────────── */
:root {
  --bg:        #080c10;
  --surface:   #0d1117;
  --surface2:  #111820;
  --border:    #1e2a38;
  --border2:   #2a3a4a;
  --text:      #ffffff;
  --muted:     #94a3b8;
  --dim:       #64748b;
  --faint:     #475569;
  --cyan:      #22d3ee;
  --cyan-h:    #67e8f9;
  --blue:      #3b82f6;
  --emerald:   #34d399;
  --amber:     #fbbf24;
  --rose:      #fb7185;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
svg { display: block; flex-shrink: 0; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.pulse { animation: pulse 2s ease-in-out infinite; }

/* ── Layout ──────────────────────────────────────────────────── */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 60rem; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }

/* ── Utilities ───────────────────────────────────────────────── */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.cyan    { color: var(--cyan); }
.emerald { color: var(--emerald); }
.rose    { color: var(--rose); }
.amber   { color: var(--amber); }
.blue    { color: #60a5fa; }
.muted   { color: var(--muted); }
.dim     { color: var(--dim); }
.faint   { color: var(--faint); }
.mono    { font-family: 'Courier New', monospace; }
.bold    { font-weight: 700; }
.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl{ font-size: 1.5rem; }
.text-3xl{ font-size: 1.875rem; }
.upper   { text-transform: uppercase; letter-spacing: .1em; }
.grad-text {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Header ──────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8,12,16,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -.02em;
}
.logo-icon {
  width: 2rem; height: 2rem;
  border-radius: .5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
.desktop-nav a {
  font-size: .875rem;
  color: var(--muted);
  transition: color .2s;
}
.desktop-nav a:hover { color: var(--text); }
.btn-nav {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  background: var(--cyan);
  color: #000;
  font-size: .875rem;
  font-weight: 600;
  border-radius: .5rem;
  transition: background .2s;
}
.btn-nav:hover { background: var(--cyan-h); color: #000; }

/* Mobile nav toggle (checkbox hack) */
#nav-toggle { display: none; }
.nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  color: var(--muted);
  cursor: pointer;
}
.nav-burger .icon-close { display: none; }
#nav-toggle:checked ~ .header-inner .nav-burger .icon-menu  { display: none; }
#nav-toggle:checked ~ .header-inner .nav-burger .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
#nav-toggle:checked ~ .mobile-menu { display: flex; }
.mobile-menu a { font-size: .875rem; color: var(--muted); }
.mobile-menu a.accent { color: var(--cyan); font-weight: 600; }

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .nav-burger   { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem;
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  border-radius: .75rem;
  transition: background .2s, transform .15s;
  box-shadow: 0 8px 24px rgba(34,211,238,.15);
  font-size: .875rem;
}
.btn-primary:hover { background: var(--cyan-h); transform: scale(1.03); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem;
  border: 1px solid var(--border2);
  color: var(--muted);
  border-radius: .75rem;
  transition: border-color .2s, color .2s;
  font-size: .875rem;
}
.btn-outline:hover { border-color: rgba(34,211,238,.5); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* ── Badge ───────────────────────────────────────────────────── */
.badge-label {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem .75rem;
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 9999px;
  font-size: .75rem;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.dot { width: .375rem; height: .375rem; border-radius: 50%; background: var(--cyan); }
.section-label {
  font-size: .75rem;
  color: var(--cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 4rem;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: 25%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: rgba(34,211,238,.08);
  border-radius: 50%;
  filter: blur(100px);
}
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: 0; right: 25%;
  width: 400px; height: 300px;
  background: rgba(59,130,246,.08);
  border-radius: 50%;
  filter: blur(80px);
}
.hero-inner { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.hero p { font-size: 1.125rem; color: var(--muted); max-width: 40rem; margin: 0 auto 2.5rem; }

/* ── Demo Card ───────────────────────────────────────────────── */
.demo-card {
  max-width: 24rem;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.demo-header {
  background: var(--surface2);
  padding: .75rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.demo-header span { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.live-badge { display: flex; align-items: center; gap: .25rem; font-size: .75rem; font-weight: 500; color: var(--emerald); }
.demo-body { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.demo-row { display: flex; gap: .75rem; }
.demo-icon {
  width: 1.75rem; height: 1.75rem; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .125rem;
}
.demo-icon.blue    { background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.4); }
.demo-icon.amber   { background: rgba(251,191,36,.2);  border: 1px solid rgba(251,191,36,.4); }
.demo-icon.emerald { background: rgba(52,211,153,.2);  border: 1px solid rgba(52,211,153,.4); }
.demo-label { font-size: .75rem; font-weight: 600; color: var(--text); }
.demo-sub   { font-size: .75rem; color: var(--dim); }
.demo-sub2  { font-size: .75rem; color: var(--faint); }
.tag {
  display: inline-block;
  margin-top: .25rem;
  padding: .1rem .5rem;
  border-radius: .25rem;
  font-size: .625rem;
  font-weight: 700;
}
.tag.blue    { background: rgba(59,130,246,.2); color: #60a5fa; }
.tag.amber   { background: rgba(251,191,36,.2);  color: var(--amber); }
.tag.emerald { background: rgba(52,211,153,.2);  color: var(--emerald); }
.demo-divider { height: 1px; background: var(--border); }
.demo-footer {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: .625rem 1rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  divide-x: var(--border);
}
.demo-stat { padding: 0 .5rem; }
.demo-stat:not(:last-child) { border-right: 1px solid var(--border); }
.demo-stat-label { font-size: .625rem; color: var(--dim); }
.demo-stat-value { font-size: .75rem; font-weight: 700; }

/* ── Callout ─────────────────────────────────────────────────── */
.callout {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.callout h2 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.callout p { color: var(--muted); max-width: 40rem; margin: 0 auto; font-size: .875rem; }

/* ── How It Works ────────────────────────────────────────────── */
.section { padding: 6rem 1.5rem; }
.section-dark { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3.5rem;
  line-height: 1.2;
}
.section h2 .sub { color: var(--muted); font-weight: 400; }
.steps-grid { display: grid; gap: 1.5rem; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color .2s;
}
.step-card:hover { border-color: rgba(34,211,238,.4); }
.step-inner { display: flex; align-items: flex-start; gap: 1rem; }
.step-num { font-size: 2rem; font-weight: 800; color: rgba(34,211,238,.25); line-height: 1; flex-shrink: 0; }
.step-label { font-size: .75rem; color: var(--cyan); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-desc  { font-size: .875rem; color: var(--muted); }

/* ── Sample Results ──────────────────────────────────────────── */
.results-grid { display: grid; gap: 1rem; margin-top: 3.5rem; }
.result-clear { background: rgba(52,211,153,.05); border: 1px solid rgba(52,211,153,.2); border-radius: .75rem; padding: 1.25rem; }
.result-flagged { background: rgba(251,113,133,.05); border: 1px solid rgba(251,113,133,.2); border-radius: .75rem; padding: 1.25rem; }
.result-head { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .875rem; font-weight: 700; }
.result-dl { display: flex; flex-direction: column; gap: .5rem; }
.result-row { display: flex; justify-content: space-between; font-size: .75rem; }
.result-row dt { color: var(--dim); }
.result-row dd { text-align: right; }
.result-note { text-align: center; font-size: .875rem; color: var(--dim); margin-top: 1rem; }

/* ── Features Grid ───────────────────────────────────────────── */
.features-grid { display: grid; gap: 1.25rem; }
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(34,211,238,.3); }
.feature-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: .75rem;
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { color: var(--cyan); }
.feature-title { font-weight: 700; margin-bottom: .5rem; }
.feature-desc  { font-size: .875rem; color: var(--muted); }

/* ── Beta ────────────────────────────────────────────────────── */
.beta-grid { display: grid; gap: 1.25rem; }
.beta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.beta-card.featured { border-color: rgba(34,211,238,.3); }
.beta-card-badge {
  position: absolute; top: 0; right: 0;
  padding: .25rem .75rem;
  background: var(--cyan);
  color: #000;
  font-size: .625rem;
  font-weight: 700;
  border-bottom-left-radius: .5rem;
}
.beta-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.beta-card .sub { font-size: .75rem; color: var(--cyan); margin-bottom: 1rem; }
.beta-list { display: flex; flex-direction: column; gap: .625rem; }
.beta-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--muted); }
.beta-item svg { flex-shrink: 0; margin-top: .125rem; color: var(--cyan); }

/* ── Contact block ───────────────────────────────────────────── */
.contact-block {
  margin-top: 3.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}
.contact-grid { display: grid; gap: 1rem; margin-bottom: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: .75rem;
  transition: border-color .2s;
}
.contact-card:hover { border-color: rgba(34,211,238,.4); }
.contact-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: .5rem;
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { color: var(--cyan); }
.contact-label { font-size: .75rem; color: var(--dim); margin-bottom: .125rem; }
.contact-value { font-size: .875rem; font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
details {
  border: 1px solid var(--border);
  border-radius: .75rem;
  overflow: hidden;
}
details summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background .2s;
}
details summary:hover { background: var(--surface2); }
details summary::-webkit-details-marker { display: none; }
.summary-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
.chevron {
  flex-shrink: 0;
  width: 1rem; height: 1rem;
  color: var(--dim);
  transition: transform .2s;
}
details[open] .chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  font-size: .875rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
}
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .875rem; color: var(--dim); line-height: 1.6; max-width: 20rem; margin-top: .75rem; }
.footer-col-title { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a, .footer-links button { font-size: .875rem; color: var(--dim); transition: color .2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-links a.cyan-hover:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  align-items: center;
}
.footer-bottom p, .footer-bottom a, .footer-bottom span { font-size: .75rem; color: var(--faint); }
.footer-bottom a:hover { color: var(--muted); }
.footer-legal { display: flex; align-items: center; gap: 1rem; }

/* ── Inner pages ─────────────────────────────────────────────── */
.inner-page { padding: 7rem 1.5rem 6rem; min-height: 100vh; }
.inner-page .back-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--dim);
  margin-bottom: 2rem;
  transition: color .2s;
}
.inner-page .back-link:hover { color: var(--cyan); }
.inner-page h1 { font-size: 1.875rem; font-weight: 800; margin-bottom: .5rem; }
.inner-page .meta { font-size: .875rem; color: var(--dim); margin-bottom: 3rem; }
.prose { display: flex; flex-direction: column; gap: 2.5rem; color: var(--muted); font-size: .875rem; }
.prose h2 { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.prose p { line-height: 1.7; }
.prose p + p { margin-top: .75rem; }
.prose ul { display: flex; flex-direction: column; gap: .5rem; list-style: disc; list-style-position: inside; color: var(--muted); }
.info-box {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .75rem;
  font-size: .875rem;
  display: flex; flex-direction: column; gap: .25rem;
  margin-top: 1rem;
}
.info-box .name { font-weight: 600; color: var(--text); margin-bottom: .25rem; }
.info-box a { color: var(--cyan); }
.info-box a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (min-width: 640px) {
  .steps-grid    { grid-template-columns: 1fr 1fr; }
  .results-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .btn-row       { flex-wrap: nowrap; }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr 1fr; }
  .beta-grid     { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid   { grid-template-columns: 2fr 1fr 1fr; }
}
