/* AstroDivy — glass restyle (18 Oct 2026): whole page on the night sky, every card translucent,
   birth form first. Class names unchanged so app.js keeps working. */
:root {
  --night: #05060F;
  --royal: #46236C;        /* logo purple */
  --royal-2: #2C1747;
  --gold: #8B7CFF;         /* logo gold */
  --gold-soft: #A8E4FF;
  --moon: #EEF2FF;         /* main text on night */
  --mist: #B8C2E8;         /* secondary text */
  --mist-2: #8E98C2;
  --glass: rgba(255, 255, 255, .075);
  --glass-hi: rgba(255, 255, 255, .12);
  --glass-line: rgba(255, 255, 255, .17);
  --glass-line-hi: rgba(168,228,255, .55);
  --field: rgba(4, 6, 20, .5);
  --err: #FFB4A8;
  --display: 'Tiro Devanagari Hindi', Georgia, serif;
  --text: 'Mukta', system-ui, sans-serif;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --blur: blur(20px) saturate(150%);
  /* pre-glass tokens, kept so anything still using them (reports.css, inline styles) resolves */
  --ivory: #F4F0E9; --ink: #24152F; --ink-soft: #66587A; --line: #E4DACB; --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; color: var(--moon); font-family: var(--text); font-size: 17px; line-height: 1.6; min-height: 100vh;
  background:
    radial-gradient(80% 60% at 18% 8%, rgba(110, 58, 170, .55) 0%, transparent 60%),
    radial-gradient(70% 55% at 92% 40%, rgba(139,124,255, .10) 0%, transparent 60%),
    radial-gradient(90% 70% at 50% 110%, rgba(70, 35, 108, .7) 0%, transparent 65%),
    linear-gradient(180deg, #24123F 0%, #170B2C 45%, #120822 100%);
  background-attachment: fixed; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0; }
h2 { font-size: clamp(28px, 4.2vw, 40px); color: var(--moon); }
h3 { font-size: 21px; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.demo-bar { background: rgba(0, 0, 0, .35); color: var(--mist); font-size: 13px; text-align: center; padding: 6px 16px; }

/* one glass recipe for every card-like surface */
.bubble, .card, .choice-btn, .rung, .steps li, .pandit-sub, .faq details, .sheet-panel, .order {
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 8px clamp(16px, 4vw, 48px);
  background: rgba(20, 10, 38, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid rgba(255,255,255,.08); }
.logo img { display: block; height: 52px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--mist); }
.nav a:hover { color: var(--gold-soft); }
.lang { display: flex; border: 1px solid var(--glass-line); background: var(--glass); border-radius: 999px; overflow: hidden; padding: 3px; }
.lang button { background: none; border: 0; color: var(--mist); font: 500 14px var(--text); padding: 4px 13px; cursor: pointer; min-height: 32px; border-radius: 999px; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--night); font-weight: 600; }

/* stage: pandit + conversation */
.stage { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 56px); align-items: start;
  max-width: 1240px; margin: 0 auto; padding: clamp(20px, 3.5vw, 48px) clamp(16px, 4vw, 48px) clamp(40px, 5vw, 72px); min-height: calc(100vh - 100px); }
