:root {
  --night: #0a0614;
  --line: rgba(167, 139, 250, .2);
  --line-strong: rgba(167, 139, 250, .38);
  --purple: #8b5cf6;
  --lilac: #c4b5fd;
  --gold: #f5c451;
  --gold-deep: #d99a1b;
  --text: #f4f0ff;
  --muted: #b3a8d4;
  --faint: #8a7eae;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

/* body keeps a dark text color so the Cartpanda widget (white background,
   inherits color) stays readable; the light text lives on .page only */
body {
  font-family: var(--sans);
  color: #1f1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1px 1px at 10% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 18%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 26% 58%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 72%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 46%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(800px 520px at 50% 0%, rgba(124, 58, 237, .32), transparent 70%),
    var(--night);
  background-attachment: fixed;
  overflow-x: hidden;
}

.page {
  color: var(--text);
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 20px 0;
}

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #2c1b5c, #1a1036);
  border: 1px solid var(--line-strong);
}
.brand-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--lilac);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: #fff; }

/* ---------- Headline ---------- */
.main { text-align: center; padding-top: 36px; }
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
}
h1 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold), #ffe3a3 55%, var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 16px; margin: 14px auto 24px; max-width: 400px; }

/* ---------- Hero row: preview + offer ---------- */
.hero-row {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 40px;
  align-items: center;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; gap: 0; max-width: 480px; margin: 0 auto; }
}

/* ---------- App preview ---------- */
.mock-stage { position: relative; height: 420px; margin: 0 auto; width: 100%; max-width: 480px; }
@media (max-width: 860px) { .mock-stage { margin-bottom: 28px; } }
.moon-glow, .orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.moon-glow { width: 320px; height: 320px; background: radial-gradient(circle, rgba(139,92,246,.38), transparent 65%); }
.orbit { border: 1px dashed var(--line-strong); }
.orbit-1 { width: 340px; height: 340px; }
.orbit-2 { width: 460px; height: 230px; border: 1px solid var(--line); transform: translate(-50%, -50%) rotate(-14deg); }
.phone {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 190px;
  height: 380px;
  transform: translateX(-50%) rotate(-4deg);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(139,92,246,.35));
  animation: float 7s ease-in-out infinite;
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(22, 14, 44, .9);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.chip span { color: var(--gold); }
.chip .pink { color: #f9a8d4; }
.chip-a { left: 0; top: 60px; animation: float 6s ease-in-out infinite .6s; }
.chip-b { right: 0; top: 165px; animation: float 6.5s ease-in-out infinite 1.2s; }
.chip-c { left: 20px; bottom: 36px; animation: float 7s ease-in-out infinite .2s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* ---------- Offer ---------- */
.offer {
  text-align: left;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(160deg, var(--gold), rgba(167,139,250,.55) 45%, rgba(167,139,250,.15));
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 60px rgba(139,92,246,.2);
}
.offer-ribbon {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #1a1030;
  padding: 8px 12px 7px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--gold), #ffd977);
}
.offer-body {
  background: linear-gradient(180deg, #1c1238 0%, #130b28 100%);
  border-radius: 0 0 20px 20px;
  padding: 26px 26px 22px;
}
.offer h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff; }
.offer-sub { font-size: 13px; color: var(--faint); }

.price { display: flex; align-items: flex-start; margin: 16px 0 18px; color: #fff; }
.price-cur { font-size: 24px; font-weight: 700; margin-top: 9px; }
.price-num { font-size: 66px; font-weight: 800; line-height: 1; letter-spacing: -3px; }
.price-cents { font-size: 22px; font-weight: 700; margin-top: 9px; }
.price-unit {
  margin: 13px 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--gold);
}

.billing {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 6, 20, .5);
  padding: 2px 14px;
  font-size: 14px;
}
.billing div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.billing div + div { border-top: 1px dashed var(--line); color: var(--muted); }
.billing b { color: #fff; }

.mor { font-size: 12px; color: var(--faint); margin: 16px 0 10px; }
.mor b { color: var(--muted); }

.btn {
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: #1a1030;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffd977 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: 0 10px 30px rgba(245, 196, 81, .28), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s, filter .15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }

.consent { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: 12px; }
.consent b { color: var(--muted); }

.trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}
.trust li::before {
  content: "\2713";
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .14);
  color: #34d399;
  font-weight: 700;
  font-size: 12px;
  line-height: 22px;
}

/* ---------- Footer ---------- */
.legal {
  position: relative;
  margin-top: 56px;
  padding: 40px 20px 36px;
  color: var(--faint);
  background: linear-gradient(180deg, rgba(22, 14, 44, .85) 0%, #07040f 100%);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -24px 60px rgba(124, 58, 237, .16), inset 0 1px 0 rgba(255, 255, 255, .04);
  text-align: center;
}
/* glowing line on top edge */
.legal::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(560px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), var(--lilac), transparent);
}
.legal-inner { max-width: 680px; margin: 0 auto; font-size: 11.5px; line-height: 1.7; }
.legal-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; }
.legal-brand .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.legal-brand .brand-mark svg { width: 15px; height: 15px; }
.legal-brand .brand-name { font-size: 17px; }
.legal p + p { margin-top: 10px; }
.legal b { color: var(--muted); }
.copyright { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line); opacity: .75; }

@media (max-width: 480px) {
  .page { padding: 22px 16px 0; }
  .main { padding-top: 26px; }
  h1 { font-size: 31px; }
  .lead { font-size: 15px; margin: 10px auto 8px; max-width: 320px; }

  .mock-stage { height: 330px; }
  .moon-glow { width: 260px; height: 260px; }
  .orbit-1 { width: 270px; height: 270px; }
  .orbit-2 { width: 330px; height: 170px; }
  .phone { width: 150px; height: 300px; top: 14px; }
  .chip { font-size: 10.5px; padding: 6px 10px; gap: 5px; }
  .chip-a { left: 0; top: 18px; }
  .chip-b { right: 0; top: 150px; }
  .chip-c { left: 0; bottom: 22px; }
  .chip-c, .chip-a { box-shadow: 0 6px 18px rgba(0,0,0,.55); }

  .offer { border-radius: 20px; }
  .offer-ribbon { font-size: 10.5px; border-radius: 18px 18px 0 0; }
  .offer-body { padding: 22px 18px 18px; border-radius: 0 0 18px 18px; }
  .offer h2 { font-size: 22px; }
  .price { margin: 12px 0 16px; }
  .price-num { font-size: 60px; }
  .btn { font-size: 16px; padding: 16px 14px; }
  .consent { font-size: 12px; }
  .legal { margin-top: 40px; padding: 32px 18px 28px; }
  .legal-inner { font-size: 11px; }
}
}

@media (prefers-reduced-motion: reduce) {
  .phone, .chip { animation: none; }
}
