/* Vosiro — same colours as the app (receipts/lib/theme/app_theme.dart, dark). */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --emerald: #10B981;      /* app primary */
  --teal: #5EEAD4;         /* app link */
  --mint: #34D399;         /* app success */
  --on-emerald: #03150F;   /* dark text on emerald, as in the app */
  --bg: #06120F;           /* app background */
  --surface: #0E211B;      /* app surface */
  --surface-high: #17201D; /* app section header */
  --border: #24483D;       /* app surface border */
  --divider: #15302A;
  --text: #FFFFFF;
  --muted: #A8C4BA;        /* app text secondary */
  --dim: #6A8A80;          /* app text muted */
  --warning: #F59E0B;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--teal); }

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  background: rgba(6,18,15,0.94);
  backdrop-filter: blur(16px);
  z-index: 100;
  border-bottom: 1px solid rgba(16,185,129,0.14);
}
.nav-logo {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.current { color: var(--text); }
@media (max-width: 640px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-links a.wide-only { display: none; }
}

.gradient {
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 96px 24px 64px;
  background:
    radial-gradient(ellipse at 65% 0%, rgba(16,185,129,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 28% 25%, rgba(94,234,212,0.10) 0%, transparent 50%);
}
.hero-badge {
  display: inline-block;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.35);
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 800;
  line-height: 1.07;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
}
.hero p { font-size: 18px; color: var(--muted); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }
.hero-availability { font-size: 15px; color: var(--muted); margin-bottom: 44px; }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.stat-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: 13px;
  color: var(--muted);
}
.stat-pill strong { color: var(--text); }

/* ── PHONE PREVIEW ── */
.preview { display: flex; justify-content: center; align-items: flex-end; gap: 20px; padding: 24px 24px 72px; flex-wrap: wrap; }
.phone-frame {
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.7));
  border-radius: 44px;
  overflow: hidden;
  border: 1.5px solid rgba(16,185,129,0.25);
  background: var(--surface);
}
.phone-frame img { display: block; border-radius: 42px; }
.phone-main img { width: 240px; }
.phone-side img { width: 196px; opacity: 0.75; }
@media (max-width: 680px) {
  .phone-side { display: none; }
  .phone-main img { width: 220px; }
}

/* ── SECTIONS ── */
.section-wrap { padding: 80px 24px; max-width: 1100px; margin: 0 auto; }
.section-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 12px;
}
.section-title { text-align: center; font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-sub { text-align: center; color: var(--muted); font-size: 16px; margin: 0 auto 52px; line-height: 1.65; max-width: 640px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.feature-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.feature-card:hover { border-color: rgba(16,185,129,0.55); box-shadow: 0 6px 32px rgba(16,185,129,0.10); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(16,185,129,0.20), rgba(94,234,212,0.10));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.68; }

.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.why-card { padding: 28px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.why-card .why-icon { font-size: 28px; margin-bottom: 14px; }
.why-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.why-card .why-vs { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--dim); }
.why-card .why-vs span { color: var(--mint); font-weight: 700; }
.price-grid { max-width: 720px; margin: 0 auto; }
.why-card .price { font-size: 34px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.why-card .price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.why-card.pro { border-color: var(--mint); }

.band .narrow { max-width: 800px; }
.band h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }

.button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--emerald);
  color: var(--on-emerald);
  text-decoration: none;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  margin-right: 12px;
}
.button.outline { background: transparent; border: 1px solid var(--border); color: var(--text); font-weight: 600; }

