/* ===== AstroShrine Shared Stylesheet ===== */

:root {
  --orange: #FF8201;
  --navy: #022346;
  --navy-deep: #011733;
  --gold: #FFD60A;
  --gold-hover: #D4A900;
  --gold-disabled: #FFF6C4;
  --gold-light: #FFF1AD;
  --gold-grad-start: #FFC700;
  --gold-grad-end: #997700;
  --green: #41AC3F;
  --bg: #FDFBFB;
  --bg-alt: #F5F5F5;
  --surface: #FFFFFF;
  --text: #363636;
  --text-muted: #666666;
  --border: #E2E2E2;
  --red: #E53935;
  --ai-1: #1A1A2E;
  --ai-2: #16213E;
  --ai-3: #0F3460;

  --radius-card: 12px;
  --radius-btn: 10px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-elev: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 12px 40px -8px rgba(255, 214, 10, 0.45);

  --max: 1200px;
  --gap: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ===== Typography ===== */
.display { font-family: "Poetsen One", "Georgia", serif; font-weight: 400; letter-spacing: -0.01em; }
.heading { font-family: "Geologica", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.015em; }

h1, h2, h3, h4 { font-family: "Geologica", system-ui, sans-serif; font-weight: 600; line-height: 1.25; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { background: var(--gold-hover); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 22px;
}
.btn-secondary:hover { background: var(--navy); color: #fff; }

.btn-ghost { background: transparent; color: var(--orange); padding: 12px 8px; }
.btn-ghost:hover { text-decoration: underline; transform: none; }

.btn-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,.14); }

/* Play Store Badge (custom) */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .15s ease, background .2s ease;
}
.play-badge:hover { transform: translateY(-2px); background: #111; }
.play-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.play-badge .pb-small { display: block; font-size: 11px; font-weight: 400; opacity: .8; letter-spacing: .05em; }
.play-badge .pb-big { display: block; font-family: "Geologica", sans-serif; font-size: 18px; font-weight: 600; line-height: 1.1; margin-top: 2px; }

/* APK Download Badge (branded gold) */
.apk-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold, #FFC500);
  color: #1a1408;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px -8px rgba(255, 197, 0, .55);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.apk-badge:hover {
  transform: translateY(-2px);
  background: #FFD23A;
  box-shadow: 0 12px 28px -8px rgba(255, 197, 0, .7);
}
.apk-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.apk-badge .pb-small { display: block; font-size: 11px; font-weight: 600; opacity: .7; letter-spacing: .08em; }
.apk-badge .pb-big { display: block; font-family: "Geologica", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.1; margin-top: 2px; }

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 251, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-mark { width: 36px; height: 36px; }
.nav-logo .logo-text {
  font-family: "Poetsen One", serif;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta { padding: 11px 18px; font-size: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--navy);
}

.nav-mobile { display: none; padding: 12px 24px 20px; border-top: 1px solid var(--border); }
.nav-mobile a { display: block; padding: 12px 0; font-weight: 500; }
.nav-mobile .btn { width: 100%; margin-top: 8px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.open { display: block; }
}