.scene { position: relative; width: min(100%, 440px); margin: 0 auto; text-align: center; padding: 18px 18px 0; }
.orbit { position: absolute; inset: -4% -10% auto; width: 120%; height: auto; pointer-events: none; z-index: 0; overflow: visible; }
.ring { transform-origin: 250px 250px; animation: turn 70s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.portal { position: relative; aspect-ratio: 1; border-radius: 50% 50% 22px 22px / 42% 42% 22px 22px; overflow: hidden; border: 1.5px solid rgba(139,124,255,.7);
  box-shadow: 0 0 0 6px rgba(139,124,255,.06), 0 30px 80px rgba(8, 2, 18, .55), 0 0 90px rgba(139,124,255,.14); background: #2C1747; z-index: 1; }
.breathe { position: absolute; inset: 0; transform-origin: 50% 85%; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012) translateY(-2px); } }
.pandit-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eyes-closed { position: absolute; left: 41.016%; top: 20.02%; width: 19.53%; height: auto; opacity: 0; animation: blink 5.2s infinite; }
@keyframes blink { 0%, 93%, 100% { opacity: 0; } 94.5%, 97% { opacity: 1; } }
.mouth-open { position: absolute; left: 44.14%; top: 28.52%; width: 12.70%; height: auto; opacity: 0; }
.scene.speaking .mouth-open { animation: talk .62s linear infinite; }
@keyframes talk { 0%, 12% { opacity: 0; } 22%, 38% { opacity: 1; } 48% { opacity: .2; } 58%, 74% { opacity: .9; } 86%, 100% { opacity: 0; } }
.diya-glow { position: absolute; left: 72.3%; top: 81.5%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,120,.55) 0%, rgba(255,190,80,.18) 40%, transparent 70%); mix-blend-mode: screen; animation: flick 1.6s ease-in-out infinite alternate; }
@keyframes flick { 0% { opacity: .65; transform: translate(-50%, -50%) scale(.95); } 45% { opacity: 1; transform: translate(-50%, -52%) scale(1.06); } 100% { opacity: .8; transform: translate(-50%, -50%) scale(1); } }
.twinkle { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #CFE9FF; box-shadow: 0 0 12px 4px rgba(255,214,120,.55); opacity: 0; animation: tw 4s ease-in-out infinite; }
@keyframes tw { 0%, 100% { opacity: 0; } 50% { opacity: .9; } }
.patri-card { position: absolute; left: -6px; bottom: 58px; z-index: 3; background: rgba(251, 246, 236, .92); border: 1.5px solid var(--gold); border-radius: 10px; padding: 6px 6px 4px;
  box-shadow: 0 10px 30px rgba(8,2,18,.45); transform: rotate(-3deg); width: 108px; }
.patri-card svg { display: block; width: 100%; height: auto; }
.patri-card span { display: block; font-size: 11.5px; font-weight: 700; color: var(--royal); margin-top: 2px; }
.ai-tag { font-size: 13.5px; color: var(--mist-2); margin-top: 34px; position: relative; z-index: 3; }
.mini .kline { stroke: #46236C; stroke-width: 6; fill: none; }
.mini .knum { display: none; }
.mini .kpl { fill: #46236C; font: 700 34px var(--text); }

/* conversation */
.talk { display: flex; flex-direction: column; gap: 14px; max-width: 620px; width: 100%; }
.bubble { background: var(--glass-hi); border: 1px solid var(--glass-line); color: var(--moon); border-radius: 6px var(--r-l) var(--r-l) var(--r-l);
  padding: 14px 18px; font-size: 18.5px; line-height: 1.5; max-width: 96%; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 18px 40px -20px rgba(0,0,0,.6); animation: rise .35s ease-out; }
.bubble .who { display: block; font-size: 13px; font-weight: 600; color: var(--gold-soft); margin-bottom: 2px; }
.bubble.me { align-self: flex-end; background: var(--gold); border-color: transparent; color: #1E1030; border-radius: var(--r-l) 6px var(--r-l) var(--r-l); font-weight: 600; font-size: 17px;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.bubble .caret { display: inline-block; width: 2px; height: 1em; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.warn { background: rgba(139,124,255,.12); border: 1px solid rgba(139,124,255,.4); padding: 10px 14px; border-radius: var(--r-s); margin-top: 10px; font-size: 16px; color: var(--moon); }
.warn strong { color: var(--gold-soft); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; animation: rise .35s ease-out; }
.choice-btn { text-align: left; background: var(--glass); border: 1px solid var(--glass-line); color: var(--moon); border-radius: var(--r-m); padding: 14px 16px; cursor: pointer;
  font: 500 15px var(--text); display: flex; flex-direction: column; gap: 2px; min-height: 92px; transition: background .2s, border-color .2s; }
.choice-btn:hover { background: var(--glass-hi); border-color: var(--glass-line-hi); }
.choice-btn b { font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--gold-soft); }
.choice-btn span { color: var(--mist); font-size: 14.5px; line-height: 1.4; }
.choice-btn em { font-style: normal; font-weight: 600; color: var(--moon); margin-top: auto; }
.choice-btn.best { grid-column: 1 / -1; min-height: 0; background: linear-gradient(135deg, rgba(139,124,255,.18), rgba(255,255,255,.06)); border-color: var(--glass-line-hi); }
.choice-btn.best em { color: var(--gold-soft); font-size: 18px; }
.linkish { background: none; border: 0; color: var(--gold-soft); font: 500 15px var(--text); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; align-self: flex-start; }

/* the form + reading cards: the glass that matters most */
.card { position: relative; background: var(--glass); border: 1px solid var(--glass-line); color: var(--moon); border-radius: var(--r-l); padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 40px 80px -40px rgba(0,0,0,.75); animation: rise .35s ease-out; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.10) 0%, transparent 38%); }
.birth { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.birth label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--mist); }
.birth .full { grid-column: 1 / -1; }
.birth input { font: 500 17px var(--text); color: var(--moon); background: var(--field); border: 1px solid var(--glass-line); border-radius: var(--r-s);
  padding: 11px 13px; min-height: 50px; width: 100%; color-scheme: dark; transition: border-color .15s, box-shadow .15s; }
