/* =========================================================================
   SAPPHIRE KUNDALI — Cosmic Vedic Astrology Sanctuary
   A premium, cinematic single-page experience.
   ========================================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Cosmic palette */
  --void:        #04050C;
  --bg:          #070A16;
  --bg-2:        #0A0F22;
  --indigo:      #111731;
  --indigo-2:    #161E42;
  --sapphire:    #3F7BFF;
  --sapphire-2:  #5B93FF;
  --sapphire-deep:#1C2E6B;
  --violet:      #3A2A66;
  --gold:        #E7C784;
  --gold-2:      #F3DCA4;
  --gold-deep:   #B8944E;
  --silver:      #CBD4EC;
  --silver-2:    #9AA3C2;
  --silver-3:    #6B7396;

  --line:        rgba(231, 199, 132, 0.16);  /* gold hairline  */
  --line-soft:   rgba(160, 180, 230, 0.09);
  --glass:       rgba(14, 20, 44, 0.42);
  --glass-2:     rgba(10, 15, 34, 0.62);

  --shadow-glow: 0 0 60px -12px rgba(63, 123, 255, 0.45);
  --gold-glow:   0 0 40px -8px rgba(231, 199, 132, 0.5);

  /* Fluid type scale */
  --fs-eyebrow: 0.72rem;
  --fs-body:    1.02rem;
  --fs-lead:    clamp(1.05rem, 0.9rem + 0.7vw, 1.35rem);
  --fs-h3:      clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
  --fs-h2:      clamp(2.2rem, 1.4rem + 3.2vw, 4rem);
  --fs-h1:      clamp(2.9rem, 1.4rem + 6.4vw, 6.6rem);
  --fs-display: clamp(3.4rem, 1.2rem + 8vw, 8rem);

  --space-section: clamp(6rem, 10vw, 11rem);
  --maxw: 1240px;

  --ease-cosmic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans:  "Jost", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--silver);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Ambient cosmic base gradient sits behind the star canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1200px 800px at 78% -8%, rgba(63,123,255,0.16), transparent 60%),
    radial-gradient(900px 700px at 8% 18%, rgba(58,42,102,0.22), transparent 62%),
    radial-gradient(1000px 900px at 50% 120%, rgba(28,46,107,0.28), transparent 60%),
    linear-gradient(180deg, var(--void), var(--bg) 40%, var(--bg-2) 100%);
}

/* Global drifting star canvas (JS-driven) */
#star-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Faint nebula veils that drift very slowly */
.nebula-veil {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: screen;
}
.nebula-veil.n1 { width: 46vw; height: 46vw; top: -8vw; right: -6vw;
  background: radial-gradient(circle, rgba(63,123,255,0.28), transparent 68%);
  animation: drift1 46s var(--ease-soft) infinite alternate; }
.nebula-veil.n2 { width: 40vw; height: 40vw; bottom: -10vw; left: -8vw;
  background: radial-gradient(circle, rgba(58,42,102,0.42), transparent 68%);
  animation: drift2 58s var(--ease-soft) infinite alternate; }

@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-4vw, 5vh, 0) scale(1.12); } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(5vw, -4vh, 0) scale(1.15); } }

