/* ==========================================================================
   NAKSHATRALOGY — "Observatory" design system (v3)
   Shared stylesheet for every page. Same brand tokens and fonts as before
   (Cormorant Garamond / Manrope / JetBrains Mono, midnight + gold), with a new
   layout language: floating glass navigation, zodiac-ring backdrop, editorial
   spacing, hairline-accented cards and softer, squarer controls.
   Content and markup are untouched — this file only controls presentation.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* spec palette (redesign.md §3) */
  --midnight: #0D1324;
  --ink: #070B16;            /* deep space */
  --ink-2: #0D1324;          /* cosmic navy */
  --navy-elev: #121A2E;      /* elevated navy */
  --card: #151F35;           /* card surface */
  --soft: #F7F5F1;           /* soft surface (light sections, if used) */
  --indigo: #4A3B8C;
  --aurora: #1F2459;
  --gold: #D9A441;           /* astrology gold */
  --gold-bright: #F2C76B;    /* bright gold */
  --cream: #FFF6DF;          /* warm cream */
  --saffron: #E0A04A;
  --purple: #6D5DF5;         /* purple glow */
  --violet: #8B7CF6;         /* soft violet */
  --cosmic-pink: #E8689C;
  --lavender: #B9C2D6;       /* secondary body text */
  --aurora-mint: #7BC4C4;
  --ivory: #F8FAFC;          /* primary text */
  --smoke: #9DA8BD;          /* muted text */
  --success: #43C88A;
  --warning: #E5A93A;
  --danger: #D95555;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --panel: rgba(255,255,255,0.035);
  --panel-2: rgba(255,255,255,0.06);
  --panel-gold: linear-gradient(160deg, rgba(74,59,140,0.38), rgba(12,12,41,0.72));
  --hair: rgba(255,255,255,0.085);
  --hair-gold: rgba(232,181,71,0.22);
  --line: rgba(232,181,71,0.16);
  --line-soft: rgba(255,255,255,0.08);

  --surface-1: var(--panel);
  --surface-2: var(--panel-2);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
  --glow-gold: 0 12px 34px -8px rgba(232,181,71,0.45);
  --maxw: 1200px;
  --nav-h: 80px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Backdrop: a faint zodiac wheel + warm and cool glows, fixed behind content */
/*body::before {*/
/*  content: '';*/
/*  position: fixed; inset: 0;*/
/*  background:*/
/*    radial-gradient(60% 45% at 8% 0%, rgba(232,181,71,0.09), transparent 70%),*/
/*    radial-gradient(55% 45% at 100% 100%, rgba(74,59,140,0.30), transparent 70%),*/
/*    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%23E8B547' stroke-opacity='.10' stroke-width='1'%3E%3Ccircle cx='450' cy='450' r='430'/%3E%3Ccircle cx='450' cy='450' r='360'/%3E%3Ccircle cx='450' cy='450' r='250'/%3E%3Ccircle cx='450' cy='450' r='120'/%3E%3Cpath d='M450 20v860M20 450h860M160 160l580 580M740 160L160 740'/%3E%3C/g%3E%3C/svg%3E") center -180px / 900px 900px no-repeat;*/
/*  pointer-events: none; z-index: 0;*/
/*}*/
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 28%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 62% 71%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 81% 14%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 36% 84%, rgba(255,255,255,.45), transparent);
  background-size: 340px 340px;
  opacity: .5; pointer-events: none; z-index: 0;
}
.wrapper { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(232,181,71,0.35); color: var(--ivory); }

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

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.eyebrow .dot {
  width: 22px; height: 1px; background: var(--gold); position: relative; display: inline-block;
}
.eyebrow .dot::after {
  content: ''; position: absolute; right: -3px; top: -2.5px; width: 6px; height: 6px;
  transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px rgba(232,181,71,.7);
}
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ivory); margin: 18px 0 14px;
}
.section-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.section-sub { color: var(--lavender); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7; font-weight: 300; }

section.block { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
section.block.alt {
  background: linear-gradient(180deg, transparent, rgba(31,36,89,0.22) 18%, rgba(31,36,89,0.22) 82%, transparent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 15px 28px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap; position: relative;
}
.btn-primary, .btn.primary {
  background: linear-gradient(180deg, #F3C964 0%, var(--gold) 45%, var(--saffron) 100%);
  color: #1a1206; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--glow-gold);
}
.btn-primary:hover, .btn.primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 40px -10px rgba(232,181,71,.6); }
.btn-ghost, .btn.ghost {
  background: rgba(255,255,255,0.03); color: var(--ivory); border-color: var(--hair-gold);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover, .btn.ghost:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(232,181,71,0.08); color: var(--gold-bright); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .01em;
  border-bottom: 1px solid var(--hair-gold); padding-bottom: 4px;
}
.link-more svg { transition: transform .2s var(--ease); }
.link-more:hover { color: var(--gold-bright); border-color: var(--gold); }
.link-more:hover svg { transform: translateX(4px); }

/* ============================================================
   NAV — floating glass capsule (homepage + inner pages)
   ============================================================ */
.navbar {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 28px)); height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 12px 0 22px; z-index: 200;
  background: rgba(12,12,40,0.62);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--hair); border-radius: 999px;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.6);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.navbar.scrolled { background: rgba(10,10,34,0.9); border-color: var(--hair-gold); }

