/* ============================================================
   Astrovik — shared stylesheet
   Guide · Connect · Empower
   ============================================================ */

:root{
  --purple-950:#170a22;
  --purple-900:#230f35;
  --purple-800:#33124d;
  --purple-700:#421866;
  --purple-600:#552080;
  --purple-500:#6b2c9e;

  --gold-700:#8a6512;
  --gold-600:#b0821c;
  --gold-500:#c9a227;
  --gold-400:#dab949;
  --gold-300:#e9d387;

  --cream-50:#faf6ee;
  --cream-100:#f4ecd8;
  --cream-200:#ece0c2;

  --ink:#241432;
  --ink-soft:#5b4a6b;
  --ink-faint:#8577965c;
  --white:#ffffff;
  --line:#e7ddc8;

  --shadow-sm: 0 8px 20px -12px rgba(51,18,77,.25);
  --shadow: 0 24px 60px -24px rgba(51,18,77,.38);
  --shadow-lg: 0 32px 80px -28px rgba(51,18,77,.45);

  --radius-lg:22px;
  --radius:16px;
  --radius-sm:10px;

  --grad-gold: linear-gradient(135deg,#f3d788 0%,#c9a227 55%,#8a6512 100%);
  --grad-gold-soft: linear-gradient(135deg,#fbeecb 0%,#e9d387 100%);
  --grad-purple: linear-gradient(160deg,#5e2489 0%,#33124d 55%,#1a0928 100%);
  --grad-purple-soft: linear-gradient(160deg,#f4ecd8 0%,#e9dcf3 100%);

  --ff-display:'Playfair Display', Georgia, serif;
  --ff-body:'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--cream-50);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--ff-display); margin:0 0 .5em; color:var(--purple-900); font-weight:700; }
p{ margin:0 0 1em; line-height:1.7; color:var(--ink-soft); }
button{ font-family:inherit; }

.shell{ max-width:1180px; margin:0 auto; padding:0 24px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--gold-700); background:var(--cream-100); border:1px solid var(--gold-300);
  padding:7px 16px; border-radius:999px; margin-bottom:18px;
}
.eyebrow .pulse{
  width:7px; height:7px; border-radius:50%; background:var(--gold-500);
  box-shadow:0 0 0 0 rgba(201,162,39,.6); animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(201,162,39,.55); }
  70%{ box-shadow:0 0 0 8px rgba(201,162,39,0); }
  100%{ box-shadow:0 0 0 0 rgba(201,162,39,0); }
}

.script{ font-family:var(--ff-display); font-style:italic; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:999px; font-weight:600; font-size:.96rem;
  border:1px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-pri{ background:var(--grad-gold); color:var(--purple-950); box-shadow:var(--shadow-sm); }
.btn-pri:hover{ box-shadow:var(--shadow); }
.btn-dark{ background:var(--grad-purple); color:var(--cream-50); box-shadow:var(--shadow-sm); }
.btn-dark:hover{ box-shadow:var(--shadow); }
.btn-ghost{ background:transparent; border-color:var(--purple-700); color:var(--purple-800); }
.btn-ghost:hover{ background:var(--purple-800); color:var(--cream-50); }
.btn-ghost-light{ background:transparent; border-color:rgba(250,246,238,.55); color:var(--cream-50); }
.btn-ghost-light:hover{ background:rgba(250,246,238,.14); }
.btn-lg{ padding:16px 32px; font-size:1.02rem; }
.btn[aria-disabled="true"]{ opacity:.55; cursor:not-allowed; transform:none !important; }

/* ---------- Decorative background ----------
   Soft ambient glow via radial-gradient rather than blurred, absolutely
   positioned divs: filter:blur() on a descendant can bleed past an
   overflow:hidden ancestor and blow out the page's horizontal scroll
   width on narrow viewports (verified — it pushed the mobile nav
   button off-screen). A gradient background paints safely within the
   box with no such risk. */
.bg-glow{ position:absolute; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(420px 420px at -4% -8%, rgba(107,44,158,.30), transparent 70%),
    radial-gradient(380px 380px at 104% 14%, rgba(218,185,73,.24), transparent 70%),
    radial-gradient(320px 320px at 38% 118%, rgba(85,36,128,.18), transparent 70%);
}

.stars{ position:absolute; inset:0; pointer-events:none; z-index:0; }
.stars i{
  position:absolute; width:5px; height:5px; background:var(--gold-400); border-radius:1px;
  transform:rotate(45deg); opacity:.7; animation:twinkle 3.2s ease-in-out infinite;
}
.stars i::before, .stars i::after{ content:""; position:absolute; background:inherit; border-radius:inherit; }
.stars i::before{ width:5px; height:5px; top:-5px; }
@keyframes twinkle{ 0%,100%{ opacity:.15; } 50%{ opacity:.85; } }
.stars .s1{ top:12%; left:8%; animation-delay:.2s; }
.stars .s2{ top:24%; left:88%; animation-delay:1.1s; }
.stars .s3{ top:70%; left:14%; animation-delay:.6s; }
.stars .s4{ top:55%; left:92%; animation-delay:1.8s; }
.stars .s5{ top:85%; left:50%; animation-delay:.9s; }

/* ---------- Topbar ---------- */
.topbar-spacer{ height:80px; }
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(250,246,238,.88); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.bar-inner{ display:flex; align-items:center; gap:20px; height:80px; max-width:1180px; margin:0 auto; padding:0 24px; }
.brand{ display:flex; align-items:center; gap:10px; margin-right:8px; flex-shrink:0; }
.brand .tile{ width:44px; height:44px; display:block; }
.brand .tile img{ width:100%; height:100%; object-fit:contain; }
.brand .wm{ font-family:var(--ff-display); font-size:1.4rem; font-weight:700; letter-spacing:.01em; }
.brand .wm .a1{ color:var(--purple-800); }
.brand .wm .a2{ color:var(--gold-600); }

.topbar nav{ display:flex; align-items:center; gap:28px; flex:1; }
.topbar nav a{ font-size:.94rem; font-weight:500; color:var(--ink-soft); position:relative; padding:6px 0; }
.topbar nav a:hover{ color:var(--purple-800); }
.topbar nav a.on{ color:var(--purple-800); font-weight:600; }
.topbar nav a.on::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--grad-gold);
}
.topbar .right{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.mob-menu-btn{ display:none; background:none; border:none; padding:8px; cursor:pointer; }
.hb{ display:block; width:24px; height:18px; position:relative; }
.hb i{ position:absolute; left:0; right:0; height:2px; background:var(--purple-800); border-radius:2px; transition:.25s; }
.hb i:nth-child(1){ top:0; } .hb i:nth-child(2){ top:8px; } .hb i:nth-child(3){ top:16px; }
.hb-open i:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.hb-open i:nth-child(2){ opacity:0; }
.hb-open i:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

.mob-overlay{ position:fixed; inset:0; background:rgba(23,10,34,.5); z-index:200; }
.mob-drawer{ position:absolute; top:0; right:0; bottom:0; width:82%; max-width:340px; background:var(--cream-50); box-shadow:-10px 0 40px rgba(0,0,0,.2); display:flex; flex-direction:column; padding:22px; }
.mob-drawer-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.mob-close{ background:none; border:none; font-size:1.3rem; cursor:pointer; color:var(--purple-800); }
.mob-links{ display:flex; flex-direction:column; gap:4px; }
.mob-link{ padding:14px 6px; border-bottom:1px solid var(--line); font-weight:500; color:var(--ink); }
.mob-link.on{ color:var(--purple-800); font-weight:700; }
.mob-drawer-foot{ margin-top:auto; display:flex; flex-direction:column; gap:10px; padding-top:20px; }

@media (max-width: 940px){
  .topbar nav{ display:none; }
  .topbar .right{ display:none; }
  .mob-menu-btn{ display:block; margin-left:auto; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; padding:64px 0 40px; overflow:hidden; }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(2.1rem, 4.4vw, 3.3rem); line-height:1.12; margin-bottom:.4em; }
.hero-sub{ font-size:1.08rem; max-width:520px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin:22px 0 26px; }
.trust-row{ display:flex; flex-wrap:wrap; gap:22px; }
.trust-item{ display:flex; align-items:center; gap:8px; font-size:.88rem; font-weight:600; color:var(--purple-800); }
.trust-item svg{ flex-shrink:0; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; gap:36px; }
  .hero{ padding-top:40px; }
}

/* ---------- Image placeholder slot ---------- */
.img-slot{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  background:var(--grad-purple-soft);
  border:1.5px dashed var(--gold-500);
  display:flex; align-items:center; justify-content:center; text-align:center;
  padding:28px;
}
.img-slot::before{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(circle at 20% 20%, rgba(201,162,39,.18), transparent 45%),
                    radial-gradient(circle at 80% 75%, rgba(85,36,128,.18), transparent 45%);
}
.img-slot img{ position:relative; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.img-slot-inner{ position:relative; z-index:1; }
.img-slot-inner svg{ margin-bottom:10px; opacity:.75; }
.img-slot-label{ font-size:.78rem; font-weight:600; color:var(--purple-700); letter-spacing:.02em; }
.img-slot-dim{ font-size:.72rem; color:var(--ink-faint); margin-top:2px; }
.hero-visual-img{ width:100%; height:auto; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }

/* Real photos: always fill their box edge-to-edge (no padding, no gaps) —
   unlike .img-slot, which pads for placeholder text. */
.photo-card{ position:relative; overflow:hidden; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.photo-card img{ display:block; width:100%; height:100%; object-fit:cover; }
.photo-card.ratio-1-1{ aspect-ratio:1/1; }
.photo-card.ratio-6-5{ aspect-ratio:6/5; }
.photo-card.ratio-4-3{ aspect-ratio:4/3; }
.photo-card.ratio-3-2{ aspect-ratio:3/2; }
.photo-card.ratio-16-9{ aspect-ratio:16/9; }

.img-slot.ratio-4-3{ aspect-ratio:4/3; }
.img-slot.ratio-1-1{ aspect-ratio:1/1; }
.img-slot.ratio-16-9{ aspect-ratio:16/9; }
.img-slot.ratio-3-4{ aspect-ratio:3/4; }

/* ---------- Sections ---------- */
section{ position:relative; }
.section{ padding:72px 0; }
.section-head{ text-align:center; max-width:680px; margin:0 auto 48px; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.3rem); }
.section-head p{ margin:0 auto; }
.section-head .eyebrow{ margin-left:auto; margin-right:auto; }
.center{ text-align:center; }

/* ---------- Feature / pillar cards ---------- */
.pillar-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.pillar-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.pillar-grid.cols-6{ grid-template-columns:repeat(3,1fr); }
.pillar-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:30px 24px; text-align:left; transition:transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column; gap:14px; position:relative;
}
.pillar-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.pillar-ic{
  width:54px; height:54px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:var(--grad-purple);
}
.pillar-card h3{ font-size:1.15rem; margin-bottom:2px; }
.pillar-card p{ font-size:.92rem; margin-bottom:0; }
.pill{
  align-self:flex-start; font-size:.7rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:4px 12px; border-radius:999px;
}
.pill-live{ background:#e4f4e9; color:#1c7a41; }
.pill-soon{ background:var(--cream-100); color:var(--gold-700); }

@media (max-width: 980px){ .pillar-grid, .pillar-grid.cols-3, .pillar-grid.cols-6{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px){ .pillar-grid, .pillar-grid.cols-3, .pillar-grid.cols-6{ grid-template-columns:1fr; } }

/* ---------- Steps ---------- */
.steps-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; counter-reset:step; }
.step{ position:relative; padding:0 18px; text-align:center; }
.step-num{
  width:46px; height:46px; border-radius:50%; margin:0 auto 16px; display:flex; align-items:center; justify-content:center;
  background:var(--grad-gold); color:var(--purple-950); font-family:var(--ff-display); font-weight:700; font-size:1.1rem;
  box-shadow:var(--shadow-sm);
}
.step h3{ font-size:1.04rem; }
.step p{ font-size:.9rem; }
.step-line{ position:absolute; top:23px; left:calc(50% + 30px); right:calc(-50% + 30px); height:2px; background:var(--gold-300); z-index:0; }
.step:last-child .step-line{ display:none; }

@media (max-width: 900px){
  .steps-grid{ grid-template-columns:1fr 1fr; gap:36px 0; }
  .step-line{ display:none; }
}
@media (max-width: 560px){ .steps-grid{ grid-template-columns:1fr; } }

/* ---------- CTA banners ---------- */
.cta-banner{
  border-radius:28px; padding:56px; position:relative; overflow:hidden;
  display:grid; grid-template-columns:1.2fr .8fr; gap:32px; align-items:center;
}
.cta-banner.purple{ background:var(--grad-purple); color:var(--cream-50); }
.cta-banner.purple h2, .cta-banner.purple p{ color:var(--cream-50); }
.cta-banner.purple p{ opacity:.82; }
.cta-banner.gold{ background:var(--grad-gold); color:var(--purple-950); }
.cta-banner.gold h2, .cta-banner.gold p{ color:var(--purple-950); }
.cta-banner.gold p{ opacity:.85; }
.cta-banner h2{ font-size:clamp(1.5rem,2.6vw,2rem); margin-bottom:.35em; }
.cta-banner .btn-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:22px; }
.cta-banner .img-slot{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.4); }
.cta-banner.gold .img-slot{ background:rgba(255,255,255,.35); border-color:rgba(51,18,77,.35); }

@media (max-width: 860px){
  .cta-banner{ grid-template-columns:1fr; padding:36px 26px; text-align:center; }
  .cta-banner .btn-row{ justify-content:center; }
  .cta-banner .img-slot{ display:none; }
}

/* ---------- Store badges ---------- */
.store-badges{ display:flex; flex-wrap:wrap; gap:12px; }
.store-badge{
  display:flex; align-items:center; gap:10px; padding:11px 20px; border-radius:12px;
  background:var(--purple-950); color:var(--white); min-width:180px;
}
.store-badge.disabled{ opacity:.55; cursor:default; }
.store-badge .txt{ display:flex; flex-direction:column; line-height:1.25; }
.store-badge .top{ font-size:.65rem; letter-spacing:.03em; }
.store-badge .bot{ font-size:.98rem; font-weight:600; font-family:var(--ff-display); }

/* ---------- FAQ ---------- */
.faq{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq details{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:6px 22px;
}
.faq summary{
  cursor:pointer; font-weight:600; color:var(--purple-900); padding:16px 0; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:1.4rem; color:var(--gold-600); flex-shrink:0; transition:transform .2s; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq .faq-a{ padding:0 0 18px; margin:0; }

/* ---------- Cards (generic) ---------- */
.card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px; }

/* ---------- Breadcrumb-ish page header ---------- */
.page-hero{ padding:150px 0 56px; text-align:center; position:relative; overflow:hidden; background:var(--grad-purple-soft); }
.page-hero h1{ font-size:clamp(1.9rem,4vw,2.7rem); }
.page-hero p{ max-width:600px; margin:0 auto; }

/* ---------- Legal pages ---------- */
.legal-wrap{ max-width:820px; margin:0 auto; padding:56px 0 90px; }
.legal-updated{ font-size:.85rem; color:var(--ink-faint); margin-bottom:36px; }
.legal-block{ padding:26px 0; border-top:1px solid var(--line); }
.legal-block:first-of-type{ border-top:none; }
.legal-block h2{ font-size:1.2rem; display:flex; align-items:center; gap:12px; }
.legal-badge{
  width:30px; height:30px; border-radius:9px; background:var(--grad-gold); color:var(--purple-950);
  display:flex; align-items:center; justify-content:center; font-size:.82rem; font-weight:700; flex-shrink:0;
  font-family:var(--ff-body);
}
.legal-block p, .legal-block li{ font-size:.96rem; }
.legal-block ul{ padding-left:20px; margin-bottom:1em; }
.legal-block li{ list-style:disc; margin-bottom:6px; color:var(--ink-soft); }
.legal-block a{ color:var(--purple-700); text-decoration:underline; }
.legal-block strong{ color:var(--ink); }
.legal-contact-box{ background:var(--cream-100); border:1px solid var(--line); border-radius:var(--radius); padding:20px 24px; margin-top:10px; }

/* ---------- Coming soon ---------- */
.soon-wrap{ text-align:center; padding:60px 0 40px; }
.soon-badge{
  display:inline-flex; align-items:center; gap:8px; background:var(--grad-gold); color:var(--purple-950);
  font-weight:700; font-size:.8rem; letter-spacing:.04em; text-transform:uppercase; padding:8px 20px; border-radius:999px;
  margin-bottom:22px;
}

/* ---------- Footer ---------- */
.site-footer{ background:var(--grad-purple); color:var(--cream-50); padding:64px 0 28px; margin-top:40px; }
.sf-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1.2fr; gap:32px; }
.sf-brand .brand{ margin-bottom:14px; }
.sf-brand .tile{
  background:var(--cream-50); border-radius:12px; padding:5px;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
}
.sf-brand .wm .a1{ color:var(--cream-50); }
.sf-brand .wm .a2{ color:var(--gold-400); }
.sf-desc{ font-size:.9rem; color:rgba(250,246,238,.72); max-width:280px; }
.sf-get-app{ font-size:.82rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--gold-300); margin:18px 0 10px; }
.sf-badges{ display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.sf-social{ display:flex; gap:10px; }
.sf-soc{
  width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(250,246,238,.12); transition:background .2s;
}
.sf-soc:hover{ background:var(--gold-500); }
.sf-soc svg{ width:16px; height:16px; }

.sf-col{ display:flex; flex-direction:column; gap:12px; }
.sf-col-head{ display:flex; align-items:center; gap:8px; margin-bottom:2px; }
.sf-col-title{ font-family:var(--ff-display); font-weight:700; font-size:1rem; color:var(--cream-50); }
.sf-col a{ font-size:.88rem; color:rgba(250,246,238,.72); }
.sf-col a:hover{ color:var(--gold-300); }

.sf-contact{ display:flex; align-items:flex-start; gap:8px; font-size:.86rem; color:rgba(250,246,238,.78); }
.sf-contact-link{ color:rgba(250,246,238,.78); }
.sf-contact-link:hover{ color:var(--gold-300); }

.sf-bottom{
  margin-top:48px; padding-top:22px; border-top:1px solid rgba(250,246,238,.14);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:.82rem; color:rgba(250,246,238,.58);
}

@media (max-width: 980px){
  .sf-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .sf-grid{ grid-template-columns:1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Misc ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media (max-width: 860px){ .two-col{ grid-template-columns:1fr; gap:32px; } }
.two-col.rev{ direction:rtl; } .two-col.rev > *{ direction:ltr; }

.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.chip{ font-size:.82rem; font-weight:600; background:var(--cream-100); border:1px solid var(--line); color:var(--purple-800); padding:7px 14px; border-radius:999px; }

.stat-row{ display:flex; flex-wrap:wrap; gap:40px; margin-top:18px; }
.stat b{ display:block; font-family:var(--ff-display); font-size:1.7rem; color:var(--purple-800); }
.stat span{ font-size:.82rem; color:var(--ink-soft); }