::selection { background: rgba(231,199,132,0.28); color: #fff; }

img { max-width: 100%; display: block; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.06;
  letter-spacing: -0.01em; color: #F4F1FB; }

.serif { font-family: var(--font-serif); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center { justify-content: center; }

.lead { font-size: var(--fs-lead); color: var(--silver); font-weight: 300; line-height: 1.7; }
.muted { color: var(--silver-2); }
.gold-text { color: var(--gold); }

/* gradient emphasis for key words */
.shine {
  background: linear-gradient(100deg, var(--gold-2) 10%, #fff 40%, var(--sapphire-2) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: var(--space-section); }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.section-head p { max-width: 62ch; }
.section-head.center p { margin-inline: auto; }

/* 4-point sparkle glyph — the brand signature (reclaimed from the watermark) */
.sparkle {
  display: inline-block;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--spark-mask) center / contain no-repeat;
  mask: var(--spark-mask) center / contain no-repeat;
  --spark-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E");
}

.divider-star {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; color: var(--gold); margin: 0 auto;
}
.divider-star::before, .divider-star::after {
  content: ""; height: 1px; width: min(28vw, 240px);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.divider-star .sparkle { font-size: 0.8rem; opacity: 0.9; filter: drop-shadow(0 0 6px rgba(231,199,132,0.6)); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.95rem; --pad-x: 1.9rem;
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  cursor: pointer; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease-cosmic), box-shadow .5s var(--ease-cosmic),
              background .4s var(--ease-soft), color .4s var(--ease-soft), border-color .4s;
  position: relative; overflow: hidden;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  color: #0B0A12;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 0 rgba(231,199,132,0);
  font-weight: 600;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -10px rgba(231,199,132,0.6); }

.btn-ghost {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(231,199,132,0.02);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(231,199,132,0.55);
  background: rgba(231,199,132,0.08); box-shadow: var(--gold-glow); color: var(--gold-2); }

.btn-lg { --pad-y: 1.15rem; --pad-x: 2.4rem; font-size: 0.86rem; }

.link-explore {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none;
  transition: gap .4s var(--ease-cosmic), color .3s;
}
.link-explore::after { content: "→"; transition: transform .4s var(--ease-cosmic); }
.link-explore:hover { color: var(--gold-2); gap: 0.9em; }
.link-explore:hover::after { transform: translateX(4px); }

/* ==================================================================
   NAVIGATION
   ================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.3rem, 4vw, 3rem);
  transition: background .5s var(--ease-soft), padding .5s var(--ease-soft),
              border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 9, 20, 0.72);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; z-index: 2; }
.brand .mark { width: 30px; height: 30px; color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(231,199,132,0.55)); flex: none; }
.brand .mark .sparkle { width: 100%; height: 100%; }
.brand-name { font-family: var(--font-serif); font-size: 1.32rem; font-weight: 500;
  letter-spacing: 0.02em; color: #fff; line-height: 1; }
.brand-name b { color: var(--gold); font-weight: 500; }
.brand-sub { font-family: var(--font-sans); font-size: 0.56rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--silver-2); display: block; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.08em; color: var(--silver); text-decoration: none;
  position: relative; padding: 4px 0; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .4s var(--ease-cosmic);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .btn { --pad-y: 0.7rem; --pad-x: 1.35rem; font-size: 0.72rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; color: var(--gold); z-index: 2; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor;
  margin: 5px auto; transition: transform .4s var(--ease-cosmic), opacity .3s; }

/* ==================================================================
   HERO — The Living Universe
   ================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; }
.hero-video, .hero-video video, .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { z-index: 0; background: center/cover no-repeat; } /* instant fallback, behind video */
/* Video starts transparent and fades in once it is actually playing (JS adds
   .video-ready), so the poster covers any streaming/buffering — never a black hero. */
.hero-video video { z-index: 1; position: relative; opacity: 0;
  transition: opacity 1.2s var(--ease-soft); }
.hero.video-ready .hero-video video { opacity: 1; }

/* Cinematic overlay: dark for readability + corner vignette masks any residue */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 45%, transparent 20%, rgba(4,5,12,0.55) 78%),
    linear-gradient(180deg, rgba(4,5,12,0.5) 0%, transparent 22%, transparent 55%, rgba(4,5,12,0.85) 100%),
    linear-gradient(90deg, rgba(4,5,12,0.72) 0%, rgba(4,5,12,0.15) 45%, transparent 70%);
}
.hero-grain { position: absolute; inset: 0; z-index: 1; opacity: 0.4; pointer-events: none;
  background: radial-gradient(circle at 88% 82%, rgba(4,5,12,0.9), transparent 30%); }

.hero-inner { position: relative; z-index: 3; width: min(100% - 2.6rem, var(--maxw));
  margin-inline: auto; padding-top: 6rem; }
.hero-content { max-width: 760px; }
.hero .eyebrow { margin-bottom: 1.8rem; }
.hero h1 { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.015em;
  margin-bottom: 1.6rem; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-sub { font-size: var(--fs-lead); color: var(--silver); max-width: 52ch;
  margin-bottom: 2.6rem; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.scroll-cue { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-family: var(--font-sans); font-size: 0.64rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--silver-2); text-decoration: none; }
.scroll-cue .track { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent);
  position: relative; overflow: hidden; }
.scroll-cue .track::after { content: ""; position: absolute; top: -12px; left: 0; width: 1px; height: 12px;
  background: #fff; animation: cue 2.4s var(--ease-soft) infinite; }
@keyframes cue { 0% { top: -12px; opacity: 0; } 30% { opacity: 1; } 100% { top: 46px; opacity: 0; } }

/* Floating zodiac ring accent in hero (right side) */
.hero-ring { position: absolute; right: -12vw; top: 50%; transform: translateY(-50%);
  width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; z-index: 2;
  opacity: 0.5; pointer-events: none; animation: spin 220s linear infinite; }
.hero-ring svg { width: 100%; height: 100%; }

@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ==================================================================
   COSMIC INTRODUCTION
   ================================================================== */
.intro { text-align: center; padding-block: clamp(7rem, 14vw, 14rem);
  position: relative; overflow: hidden; }
.intro::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 50% 60%, rgba(28,46,107,0.5), transparent 70%); }
.intro h2 { font-size: var(--fs-display); font-weight: 400; letter-spacing: -0.02em;
  max-width: 16ch; margin: 1.8rem auto 2rem; line-height: 1.02; }
.intro h2 em { font-style: italic; color: var(--gold-2); }
.intro p { max-width: 56ch; margin: 0 auto; font-size: var(--fs-lead); color: var(--silver); }
.intro .divider-star { margin-top: 3.5rem; }

/* ==================================================================
   ABOUT — split editorial
   ================================================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center; }
.about-visual { position: relative; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-glow); }
.about-visual .portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); transition: transform 1.2s var(--ease-cosmic); }
.about-visual::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4,5,12,0.7)),
              radial-gradient(circle at 50% 20%, rgba(63,123,255,0.25), transparent 60%); }
.about-visual .visual-caption { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 2;
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--gold-2);
  text-shadow: 0 2px 20px rgba(0,0,0,0.8); }
.about-visual .halo { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(closest-side, transparent 62%, rgba(231,199,132,0.14) 63%, transparent 66%);
  mix-blend-mode: screen; }

.about-body h2 { font-size: var(--fs-h2); margin: 1.4rem 0 1.6rem; }
.about-body p + p { margin-top: 1.1rem; }
.about-stats { display: flex; gap: 2.4rem; margin: 2.4rem 0; flex-wrap: wrap; }
.about-stats .stat .num { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold-2);
  line-height: 1; }
.about-stats .stat .lbl { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--silver-2);
  text-transform: uppercase; margin-top: 0.4rem; }
.about-signature { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem;
  color: var(--silver); margin: 1.8rem 0; }

/* ==================================================================
   TRUST — Celestial Orbit
   ================================================================== */
.trust { text-align: center; }
.orbit-wrap { position: relative; width: min(92vw, 640px); aspect-ratio: 1; margin: 3.5rem auto 0;
  display: flex; align-items: center; justify-content: center; }
.orbit-rings { position: absolute; inset: 0; }
.orbit-rings span { position: absolute; border: 1px solid var(--line-soft); border-radius: 50%; }
.orbit-rings .r1 { inset: 0; border-color: var(--line); }
.orbit-rings .r2 { inset: 14%; }
.orbit-rings .r3 { inset: 30%; border-color: rgba(63,123,255,0.14); }
.orbit-rings .r-rot { inset: 7%; border: 1px dashed rgba(231,199,132,0.22);
  animation: orbitspin 64s linear infinite reverse; }

/* Constellation lines from the core out to each trust point */
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none; z-index: 1; }
.orbit-lines line { stroke: rgba(160,180,230,0.18); stroke-width: 1; vector-effect: non-scaling-stroke;
  transition: stroke .45s var(--ease-soft), filter .45s; }