/* ============ ZODIAC MARQUEE (kundli section strip) ============ */
.zodiac-marquee {
  margin-top: clamp(36px, 5vw, 56px); padding: 15px 0; overflow: hidden;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.zm-track { display: flex; align-items: center; width: max-content; animation: zm-slide 40s linear infinite; }
.zodiac-marquee:hover .zm-track { animation-play-state: paused; }
.zm-item {
  display: inline-flex; align-items: center; gap: 10px; padding-right: 46px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lavender); white-space: nowrap;
}
.zm-item img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(232,181,71,0.4)); }
@keyframes zm-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .zm-track { animation: none; } }
.nav-inner { width: 100%; height: 100%; display: flex; align-items: center; gap: 18px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 70px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 18px; margin-bottom:0; height: 100%; }
.nav-links > li { display: flex; align-items: center; height: 100%; }
.nav-links > li > a, .nav-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--lavender); background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links > li > a:hover, .nav-more-btn:hover { color: var(--ivory); background: rgba(255,255,255,0.06); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { padding: 9px 14px; font-weight: 700; font-size: 14px; color: var(--ivory); border-radius: 999px; }
.nav-login:hover { color: var(--gold-bright); }
.navbar > .btn-sm, .navbar > .nav-cta { margin-left: auto; }

/* inner-page nav: logo left, back link right */
.navbar .back-link {
  font-size: 13px; color: var(--lavender); display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03);
  font-weight: 600;
}
.navbar .back-link:hover { color: var(--gold); border-color: var(--hair-gold); }
.navbar .nav-right .link { font-size: 14px; color: var(--lavender); font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.navbar .nav-right .link:hover { color: var(--ivory); background: rgba(255,255,255,.06); }
.navbar .nav-cta { padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: linear-gradient(180deg, #F3C964, var(--gold) 50%, var(--saffron)); color: #1a1206; box-shadow: var(--glow-gold); }
.navbar .nav-cta.ghost { background: transparent; color: var(--gold); border: 1px solid var(--hair-gold); box-shadow: none; }

/* More dropdown */
.nav-more { position: relative; }
.nav-more-menu {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 230px;
  background: rgba(14,14,44,0.97); backdrop-filter: blur(20px);
  border: 1px solid var(--hair); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 210;
}
.nav-more.open .nav-more-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-more-menu a { display: flex; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--lavender); }
.nav-more-menu a:hover { background: rgba(255,255,255,0.06); color: var(--ivory); }
.nav-more-btn svg { transition: transform .2s var(--ease); }
.nav-more.open .nav-more-btn svg { transform: rotate(180deg); }

.nav-toggle {
  display: none; margin-left: auto; background: rgba(255,255,255,0.05); border: 1px solid var(--hair);
  color: var(--ivory); width: 42px; height: 42px; border-radius: 50%;
  align-items: center; justify-content: center; cursor: pointer;
}

/* mobile drawer */
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .navbar { top: 10px; height: 56px; }
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: 76px 12px 12px; z-index: 190;
    background: rgba(9,9,30,0.97); backdrop-filter: blur(16px);
    border: 1px solid var(--hair); border-radius: 22px;
    padding: 14px 22px 32px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
  }
  .mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu a, .mobile-menu .mm-group-title { display: block; }
  .mobile-menu > a { padding: 15px 4px; font-size: 18px; font-weight: 600; font-family: var(--font-display); border-bottom: 1px solid var(--line-soft); color: var(--ivory); }
  .mm-group-title { margin: 22px 4px 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
  .mobile-menu .mm-sub a { padding: 11px 4px; font-size: 15px; color: var(--lavender); border-bottom: 1px solid var(--line-soft); }
  .mm-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
}

/* ============================================================
   HOMEPAGE
   ============================================================ */
.hero { padding: calc(var(--nav-h) + clamp(36px, 6vw, 80px)) 0 clamp(64px, 8vw, 100px); position: relative; }
.hero::after {
  content: ''; position: absolute; left: 50%; top: 10%; width: min(1100px, 120vw); height: 620px;
  transform: translateX(-50%); pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(232,181,71,0.12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(44px, 6.6vw, 84px); line-height: .98; letter-spacing: -0.03em; margin: 22px 0 22px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: clamp(16px, 1.7vw, 19px); color: var(--lavender); max-width: 560px; line-height: 1.7; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.hero-trust span {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--lavender);
  font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.035); border: 1px solid var(--line-soft);
}
.hero-trust span::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: var(--aurora-mint); }
.hero-apps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-apps .store-badge { min-width: 170px; }

/* hero preview card */
.kundli-preview {
  position: relative; background: var(--panel-gold);
  border: 1px solid var(--hair-gold); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
}
.kundli-preview::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.kp-tag {
  position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--gold); border: 1px solid var(--hair-gold); padding: 3px 8px; border-radius: 6px;
}
.kp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.kp-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--saffron)); color: #1a1206; font-family: var(--font-display); font-weight: 700; font-size: 18px;
  box-shadow: 0 0 0 4px rgba(232,181,71,.12);
}
.kp-name { font-weight: 700; font-size: 15px; }
.kp-meta { font-size: 11px; color: var(--smoke); font-family: var(--font-mono); letter-spacing: .04em; }
.kp-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.kp-cell { background: rgba(0,0,0,0.22); border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 13px; }
.kp-cell .l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: var(--smoke); text-transform: uppercase; }
.kp-cell .v { font-size: 17px; font-weight: 600; color: var(--ivory); margin-top: 2px; font-family: var(--font-display); }
.kp-scores { display: grid; gap: 12px; margin-bottom: 16px; }
.kp-score .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--lavender); margin-bottom: 6px; }
.kp-score .top b { color: var(--ivory); font-weight: 700; }
.kp-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.kp-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--saffron)); }
.kp-transit {
  display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--aurora-mint);
  background: rgba(123,196,196,0.07); border: 1px solid rgba(123,196,196,0.22); border-radius: 12px; padding: 10px 13px;
}
.kp-transit .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora-mint); box-shadow: 0 0 0 0 rgba(123,196,196,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(123,196,196,0.5);} 70%{box-shadow:0 0 0 8px rgba(123,196,196,0);} 100%{box-shadow:0 0 0 0 rgba(123,196,196,0);} }

/* metrics — a single ruled strip instead of four boxes */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,0.025);
}
.metric { text-align: left; padding: 30px 28px; border-right: 1px solid var(--hair); }
.metric:last-child { border-right: 0; }
.metric .n { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4vw, 52px); color: var(--ivory); line-height: 1; letter-spacing: -0.02em; }
.metric .l { margin-top: 10px; font-size: 13px; color: var(--smoke); font-weight: 600; letter-spacing: .02em; }

/* life-area cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  position: relative; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 26px; text-align: left; cursor: pointer; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cat::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .25s var(--ease);
}
.cat:hover { transform: translateY(-4px); border-color: var(--hair-gold); background: var(--panel-2); }
.cat:hover::before { opacity: 1; }
.cat-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(232,181,71,0.08); border: 1px solid var(--hair-gold); color: var(--gold-bright);
}
.cat-ico svg { width: 22px; height: 22px; }
.cat h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ivory); line-height: 1.1; }
.cat p { font-size: 13.5px; color: var(--smoke); margin: 6px 0 16px; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tags span { font-size: 11.5px; color: var(--lavender); background: rgba(184,167,224,0.08); border: 1px solid var(--line-soft); padding: 4px 10px; border-radius: 8px; }

/* kundli preview (chart) */
.preview-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.chart-panel {
  background: var(--panel-gold); border: 1px solid var(--hair-gold); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow);
}
.north-chart { width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 1; }
.north-chart svg { width: 100%; height: 100%; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; justify-content: center; }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ivory); background: rgba(0,0,0,0.25); border: 1px solid var(--line-soft); border-radius: 8px; padding: 6px 11px; }
.chip b { color: var(--gold); }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 26px 0; }
.feat { display: flex; gap: 12px; align-items: flex-start; }
.feat .fi {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; background: rgba(232,181,71,0.07);
  border: 1px solid var(--hair-gold); display: grid; place-items: center; color: var(--gold);
}
.feat .ft { font-size: 14.5px; font-weight: 700; color: var(--ivory); }
.feat .fd { font-size: 13px; color: var(--smoke); line-height: 1.5; }