.birth input::placeholder { color: var(--mist-2); }
.birth input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(139,124,255,.18); }
.hint { grid-column: 1 / -1; font-size: 13.5px; color: var(--mist-2); }
.form-error { grid-column: 1 / -1; background: rgba(255, 120, 100, .12); border: 1px solid rgba(255, 140, 120, .4); color: var(--err); border-radius: var(--r-s); padding: 8px 12px; font-size: 15px; }
.live { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.05); border: 1px dashed var(--glass-line); border-radius: var(--r-m); padding: 8px; }
.live svg { width: 112px; height: 112px; flex: none; }
.live p { font-size: 14.5px; color: var(--mist); }
.btn-main { display: inline-block; background: linear-gradient(180deg, #F0CB64, #E0B444); color: #1E1030; border: 0; border-radius: var(--r-s); font: 600 17.5px var(--text);
  padding: 12px 24px; min-height: 52px; cursor: pointer; text-decoration: none; text-align: center; box-shadow: 0 10px 30px -10px rgba(139,124,255,.6); transition: filter .15s, transform .08s; }
.btn-main:hover { filter: brightness(1.06); }
.btn-main:active { transform: translateY(1px); }
.birth .btn-main { grid-column: 1 / -1; }
.btn-line { background: var(--glass); border: 1px solid var(--glass-line); color: var(--moon); border-radius: var(--r-s); font: 500 16px var(--text); padding: 11px 20px; cursor: pointer; min-height: 48px; }
.btn-line:hover { border-color: var(--glass-line-hi); background: var(--glass-hi); }

.reading { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: start; }
.reading svg { width: 100%; height: auto; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); border-radius: var(--r-m); }
.reading dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: 15.5px; }
.reading dt { color: var(--mist); } .reading dd { margin: 0; font-weight: 600; }
.offer { margin-top: 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--glass-line); padding-top: 16px; }
.offer .price { font-family: var(--display); font-size: 30px; color: var(--gold-soft); }
.offer .what { flex: 1 1 200px; font-size: 15px; color: var(--mist); }
.offer .what strong { color: var(--moon); }
.offer .btn-line { flex: 1 1 200px; text-align: left; }

