:root {
  --bg: #0b0b24;
  --bg-2: #12123a;
  --card: #17174a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f2ff;
  --muted: #a9a6d6;
  --violet: #7b5cff;
  --magenta: #e33fc9;
  --pink: #ff4f8b;
  --peach: #ffb07a;
  --grad: linear-gradient(120deg, #7b5cff 0%, #e33fc9 45%, #ff4f8b 70%, #ffb07a 100%);
  --radius: 20px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Background glow */
.glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(227, 63, 201, 0.22), transparent 70%),
    radial-gradient(700px 500px at 10% 30%, rgba(123, 92, 255, 0.22), transparent 70%);
}

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 11, 36, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
nav.main a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(227, 63, 201, 0.7); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--line); }
nav.main .btn { color: #fff; padding: 10px 18px; }

/* Hero */
.hero { position: relative; padding: 96px 0 88px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(123, 92, 255, 0.14); border: 1px solid rgba(123, 92, 255, 0.35);
  color: #cfc4ff; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 20px 0 20px; font-weight: 800; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.16); text-decoration: none; font-size: 12px; line-height: 1.2;
}
.store svg { width: 22px; height: 22px; fill: #fff; }
.store b { display: block; font-size: 15px; }

/* Phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #2a2a66, #12123a); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 80px -20px rgba(123, 92, 255, 0.5);
  transform: rotate(4deg);
}
.screen {
  position: relative; height: 100%; border-radius: 32px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #2b1d6e 0%, #120f3d 60%, #0b0b24 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.screen img { width: 78%; border-radius: 0; mix-blend-mode: lighten; animation: groove 3.2s ease-in-out infinite; }
.screen .chip {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.screen .rec { position: absolute; top: 20px; left: 20px; font-size: 11px; font-weight: 700; color: #ffd0e4; display: flex; align-items: center; gap: 6px; }
.screen .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.float-card {
  position: absolute; background: rgba(23, 23, 74, 0.9); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; font-size: 13px; backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.float-card small { display: block; color: var(--muted); font-size: 11px; }
.fc-1 { left: -10px; top: 18%; }
.fc-2 { right: -6px; bottom: 16%; }

@keyframes groove {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  50% { transform: translateY(-10px) rotate(3deg) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) { .screen img { animation: none; } }

/* Sections */
section { position: relative; padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.feature .ic { font-size: 22px; margin-bottom: 10px; }
.feature h4 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
}
.plan.featured { border: 1px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad);
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 2px; }
.price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan .note { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; margin: 22px 0 6px; display: grid; gap: 10px; align-content: start; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--peach); font-weight: 700; }
.pricing-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
.pricing-foot a { color: #cfc4ff; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* CTA band */
.band {
  text-align: center; border-radius: 28px; padding: 64px 24px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(227, 63, 201, 0.35), transparent 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.band p { color: var(--muted); margin: 0 auto 28px; max-width: 520px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 44px 0; margin-top: 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 64px 0 40px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: #d6d3f5; font-size: 16px; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; display: grid; gap: 6px; }
.legal a { color: #cfc4ff; }
.legal .box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 18px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #d6d3f5; vertical-align: top; }
.legal th { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 64px 0; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin: 0 auto; }
  .cta-row, .stores { justify-content: center; }
  .steps, .pricing { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  nav.main a:not(.btn) { display: none; }
  .phone { width: 240px; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .fc-1, .fc-2 { display: none; }
}