/* how it works — numbered rail */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; border-top: 1px solid var(--hair); }
.steps::before { display: none; }
.step { position: relative; text-align: left; padding: 34px 26px 0 0; }
.step-n {
  width: auto; height: auto; margin: 0 0 18px; border-radius: 0; display: block;
  font-family: var(--font-display); font-size: 15px; font-weight: 600; font-style: italic; color: var(--gold);
  background: none; border: 0; box-shadow: none; letter-spacing: .02em;
}
.step::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--gold);
  box-shadow: 0 0 14px rgba(232,181,71,.6);
}
.step h3 { font-size: 18px; font-weight: 700; color: var(--ivory); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--smoke); line-height: 1.6; }

/* AI astrologer */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.chatbox {
  background: rgba(10,10,34,0.7); border: 1px solid var(--hair-gold); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.chat-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
.chat-ai-ava {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #1a1206;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
}
.chat-ai-name { font-weight: 700; font-size: 14.5px; }
.chat-ai-status { font-size: 11px; color: var(--success); font-family: var(--font-mono); display: flex; align-items: center; gap: 6px; }
.chat-ai-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.bubbles { display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.bubble { max-width: 84%; padding: 12px 15px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
.bubble.user { align-self: flex-end; background: var(--gold); color: #1a1206; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble.ai { align-self: flex-start; background: rgba(255,255,255,0.05); border: 1px solid var(--line-soft); color: var(--ivory); border-bottom-left-radius: 4px; }
.bubble.ai .typing { display: inline-flex; gap: 4px; }
.bubble.ai .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--lavender); animation: blink 1.4s infinite both; }
.bubble.ai .typing i:nth-child(2) { animation-delay: .2s; }
.bubble.ai .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }
.chat-suggests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chat-suggests button {
  font-size: 12.5px; color: var(--lavender); background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; font-family: inherit; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.chat-suggests button:hover { border-color: var(--gold); color: var(--ivory); }

/* 16 engines */
.eng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.eng {
  background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.eng:hover { transform: translateY(-3px); border-color: var(--hair-gold); background: var(--panel-2); }
.eng-ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(74,59,140,0.35); border: 1px solid rgba(184,167,224,0.2); color: var(--gold-bright);
}
.eng h3 { font-size: 16px; font-weight: 700; color: var(--ivory); }
.eng p { font-size: 13px; color: var(--smoke); margin: 5px 0 12px; line-height: 1.55; }
.eng a { font-size: 13px; color: var(--gold); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.eng a:hover { color: var(--gold-bright); }
.eng-extra { display: none; }
.eng-extra.show { display: grid; }

/* astrologers */
.astro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.astro-card {
  background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.astro-card:hover { transform: translateY(-4px); border-color: var(--hair-gold); }
.astro-top { display: flex; align-items: center; gap: 14px; }
.astro-ava {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #1a1206;
  font-weight: 800; font-family: var(--font-display); font-size: 22px; position: relative; box-shadow: 0 0 0 4px rgba(255,255,255,.04);
}
.astro-ava .on { position: absolute; bottom: 0; right: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--success); border: 2px solid var(--ink); }
.astro-name { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 6px; }
.astro-name svg { color: var(--aurora-mint); }
.astro-role { font-size: 12px; color: var(--smoke); }
.astro-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.astro-tags span { font-size: 11.5px; color: var(--lavender); background: rgba(184,167,224,0.08); border: 1px solid var(--line-soft); padding: 3px 9px; border-radius: 8px; }
.astro-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.astro-actions a {
  font-size: 12.5px; font-weight: 700; padding: 10px 0; text-align: center; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft); color: var(--ivory);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.astro-actions a:hover { border-color: var(--gold); color: var(--gold); }
.note-line { text-align: center; font-size: 12.5px; color: var(--smoke); margin-top: 22px; }

/* simple vs expert */
.toggle-wrap { display: flex; justify-content: center; margin-bottom: 34px; }
.seg { display: inline-flex; background: rgba(255,255,255,0.03); border: 1px solid var(--hair); border-radius: 999px; padding: 5px; gap: 4px; }
.seg button {
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--lavender); background: none; border: none;
  padding: 10px 24px; border-radius: 999px; cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease);
}
.seg button.active { background: var(--gold); color: #1a1206; }
.se-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.se-card { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 26px; }
.se-card h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.se-simple .relation { font-family: var(--font-display); font-size: 26px; color: var(--ivory); margin-bottom: 8px; line-height: 1.15; }
.se-plain { font-size: 14px; color: var(--lavender); line-height: 1.65; }
.se-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--success);
  background: rgba(107,184,138,0.08); border: 1px solid rgba(107,184,138,0.25); border-radius: 999px; padding: 5px 12px; margin: 10px 0 14px;
}
.se-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.se-row:last-child { border-bottom: none; }
.se-row .k { color: var(--smoke); font-family: var(--font-mono); font-size: 12px; }
.se-row .v { color: var(--ivory); font-weight: 700; }
.se-row .v.pos { color: var(--success); }
.se-row .v.dim { color: var(--smoke); }
.av-bars { display: grid; gap: 14px; margin-top: 6px; }
.av-bar .top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.av-bar .top .lbl { color: var(--lavender); }
.av-bar .top .tag { font-weight: 700; }
.av-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.av-track > i { display: block; height: 100%; border-radius: 999px; }

/* accuracy */
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.acc { padding: 30px 28px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.acc-ico {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(232,181,71,0.07); border: 1px solid var(--hair-gold);
  display: grid; place-items: center; color: var(--gold); margin-bottom: 18px;
}
.acc h3 { font-size: 16.5px; font-weight: 700; color: var(--ivory); margin-bottom: 6px; }
.acc p { font-size: 13.5px; color: var(--smoke); line-height: 1.6; }

/* rating */
.rating-callout {
  max-width: 600px; margin: 0 auto; text-align: center; background: var(--panel-gold);
  border: 1px solid var(--hair-gold); border-radius: var(--radius-lg); padding: 44px 30px; box-shadow: var(--shadow);
}
.stars { font-size: 22px; color: var(--gold); letter-spacing: 6px; }
.rating-callout .big { font-family: var(--font-display); font-size: 64px; font-weight: 500; color: var(--ivory); margin: 8px 0 4px; line-height: 1; }
.rating-callout p { color: var(--lavender); font-size: 14.5px; line-height: 1.65; }

/* faq (homepage accordion) */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; transition: border-color .2s var(--ease); }
.faq-item.open { border-color: var(--hair-gold); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: none; color: var(--ivory); font-family: inherit;
  font-size: 15.5px; font-weight: 700; cursor: pointer;
}
.faq-q .ic { flex-shrink: 0; transition: transform .25s var(--ease); color: var(--gold); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--lavender); font-size: 14.5px; line-height: 1.7; }