/* ── SUPPORT FORM ── */
.support-form { max-width: 540px; margin: 0 auto; display: flex; flex-direction: column; gap: 13px; }
.support-form input, .support-form textarea {
  padding: 13px 16px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.support-form input:focus, .support-form textarea:focus { border-color: var(--emerald); }
.support-form textarea { resize: vertical; }
.support-form button {
  padding: 14px; border: none; border-radius: 12px;
  background: var(--emerald); color: var(--on-emerald);
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: opacity 0.2s;
}
.support-form button:hover { opacity: 0.88; }

/* ── LEGAL PAGES ── */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.doc .section-label { text-align: left; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 8px; }
.doc .updated { color: var(--dim); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 19px; font-weight: 800; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.notice {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.28);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 8px;
}
.notice p { color: #CFE9DF; }

/* ── GUIDE ── */
.toc { max-width: 860px; margin: 0 auto 16px; padding: 0 24px; }
.toc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.toc-grid a { display: flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.toc-grid a:hover { background: rgba(16,185,129,0.10); color: var(--text); }
.content { max-width: 860px; margin: 0 auto; padding: 8px 24px 96px; }
.feature-section { margin-bottom: 48px; scroll-margin-top: 80px; }
.feature-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.feature-emoji {
  font-size: 28px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,0.12); border-radius: 14px; flex-shrink: 0;
}
.feature-header h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.feature-header p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--emerald); color: var(--on-emerald);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.step-body { flex: 1; }
.step-body strong { font-size: 14px; }
.step-body p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.info-box { background: rgba(16,185,129,0.07); border: 1px solid rgba(16,185,129,0.24); border-radius: 12px; padding: 16px 20px; margin-top: 16px; }
.info-box p { color: #CFE9DF; font-size: 13px; line-height: 1.65; }
.tip { display: flex; gap: 10px; background: rgba(94,234,212,0.06); border: 1px solid rgba(94,234,212,0.2); border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.tip p { color: #B6F2E6; font-size: 13px; line-height: 1.6; }
.section-divider { border: none; border-top: 1px solid var(--divider); margin: 48px 0 0; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--dim);
  font-size: 13px;
  border-top: 1px solid rgba(16,185,129,0.10);
  line-height: 1.9;
}
footer a { color: var(--teal); text-decoration: none; }
footer a:hover { color: var(--mint); }
.footer-links { margin-bottom: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; }
.footer-disclaimer { max-width: 620px; margin: 14px auto 0; line-height: 1.65; font-size: 12px; }

/* ── COMPARISON TABLE ── */
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare th, .compare td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--divider); }
.compare thead th {
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted);
  background: var(--surface-high); position: sticky; top: 0;
}
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(16,185,129,0.04); }
.compare th.feature {
  text-align: left; font-weight: 600; color: var(--text); background: var(--surface);
  position: sticky; left: 0; z-index: 1; min-width: 210px;
}
.compare thead th.feature { background: var(--surface-high); z-index: 2; }
.compare .feature small { display: block; color: var(--dim); font-weight: 400; font-size: 12px; margin-top: 2px; }
.compare .us { background: rgba(16,185,129,0.10); border-left: 1px solid rgba(16,185,129,0.35); border-right: 1px solid rgba(16,185,129,0.35); }
.compare thead th.us { color: var(--on-emerald); background: var(--emerald); font-size: 13px; font-weight: 800; }
.compare tbody tr:last-child .us { border-bottom: 1px solid rgba(16,185,129,0.35); }
.compare .text { font-size: 12.5px; color: var(--muted); }
.compare .us.text { color: var(--text); font-weight: 600; }
.yes { color: var(--mint); font-weight: 800; font-size: 17px; }
.some { color: var(--warning); font-size: 12px; font-weight: 600; }
.no { color: #5B6F68; font-size: 16px; }
.compare-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.compare-note { text-align: center; color: var(--dim); font-size: 12px; margin: 14px auto 0; max-width: 640px; line-height: 1.6; }

/* Vosiro vs other apps: two columns, fits a phone. */
.compare.two { min-width: 0; max-width: 820px; margin: 0 auto; }
.compare.two th, .compare.two td { padding: 16px 14px; }
.compare.two th.feature { min-width: 0; width: 44%; }
.compare.two td { width: 28%; }
.compare-scroll:has(.compare.two) { max-width: 820px; margin: 0 auto; }
@media (max-width: 480px) {
  .compare.two th, .compare.two td { padding: 12px 8px; font-size: 13px; }
}

/* Questions & Answers (guide) */
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15px; list-style: none; position: relative; padding-right: 40px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 12px; color: var(--mint); font-size: 18px; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.faq-item a, .info-box a { color: var(--teal); }
.compare-note a { color: var(--teal); }