.orbit-lines line.lit { stroke: rgba(231,199,132,0.75);
  filter: drop-shadow(0 0 4px rgba(231,199,132,0.85)); }

/* A comet that continuously travels the outer ring */
.orbit-spin { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  animation: orbitspin 20s linear infinite; }
.orbit-comet { position: absolute; top: -4px; left: 50%; width: 9px; height: 9px;
  margin-left: -4.5px; border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--gold) 55%, transparent 72%);
  box-shadow: 0 0 14px 4px rgba(231,199,132,0.75); }
.orbit-comet::after { content: ""; position: absolute; top: 50%; right: 6px; width: 46px; height: 2px;
  transform: translateY(-50%); border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(231,199,132,0.55)); }

.orbit-core { position: relative; width: 34%; height: 34%; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle, rgba(63,123,255,0.22), rgba(10,15,34,0.6) 70%);
  border: 1px solid var(--line); box-shadow: inset 0 0 40px rgba(63,123,255,0.25), var(--gold-glow);
  z-index: 2; animation: corepulse 5s var(--ease-soft) infinite; }
/* rotating champagne halo behind the core */
.orbit-core .core-halo { position: absolute; inset: -9%; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(231,199,132,0.5) 40deg,
    transparent 120deg, transparent 240deg, rgba(63,123,255,0.45) 300deg, transparent 360deg);
  filter: blur(6px); opacity: 0.7; animation: orbitspin 14s linear infinite; }
@keyframes orbitspin { to { transform: rotate(360deg); } }
@keyframes corepulse {
  0%, 100% { box-shadow: inset 0 0 40px rgba(63,123,255,0.25), 0 0 30px -6px rgba(231,199,132,0.4); }
  50%      { box-shadow: inset 0 0 52px rgba(63,123,255,0.4), 0 0 60px -4px rgba(231,199,132,0.65); } }
.orbit-core .sparkle { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(231,199,132,0.7)); }
.orbit-core strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; color: #fff;
  line-height: 1.15; }
.orbit-core span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver-2); margin-top: 0.3rem; }

/* Fills the orbit so the dot's %-based left/top resolve against the whole ring
   (a zero-size node would collapse every dot onto the centre). */