/* developer cta band (homepage) */
.dev-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(74,59,140,0.45), rgba(31,36,89,0.35) 60%, rgba(232,181,71,0.07));
  border: 1px solid var(--hair-gold); border-radius: var(--radius-lg); padding: 32px 36px; position: relative; overflow: hidden;
}
.dev-cta::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(232,181,71,.18); box-shadow: 0 0 0 36px rgba(232,181,71,.03), 0 0 0 72px rgba(232,181,71,.02);
  pointer-events: none;
}
.dev-cta h3 { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--ivory); line-height: 1.1; }
.dev-cta p { font-size: 14.5px; color: var(--lavender); margin-top: 6px; max-width: 620px; }

/* app download */
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.app-card {
  background: var(--panel-gold); border: 1px solid var(--hair-gold); border-radius: var(--radius-lg);
  padding: 34px 30px; text-align: center; box-shadow: var(--shadow);
}
.app-card-ico {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 16px; font-size: 28px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(232,181,71,0.25), transparent 65%), rgba(255,255,255,0.04);
  border: 1px solid var(--hair-gold);
}
.app-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--ivory); line-height: 1.1; }
.app-card p { font-size: 14px; color: var(--lavender); margin: 8px 0 22px; }
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  background: rgba(0,0,0,0.35); border: 1px solid var(--line-soft); color: var(--ivory); position: relative; cursor: default; min-width: 160px; opacity: .92;
}
.store-badge svg { flex-shrink: 0; }
.store-badge .sb-small { font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--smoke); line-height: 1.1; }
.store-badge .sb-big { font-size: 15px; font-weight: 700; color: var(--ivory); line-height: 1.2; }
.store-badge .sb-soon {
  position: absolute; top: -9px; right: -8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; color: #1a1206; background: var(--gold); border-radius: 999px; padding: 2px 8px; font-weight: 700;
}
.store-badge-live { cursor: pointer; opacity: 1; transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease); }
.store-badge-live:hover { border-color: var(--gold); background: rgba(232,181,71,0.07); transform: translateY(-2px); }

/* final cta */
.final { text-align: center; }
.final-inner {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(56px, 7vw, 96px) 24px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(232,181,71,0.18), transparent 70%),
    linear-gradient(160deg, rgba(31,36,89,0.6), rgba(10,10,34,0.8));
  border: 1px solid var(--hair-gold);
}
.final h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 16px; }
.final h2 em { font-style: italic; color: var(--gold); }
.final p { color: var(--lavender); font-size: 17px; max-width: 560px; margin: 0 auto 32px; font-weight: 300; }
.final .hero-ctas { justify-content: center; margin: 0; }

/* footer */
.footer { border-top: 1px solid var(--hair); padding: 72px 0 36px; margin-top: 48px; background: rgba(7,7,26,0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand-text { color: var(--smoke); font-size: 14px; line-height: 1.7; margin: 16px 0 20px; max-width: 340px; }
.footer-col-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 14px; color: var(--lavender); }
.footer-links a:hover { color: var(--ivory); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft);
  display: grid; place-items: center; color: var(--lavender);
}
.footer-socials a:hover { color: var(--gold); border-color: var(--hair-gold); }
.footer-bottom {
  max-width: var(--maxw); margin: 52px auto 0; padding: 24px 28px 0; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12.5px; color: var(--smoke); }
.footer-copy em { font-style: italic; color: var(--gold); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: var(--smoke); }
.footer-legal a:hover { color: var(--ivory); }

/* ============================================================
   INNER PAGES — legal, contact
   ============================================================ */
.page-hero { padding: 168px 28px 56px; max-width: 980px; margin: 0 auto; text-align: center; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px;
  background: rgba(232,181,71,0.07); border: 1px solid var(--hair-gold); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 26px;
}
.page-eyebrow .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 8px var(--gold); }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(48px, 7vw, 88px); font-weight: 500;
  letter-spacing: -0.03em; line-height: .98; margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.page-hero p { color: var(--lavender); font-size: 17px; max-width: 600px; margin: 0 auto; font-weight: 300; line-height: 1.7; }
.page-hero-meta {
  color: var(--smoke); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-block; padding-top: 18px; border-top: 1px solid var(--line-soft); margin-top: 6px;
}

.content { max-width: 840px; margin: 0 auto; padding: 24px 28px 120px; }
.content > p:first-child { font-size: 16.5px; color: var(--ivory); }

/* legal typography */
h2 {
  font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--ivory);
  margin: 60px 0 16px; line-height: 1.1; letter-spacing: -0.01em; scroll-margin-top: 100px;
  padding-top: 26px; border-top: 1px solid var(--line-soft);
}
h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ivory); margin: 30px 0 10px; line-height: 1.2; }
p { color: var(--lavender); font-size: 15.5px; margin-bottom: 16px; line-height: 1.75; }
ul, ol { color: var(--lavender); font-size: 15.5px; margin: 0 0 22px 22px; line-height: 1.75; }
ul li, ol li { margin-bottom: 8px; padding-left: 4px; }
ul li::marker { color: var(--gold); }
strong { color: var(--ivory); font-weight: 700; }
code { font-family: var(--font-mono); font-size: .88em; color: var(--aurora-mint); }

table { width: 100%; border-collapse: collapse; margin: 14px 0 28px; font-size: 14px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  background: rgba(232,181,71,0.05); border-bottom-color: var(--hair-gold);
}
td { color: var(--lavender); }
td strong { color: var(--ivory); }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 8px; }
.table-wrap table { margin: 0; }
.table-wrap th:first-child, .table-wrap td:first-child { white-space: nowrap; }

.info-box {
  background: rgba(232,181,71,0.05); border: 1px solid var(--hair-gold); border-radius: var(--radius);
  padding: 20px 24px; margin: 26px 0; font-size: 14.5px; color: var(--ivory); line-height: 1.7;
  position: relative; padding-left: 24px;
}
.info-box::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--gold); border-radius: 2px; }
.info-box strong { color: var(--gold); }
.info-box.warn { background: rgba(229,169,58,0.06); border-color: rgba(229,169,58,0.35); }
.info-box.warn::before { background: var(--warning); }
.info-box.warn strong { color: var(--warning); }

