/* Social Dynamics — site styles.
   App palette (app/src/theme) + royal accents: deep royal purple and gold. */

:root {
  --bg: #07060d;
  --bg-2: #0d0b17;
  --surface: #15131f;
  --surface-2: #1b1828;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f1ff;
  --text-dim: #b9b5c9;
  --text-muted: #8a8599;

  --accent: #8e6cff;
  --accent-2: #a989ff;
  --accent-deep: #6f4dff;

  --royal: #2b1a5e;
  --royal-2: #3b2486;

  --gold: #d7a75a;
  --gold-light: #f2d9a2;
  --gold-deep: #a87a2e;
  --gold-line: rgba(215, 167, 90, 0.38);
  --gold-soft: rgba(215, 167, 90, 0.12);
  --gold-grad: linear-gradient(135deg, #f6e3b4 0%, #d7a75a 45%, #a87a2e 100%);

  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Anchor targets land below the sticky header, not under it. */
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Atmosphere: royal purple glow at the top, a faint gold warmth below. */
.atmos {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(111, 77, 255, 0.28), transparent 62%),
    radial-gradient(700px 480px at -10% 30%, rgba(59, 36, 134, 0.35), transparent 60%),
    radial-gradient(600px 420px at 60% 110%, rgba(215, 167, 90, 0.10), transparent 60%),
    var(--bg);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 6, 13, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--gold-line); }
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.2px; }
.brand-dot { color: var(--gold); }
.brand-tag {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Instagram, TikTok, YouTube */
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-dim); border: 1px solid var(--gold-line); background: rgba(13, 11, 23, 0.6);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.social a:hover { color: var(--gold-light); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.social svg { width: 18px; height: 18px; }
.social-lg { justify-content: center; gap: 14px; }
.social-lg a { width: 52px; height: 52px; }
.social-lg svg { width: 22px; height: 22px; }
.follow { margin: 40px 0 14px; color: var(--text-muted); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav a { color: var(--text-dim); }
.nav a:hover { color: var(--text); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 14px;
  font-weight: 600; font-size: 15.5px; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #a989ff 0%, #7c5cff 100%);
  border-color: rgba(242, 217, 162, 0.35);
  box-shadow: 0 10px 30px rgba(111, 77, 255, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 38px rgba(111, 77, 255, 0.5); }
.btn-store {
  color: var(--text); background: rgba(13, 11, 23, 0.85);
  border-color: var(--gold-line);
}
.btn-store:hover { color: var(--text); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.btn-store svg { width: 20px; height: 20px; flex: none; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; color: var(--text-muted); line-height: 1.1; }
.btn-store span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--gold-grad); }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px); line-height: 1.06; letter-spacing: -0.5px;
  margin: 18px 0 0;
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
h3 { font-size: 18px; font-weight: 650; }
.lede { color: var(--text-dim); font-size: 18.5px; max-width: 540px; margin: 22px 0 32px; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head p { color: var(--text-dim); font-size: 17px; margin: 14px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

section { padding: 64px 0; }
hr + section, section.hero + hr + section { padding-top: 88px; }
section:last-of-type { padding-bottom: 96px; }
.divider { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--text-muted); font-size: 13.5px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }

.device {
  position: relative; width: min(300px, 100%); margin: 0 auto;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, rgba(242, 217, 162, 0.55), rgba(168, 122, 46, 0.25) 35%, rgba(59, 36, 134, 0.6) 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(111, 77, 255, 0.25);
}
.device img { border-radius: 35px; background: var(--bg); aspect-ratio: 1260 / 2736; object-fit: cover; }
.device::after {
  content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 167, 90, 0.18), transparent 65%);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
}
.step::before {
  counter-increment: step; content: counter(step, upper-roman);
  display: block; font-family: var(--serif); font-size: 30px; line-height: 1; margin-bottom: 18px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--text-dim); margin: 8px 0 0; font-size: 15px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}
.feature:hover { border-color: var(--gold-line); }
.feature p { color: var(--text-dim); margin: 6px 0 0; font-size: 15px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(142, 108, 255, 0.14); border: 1px solid rgba(142, 108, 255, 0.35); color: var(--accent-2);
}
.icon svg { width: 22px; height: 22px; }
.icon.gold { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-light); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img {
  border-radius: 22px; border: 1px solid var(--border);
  aspect-ratio: 1260 / 2736; object-fit: cover; background: var(--surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.pack {
  position: relative; text-align: center; padding: 34px 22px 30px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border);
}
.pack .num { font-family: var(--serif); font-size: 56px; line-height: 1; font-variant-numeric: lining-nums; }
.pack .unit { color: var(--text-dim); margin-top: 8px; }
.pack.popular {
  background: linear-gradient(180deg, rgba(59, 36, 134, 0.55), var(--surface) 70%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px var(--gold), 0 18px 50px rgba(215, 167, 90, 0.15);
}
.pack .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #241606; background: var(--gold-grad);
}
.packs-note { text-align: center; color: var(--text-muted); font-size: 14px; margin: 26px auto 0; max-width: 560px; }

/* ---------- Privacy ---------- */
.privacy {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
  padding: 52px; border-radius: 28px;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(215, 167, 90, 0.10), transparent 60%),
    linear-gradient(160deg, rgba(43, 26, 94, 0.65), var(--surface) 70%);
  border: 1px solid var(--gold-line);
}
.privacy p { color: var(--text-dim); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text-dim); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative;
  font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--text-dim); margin: 0 0 22px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .cta-row { justify-content: center; margin-top: 32px; }
.crest { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 0 0 1px var(--gold-line), 0 0 60px rgba(215, 167, 90, 0.25); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--text-muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--gold-light); }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin: 14px 0 6px; }
.doc .updated { color: var(--text-muted); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--border); }
.doc h3 { font-size: 17px; margin: 24px 0 8px; color: var(--gold-light); }
.doc p, .doc li { color: var(--text-dim); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc code { font-size: 0.92em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.card {
  padding: 26px 28px; border-radius: var(--radius); margin: 22px 0;
  background: var(--surface); border: 1px solid var(--gold-line);
}
.card p:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row, .trust-row { justify-content: center; }
  .eyebrow { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .privacy { grid-template-columns: 1fr; padding: 34px 26px; gap: 28px; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 44px 0 72px; }
  .nav a:not(.btn) { display: none; }
  .packs { grid-template-columns: 1fr; max-width: 340px; gap: 24px; }
  .feature { grid-template-columns: 1fr; padding: 24px; }
  .gallery { gap: 12px; }
  .gallery img { border-radius: 16px; }
  .cta-row .btn { width: 100%; }
  /* Phones: "AI Advisor" moves under the name so the header button still fits. */
  .brand-name { font-size: 17px; display: flex; flex-direction: column; line-height: 1.15; }
  .brand-dot { display: none; }
  .brand-tag { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