.orbit-node { position: absolute; inset: 0; pointer-events: none; }
.orbit-node .dot, .orbit-node .desc { pointer-events: auto; }
.orbit-node .dot {
  position: absolute; transform: translate(-50%, -50%);
  width: 118px; height: 118px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 0.35rem; cursor: default; z-index: 3;
  background: radial-gradient(circle at 50% 35%, rgba(40,60,120,0.55), rgba(10,15,34,0.72) 78%);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 22px rgba(63,123,255,0.16), 0 8px 24px -14px rgba(0,0,0,0.8);
  transition: border-color .5s, box-shadow .5s, transform .5s var(--ease-cosmic), background .5s;
}
.orbit-node .dot .ico { width: 24px; height: 24px; color: var(--gold); }
.orbit-node .dot .k { font-family: var(--font-serif); font-size: 1.15rem; color: #fff; line-height: 1; }
.orbit-node .dot .t { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--silver-2); max-width: 90px; line-height: 1.3; }
.orbit-node .desc {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 74px));
  width: 190px; font-size: 0.78rem; color: var(--silver); line-height: 1.5;
  background: var(--glass-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.7rem 0.9rem; opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 5;
  backdrop-filter: blur(10px);
}
.orbit-node:hover .dot, .orbit-node:focus-within .dot {
  border-color: rgba(231,199,132,0.6); box-shadow: var(--gold-glow);
  background: rgba(28,46,107,0.5); transform: translate(-50%, -50%) scale(1.08); }
.orbit-node:hover .desc, .orbit-node:focus-within .desc { opacity: 1; }
.orbit-node .dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Tighten the orbit on small screens so the fixed-size dots never crowd or clip */
@media (max-width: 560px) {
  .orbit-wrap { width: min(96vw, 420px); }
  .orbit-node .dot { width: 88px; height: 88px; gap: 0.2rem; }
  .orbit-node .dot .k { font-size: 0.98rem; }
  .orbit-node .dot .t { font-size: 0.5rem; max-width: 66px; letter-spacing: 0.06em; }
  .orbit-node .dot .ico { width: 18px; height: 18px; }
  .orbit-node .desc { width: 150px; font-size: 0.72rem; }
}

/* ==================================================================
   SERVICES — Gateways of knowledge
   ================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
  margin-top: 3.5rem; }
.gateway {
  position: relative; overflow: hidden; border-radius: 10px; min-height: 340px;
  padding: 2rem 1.8rem; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line-soft); cursor: pointer;
  background: linear-gradient(180deg, rgba(14,20,44,0.3), rgba(8,12,26,0.7));
  transition: transform .6s var(--ease-cosmic), border-color .6s, box-shadow .6s;
  isolation: isolate;
}
.gateway::before { /* atmosphere that ignites on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  transition: opacity .7s var(--ease-soft);
  background: var(--atmo);
}
.gateway::after { /* golden top glow line */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .6s; }
.gateway:hover, .gateway:focus-within {
  transform: translateY(-6px); border-color: rgba(231,199,132,0.4);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), var(--shadow-glow); }
.gateway:hover::before, .gateway:focus-within::before { opacity: 1; }
.gateway:hover::after, .gateway:focus-within::after { opacity: 1; }

.gateway .constellation { position: absolute; top: 1.4rem; right: 1.4rem; width: 90px; height: 90px;
  z-index: -1; opacity: 0.12; transition: opacity .7s, transform 1.2s var(--ease-cosmic); color: var(--gold); }
.gateway:hover .constellation { opacity: 0.6; transform: scale(1.1) rotate(8deg); }

.gateway .g-num { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--silver-3); margin-bottom: auto; }
.gateway .g-glyph { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; line-height: 1;
  filter: drop-shadow(0 0 12px rgba(231,199,132,0.35)); transition: transform .7s var(--ease-cosmic); }
.gateway:hover .g-glyph { transform: translateY(-4px); }
.gateway h3 { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.gateway p { font-size: 0.92rem; color: var(--silver-2); line-height: 1.55; margin-bottom: 1.3rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease-cosmic), opacity .5s, margin .6s; }
.gateway:hover p, .gateway:focus-within p { max-height: 120px; opacity: 1; }
.gateway .link-explore { opacity: 0.6; transition: opacity .5s; }
.gateway:hover .link-explore, .gateway:focus-within .link-explore { opacity: 1; }

/* per-service atmospheres */
.gw-birth   { --atmo: radial-gradient(120% 90% at 70% 10%, rgba(63,123,255,0.4), transparent 60%); }
.gw-vastu   { --atmo: radial-gradient(120% 90% at 30% 20%, rgba(226,178,90,0.28), transparent 62%); }
.gw-palm    { --atmo: radial-gradient(120% 90% at 60% 90%, rgba(159,107,196,0.34), transparent 62%); }
.gw-lal     { --atmo: radial-gradient(120% 90% at 20% 80%, rgba(197,88,88,0.3), transparent 62%); }
.gw-crystal { --atmo: radial-gradient(120% 90% at 80% 40%, rgba(90,196,196,0.3), transparent 62%); }
.gw-dosh    { --atmo: radial-gradient(120% 90% at 40% 30%, rgba(107,90,196,0.36), transparent 62%); }

