:root {
  --bg: #0b0712;
  --fg: #ece8f5;
  --muted: #a99fc7;
  --accent: #b899ff;
  --accent-2: #7c5cff;
  --gold: #f1c75b;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: #0b0712;
  background-image:
    radial-gradient(1100px 760px at 50% -8%, #34215f 0%, rgba(11,7,18,0) 60%),
    radial-gradient(900px 600px at 85% 12%, #1d2a5e 0%, rgba(11,7,18,0) 55%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Starfield overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/stars.svg");
  background-size: 700px 700px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: twinkle 7s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: 0.38; } 50% { opacity: 0.6; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 7, 18, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 18px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.5px; }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--fg); }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: 12px 24px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid var(--border);
  transition: transform .12s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #15102b; border: none; }
.btn-ghost { background: var(--card); color: var(--fg); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 30px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-logo { width: 92px; height: 92px; border-radius: 24px; margin-bottom: 18px; box-shadow: 0 0 50px rgba(184,153,255,0.4); }
.eyebrow { font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 16px; font-weight: 800; letter-spacing: 0.3px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; }

/* phone frame */
.phone { background: #07040d; border: 1px solid var(--border); border-radius: 34px; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(124,92,255,0.18); }
.phone img { display: block; width: 250px; max-width: 70vw; border-radius: 26px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { margin-top: 10px; }
}

/* ---------- Trust strip ---------- */
.trust { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 18px 0 10px; }
.trust span { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section h2 { text-align: center; font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin: 0 0 6px; }
.section .sub { text-align: center; color: var(--muted); max-width: 540px; margin: 0 auto 36px; }

/* features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px; transition: background .2s ease, transform .12s ease; }
.feat:hover { background: var(--card-hover); transform: translateY(-2px); }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(124,92,255,0.16); margin-bottom: 14px; }
.feat .ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.feat h3 { margin: 0 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* shots */
.shots { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.shots figure { margin: 0; text-align: center; }
.shots figcaption { color: var(--muted); font-size: 13px; margin-top: 14px; }
.shots .phone img { width: 220px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 10px; }
.step .num { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #15102b; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* faq */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(241,199,91,0.10)); border: 1px solid var(--border); border-radius: 24px; padding: 48px 24px; margin: 30px 0; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(24px, 3.5vw, 32px); }
.cta-band p { color: var(--muted); margin: 0 0 22px; }
.badge { display: inline-block; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 11px 24px; color: var(--muted); font-size: 15px; }

/* footer */
footer.site { text-align: center; padding: 46px 22px 64px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); margin-top: 30px; }
footer.site a { color: var(--accent); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .links { margin-bottom: 12px; }
footer.site .links a { margin: 0 10px; }

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 80px; max-width: 760px; }
.legal h1 { font-size: 32px; text-align: left; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 21px; margin-top: 34px; color: var(--accent); }
.legal p, .legal li { color: #ddd6ef; font-size: 16px; }
.legal a { color: var(--gold); }
.back { display: inline-block; margin-bottom: 22px; color: var(--accent); text-decoration: none; }
.back:hover { text-decoration: underline; }