/* kundli drawing on dark glass */
.kline { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .85; }
.knum { fill: var(--mist-2); font: 500 13px var(--text); }
.kpl { fill: var(--moon); font: 600 17px var(--text); }
.kasc { fill: var(--gold-soft); }

/* sections below — all glass on the same sky */
main > section:not(.stage) { max-width: 1240px; margin: 0 auto; }
.reports, .how, .faq { padding: clamp(36px, 5vw, 72px) clamp(16px, 4vw, 48px); }
.section-lead { color: var(--mist); max-width: 62ch; margin-top: 10px; }
.ladder { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.rung { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px 28px; align-items: center; padding: 20px 22px; border-radius: var(--r-l);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset; }
.rung h3 { color: var(--moon); }
.rung .covers { color: var(--mist); font-size: 15.5px; margin-top: 4px; max-width: 64ch; }
.rung .meta { font-size: 14px; color: var(--gold-soft); margin-top: 6px; }
.buy { text-align: right; }
.buy .price { font-family: var(--display); font-size: 30px; color: var(--gold-soft); display: block; }
.buy button { margin-top: 6px; }
.rung.big { background: linear-gradient(135deg, rgba(139,124,255,.16), rgba(255,255,255,.06)); border-color: var(--glass-line-hi); }
.rung.big .buy button { background: var(--gold); color: #1E1030; border-color: transparent; font-weight: 600; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-l); padding: 22px; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 40px; color: var(--gold); display: block; line-height: 1; margin-bottom: 8px; }
.steps h3 { color: var(--moon); margin-bottom: 6px; }
.steps p { color: var(--mist); font-size: 16px; }
.pandit-sub { display: flex; gap: 28px; justify-content: space-between; align-items: center; margin: 0 auto; max-width: calc(1240px - 2 * clamp(16px, 4vw, 48px));
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l); background: linear-gradient(135deg, rgba(110,58,170,.35), rgba(255,255,255,.05)); border: 1px solid var(--glass-line); }
.pandit-sub p { max-width: 58ch; margin-top: 8px; color: var(--mist); }
.price-line strong { font-family: var(--display); font-size: 26px; color: var(--gold-soft); font-weight: 400; }
.faq details { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-m); padding: 14px 18px; max-width: 860px; margin-top: 10px; }
.faq details:first-of-type { margin-top: 22px; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 8px; color: var(--mist); max-width: 66ch; }
.foot { max-width: 1240px; margin: 0 auto; color: var(--mist-2); padding: 28px clamp(16px, 4vw, 48px) 40px; display: flex; gap: 24px; align-items: center; font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.08); }
.foot img { display: block; height: 52px; width: auto; }
.foot p { max-width: 70ch; }

/* checkout sheet — frosted panel over the sky */
.sheet { position: fixed; inset: 0; background: rgba(8, 3, 18, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; justify-content: flex-end; z-index: 50; }
.sheet-panel { background: rgba(32, 16, 58, .78); border-left: 1px solid var(--glass-line); color: var(--moon); width: min(520px, 100%); height: 100%; overflow-y: auto;
  padding: 28px clamp(18px, 4vw, 34px) 40px; position: relative; animation: slide .28s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.sheet-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--mist); width: 44px; height: 44px; }
