/* ============= Tokens (Light theme — matches Scanvio logo) ============= */
:root {
  --bg: #ffffff;
  --bg-2: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --border: #e5e5ea;
  --border-strong: #d2d2d7;
  --text: #0b1426;          /* deep navy — matches logo wordmark */
  --text-2: #4a5568;
  --text-3: #86868b;
  --primary: #0b1426;       /* navy CTA */
  --primary-2: #1a2b4a;
  --accent: #ff8a00;        /* orange dot from logo */
  --accent-2: #e67700;
  --highlight: #1f4ae0;     /* blue slash from logo */
  --legal: #6c4eff;
  --danger: #ff5d6c;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 20, 38, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 20, 38, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-3); }
.accent { color: var(--accent); }

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 17px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-2); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-legal { background: var(--legal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-legal:hover { filter: brightness(1.06); box-shadow: var(--shadow-md); }
.btn-disabled {
  background: var(--surface-2);
  color: var(--text-3);
  border: 1px dashed var(--border-strong);
  cursor: not-allowed;
  pointer-events: none;
  font-weight: 600;
}
.btn-disabled:hover { transform: none; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* "Launching Soon" badge — used above the Download CTAs */
.launch-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.12);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 138, 0, 0.30);
}

/* ============= Nav ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 900; letter-spacing: 4px; font-size: 14px; text-decoration: none; }
.brand img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; gap: 4px; }
.brand-text > * { display: block; }
.brand-text span {
  font-weight: 900;
  letter-spacing: 5px;
  font-size: 18px;
  color: var(--text);
}
.brand-text small {
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: var(--text-2);
  text-transform: none;
  white-space: nowrap;
}
.brand-text small .dot,
.footer-brand .dot {
  color: var(--accent);
  font-weight: 900;
  margin: 0 4px;
  font-size: 14px;
}
@media (max-width: 600px) {
  .brand img { width: 40px; height: 40px; }
  .brand-text span { font-size: 15px; letter-spacing: 3px; }
  .brand-text small { font-size: 10px; letter-spacing: 0.8px; }
  .brand-text small .dot { margin: 0 2px; font-size: 12px; }
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ============= Hero ============= */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at 15% -5%, rgba(255, 138, 0, 0.10), transparent 55%),
    radial-gradient(ellipse at 95% 10%, rgba(31, 74, 224, 0.08), transparent 50%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-logo {
  width: 180px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { width: 140px; margin: 0 auto 16px; }
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 900;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.lede { font-size: 18px; color: var(--text-2); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 14px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-shot {
  width: 100%;
  max-width: 360px;
  border-radius: 36px;
  border: 8px solid #1a1a1a;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.halo {
  position: absolute;
  width: 420px; height: 420px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 138, 0, 0.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(31, 74, 224, 0.18), transparent 55%);
  filter: blur(45px);
  z-index: 1;
}

/* ============= Stats ============= */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-2);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-grid > div { display: flex; flex-direction: column; gap: 4px; }
.stat-grid b { color: var(--text); font-size: 28px; font-weight: 900; letter-spacing: -0.5px; }
.stat-grid span { color: var(--text-3); font-size: 13px; }

/* ============= Sections ============= */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub { text-align: center; color: var(--text-2); margin-bottom: 56px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ============= Features ============= */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.feat-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feat-card-feature { border-color: var(--legal); background: linear-gradient(180deg, rgba(108, 78, 255, 0.05), var(--surface)); }
.feat-ico { font-size: 32px; margin-bottom: 16px; }
.feat-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.feat-card p { font-size: 14px; color: var(--text-2); }
.feat-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: var(--legal);
  color: #fff;
}

/* ============= Pricing ============= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.price-card-pop {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.10);
}
.price-card-legal {
  border: 2px solid var(--legal);
  box-shadow: 0 12px 30px rgba(108, 78, 255, 0.10);
}
.badge-pop, .badge-legal {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-pop { background: var(--accent); color: #fff; }
.badge-legal { background: var(--legal); color: #fff; }
.price-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price .amt { font-size: 40px; font-weight: 900; letter-spacing: -1px; color: var(--text); }
.price small { color: var(--text-3); font-size: 13px; }
.price-tag { color: var(--text-3); font-size: 13px; margin-bottom: 20px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-card li { font-size: 14px; color: var(--text-2); }
.price-card li.muted { color: var(--text-3); }
.price-foot { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 28px; }

/* ============= Compare ============= */
.compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.compare th { background: var(--surface-2); font-weight: 800; color: var(--text); font-size: 13px; }
.compare td { color: var(--text-2); }
.compare th.us, .compare td.us { background: rgba(255, 138, 0, 0.05); color: var(--text); font-weight: 700; }
.compare tr:last-child td { border-bottom: none; }

/* ============= Download ============= */
.download {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.download h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.5px; }
.download-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ============= FAQ ============= */
.faq { max-width: 740px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq summary::after { content: "+"; font-size: 22px; color: var(--text-3); }
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq details[open] summary { margin-bottom: 12px; }
.faq p { color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* ============= Footer ============= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.footer-brand > div { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.footer-brand b { display: block; font-weight: 900; letter-spacing: 4px; font-size: 14px; }
.footer-brand p { display: block; color: var(--text-3); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; align-content: center; }
.footer-links a {
  color: var(--text-2);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-links a:hover { color: var(--text); border-color: var(--text-2); }
.powered {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.powered p { color: var(--text-3); font-size: 12px; line-height: 1.6; }
.powered strong { color: var(--text-2); font-weight: 800; }
.powered .fineprint { font-size: 11px; max-width: 720px; margin: 8px auto 0; }
.powered a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
