/* Astro Luna website — same palette as the app ("Celestial Violet") */
:root {
  --bg-top: #2a1149;
  --bg-mid: #24103e;
  --bg-bottom: #12041c;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(203, 160, 255, 0.18);
  --violet: #7e2fc4;
  --magenta: #e21ccb;
  --gold: #f5c76b;
  --gold-bright: #ffc94d;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.74);
  --text-3: rgba(255, 255, 255, 0.55);
  --radius: 22px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Cinzel", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-bottom);
  background-image:
    radial-gradient(1200px 700px at 80% -10%, rgba(126, 47, 196, 0.45), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(226, 28, 203, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
/* Faint star field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent 60%),
    radial-gradient(1px 1px at 72% 12%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 62%, #fff, transparent 60%),
    radial-gradient(1px 1px at 88% 48%, #fff, transparent 60%),
    radial-gradient(1px 1px at 22% 84%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 32%, #ffe9b8, transparent 60%),
    radial-gradient(1px 1px at 92% 82%, #fff, transparent 60%),
    radial-gradient(1px 1px at 48% 92%, #fff, transparent 60%),
    radial-gradient(1px 1px at 6% 52%, #fff, transparent 60%);
  background-size: 640px 640px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(18, 4, 28, 0.6);
  border-bottom: 1px solid rgba(203, 160, 255, 0.1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(90deg, var(--violet), var(--magenta)); box-shadow: 0 8px 28px rgba(226, 28, 203, 0.35); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 9px 20px 9px 14px;
  line-height: 1.1;
}
.play-badge:hover { text-decoration: none; border-color: #fff; }
.play-badge svg { width: 28px; height: 28px; flex: none; }
.play-badge small { display: block; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; }
.play-badge strong { display: block; font-size: 21px; font-weight: 600; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 66px); letter-spacing: 0.01em; }
.hl { background: linear-gradient(90deg, var(--gold-bright), #ffe2a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--text-2); font-size: 19px; max-width: 520px; margin: 20px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero-note { color: var(--text-3); font-size: 14px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 500px; }
.hero-art .phone { position: absolute; width: 42%; max-width: 230px; }
.hero-art .phone.front { position: relative; width: 54%; max-width: 290px; z-index: 2; }
.hero-art .phone.left { left: 2%; top: 50%; margin-top: -190px; transform: rotate(-7deg); opacity: 0.9; }
.hero-art .phone.right { right: 2%; top: 50%; margin-top: -190px; transform: rotate(7deg); opacity: 0.9; }
.phone img { width: 100%; border-radius: 30px; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55)); }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(226, 28, 203, 0.35), transparent 65%); top: 15%; left: 15%; z-index: 0; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0 0; }
.stat { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 18px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 28px; color: var(--gold); }
.stat span { color: var(--text-2); font-size: 14px; }

/* Sections */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2, .split h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); }
.section-head p, .split p { color: var(--text-2); font-size: 18px; margin: 14px 0 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; transition: border-color 0.2s ease, transform 0.2s ease; }
.feature:hover { border-color: rgba(245, 199, 107, 0.45); transform: translateY(-2px); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(126, 47, 196, 0.6), rgba(226, 28, 203, 0.45)); margin-bottom: 16px; }
.feature .ico svg { width: 26px; height: 26px; color: var(--gold-bright); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-2); margin: 0; font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-art { order: -1; }
.split-art { display: flex; justify-content: center; position: relative; }
.split-art img { width: 72%; max-width: 280px; border-radius: 30px; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5)); position: relative; z-index: 1; }
.split-art.portrait img { max-width: 300px; border-radius: 28px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--text-2); }
.checks li::before { content: "✦"; position: absolute; left: 4px; top: 0; color: var(--gold); font-size: 18px; }
.checks b { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { border: 1px solid var(--card-border); background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--text-2); }

.privacy-band { background: linear-gradient(135deg, rgba(126, 47, 196, 0.28), rgba(226, 28, 203, 0.14)); border: 1px solid var(--card-border); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.privacy-band .ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgba(0, 0, 0, 0.25); }
.privacy-band .ico svg { width: 38px; height: 38px; color: var(--gold-bright); }
.privacy-band h2 { font-size: clamp(24px, 3vw, 30px); font-family: var(--display); }
.privacy-band p { color: var(--text-2); margin: 10px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(90deg, var(--violet), var(--magenta)); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-2); margin: 0; font-size: 15.5px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--gold); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin: 0 0 18px; }

/* CTA */
.cta { text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(226, 28, 203, 0.28), transparent 70%), var(--card); border: 1px solid var(--card-border); border-radius: 32px; padding: 56px 24px; }
.cta img { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 18px; }
.cta h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); }
.cta p { color: var(--text-2); margin: 12px auto 26px; max-width: 520px; }
.disclaimer { color: var(--text-3); font-size: 13.5px; text-align: center; max-width: 720px; margin: 28px auto 0; }

/* Footer */
.site-footer { border-top: 1px solid rgba(203, 160, 255, 0.12); padding: 34px 0 40px; margin-top: 40px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer small { color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-2); font-size: 15px; }

/* Legal pages */
.legal { padding: 48px 0 24px; }
.legal-card { max-width: 820px; margin: 0 auto; background: rgba(18, 4, 28, 0.55); border: 1px solid var(--card-border); border-radius: 28px; padding: 44px 48px; }
.legal-card h1 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 42px); }
.legal-card .updated { color: var(--text-3); margin: 8px 0 28px; font-size: 15px; }
.legal-card h2 { font-size: 21px; margin: 34px 0 10px; color: var(--gold); }
.legal-card h3 { font-size: 17px; margin: 20px 0 6px; }
.legal-card p, .legal-card li { color: var(--text-2); font-size: 16px; }
.legal-card strong { color: var(--text); }
.legal-card ul { padding-left: 22px; }
.legal-card li { margin: 6px 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.legal-card table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.legal-card th, .legal-card td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--card-border); vertical-align: top; color: var(--text-2); }
.legal-card th { color: var(--text); font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .hero .hero-grid, .split { grid-template-columns: 1fr; }
  .split.reverse .split-art { order: 0; }
  .hero { padding-top: 40px; }
  .hero-art { min-height: 440px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-tight { padding: 40px 0; }
  .hero-art { min-height: 380px; }
  .privacy-band { grid-template-columns: 1fr; padding: 28px; }
  .legal-card { padding: 28px 20px; border-radius: 22px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