.sheet h2 { font-size: 30px; padding-right: 40px; }
.track { display: flex; gap: 6px; margin: 14px 0 22px; }
.track span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); }
.track span.on { background: var(--gold); }
.order { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-m); padding: 16px 18px; margin-bottom: 20px; }
.order .row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.order .row span:first-child { color: var(--mist); }
.order .total { border-top: 1px solid var(--glass-line); margin-top: 8px; padding-top: 10px; font-weight: 600; font-size: 19px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; font-size: 14px; color: var(--mist); }
.field input { font: 500 17px var(--text); color: var(--moon); background: var(--field); border: 1px solid var(--glass-line); border-radius: var(--r-s); padding: 10px 12px; min-height: 48px; color-scheme: dark; }
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(139,124,255,.18); }
.lang-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 18px; }
.lang-pick label { border: 1px solid var(--glass-line); background: var(--glass); border-radius: var(--r-s); padding: 10px 8px; text-align: center; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--moon); }
.lang-pick input { position: absolute; opacity: 0; pointer-events: none; }
.lang-pick label:has(input:checked) { border-color: var(--gold); background: rgba(139,124,255,.14); color: var(--gold-soft); }
.lang-pick label:has(input:focus-visible) { outline: 3px solid var(--gold); }
.sheet .btn-main { width: 100%; }
.small { font-size: 13.5px; color: var(--mist-2); margin-top: 12px; }
.progress { list-style: none; padding: 0; margin: 20px 0; }
.progress li { padding: 10px 0 10px 34px; position: relative; color: var(--mist-2); border-bottom: 1px dashed rgba(255,255,255,.1); }
.progress li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.progress li.doing { color: var(--moon); font-weight: 500; }
.progress li.doing::before { border-color: var(--gold); border-top-color: transparent; animation: spin .8s linear infinite; }
.progress li.done { color: var(--moon); }
.progress li.done::before { background: var(--gold); border-color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.done-box { text-align: center; }
.done-box svg { width: 220px; height: 220px; background: rgba(255,255,255,.05); border: 1px solid var(--glass-line); border-radius: var(--r-m); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(32,16,58,.9); border: 1px solid var(--glass-line); color: var(--moon);
  padding: 10px 18px; border-radius: 999px; font-size: 15px; z-index: 60; max-width: calc(100% - 32px); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }

html[lang="hi"] body { font-size: 17.5px; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* phones and tablets: a small pandit beside the greeting, so the form is on the first screen */
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; min-height: 0; gap: 12px; padding-top: 14px; }
  .scene { width: 132px; padding: 0; margin: 0; justify-self: center; }
  .orbit, .patri-card, .ai-tag, .twinkle { display: none; }
  .portal { border-radius: 50%; box-shadow: 0 0 0 4px rgba(139,124,255,.08), 0 16px 40px rgba(8,2,18,.5); }
  .talk { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 1fr; gap: 10px; }
  .buy { text-align: left; display: flex; align-items: center; gap: 16px; }
  .buy .price { display: inline; }
  .buy button { margin-top: 0; }
  .pandit-sub { flex-direction: column; align-items: flex-start; margin: 0 clamp(16px, 4vw, 48px); }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .logo img { height: 44px; }
  .choices { grid-template-columns: 1fr; }
  .choice-btn { min-height: 0; }
  .birth { grid-template-columns: 1fr 1fr; }
  .bubble { font-size: 17px; }
  .card { padding: 16px; }
  .reading { grid-template-columns: 1fr; }
  .reading svg { max-width: 240px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) { .birth { grid-template-columns: 1fr; } }

/* ===================== hi-fi layer (18 Oct 2026: "first impression is last") ===================== */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.demo-bar, main, .foot { position: relative; z-index: 1; }
.top { z-index: 20; }

/* hero copy above the conversation */
.right { display: flex; flex-direction: column; gap: 10px; max-width: 620px; width: 100%; }
.hero-h { font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.01em; color: var(--moon); max-width: 17ch;
  background: linear-gradient(100deg, #F3EEF9 0%, #F3EEF9 40%, #CFE9FF 50%, #F3EEF9 60%, #F3EEF9 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 2.6s ease-in-out .4s 1 both, rise .7s ease-out both; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.hero-sub { color: var(--mist); font-size: 17px; max-width: 46ch; animation: rise .8s ease-out .15s both; }
.right .talk { margin-top: 6px; }

/* rashi ring replaces the dotted ring */
.orbit .ring { display: none; }
.rashi-ring { position: absolute; inset: -5% -6% auto; width: 112%; height: auto; z-index: 0; pointer-events: none; overflow: visible; }
.rashi-ring .spin { transform-origin: 250px 250px; animation: turn 160s linear infinite; }
.rr-line { fill: none; stroke: rgba(139,124,255,.38); stroke-width: 1; }
.rr-line.faint { stroke: rgba(139,124,255,.16); }
.rr-txt { fill: var(--gold-soft); font: 15px var(--display); text-anchor: middle; dominant-baseline: middle; opacity: .8; }

/* light that follows the cursor on every glass surface */
.bubble, .choice-btn, .rung, .steps li, .sc-list li, .trust li, .faq details, .pandit-sub { position: relative; }
.card::after, .bubble::after, .choice-btn::after, .rung::after, .steps li::after, .sc-list li::after, .trust li::after, .faq details::after, .pandit-sub::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 236, 190, .12), transparent 60%); }
.card:hover::after, .bubble:hover::after, .choice-btn:hover::after, .rung:hover::after, .steps li:hover::after, .sc-list li:hover::after, .trust li:hover::after, .faq details:hover::after, .pandit-sub:hover::after { opacity: 1; }
.choice-btn { transition: background .2s, border-color .2s, transform .2s; }
.choice-btn:hover { transform: translateY(-2px); }