/* ===== Logo (SVG sun) ===== */
.logo-mark {
  display: inline-block;
  width: 80px;
  height: 80px;
  background: url('assets/logo.png') center / contain no-repeat;
  filter: drop-shadow(0 6px 16px rgba(255, 130, 1, .25));
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 130, 1, .18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 80%, rgba(255, 214, 10, .12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 60%, #010d1f 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 30%, #FFD60A 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 85%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 55%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 35% 90%, #FFD60A 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 60%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 45%, rgba(255,255,255,.6) 50%, transparent 51%);
  background-repeat: no-repeat;
  opacity: .9;
  pointer-events: none;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: .95; } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 214, 10, .12);
  border: 1px solid rgba(255, 214, 10, .25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: "Poetsen One", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  margin: 22px 0 20px;
  letter-spacing: -0.01em;
}
.hero h1 .gold {
  background: linear-gradient(135deg, #FFE066, #FFC700 50%, #FF8201);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats .stat .num {
  display: block;
  font-family: "Poetsen One", serif;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}
.hero-stats .stat .lbl {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}

/* Phone mockup */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  width: 290px;
  height: 600px;
  border-radius: 42px;
  background: #0a0a0a;
  padding: 10px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 0 2px #1a1a1a;
  transform: rotate(-6deg);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: #FDFBFB;
  position: relative;
  overflow: hidden;
}
.phone-screen .ps-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 0;
  color: #022346;
  font-size: 11px;
  font-weight: 600;
}
.phone-screen .ps-content {
  padding: 44px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ps-header {
  display: flex; align-items: center; justify-content: space-between;
}
.ps-header .ps-user {
  display: flex; align-items: center; gap: 8px;
}
.ps-header .ps-mini-logo {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: url('assets/logo.png') center / contain no-repeat #FFF1AD;
  padding: 2px;
  box-sizing: border-box;
  border: 1.5px solid #FFD60A;
}
.ps-header .ps-uname { color: #022346; font-weight: 700; font-size: 13px; }
.ps-header .ps-icons { display: flex; gap: 6px; }
.ps-header .ps-icons span {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #FFD60A;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #022346;
}
.ps-search {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid #E2E2E2;
  border-radius: 999px;
  padding: 9px 14px;
  color: #999;
  font-size: 11px;
}
.ps-search::after { content: "\1F50D"; margin-left: auto; }

/* AI Astrologer dark card */
.ps-ai {
  background: linear-gradient(135deg, #022346 0%, #0F3460 100%);
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  display: flex; gap: 10px; align-items: center;
  position: relative; overflow: hidden;
}
.ps-ai::before {
  content: "";
  position: absolute; right: -10px; top: -10px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(255,214,10,.2), transparent 70%);
}
.ps-ai-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: url('assets/logo.png') center / 130% no-repeat #FFF1AD;
  flex-shrink: 0;
  border: 1.5px solid #FFD60A;
}
.ps-ai .ps-ai-body { flex: 1; min-width: 0; }
.ps-ai .ps-ai-ttl { color: #FFD60A; font-weight: 700; font-size: 12px; }
.ps-ai .ps-ai-sub { font-size: 10px; color: rgba(255,255,255,.8); margin-top: 2px; line-height: 1.3; }
.ps-ai .ps-ai-arrow {
  width: 26px; height: 26px;
  background: #FFD60A;
  border-radius: 50%;
  color: #022346;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
  z-index: 1;
}

.ps-sec-ttl {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700; color: #022346;
  margin-top: 4px;
}
.ps-sec-ttl .ps-view { color: var(--text-muted); font-weight: 500; font-size: 10px; }

/* Astrologer list card */
.ps-card {
  background: #fff;
  border: 1px solid #E2E2E2;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.ps-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #FFF1AD;
  border: 2px solid #FFD60A;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #022346;
}
.ps-card .ps-meta { color: #022346; font-size: 10px; flex: 1; min-width: 0; }
.ps-card .ps-meta .nm { font-weight: 700; font-size: 11px; }
.ps-card .ps-meta .sp { color: var(--text-muted); font-size: 9.5px; margin-top: 2px; }
.ps-card .ps-meta .stars { color: #FFC700; font-size: 9px; letter-spacing: 1px; margin-top: 2px; }
.ps-card .ps-rate {
  background: #FFF6C4;
  color: #022346;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  display: flex; flex-direction: column;
  align-self: stretch;
  justify-content: center;
  min-width: 44px;
}
.ps-card .ps-rate .min { font-weight: 500; color: var(--text-muted); font-size: 9px; }
.ps-card .ps-rate.green { background: #DCEFD0; }
.ps-card .ps-action {
  width: 28px; height: 28px;
  background: #FFD60A;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.ps-card .ps-action.green { background: #41AC3F; color: #fff; }

/* bottom nav */
.ps-nav {
  margin-top: auto;
  background: #022346;
  border-radius: 999px;
  padding: 8px 14px;
  display: flex; justify-content: space-around;
  color: #fff;
  font-size: 9px;
  font-weight: 500;
}
.ps-nav span { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; opacity: .65; }
.ps-nav span.act { opacity: 1; color: #FFD60A; }
.ps-nav span::before { content: "●"; font-size: 11px; }

/* Floating accents around phone */
.float-tag {
  position: absolute;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-elev);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.float-tag.t1 { top: 60px; left: -30px; transform: rotate(-4deg); }
.float-tag.t2 { bottom: 100px; right: -30px; transform: rotate(3deg); }
.float-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(65,172,63,.2); }
.float-tag svg { width: 16px; height: 16px; color: var(--orange); }

@media (max-width: 900px) {
  .hero { padding: 60px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .phone { transform: rotate(-4deg) scale(.85); }
  .float-tag.t1 { left: 0; }
  .float-tag.t2 { right: 0; }
  .hero-stats { gap: 24px; }
}

/* ===== Section base ===== */
section { padding: 96px 0; position: relative; }
@media (max-width: 700px) { section { padding: 64px 0; } }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-family: "Poetsen One", serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 12px 0 14px;
  color: var(--navy);
}
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ===== Features grid ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(255, 130, 1, .25);
}
.feature::after {
  content: "";
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,10,.12), transparent 70%);
  opacity: 0; transition: opacity .25s ease;
}
.feature:hover::after { opacity: 1; }
.feature .ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
}
.feature .ico svg { width: 28px; height: 28px; stroke-width: 2; }
.feature .ico.yellow { background: #FFF1AD; color: #B58900; }
.feature .ico.peach  { background: #FFE0CC; color: #E07A1F; }
.feature .ico.pink   { background: #FFD9E0; color: #D14B6A; }
.feature .ico.green  { background: #DCEFD0; color: #41AC3F; }
.feature .ico.blue   { background: #D0E4F2; color: #1F6FB5; }
.feature .ico.purple { background: #DDD6F5; color: #6F5BD0; }
.feature h3 { font-size: 20px; margin-bottom: 10px; color: var(--navy); }
.feature p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ===== App Screenshots ===== */
.screens-bg { background: var(--bg-alt); overflow: hidden; }
.screens-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.screens-track::-webkit-scrollbar { height: 6px; }
.screens-track::-webkit-scrollbar-track { background: transparent; }
.screens-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }

.screen-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: center;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 20px 60px -15px rgba(0,0,0,.25),
    0 0 0 1px rgba(255,255,255,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.screen-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 28px 70px -15px rgba(0,0,0,.35),
    0 0 0 2px var(--gold);
}
.screen-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}
.screen-card .screen-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (min-width: 920px) {
  .screens-track {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: nowrap;
  }
  .screen-card { width: 220px; }
}
@media (max-width: 600px) {
  .screen-card { width: 220px; }
}

/* ===== How It Works ===== */
.how-bg { background: var(--bg-alt); }
.steps {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--orange) 0 6px, transparent 6px 12px);
  opacity: .35;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}
.step-num {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: "Poetsen One", serif;
  font-size: 26px;
  color: var(--orange);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(255, 130, 1, .2);
}
.step-body { padding-top: 8px; }
.step-body h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.step-body p { color: var(--text-muted); margin: 0; max-width: 600px; }

/* ===== AI Spotlight ===== */
.ai {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 130, 1, .14), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 214, 10, .1), transparent 60%),
    linear-gradient(135deg, var(--ai-1) 0%, var(--ai-2) 45%, var(--ai-3) 100%);
  color: #fff;
  overflow: hidden;
}
.ai::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 20%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 60% 30%, var(--gold) 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 90%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 90% 22%, var(--gold) 50%, transparent 51%);
  opacity: .9;
}
.ai-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }
.ai .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 214, 10, .15);
  color: var(--gold);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,214,10,.3);
}
.ai h2 {
  font-family: "Poetsen One", serif;
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  margin: 18px 0 20px;
}
.ai p.lead { font-size: 18px; color: rgba(255,255,255,.78); margin-bottom: 28px; max-width: 540px; }
.ai-bullets { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.ai-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,.9);
}
.ai-bullets svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); margin-top: 1px; }

