/* ===== Design tokens ===== */
:root {
  --bg: #0e0b1f;
  --bg-soft: #15102e;
  --surface: #1c1640;
  --surface-2: #241c52;
  --text: #f4f2ff;
  --muted: #a79fce;
  --brand: #7c5cff;
  --brand-2: #00d4ff;
  --accent: #ff5ca8;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --grad: linear-gradient(135deg, var(--brand), var(--brand-2));
  --grad-warm: linear-gradient(135deg, var(--accent), var(--brand));
}

/* Pages for policy/terms reuse a light theme */
.doc-page {
  --bg: #f7f6fc;
  --text: #1b1733;
  --muted: #5a5478;
  --surface: #ffffff;
  --line: rgba(20, 16, 50, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: 760px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(124, 92, 255, 0.4); }
.btn-line { border-color: var(--line); color: var(--text); background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, 0.06); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(14, 11, 31, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad);
  font-size: 1.1rem;
  color: #fff;
}
.brand-name { letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 20%, rgba(0, 212, 255, 0.18), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.gradient-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 1.12rem; margin: 22px 0 30px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.7rem; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone {
  position: relative;
  width: 270px;
  height: 540px;
  background: linear-gradient(160deg, #2a2360, #15102e);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow), 0 0 0 2px rgba(255, 255, 255, 0.06) inset;
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0b0820;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, #120e2c, #1c1640);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mock-toolbar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 34px 10px 12px; font-size: 1.1rem;
}
.mock-preview {
  flex: 1; margin: 6px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #ff5ca8, #7c5cff, #00d4ff);
  display: grid; place-items: center;
}
.play-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: #1c1640;
  display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.mock-timeline { display: flex; gap: 6px; padding: 14px 14px 4px; }
.clip { height: 40px; border-radius: 8px; flex: 1; }
.c1 { background: #7c5cff; } .c2 { background: #00d4ff; } .c3 { background: #ff5ca8; }
.mock-track { height: 14px; margin: 8px 14px 18px; border-radius: 7px; background: rgba(255, 255, 255, 0.12); }

.float-card {
  position: absolute;
  background: rgba(28, 22, 64, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.fc1 { top: 70px; left: 0; }
.fc2 { top: 230px; right: -10px; animation-delay: 1s; }
.fc3 { bottom: 80px; left: 10px; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Strip ===== */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip-row {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 22px 24px; color: var(--muted); font-size: 0.9rem;
}
.logos { display: flex; gap: 30px; flex-wrap: wrap; font-weight: 700; opacity: 0.65; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand-2); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.5); }
.ficon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(124, 92, 255, 0.15); margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 20px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Gallery */
.gallery {
  columns: 3; column-gap: 20px;
}
.g-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  padding: 24px;
  height: calc(160px * var(--h, 1));
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow);
}
.g-item:nth-child(2n) { background: var(--grad-warm); }
.g-item:nth-child(3n) { background: linear-gradient(135deg, #00d4ff, #7c5cff); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--brand); box-shadow: 0 20px 50px rgba(124, 92, 255, 0.25); }
.badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--grad-warm); color: #fff;
  padding: 4px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.price-card h3 { font-size: 1.3rem; }
.price { font-size: 2.2rem; font-weight: 800; margin: 12px 0 20px; }
.price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.price-card li.muted { color: var(--muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 12px; }

/* CTA band */
.cta-band {
  padding: 80px 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(124, 92, 255, 0.4), transparent 60%),
    var(--bg-soft);
  text-align: center;
}
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.cta-inner p { color: var(--muted); margin: 14px 0 32px; font-size: 1.1rem; }
.store-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: #0e0b1f;
  padding: 12px 22px; border-radius: 14px; font-weight: 700;
  transition: transform 0.18s;
}
.store-btn:hover { transform: translateY(-3px); }
.store-ico {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--grad); display: grid; place-items: center; color: #fff;
}
.store-btn small { display: block; font-weight: 500; font-size: 0.72rem; opacity: 0.7; }
.store-btn strong { font-size: 1.05rem; }

/* ===== Footer ===== */
.site-footer { background: #0a0818; border-top: 1px solid var(--line); padding-top: 56px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px;
}
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 280px; font-size: 0.95rem; }
.footer-col h4 { margin-bottom: 16px; font-size: 1rem; }
.footer-col a { display: block; color: var(--muted); padding: 6px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
.socials { display: flex; gap: 14px; }
.socials span {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid; place-items: center; cursor: pointer; transition: background 0.15s;
}
.socials span:hover { background: rgba(255, 255, 255, 0.14); }

/* ===== Document pages (privacy / terms) ===== */
.doc-hero {
  background: var(--grad);
  color: #fff;
  padding: 70px 0 56px;
}
.doc-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
.doc-hero p { opacity: 0.9; margin-top: 12px; }
.doc-body { padding: 56px 0 80px; background: var(--bg); }
.doc-body h2 { font-size: 1.5rem; margin: 38px 0 12px; letter-spacing: -0.01em; }
.doc-body h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.doc-body p, .doc-body li { color: var(--muted); margin-bottom: 12px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin-bottom: 16px; }
.doc-body a { color: var(--brand); text-decoration: underline; }
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.toc h4 { margin-bottom: 12px; color: var(--text); }
.toc ol { columns: 2; padding-left: 20px; }
.toc a { color: var(--brand); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.doc-meta {
  display: inline-block; background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; margin-top: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 460px; }
  .feature-grid, .steps, .pricing { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc ol { columns: 1; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--bg-soft); padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 8px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}