/* the wow moment: kundli draws itself, planets land one by one */
.reveal .kline { stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: kdraw 1.1s cubic-bezier(.6,.1,.3,1) forwards; }
.reveal .kline:nth-child(2) { animation-delay: .15s; } .reveal .kline:nth-child(3) { animation-delay: .3s; } .reveal .kline:nth-child(4) { animation-delay: .45s; }
@keyframes kdraw { to { stroke-dashoffset: 0; } }
.reveal .knum { opacity: 0; animation: fade .5s 1.1s forwards; }
.reveal .kpl { opacity: 0; transform-box: fill-box; transform-origin: center; animation: land .6s cubic-bezier(.2,.9,.3,1.35) calc(1.25s + var(--i, 0) * 120ms) forwards; }
@keyframes land { from { opacity: 0; transform: translateY(-16px) scale(.5); filter: drop-shadow(0 0 0 transparent); } 60% { filter: drop-shadow(0 0 6px rgba(168,228,255,.9)); } to { opacity: 1; transform: none; filter: drop-shadow(0 0 0 transparent); } }
@keyframes fade { to { opacity: 1; } }
.reading svg { box-shadow: 0 0 0 1px rgba(139,124,255,.12), 0 0 60px -10px rgba(139,124,255,.25); }

/* trust strip */
.trust { list-style: none; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); max-width: 1240px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); font-size: 15px; color: var(--moon); line-height: 1.35; }
.trust svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* showcase: the 149-page report, fanned out */
.showcase { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px) clamp(24px, 4vw, 48px); }
.stack { position: relative; height: 470px; perspective: 1600px; }
.page { position: absolute; left: 50%; top: 50%; width: 250px; height: 344px; margin: -172px 0 0 -170px; border-radius: 10px; padding: 18px;
  background: linear-gradient(160deg, #FFFDF8, #F3ECDF); color: #2C1747; box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(139,124,255,.35);
  transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.2,.8,.2,1), box-shadow .3s; transform: rotateY(-8deg) rotateZ(0deg); }