/* table of contents */
.toc-card {
  background: var(--panel-gold); border: 1px solid var(--hair-gold); border-radius: var(--radius-lg);
  padding: 28px 30px; margin: 40px 0 10px; box-shadow: var(--shadow);
}
.toc-card-title { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.toc-list { list-style: none; columns: 2; column-gap: 32px; margin: 0; }
.toc-list li { padding: 6px 0; break-inside: avoid; margin: 0; }
.toc-list a { color: var(--lavender); font-size: 14px; }
.toc-list a:hover { color: var(--gold); }
.toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; }
.toc-grid .toc-list { columns: auto; }
.toc-sec { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); margin: 14px 0 4px; }

/* terms — audience split + part banners */
.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 44px; }
.audience-card {
  display: block; padding: 26px 28px; background: var(--panel); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.audience-card:hover { transform: translateY(-4px); border-color: var(--hair-gold); background: var(--panel-2); text-decoration: none; }
.audience-card .tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.audience-card.astro .tag { color: var(--saffron); }
.audience-card h3 { font-family: var(--font-display); font-size: 28px; color: var(--ivory); margin: 10px 0 6px; font-weight: 500; }
.audience-card p { font-size: 13.5px; color: var(--lavender); margin: 0; }
.part-banner {
  margin: 70px 0 10px; padding: 22px 28px; background: linear-gradient(120deg, rgba(74,59,140,0.35), rgba(10,10,34,0.4));
  border: 1px solid var(--hair-gold); border-radius: var(--radius); position: relative; overflow: hidden;
}
.part-banner::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.part-banner.astro::before { background: var(--saffron); }
.part-banner.dev::before { background: var(--aurora-mint); }
.part-banner .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.part-banner.astro .k { color: var(--saffron); }
.part-banner.dev .k { color: var(--aurora-mint); }
.part-banner h2 { margin: 6px 0 4px; border: 0; padding: 0; font-size: 32px; }
.part-banner p { margin: 0; font-size: 14px; }

/* refund — status pills + timeline */
.pill { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; padding: 3px 10px; border-radius: 999px; letter-spacing: .08em; }
.pill.yes { background: rgba(107,184,138,0.12); color: var(--success); border: 1px solid rgba(107,184,138,0.35); }
.pill.cond { background: rgba(229,169,58,0.12); color: var(--warning); border: 1px solid rgba(229,169,58,0.35); }
.pill.no { background: rgba(217,85,85,0.12); color: var(--danger); border: 1px solid rgba(217,85,85,0.35); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 28px 0 10px; border-top: 1px solid var(--hair); }
.timeline-step { padding: 22px 20px 0 0; position: relative; }
.timeline-step::before { content: ''; position: absolute; left: 0; top: -1px; width: 44px; height: 2px; background: var(--gold); }
.timeline-num { font-family: var(--font-display); font-size: 36px; color: var(--ivory); font-weight: 500; line-height: 1; margin-bottom: 8px; }
.timeline-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.timeline-desc { font-size: 13px; color: var(--lavender); line-height: 1.6; }

/* contact card (legal pages) */
.contact-card {
  background: var(--panel-gold); border: 1px solid var(--hair-gold); border-radius: var(--radius-lg);
  padding: 34px 34px 30px; margin: 56px 0 0; box-shadow: var(--shadow);
}
.contact-card h3 { margin-top: 0; font-size: 28px; }
.contact-card p { font-size: 14.5px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.channels { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 72px; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.channel-card {
  padding: 28px 24px; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius);
  text-align: left; transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  position: relative; overflow: hidden;
}
.channel-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .25s; }
.channel-card:hover { transform: translateY(-4px); border-color: var(--hair-gold); background: var(--panel-2); }
.channel-card:hover::before { opacity: 1; }
.channel-icon {
  width: 46px; height: 46px; margin: 0 0 18px; border-radius: 14px;
  background: rgba(232,181,71,0.08); border: 1px solid var(--hair-gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.channel-card.users .channel-icon { background: rgba(123,196,196,0.08); border-color: rgba(123,196,196,0.3); color: var(--aurora-mint); }
.channel-card.astro .channel-icon { background: rgba(232,104,156,0.08); border-color: rgba(232,104,156,0.3); color: var(--cosmic-pink); }
.channel-card.biz .channel-icon { background: rgba(74,59,140,0.35); border-color: rgba(184,167,224,0.3); color: var(--lavender); }
.channel-card.media .channel-icon { background: rgba(232,181,71,0.08); border-color: var(--hair-gold); color: var(--gold); }
.channel-tag { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.channel-title { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--ivory); line-height: 1.1; margin-bottom: 8px; }
.channel-title em { font-style: italic; color: var(--gold); }
.channel-desc { font-size: 13px; color: var(--smoke); line-height: 1.6; margin-bottom: 14px; }
.channel-link { font-family: var(--font-mono); font-size: 11.5px; color: var(--gold); letter-spacing: .02em; word-break: break-all; }

.contact-body { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 120px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.contact-form-block {
  padding: 42px 40px; background: var(--panel-gold); border: 1px solid var(--hair-gold); border-radius: 26px; box-shadow: var(--shadow);
}
.form-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.form-title { font-family: var(--font-display); font-size: 44px; font-weight: 500; color: var(--ivory); margin-bottom: 12px; line-height: 1; letter-spacing: -0.02em; }
.form-title em { font-style: italic; color: var(--gold); }
.form-sub { color: var(--lavender); font-size: 15px; margin-bottom: 30px; line-height: 1.6; }
.form-row { margin-bottom: 20px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--smoke); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; background: rgba(0,0,0,0.28); border: 1px solid var(--line-soft);
  border-radius: 12px; color: var(--ivory); font-size: 14.5px; font-family: var(--font-body);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(0,0,0,0.45); box-shadow: 0 0 0 4px rgba(232,181,71,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: #6f6e98; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select option { background: var(--ink); color: var(--ivory); }
.form-submit {
  width: 100%; padding: 16px 24px; background: linear-gradient(180deg, #F3C964, var(--gold) 50%, var(--saffron));
  color: #1a1206; border: none; border-radius: 12px; font-family: var(--font-body); font-size: 15px; font-weight: 800;
  letter-spacing: .02em; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--glow-gold);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 40px -10px rgba(232,181,71,.6); }
.form-submit:disabled { opacity: .6; cursor: progress; transform: none; }

.info-block { display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 30px 30px 14px; background: var(--panel); border: 1px solid var(--hair); border-radius: 26px; }
.info-card.highlight { background: var(--panel-gold); border-color: var(--hair-gold); box-shadow: var(--shadow); }
.info-eyebrow { font-family: var(--font-mono); font-size: 10.5px; color: var(--gold); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.info-title { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--ivory); line-height: 1.1; margin-bottom: 14px; }
.info-title em { font-style: italic; color: var(--gold); }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line-soft); }
.info-row:last-child { border: 0; }
.info-row-icon {
  width: 38px; height: 38px; border-radius: 12px; background: rgba(232,181,71,0.07); border: 1px solid var(--hair-gold);
  display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0;
}
.info-row-content { flex: 1; min-width: 0; }
.info-row-label { font-family: var(--font-mono); font-size: 9.5px; color: var(--smoke); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3px; }
.info-row-value { color: var(--ivory); font-size: 14.5px; line-height: 1.6; }
.info-row-value a { color: var(--ivory); border-bottom: 1px solid var(--line-soft); }
.info-row-value a:hover { color: var(--gold); border-color: var(--gold); }
.map-card {
  height: 240px; border-radius: 26px; overflow: hidden; border: 1px solid var(--hair-gold);
  background: radial-gradient(60% 60% at 50% 45%, rgba(232,181,71,0.16), transparent 70%), linear-gradient(135deg, rgba(74,59,140,0.5), rgba(10,10,34,0.8));
  position: relative; display: flex; align-items: center; justify-content: center;
}
.map-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(232,181,71,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(232,181,71,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-pin { position: relative; z-index: 2; text-align: center; }
.map-pin-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--gold), var(--saffron)); box-shadow: 0 10px 30px rgba(232,181,71,0.45); position: relative;
}
.map-pin-icon::after {
  content: '★'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(45deg);
  color: #1a1206; font-size: 22px; font-weight: 700;
}
.map-pin-label { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ivory); }
.map-pin-label em { font-style: italic; color: var(--gold); }
.map-pin-sub { font-family: var(--font-mono); font-size: 10px; color: var(--lavender); letter-spacing: .16em; margin-top: 4px; text-transform: uppercase; }
.hours-list { list-style: none; padding-bottom: 6px; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13.5px; }
.hours-list li:last-child { border: 0; }
.hours-day { color: var(--ivory); }
.hours-time { color: var(--gold); font-family: var(--font-mono); font-size: 12px; }

/* ============================================================
   DEVELOPER PAGE (body.dev-page)
   ============================================================ */
.dev-page .container { padding: 0 40px; }
.dev-page .hero { padding: 168px 0 72px; text-align: center; }
.dev-page .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px;
  background: rgba(123,196,196,0.07); border: 1px solid rgba(123,196,196,0.3); border-radius: 999px;
  font-size: 11px; letter-spacing: .2em; color: var(--aurora-mint); margin-bottom: 26px;
}
.dev-page .hero h1 { font-family: var(--font-display); font-size: clamp(50px, 7.4vw, 96px); font-weight: 500; letter-spacing: -0.03em; line-height: .96; margin: 0 0 24px; }
.dev-page .hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.dev-page .hero p { max-width: 640px; margin: 0 auto 38px; color: var(--lavender); font-size: clamp(16px,2vw,19px); font-weight: 300; line-height: 1.7; }
.dev-page .hero-ctas { margin: 0; justify-content: center; }
.dev-page .section { padding: 84px 0; }
.dev-page .section-head { margin-bottom: 52px; }
.dev-page .section-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--aurora-mint); margin-bottom: 16px; }
.dev-page .section-title { font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
.dev-page .section-title em { font-style: italic; color: var(--gold); }
.dev-page .section-sub { color: var(--lavender); font-size: 16px; margin-top: 16px; font-weight: 300; }

.dev-page .prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dev-page .prod { padding: 28px 26px; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.dev-page .prod:hover { transform: translateY(-4px); border-color: var(--hair-gold); background: var(--panel-2); }
.dev-page .prod-ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(232,181,71,0.08); border: 1px solid var(--hair-gold); font-size: 20px; margin-bottom: 18px; }
.dev-page .prod h3 { font-family: var(--font-display); font-size: 25px; font-weight: 500; color: var(--ivory); margin-bottom: 8px; line-height: 1.1; }
.dev-page .prod h3 em { color: var(--gold); font-style: italic; }
.dev-page .prod p { font-size: 13.5px; color: var(--lavender); line-height: 1.6; }
.dev-page .prod code { font-family: var(--font-mono); font-size: 11px; color: var(--aurora-mint); display: block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-soft); word-break: break-all; }