/* ==================================================================
   FREE CONSULTATION
   ================================================================== */
.consult { position: relative; }
.consult-card {
  position: relative; overflow: hidden; border-radius: 16px; text-align: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 50% 0%, rgba(63,123,255,0.25), transparent 55%),
             linear-gradient(180deg, rgba(20,26,66,0.7), rgba(8,12,26,0.85));
  box-shadow: var(--shadow-glow);
}
.consult-card::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 80% at 50% 120%, rgba(231,199,132,0.22), transparent 60%); }
.consult-card > * { position: relative; z-index: 1; }
.consult-badge { display: inline-flex; align-items: center; gap: 0.6em; padding: 0.5rem 1.1rem;
  border-radius: 100px; border: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.8rem;
  background: rgba(231,199,132,0.05); }
.consult-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(231,199,132,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(231,199,132,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(231,199,132,0); } 100% { box-shadow: 0 0 0 0 rgba(231,199,132,0); } }
.consult-card h2 { font-size: var(--fs-h2); margin-bottom: 1.1rem; }
.consult-card .price { font-family: var(--font-serif); font-size: clamp(3rem,8vw,5.5rem); color: var(--gold-2);
  line-height: 1; margin: 0.4rem 0 0.8rem; }
.consult-card .price small { font-size: 0.28em; color: var(--silver-2); letter-spacing: 0.1em;
  vertical-align: super; }
.consult-card p { max-width: 52ch; margin: 0 auto 2.2rem; color: var(--silver); font-size: var(--fs-lead); }
.consult-note { margin-top: 1.6rem; font-size: 0.8rem; color: var(--silver-3); letter-spacing: 0.04em; }

/* Problem categories — a constellation of concerns */
.cat-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem;
  max-width: 880px; margin: 0.6rem auto 2.6rem; }
.cat-chip { position: relative; display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-sans); font-size: 0.86rem; font-weight: 300; letter-spacing: 0.01em;
  color: var(--silver); text-decoration: none; padding: 0.6rem 1.15rem; border-radius: 100px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,0.02);
  transition: color .35s, border-color .4s, background .4s, transform .5s var(--ease-cosmic),
              box-shadow .4s; }
.cat-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-deep); transition: background .35s, box-shadow .35s; }
.cat-chip:hover, .cat-chip:focus-visible { color: #fff; border-color: rgba(231,199,132,0.55);
  background: rgba(231,199,132,0.08); transform: translateY(-3px);
  box-shadow: 0 10px 26px -14px rgba(231,199,132,0.6); outline: none; }
.cat-chip:hover::before, .cat-chip:focus-visible::before { background: var(--gold-2);
  box-shadow: 0 0 8px rgba(231,199,132,0.9); }
.cat-chip--other { border-style: dashed; color: var(--silver-2); }
.cat-cta { margin-top: 0.4rem; }

/* ==================================================================
   PLACES WE SERVE — local SEO / service areas
   ================================================================== */
.places-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1rem; margin-top: 3.2rem; }
.place-card { position: relative; display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.3rem 1.4rem; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(14,20,44,0.4), rgba(8,12,26,0.6));
  transition: transform .5s var(--ease-cosmic), border-color .45s, box-shadow .45s, background .45s; }
.place-card:hover, .place-card:focus-visible { transform: translateY(-4px); outline: none;
  border-color: rgba(231,199,132,0.5); background: rgba(28,46,107,0.4);
  box-shadow: 0 16px 36px -20px rgba(231,199,132,0.5); }
.place-pin { width: 22px; height: 22px; color: var(--gold); margin-bottom: 0.3rem;
  filter: drop-shadow(0 0 8px rgba(231,199,132,0.35)); }
.place-name { font-family: var(--font-serif); font-size: 1.35rem; color: #fff; line-height: 1.1; }
.place-region { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-2); }
.place-card--hq { border-color: rgba(231,199,132,0.4); background: radial-gradient(120% 120% at 0% 0%, rgba(231,199,132,0.12), rgba(10,15,34,0.6) 60%); }
.place-card--hq .place-region { color: var(--gold); }
.places-note { text-align: center; margin-top: 2rem; font-size: 0.86rem; max-width: 60ch;
  margin-inline: auto; }

/* ==================================================================
   CITY (local SEO) PAGES — reuse the cosmic system
   ================================================================== */
.city-hero { text-align: center; padding-block: clamp(8rem, 13vw, 12rem) var(--space-section);
  position: relative; }
