/* ViralDNA — shared site styles
   Brand: neon helix — cyan #4FC3F8 → violet #8B5CF6 → magenta #D93BEF on near-black #07090D
   (matches apps/mobile/src/theme) */

:root {
  --bg: #07090D;
  --bg-2: #0C0F16;
  --card: #11151F;
  --card-2: #161B27;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --text: #F4F5FA;
  --text-2: #C7CAD8;
  --muted: #8B90A5;
  --muted-2: #5E6378;

  --cyan: #4FC3F8;
  --blue: #4E7DF7;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --magenta: #D93BEF;
  --green: #34D399;
  --amber: #FBBF24;

  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 55%, var(--magenta) 100%);
  --grad-btn: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);

  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--purple-light); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(139, 92, 246, 0.45); }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: 0.2px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; display: inline-flex; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--grad-btn); color: #fff !important; padding: 9px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}
.nav-cta:hover { filter: brightness(1.08); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15.5px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 14px 36px rgba(139, 92, 246, 0.45); }
.btn-secondary { background: var(--card); color: var(--text); border: 1px solid var(--border-2); }
.btn-secondary:hover { border-color: var(--purple); }
.btn-ghost { color: var(--text-2); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: -120px; width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0.10) 45%, transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-logo-wrap { display: flex; justify-content: center; margin-bottom: 8px; }
.hero-logo { width: 190px; height: 190px; filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.55)); animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(0.98); } 50% { transform: scale(1.05); } }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); color: var(--purple-light);
  font-weight: 700; font-size: 13px; letter-spacing: 0.2px;
}
.hero-title { font-size: clamp(38px, 6.4vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -1.6px; margin: 22px auto 18px; max-width: 900px; }
.hero-sub { color: var(--text-2); font-size: clamp(16px, 2vw, 19px); max-width: 640px; margin: 0 auto 32px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* phone mock */
.hero-mock {
  margin: 56px auto 0; width: min(360px, 92vw); border-radius: 44px; padding: 14px;
  background: linear-gradient(180deg, #1A1F2E, #0E1119); border: 1px solid var(--border-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--shadow-glow); text-align: left; position: relative;
}
.hero-mock .screen { background: var(--bg); border-radius: 32px; padding: 22px 18px 18px; border: 1px solid var(--border); overflow: hidden; }
.notch { width: 110px; height: 30px; background: #000; border-radius: 999px; margin: -6px auto 14px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-title { font-weight: 800; font-size: 15px; }
.mock-chip { font-size: 11px; font-weight: 700; color: var(--purple-light); background: rgba(139, 92, 246, 0.16); padding: 4px 9px; border-radius: 999px; }
.mock-video { height: 150px; border-radius: 16px; background: linear-gradient(135deg, #1B2340, #2A1B4A 60%, #3A1B3D); position: relative; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--border); }
.mock-video .play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; }
.mock-video .play::after { content: ''; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.mock-video .badge { position: absolute; left: 12px; bottom: 10px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.45); padding: 4px 8px; border-radius: 999px; }
.mock-score { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ring { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--purple) calc(var(--v) * 1%), rgba(255,255,255,0.08) 0); position: relative; flex: none; }
.ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.ring span { position: relative; font-weight: 800; font-size: 20px; }
.mock-score-meta { flex: 1; }
.mock-score-meta b { display: block; font-size: 14px; }
.mock-score-meta small { color: var(--muted); font-size: 12px; }
.mock-bars { display: grid; gap: 8px; }
.mock-bar { display: grid; grid-template-columns: 74px 1fr 34px; align-items: center; gap: 10px; font-size: 12px; color: var(--text-2); }
.mock-bar i { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.mock-bar i::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 1%); background: var(--grad); border-radius: 999px; }
.mock-bar b { text-align: right; color: var(--text); }
.mock-insight { margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.mock-insight b { color: var(--text); }
.mock-insight .ts { color: var(--cyan); font-weight: 700; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 84px 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, 40px); font-weight: 800; letter-spacing: -0.8px; text-align: center; margin-bottom: 12px; }
.section-sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 48px; font-size: 17px; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px;
  transition: transform .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-2px); border-color: rgba(139, 92, 246, 0.45); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--purple-light); background: rgba(139, 92, 246, 0.14); }
.feature-icon.cyan { color: var(--cyan); background: rgba(79, 195, 248, 0.12); }
.feature-icon.magenta { color: var(--magenta); background: rgba(217, 59, 239, 0.12); }
.feature-icon.green { color: var(--green); background: rgba(52, 211, 153, 0.12); }
.feature-icon.amber { color: var(--amber); background: rgba(251, 191, 36, 0.12); }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.badge-new { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--bg); background: var(--cyan); padding: 2px 7px; border-radius: 999px; vertical-align: middle; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 8px 12px; }
.step-num { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-btn); box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4); }
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* honesty band */
.honesty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .honesty { grid-template-columns: 1fr; } }
.honesty .item { padding: 22px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); }
.honesty .item h4 { font-size: 15.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.honesty .item h4 svg { color: var(--magenta); flex: none; }
.honesty .item p { color: var(--muted); font-size: 14px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 20px; justify-content: center; }
@media (max-width: 720px) { .pricing { grid-template-columns: minmax(0, 360px); } }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; position: relative; }
.plan.featured { border-color: rgba(139, 92, 246, 0.6); box-shadow: var(--shadow-glow); }
.plan-badge { position: absolute; top: -12px; left: 22px; font-size: 11px; font-weight: 800; letter-spacing: 0.4px; color: #fff; background: var(--grad-btn); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 15px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.plan ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.plan li svg { color: var(--green); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: 18px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* CTA band */
.cta-band { text-align: center; padding: 56px 24px; border-radius: 28px; background: linear-gradient(135deg, rgba(79,195,248,0.14), rgba(139,92,246,0.18) 50%, rgba(217,59,239,0.14)); border: 1px solid rgba(139, 92, 246, 0.35); position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 10px; }
.cta-band p { color: var(--text-2); font-size: 16px; margin-bottom: 26px; }
.cta-band-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0 34px; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { color: var(--muted-2); font-size: 13px; margin-top: 22px; }

/* ── Legal pages ────────────────────────────────────────── */
.legal { padding: 48px 0 80px; }
.legal-inner { max-width: 780px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 52px; }
.legal h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 8px; }
.legal .legal-meta { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; font-weight: 800; margin-top: 40px; margin-bottom: 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal h3 { font-size: 16.5px; font-weight: 700; margin-top: 22px; margin-bottom: 8px; }
.legal p { color: var(--text-2); margin-bottom: 14px; line-height: 1.7; font-size: 15.5px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }
.legal li { color: var(--text-2); margin-bottom: 8px; line-height: 1.7; font-size: 15.5px; }
.legal a { font-weight: 600; }
.legal-toc { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; margin: 22px 0 30px; }
.legal-toc h4 { font-size: 12px; font-weight: 800; color: var(--purple-light); letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 10px; }
.legal-toc ol { padding-left: 20px; margin: 0; }
.legal-toc li { color: var(--text-2); font-size: 14px; margin-bottom: 4px; }
.legal .callout { border-left: 3px solid var(--purple); background: rgba(139, 92, 246, 0.08); padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 14px 0 18px; }
.legal .callout p { margin: 0; }
@media (max-width: 640px) {
  .legal-inner { padding: 32px 22px; }
  .legal h1 { font-size: 30px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero-logo { width: 150px; height: 150px; }
}