.dev-page .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--hair); }
.dev-page .step { position: relative; padding: 30px 24px 0 0; background: none; border: 0; border-radius: 0; }
.dev-page .step::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--gold); box-shadow: 0 0 12px rgba(232,181,71,.5); }
.dev-page .step-n { font-family: var(--font-display); font-size: 40px; color: var(--ivory); font-weight: 500; line-height: 1; font-style: normal; margin: 0; width: auto; height: auto; border: 0; background: none; box-shadow: none; display: block; }
.dev-page .step h4 { font-size: 16px; color: var(--ivory); margin: 14px 0 6px; font-weight: 700; }
.dev-page .step p { font-size: 13.5px; color: var(--lavender); line-height: 1.6; }

.dev-page .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.dev-page .code { background: #050517; border: 1px solid rgba(123,196,196,0.22); border-radius: var(--radius); padding: 24px 26px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.9; color: var(--lavender); overflow-x: auto; white-space: pre; box-shadow: var(--shadow); }
.dev-page .code .k { color: var(--aurora-mint); }
.dev-page .code .s { color: var(--gold-bright); }
.dev-page .code .c { color: var(--smoke); }
.dev-page .code .v { color: var(--cosmic-pink); font-weight: 700; }
.dev-page .endpoints { display: flex; flex-direction: column; gap: 8px; }
.dev-page .ep { font-family: var(--font-mono); font-size: 12.5px; color: var(--lavender); background: rgba(0,0,0,0.25); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.dev-page .ep .verb { font-weight: 700; padding: 3px 9px; border-radius: 6px; font-size: 10px; letter-spacing: .06em; min-width: 46px; text-align: center; }
.dev-page .ep .get { color: var(--aurora-mint); background: rgba(123,196,196,0.12); }
.dev-page .ep .post { color: var(--cosmic-pink); background: rgba(232,104,156,0.12); }

.dev-page .plan {
  max-width: 580px; margin: 0 auto; padding: 44px 42px 38px; background: var(--panel-gold);
  border: 1px solid var(--hair-gold); border-radius: 26px; box-shadow: var(--shadow); text-align: center;
}
.dev-page .plan .badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.dev-page .plan h3 { font-family: var(--font-display); font-size: 48px; font-weight: 500; color: var(--ivory); margin: 12px 0 6px; line-height: 1; }
.dev-page .plan h3 em { color: var(--gold); font-style: italic; }
.dev-page .plan .note { color: var(--lavender); font-size: 14px; margin-bottom: 26px; }
.dev-page .plan ul { list-style: none; text-align: left; max-width: 420px; margin: 0 auto 30px; }
.dev-page .plan li { padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ivory); display: flex; gap: 12px; }
.dev-page .plan li:last-child { border: 0; }
.dev-page .plan li svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.dev-page .plan .btn { width: 100%; justify-content: center; }

.dev-page .login-band {
  text-align: center; padding: 64px 40px; background: radial-gradient(70% 90% at 50% 0%, rgba(123,196,196,0.1), transparent 70%), rgba(255,255,255,0.025);
  border: 1px solid var(--hair); border-radius: 28px;
}
.dev-page .login-band h2 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 52px); font-weight: 500; margin-bottom: 14px; line-height: 1.05; letter-spacing: -0.02em; }
.dev-page .login-band h2 em { color: var(--gold); font-style: italic; }
.dev-page .login-band p { color: var(--lavender); max-width: 560px; margin: 0 auto 30px; }
.dev-page .login-band .hero-ctas { margin: 0; justify-content: center; }