.city-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 50% 30%, rgba(28,46,107,0.5), transparent 70%); }
.crumbs { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver-3);
  margin-bottom: 1.6rem; }
.crumbs a { color: var(--silver-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.city-hero .eyebrow { margin-bottom: 1.4rem; }
.city-title { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.015em; margin-bottom: 1.4rem; }
.city-title em { font-style: italic; color: var(--gold-2); }
.city-lead { max-width: 60ch; margin: 0 auto; }
.city-actions { justify-content: center; margin-top: 2.4rem; }
.city-trustline { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.4rem, 5vw, 3.2rem);
  margin-top: 3rem; }
.city-trustline .ct { display: flex; flex-direction: column; align-items: center; }
.city-trustline .n { font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold-2); line-height: 1; }
.city-trustline .l { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silver-2); margin-top: 0.4rem; }
.city-cta-row { text-align: center; margin-top: 2.6rem; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.why-card { padding: 1.8rem 1.5rem; border-radius: 12px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(14,20,44,0.4), rgba(8,12,26,0.6)); }
.why-card .sparkle { color: var(--gold); font-size: 1rem; margin-bottom: 0.9rem;
  filter: drop-shadow(0 0 8px rgba(231,199,132,0.5)); }
.why-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--silver-2); line-height: 1.6; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ==================================================================
   LEGAL PAGES — Terms & Conditions / Privacy Policy
   ================================================================== */
.legal-page { padding-block: clamp(7rem, 11vw, 10rem) var(--space-section); }
.legal-wrap { max-width: 820px; }
.legal-title { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 1rem 0 0.4rem; }
.legal-updated { color: var(--silver-3); font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 2.5rem; }
.legal-body { color: var(--silver); font-size: 1rem; line-height: 1.8; }
.legal-body h2 { font-size: 1.5rem; color: var(--gold-2); margin: 2.4rem 0 0.8rem; }
.legal-body p { margin-bottom: 1rem; color: var(--silver-2); }
.legal-body .legal-intro { font-size: 1.1rem; color: var(--silver); margin-bottom: 1.6rem; }
.legal-body ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.legal-body li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; color: var(--silver-2); }
.legal-body li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold-deep); }
.legal-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--gold-2); }
.legal-body strong { color: #fff; font-weight: 500; }
.legal-callout { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1rem 0 1.4rem;
  background: radial-gradient(120% 120% at 0% 0%, rgba(231,199,132,0.1), rgba(10,15,34,0.4) 60%); }
.legal-callout ul { margin: 0; }
.legal-callout li { margin-bottom: 0.7rem; } .legal-callout li:last-child { margin-bottom: 0; }
.legal-foot-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
  color: var(--silver-2); font-size: 0.92rem; }
.legal-foot-note a { color: var(--gold); }

/* ==================================================================
   ZODIAC WHEEL — Your journey is unique
   ================================================================== */
.zodiac-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center; margin-top: 2.5rem; }
.wheel-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.wheel { width: 100%; height: 100%; }
.wheel .ring-rot { transform-origin: 300px 300px; animation: wheelspin 180s linear infinite; }
@keyframes wheelspin { to { transform: rotate(360deg); } }
.wheel .sign { cursor: pointer; }
.wheel .sign .sign-hit { fill: transparent; }
.wheel .sign .glyph { font-family: var(--font-serif); font-size: 26px; fill: var(--silver);
  text-anchor: middle; dominant-baseline: central; transition: fill .4s, filter .4s; }
.wheel .sign .seat { fill: rgba(63,123,255,0.05); stroke: var(--line-soft); stroke-width: 1;
  transition: fill .4s, stroke .4s; }
.wheel .sign:hover .glyph, .wheel .sign.active .glyph { fill: var(--gold-2);
  filter: drop-shadow(0 0 8px rgba(231,199,132,0.9)); }
.wheel .sign:hover .seat, .wheel .sign.active .seat { fill: rgba(231,199,132,0.12);
  stroke: rgba(231,199,132,0.55); }
.wheel .hub-glyph { font-family: var(--font-serif); fill: var(--gold-2); text-anchor: middle;
  dominant-baseline: central; }

.zodiac-panel { min-height: 260px; }
.zodiac-panel .z-eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--silver-2); }
.zodiac-panel .z-name { font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem); color: #fff;
  margin: 0.4rem 0 0.2rem; display: flex; align-items: baseline; gap: 0.6rem; }
.zodiac-panel .z-name .z-symbol { color: var(--gold); font-size: 0.8em; }
.zodiac-panel .z-dates { font-size: 0.82rem; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.2rem; }
.zodiac-panel .z-traits { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.3rem; }
.zodiac-panel .z-traits span { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--silver);
  border: 1px solid var(--line-soft); padding: 0.3rem 0.8rem; border-radius: 100px;
  background: rgba(255,255,255,0.02); }