.ai-chat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(12px);
  max-width: 440px;
  margin-left: auto;
}
.ai-chat .msg {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 90%;
}
.ai-chat .msg.user {
  background: var(--gold);
  color: #000;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.ai-chat .msg.bot {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255,255,255,.08);
}
.ai-chat .msg.bot .nm { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gold); margin-bottom: 6px; font-weight: 600; letter-spacing: .05em; }
.ai-chat .typing { display: inline-flex; gap: 3px; }
.ai-chat .typing span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: bounce 1.2s infinite; }
.ai-chat .typing span:nth-child(2) { animation-delay: .15s; }
.ai-chat .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }

/* ===== For Astrologers ===== */
.astro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .astro-grid { grid-template-columns: 1fr; } }
.astro-text h2 {
  font-family: "Poetsen One", serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  color: var(--navy);
  margin: 14px 0 16px;
}
.astro-text p.lead { color: var(--text-muted); font-size: 17px; margin-bottom: 24px; }
.astro-bullets { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 10px; }
.astro-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text);
}
.astro-bullets li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.astro-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.zodiac-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px -15px rgba(255, 198, 0, .3);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== Final CTA ===== */
.final {
  background:
    radial-gradient(ellipse at center, rgba(255, 214, 10, .12), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 50% 20%, var(--gold) 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 70%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 80%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 35%, #fff 50%, transparent 51%);
  opacity: .8;
}
.final-inner { position: relative; }
.final h2 {
  font-family: "Poetsen One", serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.final p { color: rgba(255,255,255,.75); font-size: 18px; max-width: 600px; margin: 0 auto 40px; }
.final-ctas { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 28px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo-mark { width: 48px; height: 48px; margin-bottom: 18px; }
.footer-brand .brand-name {
  font-family: "Poetsen One", serif;
  font-size: 24px;
  margin-bottom: 12px;
}
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 280px; }

footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }

.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--gold); color: var(--navy); }
.socials svg { width: 16px; height: 16px; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom .tagline { font-style: italic; }

/* ===== Document pages (legal / support / delete) ===== */
.doc-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.doc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 30%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 60%, var(--gold) 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 25%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 75%, rgba(255,255,255,.5) 50%, transparent 51%);
  opacity: .8;
}
.doc-hero-inner { position: relative; max-width: 880px; }
.doc-hero h1 {
  font-family: "Poetsen One", serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 16px 0 12px;
}
.doc-hero .meta { font-size: 14px; color: rgba(255,255,255,.6); }
.doc-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.55); }
.doc-hero .crumbs a:hover { color: var(--gold); }