.dev-page .faq-list { max-width: 860px; margin: 0 auto; }
.dev-page .faq-item { border: 1px solid var(--hair); border-radius: 14px; padding: 4px 24px; margin-bottom: 10px; background: var(--panel); transition: border-color .2s var(--ease); }
.dev-page .faq-item[open] { border-color: var(--hair-gold); }
.dev-page .faq-item summary { cursor: pointer; padding: 18px 0; font-size: 16px; font-weight: 700; color: var(--ivory); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.dev-page .faq-item summary::after { content: '+'; color: var(--gold); font-family: var(--font-mono); font-size: 18px; font-weight: 400; transition: transform .2s var(--ease); }
.dev-page .faq-item[open] summary::after { transform: rotate(45deg); }
.dev-page .faq-item summary::-webkit-details-marker { display: none; }
.dev-page .faq-item[open] summary { color: var(--gold-bright); }
.dev-page .faq-item .a { padding: 0 0 20px; color: var(--lavender); font-size: 14.5px; line-height: 1.7; }
.dev-page .faq-item .a code { font-family: var(--font-mono); color: var(--aurora-mint); }
.dev-page .faq-item .a a { color: var(--gold); border-bottom: 1px solid var(--hair-gold); }

.dev-page .footer { padding: 52px 40px; margin-top: 56px; text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .navbar .nav-right .link { display: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 440px; margin: 0 auto; width: 100%; }
  .preview-grid, .ai-grid, .contact-body { grid-template-columns: 1fr; }
  .cat-grid, .eng-grid, .astro-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .dev-page .prod-grid { grid-template-columns: 1fr 1fr; }
  .dev-page .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .dev-page .two-col { grid-template-columns: 1fr; }
  .audience-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .se-panels { grid-template-columns: 1fr; }
  .feat-list { grid-template-columns: 1fr; }
  .dev-cta { flex-direction: column; align-items: flex-start; }
  .apps-grid { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr; }
  .toc-list { columns: 1; }
  .contact-form-block { padding: 30px 22px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .navbar { padding: 0 8px 0 16px; }
  .cat-grid, .eng-grid, .astro-grid, .acc-grid, .prod-grid, .dev-page .prod-grid { grid-template-columns: 1fr; }
  .acc { border-right: 0; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 22px 18px; }
  .metric .n { font-size: 32px; }
  .hero-ctas .btn { flex: 1; }
  .store-badge { flex: 1; }
  .steps, .dev-page .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dev-page .container { padding: 0 20px; }
  .dev-page .hero { padding: 132px 0 48px; }
  .dev-page .plan { padding: 34px 24px 28px; }
  .dev-page .login-band { padding: 44px 22px; }
  .page-hero { padding: 132px 20px 36px; }
  .content { padding: 16px 20px 80px; }
  .channels { padding: 0 20px 48px; }
  .contact-body { padding: 0 20px 80px; }
  .footer-bottom { padding-left: 0; padding-right: 0; }
  .timeline { grid-template-columns: 1fr; }
  .audience-card { padding: 22px; }
  .info-box { padding: 18px 18px 18px 22px; }
  .toc-card { padding: 22px; }
  .metric .l { font-size: 12px; }
  .dev-page .ep { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   v4 — refinements from redesign.md ("Modern Vedic Intelligence")
   Presentation only: no copy, links, values or routes are changed here.
   ========================================================================== */

/* gold is an accent: softer borders, gold reserved for actions/metrics */
:root {
  --hair-gold: rgba(217,164,65,0.18);
  --line: rgba(217,164,65,0.14);
  --panel-gold: linear-gradient(160deg, rgba(109,93,245,0.20), rgba(21,31,53,0.92) 55%, rgba(13,19,36,0.96));
  --card-bg: linear-gradient(160deg, rgba(109,93,245,0.08), rgba(21,31,53,0.85));
  --glow-gold: 0 14px 36px -10px rgba(217,164,65,0.42);
}
body { background: var(--ink); }
/*body::before {*/
/*  background:*/
/*    radial-gradient(55% 45% at 8% 0%, rgba(217,164,65,0.07), transparent 70%),*/
/*    radial-gradient(60% 50% at 100% 100%, rgba(109,93,245,0.22), transparent 70%),*/
/*    radial-gradient(40% 35% at 0% 100%, rgba(109,93,245,0.10), transparent 70%),*/
/*    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%23D9A441' stroke-opacity='.08' stroke-width='1'%3E%3Ccircle cx='450' cy='450' r='430'/%3E%3Ccircle cx='450' cy='450' r='340'/%3E%3Ccircle cx='450' cy='450' r='230'/%3E%3C/g%3E%3C/svg%3E") center -180px / 900px 900px no-repeat;*/
/*}*/

/* touch targets ≥ 44px (redesign.md §31/§33) */
.btn, .faq-q, .astro-actions a, .chat-suggests button, .nav-links > li > a, .nav-more-btn, .seg button, .link-more { min-height: 44px; }
.btn { border-radius: 14px; }
.btn-primary, .btn.primary { overflow: hidden; }
/* button shine on hover (spec §26/§30) */
.btn-primary::after, .btn.primary::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-primary:hover::after, .btn.primary:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { to { left: 130%; } }

/* tertiary: text link with arrow nudge */
.link-more { border-bottom-color: transparent; }
.link-more:hover { border-color: transparent; text-decoration: underline; text-underline-offset: 6px; }

/* ---------- HERO: orbit background + floating product card ---------- */
.hero-copy > * { animation: fadeUp .8s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-media { position: relative; overflow: hidden; padding: 18px 0; }
.hero-media::before, .hero-media::after {
  content: ''; position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; z-index: -1;
  transform: translate(-50%, -50%);
}
.hero-media::before {
  width: 118%; aspect-ratio: 1; border: 1px dashed rgba(217,164,65,0.16);
  animation: orbit 140s linear infinite;
}
.hero-media::after {
  width: 84%; aspect-ratio: 1; border: 1px solid rgba(109,93,245,0.22);
  box-shadow: 0 0 80px rgba(109,93,245,0.18);
  animation: orbit 90s linear infinite reverse;
}
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }

.kundli-preview {
  background: var(--panel-gold);
  border-color: var(--hair-gold);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.kundli-preview::after {
  content: ''; position: absolute; inset: -30px; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(217,164,65,0.16), transparent 70%); pointer-events: none;
}

/* ---------- METRICS: horizontal bar with vertical separators ---------- */
.metrics { background: rgba(21,31,53,0.55); }
.metric .n { color: var(--ivory); }
.metric .l { color: var(--smoke); }

/* ---------- LIFE AREAS: arrow + hover glow ---------- */
.cat { background: var(--card-bg); }
.cat::after {
  content: '→'; position: absolute; right: 22px; top: 22px; color: var(--gold); font-size: 18px;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.cat:hover::after { transform: translateX(4px); color: var(--gold-bright); }
.cat:hover { box-shadow: 0 18px 50px -22px rgba(217,164,65,0.35), 0 0 0 1px rgba(217,164,65,0.10) inset; }
.cat h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- HOW IT WORKS: horizontal journey with circular steps ---------- */
.steps { border-top: 0; gap: 0; }
.steps::before {
  display: block; top: 29px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,164,65,0.55) 20%, rgba(217,164,65,0.55) 80%, transparent);
  box-shadow: 0 0 14px rgba(217,164,65,0.25);
}
.step { padding: 0 18px; text-align: center; }
.step::before { display: none; }
.step-n {
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-style: normal; font-size: 22px; font-weight: 600; color: var(--gold-bright);
  background: var(--ink); border: 1px solid rgba(217,164,65,0.6); box-shadow: 0 0 28px rgba(217,164,65,0.15);
}
.step h3 { font-size: 17px; }

/* ---------- AI ASTROLOGER: premium glass chat product ---------- */
.chatbox { background: var(--card-bg); backdrop-filter: blur(14px); border-color: rgba(109,93,245,0.28); position: relative; }
.chatbox::before {
  content: ''; position: absolute; inset: -40px; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109,93,245,0.18), transparent 70%);
}
.bubble.user { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); }
.bubble.ai { background: rgba(255,255,255,0.045); }