.zodiac-panel .z-desc { color: var(--silver-2); font-size: 0.98rem; line-height: 1.65; max-width: 44ch; }
.zodiac-panel .z-hint { margin-top: 1.6rem; font-size: 0.74rem; color: var(--silver-3); letter-spacing: 0.1em; }

/* ==================================================================
   GEMSTONES
   ================================================================== */
.gems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3.5rem; }
.gem-card { position: relative; border-radius: 12px; padding: 2.4rem 1.6rem 1.8rem; text-align: center;
  border: 1px solid var(--line-soft); overflow: hidden;
  background: linear-gradient(180deg, rgba(12,17,38,0.5), rgba(6,9,20,0.7));
  transition: transform .6s var(--ease-cosmic), border-color .5s, box-shadow .5s; }
.gem-card:hover { transform: translateY(-6px); border-color: var(--line);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,0.9); }
.gem-stage { height: 130px; display: flex; align-items: center; justify-content: center;
  position: relative; margin-bottom: 1.4rem; }
.gem-stage .glow { position: absolute; width: 130px; height: 130px; border-radius: 50%;
  filter: blur(26px); opacity: 0.55; background: var(--gem); transition: opacity .5s; }
.gem-card:hover .gem-stage .glow { opacity: 0.9; }
.gem { width: 82px; height: 92px; position: relative; animation: gemfloat 7s var(--ease-soft) infinite; }
.gem svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)); }
@keyframes gemfloat { 0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); } }
.gem-card h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.gem-card .gem-sanskrit { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem; }
.gem-card p { font-size: 0.9rem; color: var(--silver-2); line-height: 1.55; margin-bottom: 1.2rem; }

/* ==================================================================
   NUMEROLOGY
   ================================================================== */
.numerology { position: relative; overflow: hidden; }
.num-float { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.num-float span { position: absolute; font-family: var(--font-serif); color: rgba(231,199,132,0.14);
  font-weight: 500; user-select: none; animation: numrise linear infinite; }
@keyframes numrise { from { transform: translateY(40px); opacity: 0; }
  15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(-60px); opacity: 0; } }
.numerology .wrap { position: relative; z-index: 1; }
.num-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2.5rem,6vw,5rem); align-items: center; }
.num-visual { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.num-visual .num-ring { position: absolute; inset: 8%; border: 1px solid var(--line-soft); border-radius: 50%; }
.num-visual .num-ring.i2 { inset: 22%; border-color: var(--line); }
.num-visual .big-num { font-family: var(--font-serif); font-size: clamp(6rem,18vw,11rem); color: var(--gold-2);
  line-height: 1; filter: drop-shadow(0 0 30px rgba(231,199,132,0.35)); }
.num-visual .orbit-num { position: absolute; font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--silver); }

/* ==================================================================
   MOBILE APP
   ================================================================== */
.app { position: relative; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,5rem); align-items: center; }
.app-copy .coming { display: inline-block; margin-bottom: 1.4rem; }
.app-copy h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.app-features { list-style: none; margin: 2rem 0; display: grid; gap: 1rem; }
.app-features li { display: flex; align-items: center; gap: 0.9rem; color: var(--silver); font-size: 0.96rem; }
.app-features li .sparkle { color: var(--gold); font-size: 0.7rem; flex: none; }
.app-stage { position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 520px; }
.phone { position: relative; width: 260px; height: 520px; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #23294a, #0a0e1f 60%); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9), var(--shadow-glow); }
.phone.back { position: absolute; transform: rotate(-9deg) translate(-64px, 20px) scale(0.92);
  opacity: 0.72; z-index: 1; filter: blur(0.4px); }
.phone.front { z-index: 2; transform: rotate(4deg); }
.phone .screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 50% 0%, rgba(63,123,255,0.35), transparent 55%),
             linear-gradient(180deg, #0a1030, #05070f); padding: 1.4rem 1.2rem; }
.phone .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 6px;
  background: rgba(255,255,255,0.14); border-radius: 100px; z-index: 3; }
.phone .app-top { font-family: var(--font-serif); color: var(--gold-2); font-size: 1rem; margin-top: 1rem;
  display: flex; align-items: center; gap: 0.4rem; }