.page h4 { font: 15px var(--display); color: #46236C; border-bottom: 1px solid rgba(70,35,108,.18); padding-bottom: 8px; margin: 0 0 12px; }
.showcase.in .page:nth-child(1) { transform: translateX(-120px) translateY(18px) rotateY(18deg) rotateZ(-9deg); transition-delay: .05s; z-index: 1; }
.showcase.in .page:nth-child(2) { transform: translateX(-62px) translateY(6px) rotateY(12deg) rotateZ(-4.5deg); transition-delay: .15s; z-index: 2; }
.showcase.in .page:nth-child(3) { transform: translateX(0) rotateY(6deg) rotateZ(0deg); transition-delay: .25s; z-index: 3; }
.showcase.in .page:nth-child(4) { transform: translateX(62px) translateY(6px) rotateY(0deg) rotateZ(4.5deg); transition-delay: .35s; z-index: 4; }
.showcase.in .page:nth-child(5) { transform: translateX(124px) translateY(18px) rotateY(-6deg) rotateZ(9deg); transition-delay: .45s; z-index: 5; }
.showcase.in .page:hover { box-shadow: 0 40px 70px -18px rgba(0,0,0,.7), 0 0 0 1.5px rgba(139,124,255,.8); z-index: 9; }
.pg-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  background: radial-gradient(120% 90% at 50% 0%, #4B2675, #2C1747 60%, #1B0D2E); color: #A8E4FF; }
.pg-cover b { font: 400 30px var(--display); } .pg-cover i { font-style: normal; font-size: 13px; color: #CDBFE0; }
.pg-om { font: 34px var(--display); color: #8B7CFF; }
.pg-k { width: 120px; height: 120px; margin-top: 10px; fill: none; stroke: #8B7CFF; stroke-width: 1.2; }
.pg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-grid svg { width: 100%; height: auto; fill: none; stroke: #46236C; stroke-width: 1.4; background: #fff; border-radius: 4px; }
.bars { display: grid; gap: 9px; margin-top: 4px; }
.bars i { display: block; height: 18px; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #46236C, #8A5CC2); }
.bars i:nth-child(2n) { background: linear-gradient(90deg, #4B5BD8, #8B7CFF); }
.cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cal i { height: 34px; border-radius: 5px; background: #ECE4F5; }
.cal i.g { background: #F6E4A8; } .cal i.c { background: #F3C9C2; }
.lines { display: grid; gap: 7px; margin-top: 14px; } .lines span { display: block; height: 6px; border-radius: 3px; background: #E3DAEE; }
.lines span:nth-child(2n) { width: 82%; } .lines span:last-child { width: 56%; }
.gems { display: flex; gap: 16px; justify-content: center; margin: 14px 0 6px; }
.gems i { width: 46px; height: 46px; transform: rotate(45deg); border-radius: 8px; background: linear-gradient(135deg, #fff, var(--c) 45%, #000 140%); box-shadow: 0 6px 14px -4px var(--c); }
.sc-copy .section-lead { margin-top: 12px; }
.count { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 18px; color: var(--mist); }
.count .num { font: 400 clamp(56px, 7vw, 84px)/1 var(--display); color: var(--gold-soft); font-variant-numeric: tabular-nums; min-width: 3ch; }
.sc-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-list li { padding: 14px 16px; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.sc-list b { display: block; font: 400 18px var(--display); color: var(--gold-soft); }
.sc-list span { display: block; font-size: 14.5px; color: var(--mist); line-height: 1.45; margin-top: 2px; }

/* one reveal per section */
.fx .trust:not(.in), .fx .showcase:not(.in) .sc-copy, .fx .reports:not(.in), .fx .how:not(.in), .fx .pandit-sub:not(.in), .fx .faq:not(.in) { opacity: 0; transform: translateY(28px); }
.fx .trust, .fx .showcase .sc-copy, .fx .reports, .fx .how, .fx .pandit-sub, .fx .faq { transition: opacity .9s ease-out, transform .9s cubic-bezier(.2,.8,.2,1); }

@media (max-width: 900px) {
  .right { max-width: none; }
  .hero-h { font-size: 30px; max-width: none; text-align: center; margin: 0 auto; }
  .hero-sub { text-align: center; margin: 0 auto; font-size: 16px; }
  .rashi-ring { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .stack { height: 380px; transform: scale(.8); margin: -30px 0; }
}
@media (max-width: 520px) {
  .trust li { font-size: 13.5px; padding: 12px; }
  .sc-list { grid-template-columns: 1fr; }
  .stack { transform: scale(.62); height: 330px; margin: -50px -40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-h { -webkit-text-fill-color: var(--moon); background: none; }
  .page { transition: none; }
}

/* pandit stays beside the conversation while it grows (desktop) */
@media (min-width: 901px) { .stage .scene { position: sticky; top: 96px; } }
.reading { grid-template-columns: 270px 1fr; }
.reading .kpl { font-size: 19px; }

/* fan: cover in front and centred, inner pages fanned behind it on both sides */
.showcase.in .page:nth-child(1) { transform: translateY(-6px) rotateZ(0deg); z-index: 5; transition-delay: .45s; }
.showcase.in .page:nth-child(2) { transform: translateX(-100px) translateY(8px) rotateY(10deg) rotateZ(-7deg); z-index: 4; transition-delay: .3s; }
.showcase.in .page:nth-child(3) { transform: translateX(100px) translateY(8px) rotateY(-10deg) rotateZ(7deg); z-index: 4; transition-delay: .3s; }
.showcase.in .page:nth-child(4) { transform: translateX(-188px) translateY(34px) rotateY(16deg) rotateZ(-14deg); z-index: 3; transition-delay: .15s; }
.showcase.in .page:nth-child(5) { transform: translateX(188px) translateY(34px) rotateY(-16deg) rotateZ(14deg); z-index: 3; transition-delay: .15s; }
.page { margin: -172px 0 0 -125px; }
.showcase.in .page:hover { z-index: 9; }

/* ===================== clean-up pass (18 Oct 2026, Vandan: "the website still looks weird") ===================== */
/* hero: the photo stands alone — no kundli card over his desk, no gold line running across the page */
.orbit, .patri-card { display: none; }
.rashi-ring { inset: -3% -3% auto; width: 106%; }

/* fan: narrower spread, then scaled so it always fits its own column (never over the text, never off screen) */
.stack { --fan: 1; transform: scale(var(--fan)); transform-origin: 50% 50%; margin: calc(-235px * (1 - var(--fan))) 0; }
.showcase.in .page:nth-child(2) { transform: translateX(-86px) translateY(8px) rotateY(10deg) rotateZ(-6deg); }
.showcase.in .page:nth-child(3) { transform: translateX(86px) translateY(8px) rotateY(-10deg) rotateZ(6deg); }
.showcase.in .page:nth-child(4) { transform: translateX(-156px) translateY(30px) rotateY(16deg) rotateZ(-12deg); }
.showcase.in .page:nth-child(5) { transform: translateX(156px) translateY(30px) rotateY(-16deg) rotateZ(12deg); }
.sc-copy { position: relative; z-index: 2; }
.showcase { overflow-x: clip; max-width: 1240px; margin: 0 auto; }
@media (max-width: 1300px) { .stack { --fan: .9; } }
@media (max-width: 1180px) { .stack { --fan: .8; } }
@media (max-width: 1060px) { .stack { --fan: .74; } }
@media (max-width: 900px)  { .stack { --fan: .9; height: 470px; } }
@media (max-width: 640px)  { .stack { --fan: .56; } }

/* Ask Pandit band keeps the same side margins as every other section */
.pandit-sub { width: calc(100% - 2 * clamp(16px, 4vw, 48px)); max-width: 1144px; margin: 0 auto; }
@media (max-width: 900px) { .pandit-sub { margin: 0 auto; } }

/* reveal: shorter and softer, so nothing sits half-faded while you scroll */
.fx .trust:not(.in), .fx .showcase:not(.in) .sc-copy, .fx .reports:not(.in), .fx .how:not(.in), .fx .pandit-sub:not(.in), .fx .faq:not(.in) { opacity: 0; transform: translateY(14px); }
.fx .trust, .fx .showcase .sc-copy, .fx .reports, .fx .how, .fx .pandit-sub, .fx .faq { transition: opacity .5s ease-out, transform .5s cubic-bezier(.2,.8,.2,1); }