.doc-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
}
@media (max-width: 820px) { .doc-body { grid-template-columns: 1fr; gap: 32px; } }

.toc {
  position: sticky;
  top: 90px;
  align-self: start;
  font-size: 14px;
  border-left: 2px solid var(--border);
  padding-left: 18px;
}
@media (max-width: 820px) { .toc { position: static; border-left: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; } }
.toc h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
  margin: 0 0 14px;
  font-weight: 600;
}
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.toc a {
  color: var(--text-muted);
  transition: color .2s;
  font-size: 13px;
  line-height: 1.4;
}
.toc a:hover, .toc a.active { color: var(--orange); }

.doc-content h2 {
  font-family: "Geologica", sans-serif;
  font-size: 28px;
  color: var(--navy);
  margin: 48px 0 14px;
  scroll-margin-top: 90px;
}
.doc-content h2:first-child { margin-top: 0; }
.doc-content h3 { font-size: 20px; color: var(--navy); margin: 28px 0 10px; }
.doc-content p { margin: 0 0 16px; color: var(--text); }
.doc-content ul, .doc-content ol { margin: 0 0 20px; padding-left: 22px; }
.doc-content li { margin-bottom: 8px; color: var(--text); }
.doc-content a { color: var(--orange); border-bottom: 1px solid rgba(255,130,1,.3); }
.doc-content a:hover { border-color: var(--orange); }
.doc-content strong { color: var(--navy); }

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.doc-content th {
  background: var(--bg-alt);
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: .02em;
}
.doc-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
}
.doc-content tr:last-child td { border-bottom: none; }

.callout {
  background: linear-gradient(135deg, var(--gold-light), #FFF8D6);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: 10px;
  margin: 24px 0;
  color: var(--navy);
  font-size: 15px;
}
.callout strong { color: var(--navy); }

.callout.warn {
  background: linear-gradient(135deg, #FFE8E8, #FFF1F1);
  border-left-color: var(--red);
}

/* ===== Support page ===== */
.support-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 96px;
}
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; gap: 40px; } }

.faq h2 { font-family: "Poetsen One", serif; font-weight: 400; font-size: 36px; color: var(--navy); margin-bottom: 24px; }

details.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 12px;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
details.faq-item[open] { border-color: rgba(255,130,1,.4); box-shadow: var(--shadow-card); }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-family: "Geologica", sans-serif;
  font-size: 24px;
  color: var(--orange);
  font-weight: 400;
  transition: transform .2s;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .ans {
  padding: 0 22px 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 88px;
  align-self: start;
  box-shadow: var(--shadow-card);
}
.contact-card h2 { font-family: "Poetsen One", serif; font-weight: 400; font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.contact-card .lede { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 130, 1, .15);
}
.field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.contact-card .btn { width: 100%; margin-top: 6px; }
.contact-meta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex; flex-direction: column; gap: 6px;
}
.contact-meta strong { color: var(--navy); }

/* ===== Delete account page ===== */
.del-grid {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.del-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0 40px; }
@media (max-width: 600px) { .del-options { grid-template-columns: 1fr; } }
.del-opt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.del-opt:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: rgba(255,130,1,.25); }
.del-opt .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--gold-light);
  color: var(--orange);
  font-family: "Poetsen One", serif;
  font-size: 14px;
  border-radius: 50%;
  margin-bottom: 14px;
}
.del-opt h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.del-opt p { color: var(--text-muted); font-size: 14px; margin: 0 0 14px; }
.del-opt .tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(65, 172, 63, .12);
  color: var(--green);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ===== Utilities ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

.icon { width: 20px; height: 20px; }