.phone .app-hello { color: var(--silver-2); font-size: 0.68rem; letter-spacing: 0.06em; margin: 0.9rem 0 0.3rem; }
.phone .app-title { color: #fff; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.15; }
.phone .app-chip { display: inline-block; margin-top: 0.8rem; font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 100px;
  padding: 0.25rem 0.6rem; }
.phone .app-card { margin-top: 0.9rem; padding: 0.8rem; border-radius: 12px; border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.03); }
.phone .app-card .r { display: flex; justify-content: space-between; align-items: center; }
.phone .app-card .k { color: var(--silver); font-size: 0.66rem; }
.phone .app-card .v { color: var(--gold); font-size: 0.66rem; }
.phone .app-bars { display: flex; gap: 5px; align-items: flex-end; height: 34px; margin-top: 0.7rem; }
.phone .app-bars i { flex: 1; background: linear-gradient(180deg, var(--sapphire-2), transparent); border-radius: 3px; }
.phone .app-mini-wheel { width: 80px; height: 80px; margin: 1rem auto 0; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.4rem;
  background: radial-gradient(circle, rgba(63,123,255,0.3), transparent 70%); }

/* ==================================================================
   FINAL CTA
   ================================================================== */
.final { position: relative; min-height: 92svh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 90% at 50% 40%, rgba(28,46,107,0.55), transparent 68%),
             radial-gradient(50% 60% at 50% 100%, rgba(231,199,132,0.12), transparent 60%); }
.final-inner { position: relative; z-index: 2; width: min(100% - 2.6rem, 860px); }
.final .eyebrow { margin-bottom: 2rem; }
.final h2 { font-size: var(--fs-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02;
  margin-bottom: 1.6rem; }
.final h2 em { font-style: italic; color: var(--gold-2); }
.final p { max-width: 50ch; margin: 0 auto 2.6rem; font-size: var(--fs-lead); color: var(--silver); }
.final-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.final-logo { margin-top: 4rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--gold); }
.final-logo .mark { width: 30px; height: 30px; filter: drop-shadow(0 0 12px rgba(231,199,132,0.6)); }
.final-logo .fl-name { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; letter-spacing: 0.04em; }
.final-logo .fl-sub { font-size: 0.56rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--silver-2); }

/* ==================================================================
   FOOTER
   ================================================================== */
.footer { position: relative; border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(8,11,25,0.6), var(--void)); padding-top: clamp(4rem,7vw,6rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer .brand { margin-bottom: 1.2rem; }
.footer-about { color: var(--silver-2); font-size: 0.92rem; line-height: 1.7; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem; font-weight: 500; }
.footer-col ul { list-style: none; display: grid; gap: 0.75rem; }
.footer-col a, .footer-contact a { color: var(--silver-2); text-decoration: none; font-size: 0.9rem;
  transition: color .3s; }
.footer-col a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: 0.8rem; font-size: 0.9rem; color: var(--silver-2); }
.footer-contact .row { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact .row svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; color: var(--silver-2); transition: all .4s; }
.footer-social a:hover { border-color: var(--line); color: var(--gold); box-shadow: var(--gold-glow);
  transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-block: 1.8rem; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--silver-3); }
.footer-bottom .legal { display: flex; gap: 1.6rem; }
.footer-bottom a { color: var(--silver-3); text-decoration: none; transition: color .3s; }
.footer-bottom a:hover { color: var(--gold); }

/* helpers moved out of inline styles */
.zodiac-cta { text-align: center; margin-top: 3rem; }
.hub-glyph { text-transform: uppercase; }
.num-title { font-size: var(--fs-h2); margin: 1.4rem 0; }
.num-btn { margin-top: 1.8rem; }
.app-hello-c { text-align: center; margin-top: 1.2rem; }
.app-top-spark { width: 0.8em; height: 0.8em; }
.final-spark { display: block; width: 100%; height: 100%; }
.app-bars i.b40 { height: 40%; } .app-bars i.b48 { height: 48%; }
.app-bars i.b55 { height: 55%; } .app-bars i.b62 { height: 62%; }
.app-bars i.b70 { height: 70%; } .app-bars i.b75 { height: 75%; }
.app-bars i.b90 { height: 90%; }

/* ==================================================================
   SCROLL REVEAL
   ================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-cosmic),
  transform 1s var(--ease-cosmic); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1024px) {
  .services-grid, .gems-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .zodiac-grid, .num-grid, .app-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 440px; margin-inline: auto; }
  .zodiac-panel { text-align: center; }
  .zodiac-panel .z-name, .zodiac-panel .z-traits { justify-content: center; }
  .zodiac-panel .z-desc { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-stage { min-height: 480px; }
  .hero-ring { opacity: 0.28; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 1rem 1.5rem 1.5rem;
    background: rgba(6,9,20,0.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-soft); }
  .nav.open .nav-links li { width: 100%; }
  .nav.open .nav-links a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
  .services-grid, .gems-grid { grid-template-columns: 1fr; }
  .gateway p { max-height: none; opacity: 1; } /* always show on touch */
  .gateway .link-explore { opacity: 1; }
  .about-stats { gap: 1.6rem; }
  .phone.back { display: none; }
  .phone.front { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-inner { padding-top: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-ring, .wheel .ring-rot, .num-float, .gem { animation: none !important; }
}