/* ---------- INSIGHT ENGINES: 4×4 / 2-col / 1-col, gradient border ---------- */
.eng-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.eng {
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, rgba(217,164,65,0.35), rgba(109,93,245,0.25) 60%, rgba(109,93,245,0.05)) border-box;
  border: 1px solid transparent;
}
.eng:hover { box-shadow: 0 18px 40px -20px rgba(109,93,245,0.45); }
/*.eng a::after { content: '→'; transition: transform .2s var(--ease); }*/
.eng:hover a::after { transform: translateX(4px); }
.eng h3 { font-size: 15.5px; }

/* ---------- HUMAN ASTROLOGERS: marketplace cards ---------- */
.astro-card { background: var(--card-bg); }
.astro-ava { border-radius: 50%; }

/* ---------- FAQ: title left, accordion right on desktop ---------- */
#faq > .container { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
#faq .section-head { margin: 0; text-align: left; position: sticky; top: 120px; }
#faq .section-head .eyebrow { justify-content: flex-start; }
#faq .faq-list { max-width: none; margin: 0; }

/* ---------- FINAL CTA: memorable closing ---------- */
.final-inner { background: radial-gradient(70% 90% at 50% 0%, rgba(217,164,65,0.16), transparent 70%), radial-gradient(60% 70% at 100% 100%, rgba(109,93,245,0.22), transparent 70%), linear-gradient(160deg, rgba(21,31,53,0.85), rgba(7,11,22,0.9)); }
.final-inner::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(217,164,65,0.12); pointer-events: none;
  box-shadow: 0 0 0 60px rgba(217,164,65,0.02), 0 0 0 120px rgba(217,164,65,0.012);
  animation: orbit 160s linear infinite;
}
.final-inner > * { position: relative; }

/* ---------- MOBILE ---------- */
@media (max-width: 1080px) {
  .eng-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  #faq > .container { grid-template-columns: 1fr; gap: 28px; }
  #faq .section-head { position: static; text-align: center; }
  #faq .section-head .eyebrow { justify-content: center; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { display: block; }
}
@media (max-width: 640px) {
  .eng-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 29px; bottom: 29px; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(217,164,65,0.55) 20%, rgba(217,164,65,0.55) 80%, transparent); }
  .step { display: grid; grid-template-columns: 58px 1fr; gap: 18px; text-align: left; align-items: center; padding: 0; }
  .step-n { margin: 0; }
  .hero-media::before { width: 110%; }
  .hero-media::after { width: 78%; }
  .cat { padding: 24px 22px; }
  .final-inner::before { width: 380px; height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .kundli-preview, .hero-copy > *, .hero-media::before, .hero-media::after, .hero::before, .final-inner::before { animation: none !important; }
}

/* ---------- HERO: zodiac circle background ---------- */
.hero {
  isolation: isolate;
  overflow-x: clip;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: zodiacWheelRotate 120s linear infinite;
  background: url('/assets/img/astrology-circle.png') center / contain no-repeat;
  opacity: .16;
  filter: drop-shadow(0 0 30px rgba(109,93,245,.18));
  pointer-events: none;
  z-index: -1;
}
@keyframes zodiacWheelRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero > .container {
  position: relative;
  z-index: 1;
}

/* keep decorative glows inside the viewport (no horizontal scroll on mobile) */
.kp-head { padding-right: 70px; }

@media (max-width: 980px) {
  .hero::before {
    top: 50%;
    left: 50%;
    width: min(92vw, 560px);
    opacity: .11;
  }
}

/* ---------- CTA button group: responsive stacking ---------- */
.hero-ctas { max-width: 100%; }
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { flex: none; width: 100%; max-width: 420px; margin-inline: auto; white-space: normal; text-align: center; padding: 15px 20px; }
  .final .hero-ctas { align-items: center; }
}
@media (max-width: 380px) {
  .hero-ctas .btn { font-size: 14px; padding: 14px 16px; }
}
