/* ════════════════════════════════════════════════════════════════
   INNER ATLAS — Premium editorial redesign
   Palette: ink #080914 · navy #101329 · lavender #B9B1D5
            ivory #F0ECF5 · silver #9995AA
   Type:    Fraunces (editorial serif) · Inter (interface sans)
   ════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

:root {
  --ia-ink: #080914;
  --ia-navy: #101329;
  --ia-lavender: #B9B1D5;
  --ia-ivory: #F0ECF5;
  --ia-silver: #9995AA;
  --ia-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ia-sans: 'Inter', 'Mulish', Arial, sans-serif;
  --ia-line: rgba(185, 177, 213, 0.14);
  --ia-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Hero ─────────────────────────────────────────────────────── */

.ia-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ia-ink);
  padding: 7.5rem 1.5rem 6rem;
  text-align: center;
}

.ia-hero-sky,
.ia-final-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ia-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 115%, rgba(16, 19, 41, 0.95) 0%, rgba(8, 9, 20, 0) 62%),
    radial-gradient(55% 42% at 16% 10%, rgba(185, 177, 213, 0.07) 0%, transparent 70%),
    radial-gradient(48% 38% at 86% 18%, rgba(16, 19, 41, 0.65) 0%, transparent 72%),
    linear-gradient(180deg, #06070F 0%, #0A0C1C 46%, #080914 100%);
}

/* Surreal focal element: a quiet celestial orb with a tilted ring */

.ia-orb-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(74vmin, 660px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -56%);
  will-change: transform;
}

.ia-orb-wrap-final {
  top: -12%;
  transform: translate(-50%, 0) scale(1.15);
}

.ia-orb {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 33%,
      rgba(240, 236, 245, 0.42) 0%,
      rgba(185, 177, 213, 0.24) 24%,
      rgba(16, 19, 41, 0.10) 50%,
      rgba(8, 9, 20, 0) 74%);
  filter: blur(2px);
  animation: ia-breathe 9s ease-in-out infinite;
}

.ia-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 72% 78%,
      rgba(6, 7, 15, 0.5) 0%,
      transparent 56%);
}

.ia-orb-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(185, 177, 213, 0.15) 0%,
      rgba(185, 177, 213, 0.05) 42%,
      transparent 68%);
  animation: ia-breathe 9s ease-in-out infinite reverse, ia-halo-glow 9s ease-in-out infinite;
}

.ia-orb-ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1px solid rgba(185, 177, 213, 0.16);
   transform: rotate(-16deg) scaleY(0.32);
  animation: ia-ringpulse 9s ease-in-out infinite;
}

@keyframes ia-breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

@keyframes ia-halo-glow {
  0%, 100% { box-shadow: 0 0 60px 10px rgba(185, 177, 213, 0.05); }
  50%      { box-shadow: 0 0 130px 30px rgba(185, 177, 213, 0.13), 0 0 60px 10px rgba(201, 168, 106, 0.07); }
}

/* Occasional shooting stars streaking across the hero sky */

.ia-shooting {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ia-shoot {
  position: absolute;
  width: 130px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 236, 245, 0.95) 0%, rgba(185, 177, 213, 0.45) 40%, transparent 100%);
  filter: drop-shadow(0 0 4px rgba(240, 236, 245, 0.6));
  transform: rotate(16deg);
  opacity: 0;
  animation: ia-shoot 1.2s ease-out forwards;
}

@keyframes ia-shoot {
  0%   { opacity: 0; transform: rotate(16deg) translateX(0); }
  8%   { opacity: 0.9; }
  100% { opacity: 0; transform: rotate(16deg) translateX(42vw); }
}

@keyframes ia-ringpulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Star fields — two depths, drifting almost imperceptibly */

.ia-stars {
  position: absolute;
  inset: -12%;
  background-repeat: repeat;
  will-change: transform;
}

.ia-stars-far {
  background-image:
    radial-gradient(1px 1px at 22% 28%, rgba(240, 236, 245, 0.65), transparent 100%),
    radial-gradient(1px 1px at 68% 12%, rgba(240, 236, 245, 0.45), transparent 100%),
    radial-gradient(1px 1px at 84% 54%, rgba(185, 177, 213, 0.55), transparent 100%),
    radial-gradient(1px 1px at 41% 71%, rgba(240, 236, 245, 0.4), transparent 100%),
    radial-gradient(1px 1px at 9% 62%,  rgba(185, 177, 213, 0.4), transparent 100%),
    radial-gradient(1px 1px at 57% 44%, rgba(240, 236, 245, 0.5), transparent 100%),
    radial-gradient(1px 1px at 93% 86%, rgba(240, 236, 245, 0.35), transparent 100%),
    radial-gradient(1px 1px at 31% 92%, rgba(185, 177, 213, 0.45), transparent 100%);
  background-size: 540px 540px;
  opacity: 0.55;
  animation: ia-drift 120s linear infinite;
}

.ia-stars-near {
  background-image:
    radial-gradient(1.6px 1.6px at 15% 22%, rgba(240, 236, 245, 0.85), transparent 100%),
    radial-gradient(1.4px 1.4px at 74% 38%, rgba(185, 177, 213, 0.8), transparent 100%),
    radial-gradient(1.8px 1.8px at 48% 78%, rgba(240, 236, 245, 0.7), transparent 100%),
    radial-gradient(1.3px 1.3px at 88% 74%, rgba(240, 236, 245, 0.6), transparent 100%);
  background-size: 820px 820px;
  opacity: 0.7;
  animation: ia-drift 190s linear infinite reverse;
}

@keyframes ia-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-170px, 70px, 0); }
}

/* Cinematic film grain */

.ia-grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.ia-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 120% at 50% 38%, transparent 52%, rgba(6, 7, 15, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 7, 15, 0.35) 0%, transparent 18%, transparent 72%, var(--ia-ink) 100%);
}

/* Hero content */

.ia-hero-content {
  position: relative;
  z-index: 2;
  max-width: 60rem;
}

.ia-hero-title {
  font-family: var(--ia-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ia-ivory);
  margin: 1.5rem 0 0;
  text-wrap: balance;
}

.ia-hero-title em {
  font-style: italic;
  font-weight: 340;
  color: var(--ia-lavender);
}

.ia-hero-support {
  font-family: var(--ia-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  letter-spacing: 0.01em;
  color: var(--ia-lavender);
  margin: 1.7rem 0 0;
}

.ia-hero-desc {
  font-family: var(--ia-sans);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ia-silver);
  max-width: 34rem;
  margin: 1.5rem auto 0;
}

.ia-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}

.ia-hero-note {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--ia-sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ia-silver);
  opacity: 0.85;
}

/* Entrance choreography */

.ia-fade {
  opacity: 0;
  transform: translateY(26px);
  animation: ia-fade-up 1.5s var(--ia-ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes ia-fade-up {
  to { opacity: 1; transform: none; }
}

/* Scroll cue */

.ia-scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 58px;
  overflow: hidden;
  z-index: 2;
  opacity: 0.7;
}

.ia-scroll-cue span {
  position: absolute;
  top: -45%;
  left: 0;
  width: 1px;
  height: 45%;
  background: linear-gradient(180deg, transparent, var(--ia-lavender));
  animation: ia-cue 2.8s ease-in-out infinite;
}

@keyframes ia-cue {
  0%   { top: -45%; }
  60%, 100% { top: 105%; }
}

/* ── Buttons ──────────────────────────────────────────────────── */

.ia-btn {
  font-family: var(--ia-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.05rem 2.5rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform 0.5s var(--ia-ease), box-shadow 0.5s var(--ia-ease),
    background-color 0.5s var(--ia-ease), border-color 0.5s var(--ia-ease), color 0.5s var(--ia-ease);
}

.ia-btn:focus-visible {
  outline: 2px solid var(--ia-lavender);
  outline-offset: 3px;
}

.ia-btn-primary {
  background: var(--ia-ivory);
  color: #0B0C1A;
  border: 1px solid rgba(240, 236, 245, 0.9);
  box-shadow: 0 0 0 rgba(185, 177, 213, 0);
}

.ia-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(185, 177, 213, 0.22), 0 0 28px rgba(185, 177, 213, 0.16);
}

.ia-btn-ghost {
  background: rgba(185, 177, 213, 0.04);
  border: 1px solid rgba(185, 177, 213, 0.28);
  color: var(--ia-ivory);
}

.ia-btn-ghost:hover {
  border-color: rgba(185, 177, 213, 0.6);
  background: rgba(185, 177, 213, 0.09);
  transform: translateY(-2px);
}

/* ── Shared section language ──────────────────────────────────── */

.ia-section {
  position: relative;
  padding: 7.5rem 1.5rem;
}

.ia-container {
  max-width: 1080px;
  margin: 0 auto;
}

.ia-eyebrow {
  display: inline-block;
  font-family: var(--ia-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ia-lavender);
}

.ia-h2 {
  font-family: var(--ia-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ia-ivory);
  margin: 1.2rem 0 0;
  text-wrap: balance;
}

.ia-h2 em {
  font-style: italic;
  color: var(--ia-lavender);
}

.ia-lede {
  font-family: var(--ia-sans);
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--ia-silver);
  max-width: 36rem;
  margin: 1.4rem auto 0;
}

/* ── Section: The World of Your Dreams (editorial intro) ──────── */

.ia-editorial-inner {
  position: relative;
  z-index: 0;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

/* Moonlight glow behind the editorial headline */

.ia-editorial-inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -16%;
  left: 50%;
  width: 130%;
  height: 72%;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(45% 60% at 50% 45%, rgba(201, 168, 106, 0.10) 0%, transparent 70%),
    radial-gradient(55% 70% at 42% 40%, rgba(185, 177, 213, 0.12) 0%, transparent 72%);
  filter: blur(30px);
}

.ia-editorial-rule {
  width: 1px;
  height: 76px;
  margin: 2.6rem auto;
  background: linear-gradient(180deg, transparent, rgba(185, 177, 213, 0.45), transparent);
}

.ia-editorial-body {
  text-align: left;
}

.ia-editorial-body p {
  font-family: var(--ia-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(240, 236, 245, 0.88);
  margin: 0 0 1.8rem;
}

.ia-editorial-body p.ia-dropcap::first-letter {
  font-size: 3.2em;
  font-weight: 400;
  float: left;
  line-height: 0.82;
  padding: 0.06em 0.14em 0 0;
  color: var(--ia-lavender);
}

.ia-editorial-body em {
  font-style: italic;
  color: var(--ia-lavender);
}

.ia-editorial-coda {
  font-family: var(--ia-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ia-silver);
  text-align: center;
  margin-top: 2.6rem;
}

/* ── Section: Your Inner Atlas (constellation) ────────────────── */

.ia-panel-glow {
  position: absolute;
  top: -18%;
  left: 50%;
  width: 110%;
  height: 78%;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 30%, rgba(201, 168, 106, 0.10) 0%, transparent 70%),
    radial-gradient(60% 70% at 60% 40%, rgba(185, 177, 213, 0.12) 0%, transparent 72%);
  filter: blur(28px);
}

.ia-atlas-panel {
  position: relative;
  margin-top: 3.5rem;
  border: 1px solid var(--ia-line);
  border-radius: 24px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(16, 19, 41, 0.55) 0%, rgba(8, 9, 20, 0.4) 100%),
    linear-gradient(180deg, rgba(16, 19, 41, 0.5), rgba(8, 9, 20, 0.75));
  padding: 2.5rem 1.25rem 1.75rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.ia-atlas-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 30%, rgba(240, 236, 245, 0.4), transparent 100%),
    radial-gradient(1px 1px at 78% 18%, rgba(240, 236, 245, 0.3), transparent 100%),
    radial-gradient(1px 1px at 55% 76%, rgba(185, 177, 213, 0.3), transparent 100%),
    radial-gradient(1px 1px at 30% 84%, rgba(240, 236, 245, 0.25), transparent 100%);
  background-size: 420px 420px;
  opacity: 0.6;
  pointer-events: none;
}

.ia-atlas-panel svg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

.ia-constellation-line {
  stroke: rgba(185, 177, 213, 0.2);
  stroke-width: 1;
}

.ia-node-halo {
  fill: rgba(185, 177, 213, 0.1);
  animation: ia-nodeglow 6s ease-in-out infinite;
}

.ia-node-core {
  fill: var(--ia-lavender);
}

.ia-node-core.ia-node-dim {
  fill: rgba(185, 177, 213, 0.55);
}

.ia-node-label {
  font-family: var(--ia-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: rgba(240, 236, 245, 0.78);
}

.ia-node-meta {
  font-family: var(--ia-sans);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  fill: rgba(153, 149, 170, 0.85);
}

@keyframes ia-nodeglow {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.ia-atlas-caption {
  text-align: center;
  font-family: var(--ia-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ia-silver);
  margin-top: 1.6rem;
}

/* ── Section: The Experience (product interface previews) ─────── */

.ia-exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3.75rem;
}

.ia-ui-card {
  position: relative;
  border: 1px solid var(--ia-line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(16, 19, 41, 0.62) 0%, rgba(8, 9, 20, 0.88) 100%);
  padding: 1.9rem;
  overflow: hidden;
  text-align: left;
  transition: border-color 0.6s var(--ia-ease), transform 0.6s var(--ia-ease), box-shadow 0.6s var(--ia-ease);
}

.ia-ui-card:hover {
  border-color: rgba(185, 177, 213, 0.34);
  transform: translateY(-4px);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.45), 0 0 44px rgba(185, 177, 213, 0.07);
}

.ia-ui-card-wide {
  grid-column: 1 / -1;
}

.ia-ui-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ia-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ia-lavender);
  margin-bottom: 1.3rem;
}

.ia-ui-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(185, 177, 213, 0.14);
}

/* Card 1 — journal entry */

.ia-journal-date {
  font-family: var(--ia-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ia-silver);
  margin-bottom: 0.8rem;
}

.ia-journal-text {
  font-family: var(--ia-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.65;
  color: rgba(240, 236, 245, 0.92);
  margin: 0 0 1.3rem;
}

.ia-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ia-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ia-sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ia-ivory);
  background: rgba(185, 177, 213, 0.07);
  border: 1px solid rgba(185, 177, 213, 0.2);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
}

.ia-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ia-lavender);
}

.ia-chip.ia-chip-rose i { background: #D9A7B8; }
.ia-chip.ia-chip-sage i { background: #9CB8A8; }

/* Card 2 — recurring symbol */

.ia-symbol-name {
  font-family: var(--ia-serif);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--ia-ivory);
  margin: 0 0 0.3rem;
}

.ia-symbol-count {
  font-family: var(--ia-sans);
  font-size: 0.82rem;
  color: var(--ia-silver);
  margin-bottom: 1.4rem;
}

.ia-symbol-count strong {
  color: var(--ia-lavender);
  font-weight: 600;
}

.ia-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ia-dots i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(185, 177, 213, 0.12);
  border: 1px solid rgba(185, 177, 213, 0.16);
}

.ia-dots i.ia-dot-on {
  background: rgba(185, 177, 213, 0.85);
  border-color: rgba(185, 177, 213, 0.9);
  box-shadow: 0 0 10px rgba(185, 177, 213, 0.35);
}

/* Card 3 — emotional timeline */

.ia-tl {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 130px;
  padding-top: 0.5rem;
}

.ia-tl-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  height: 100%;
}

.ia-tl-col span {
  display: block;
  width: 100%;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(185, 177, 213, 0.75), rgba(185, 177, 213, 0.25));
  min-height: 6px;
}

.ia-tl-col span.ia-tl-alt {
  background: linear-gradient(180deg, rgba(153, 149, 170, 0.55), rgba(153, 149, 170, 0.18));
}

.ia-tl-labels {
  display: flex;
  gap: 12px;
  margin-top: 0.7rem;
}

.ia-tl-labels span {
  flex: 1;
  text-align: center;
  font-family: var(--ia-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ia-silver);
}

.ia-tl-note {
  margin-top: 1.2rem;
  font-family: var(--ia-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ia-silver);
}

/* Card 4 — archive */

.ia-archive-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(185, 177, 213, 0.09);
}

.ia-archive-row:last-child {
  border-bottom: none;
}

.ia-archive-date {
  font-family: var(--ia-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ia-silver);
  white-space: nowrap;
}

.ia-archive-title {
  flex: 1;
  font-family: var(--ia-serif);
  font-size: 1rem;
  color: rgba(240, 236, 245, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ia-archive-tag {
  font-family: var(--ia-sans);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ia-lavender);
  white-space: nowrap;
}

/* Card 5 — connection map */

.ia-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Section: Privacy ─────────────────────────────────────────── */

.ia-privacy {
  border-top: 1px solid rgba(185, 177, 213, 0.08);
  border-bottom: 1px solid rgba(185, 177, 213, 0.08);
  background: linear-gradient(180deg, rgba(16, 19, 41, 0.4) 0%, rgba(8, 9, 20, 0.15) 100%);
}

.ia-privacy-inner {
  max-width: 52rem;
  text-align: center;
}

.ia-privacy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.25rem;
  text-align: left;
}

.ia-privacy-point::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: rgba(185, 177, 213, 0.4);
  margin-bottom: 1.1rem;
}

.ia-privacy-point h3 {
  font-family: var(--ia-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ia-ivory);
  margin: 0 0 0.6rem;
}

.ia-privacy-point p {
  font-family: var(--ia-sans);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ia-silver);
  margin: 0;
}

/* ── Section: Final CTA ───────────────────────────────────────── */

.ia-final {
  position: relative;
  overflow: hidden;
  padding: 11rem 1.5rem 10rem;
  text-align: center;
  background: var(--ia-ink);
}

/* Faint horizon glow rising from the bottom of the closing sky */

.ia-final::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(90% 130% at 50% 118%, rgba(185, 177, 213, 0.14) 0%, rgba(201, 168, 106, 0.05) 40%, transparent 72%);
}

/* Moonlight glow behind the closing headline */

.ia-final-content::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -22% -30%;
  pointer-events: none;
  background:
    radial-gradient(50% 55% at 50% 42%, rgba(201, 168, 106, 0.12) 0%, transparent 70%),
    radial-gradient(60% 65% at 38% 55%, rgba(185, 177, 213, 0.14) 0%, transparent 72%);
  filter: blur(36px);
}

.ia-final .ia-orb-wrap {
  width: min(90vmin, 780px);
}

.ia-final-content {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin: 0 auto;
}

.ia-final-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ia-final-stars .closing-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(240, 236, 245, 0.85);
  box-shadow: 0 0 4px rgba(240, 236, 245, 0.35);
  animation: ia-twinkle 4s ease-in-out infinite;
}

.ia-final-stars .closing-star-bright {
  box-shadow: 0 0 6px 1px rgba(240, 236, 245, 0.55), 0 0 14px 2px rgba(185, 177, 213, 0.3);
}

@keyframes ia-twinkle {
  0%, 100% { opacity: 0.12; }
  50%      { opacity: 0.9; }
}

.ia-final p.ia-final-sub {
  font-family: var(--ia-sans);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ia-silver);
  max-width: 32rem;
  margin: 1.5rem auto 0;
}

.ia-final .ia-btn {
  margin-top: 2.6rem;
}

/* Larger, softly glowing closing call-to-action */

.ia-final .ia-btn-primary {
  padding: 1.2rem 3rem;
  font-size: 0.84rem;
  animation: ia-cta-glow 3.6s ease-in-out infinite;
}

.ia-final .ia-btn-primary:hover {
  animation: none;
}

@keyframes ia-cta-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(185, 177, 213, 0); }
  50%      { box-shadow: 0 0 34px rgba(185, 177, 213, 0.35), 0 0 70px rgba(201, 168, 106, 0.14); }
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 860px) {
  .ia-section { padding: 5.5rem 1.25rem; }
  .ia-exp-grid { grid-template-columns: 1fr; }
  .ia-privacy-points { grid-template-columns: 1fr; gap: 2rem; }
  .ia-hero { padding: 6.5rem 1.25rem 5.5rem; }
  .ia-orb-wrap { width: 120vmin; opacity: 0.8; }
  .ia-hero-actions { flex-direction: column; }
  .ia-hero-actions .ia-btn { width: 100%; max-width: 22rem; }
  .ia-final { padding: 8rem 1.25rem 7.5rem; }
}

/* ── Reduced motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ia-fade {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .ia-orb,
  .ia-orb-halo,
  .ia-orb-ring,
  .ia-stars-far,
  .ia-stars-near,
  .ia-node-halo,
  .ia-scroll-cue span,
  .ia-final-stars .closing-star {
    animation: none !important;
  }
  .ia-shoot,
  .ia-shooting {
    display: none !important;
  }
  .ia-final .ia-btn-primary {
    animation: none !important;
  }
  .ia-btn,
  .ia-ui-card {
    transition: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   MYSTICAL LAYER — deep violet nebulae, gold moonlight,
   crescent moon, moon-phase marks, sacred geometry
   ════════════════════════════════════════════════════════════════ */

:root {
  --ia-violet: #7A55A6;
  --ia-violet-deep: #4A3372;
  --ia-gold: #C9A86A;
  --ia-gold-bright: #E8D9B8;
}

/* Deeper, more violet night sky */

.ia-hero-sky .ia-haze,
.ia-final-sky .ia-haze {
  background:
    radial-gradient(120% 90% at 50% 115%, rgba(16, 19, 41, 0.95) 0%, rgba(8, 9, 20, 0) 62%),
    radial-gradient(55% 42% at 16% 10%, rgba(185, 177, 213, 0.07) 0%, transparent 70%),
    radial-gradient(60% 45% at 78% 6%, rgba(122, 85, 166, 0.20) 0%, transparent 70%),
    radial-gradient(50% 40% at 14% 34%, rgba(90, 58, 140, 0.14) 0%, transparent 72%),
    radial-gradient(38% 30% at 62% 42%, rgba(201, 168, 106, 0.05) 0%, transparent 74%),
    linear-gradient(180deg, #070611 0%, #0C0A22 46%, #080914 100%);
}

/* Crescent moon watching over the hero */

.ia-moon {
  position: absolute;
  top: 13%;
  right: 11%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset -15px 7px 0 0 rgba(244, 238, 226, 0.88);
  filter: drop-shadow(0 0 20px rgba(201, 168, 106, 0.3));
  opacity: 0.9;
  transform: rotate(-10deg);
  animation: ia-moon-drift 16s ease-in-out infinite alternate;
}

@keyframes ia-moon-drift {
  from { transform: rotate(-10deg) translateY(0); }
  to   { transform: rotate(-6deg) translateY(-9px); }
}

/* Slow-turning sacred-geometry halo around the orb */

.ia-orb-wrap::before {
  content: '';
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 106, 0.20);
  animation: ia-spin-slow 100s linear infinite;
}

@keyframes ia-spin-slow {
  to { transform: rotate(360deg); }
}

/* Warm gold breath inside the orb's halo */

.ia-orb-halo {
  background:
    radial-gradient(circle at 62% 40%, rgba(201, 168, 106, 0.07) 0%, transparent 46%),
    radial-gradient(circle, rgba(185, 177, 213, 0.15) 0%, rgba(185, 177, 213, 0.05) 42%, transparent 68%);
}

/* Soft violet aura behind the hero words */

.ia-hero-content::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -32% -22%;
  pointer-events: none;
  background:
    radial-gradient(46% 46% at 50% 44%, rgba(122, 85, 166, 0.16) 0%, transparent 70%),
    radial-gradient(34% 34% at 50% 52%, rgba(201, 168, 106, 0.08) 0%, transparent 72%);
  filter: blur(42px);
}

/* Gilded italic words */

.ia-hero-title em,
.ia-h2 em {
  color: var(--ia-lavender);
  background: linear-gradient(100deg, #CCC4E2 0%, #E8D9B8 52%, #C9A86A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Eyebrows crowned with small gold stars */

.ia-eyebrow {
  color: #CFC6E4;
}

.ia-eyebrow::before,
.ia-eyebrow::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 168, 106, 0.8);
  box-shadow: 0 0 8px rgba(201, 168, 106, 0.55);
  vertical-align: middle;
  margin: 0 0.95em;
}

/* Constellation warmed with moonlight */

.ia-constellation-line {
  stroke: rgba(199, 186, 228, 0.22);
}

.ia-node-halo {
  fill: rgba(201, 168, 106, 0.09);
}

.ia-node-core {
  fill: #C6BBE0;
}

/* Privacy chamber bathed in deep violet */

.ia-privacy {
  border-top: 1px solid rgba(185, 177, 213, 0.08);
  border-bottom: 1px solid rgba(185, 177, 213, 0.08);
  background: linear-gradient(180deg, rgba(38, 26, 66, 0.45) 0%, rgba(8, 9, 20, 0.15) 100%);
}

/* Closing sky: violet-to-gold horizon, stronger gold CTA glow */

.ia-final::after {
  background: radial-gradient(90% 130% at 50% 118%, rgba(185, 177, 213, 0.16) 0%, rgba(122, 85, 166, 0.10) 34%, rgba(201, 168, 106, 0.08) 56%, transparent 76%);
}

.ia-final-content::before {
  background:
    radial-gradient(50% 55% at 50% 42%, rgba(201, 168, 106, 0.14) 0%, transparent 70%),
    radial-gradient(60% 65% at 38% 55%, rgba(122, 85, 166, 0.18) 0%, transparent 72%);
}

.ia-final .ia-btn-primary {
  animation: ia-cta-glow 3.6s ease-in-out infinite;
}

@keyframes ia-cta-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(201, 168, 106, 0); }
  50%      { box-shadow: 0 0 38px rgba(201, 168, 106, 0.30), 0 0 80px rgba(122, 85, 166, 0.22); }
}

/* Moon-phase marks above the closing words */

.ia-moon-phases {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.4rem;
}

.ia-moon-phases i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 106, 0.45);
  background: transparent;
  animation: ia-twinkle 5s ease-in-out infinite;
}

.ia-moon-phases i:nth-child(2) { background: radial-gradient(circle at 74% 50%, rgba(240, 236, 245, 0.85) 0 36%, transparent 46%); border-color: rgba(201, 168, 106, 0.3); }
.ia-moon-phases i:nth-child(3) { background: linear-gradient(90deg, rgba(240, 236, 245, 0.85) 0 48%, transparent 52%); border-color: rgba(201, 168, 106, 0.3); }
.ia-moon-phases i:nth-child(4) { background: radial-gradient(circle at 30% 50%, rgba(240, 236, 245, 0.85) 0 60%, transparent 70%); border-color: rgba(201, 168, 106, 0.3); }
.ia-moon-phases i:nth-child(5) { background: rgba(240, 236, 245, 0.9); border-color: rgba(240, 236, 245, 0.6); box-shadow: 0 0 10px rgba(240, 236, 245, 0.4); animation-delay: 0.6s; }
.ia-moon-phases i:nth-child(6) { background: radial-gradient(circle at 70% 50%, rgba(240, 236, 245, 0.85) 0 60%, transparent 70%); border-color: rgba(201, 168, 106, 0.3); animation-delay: 1.2s; }
.ia-moon-phases i:nth-child(7) { background: linear-gradient(270deg, rgba(240, 236, 245, 0.85) 0 48%, transparent 52%); border-color: rgba(201, 168, 106, 0.3); animation-delay: 1.8s; }
.ia-moon-phases i:nth-child(8) { background: radial-gradient(circle at 26% 50%, rgba(240, 236, 245, 0.85) 0 36%, transparent 46%); border-color: rgba(201, 168, 106, 0.3); animation-delay: 2.4s; }

@media (max-width: 860px) {
  .ia-moon { width: 34px; height: 34px; top: 10%; right: 7%; }
  .ia-moon-phases { gap: 0.8rem; }
  .ia-moon-phases i { width: 10px; height: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ia-moon,
  .ia-moon-phases i,
  .ia-orb-wrap::before {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   DEEPER MYSTICAL LAYER — aurora veil, incense motes,
   star-tick mandala, haloed headings
   ════════════════════════════════════════════════════════════════ */

/* Ethereal aurora veil drifting behind the night sky */

.ia-aurora {
  position: absolute;
  top: -18%;
  left: -12%;
  width: 124%;
  height: 72%;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(42% 58% at 22% 42%, rgba(122, 85, 166, 0.17) 0%, transparent 70%),
    radial-gradient(34% 50% at 66% 28%, rgba(201, 168, 106, 0.10) 0%, transparent 72%),
    radial-gradient(30% 44% at 48% 60%, rgba(185, 177, 213, 0.10) 0%, transparent 74%);
  filter: blur(48px);
  opacity: 0.8;
  animation: ia-aurora-drift 28s ease-in-out infinite alternate;
}

@keyframes ia-aurora-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); opacity: 0.65; }
  to   { transform: translate3d(4%, 3%, 0) scale(1.14); opacity: 1; }
}

/* Slow counter-rotating ring of star-ticks around the orb */

.ia-mandala {
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-conic-gradient(from 3deg,
    rgba(201, 168, 106, 0.55) 0deg 0.5deg,
    transparent 0.5deg 7.5deg);
  -webkit-mask: radial-gradient(circle, transparent 0 60.5%, #000 61% 62.5%, transparent 63% 100%);
          mask: radial-gradient(circle, transparent 0 60.5%, #000 61% 62.5%, transparent 63% 100%);
  opacity: 0.45;
  animation: ia-spin-slow 160s linear infinite reverse;
}

/* Incense motes rising through the sky */

.ia-motes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ia-motes i {
  position: absolute;
  bottom: -4%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 217, 184, 0.95) 0%, rgba(201, 168, 106, 0.4) 55%, transparent 78%);
  box-shadow: 0 0 12px rgba(201, 168, 106, 0.55);
  opacity: 0;
  animation: ia-mote-rise 22s linear infinite;
}

.ia-motes i:nth-child(1) { left: 6%;  animation-duration: 24s; animation-delay: 0s; }
.ia-motes i:nth-child(2) { left: 17%; animation-duration: 19s; animation-delay: 3.5s; width: 3px; height: 3px; }
.ia-motes i:nth-child(3) { left: 28%; animation-duration: 26s; animation-delay: 8s; }
.ia-motes i:nth-child(4) { left: 41%; animation-duration: 21s; animation-delay: 1.5s; width: 5px; height: 5px; }
.ia-motes i:nth-child(5) { left: 52%; animation-duration: 27s; animation-delay: 6s; width: 3px; height: 3px; }
.ia-motes i:nth-child(6) { left: 63%; animation-duration: 20s; animation-delay: 11s; }
.ia-motes i:nth-child(7) { left: 74%; animation-duration: 25s; animation-delay: 4.5s; width: 5px; height: 5px; }
.ia-motes i:nth-child(8) { left: 85%; animation-duration: 22s; animation-delay: 9.5s; width: 3px; height: 3px; }
.ia-motes i:nth-child(9) { left: 93%; animation-duration: 28s; animation-delay: 13s; }
.ia-motes i:nth-child(10) { left: 47%; animation-duration: 23s; animation-delay: 16s; width: 3px; height: 3px; }

@keyframes ia-mote-rise {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  7%   { opacity: 0.85; }
  50%  { transform: translate3d(22px, -52vh, 0) scale(1); opacity: 0.7; }
  93%  { opacity: 0.5; }
  100% { transform: translate3d(-14px, -106vh, 0) scale(0.5); opacity: 0; }
}

/* Haloed headings — words lit from within */

.ia-hero-title,
.ia-h2 {
  text-shadow: 0 0 36px rgba(122, 85, 166, 0.4), 0 0 96px rgba(201, 168, 106, 0.16);
}

.ia-hero-title em,
.ia-h2 em {
  text-shadow: none;
}

@media (max-width: 860px) {
  .ia-aurora { height: 55%; filter: blur(36px); }
  .ia-mandala { opacity: 0.35; }
  .ia-motes i:nth-child(n+7) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ia-aurora,
  .ia-mandala,
  .ia-motes i {
    animation: none !important;
  }
  .ia-motes {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   CINEMATIC POLISH LAYER — nebula depths, gilded shimmer,
   counter-rotating aura, moon halo, button sheen, card candlelight
   ════════════════════════════════════════════════════════════════ */

/* Deep nebula clouds drifting far behind the hero sky */

.ia-hero-sky::before,
.ia-hero-sky::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(64px);
  will-change: transform, opacity;
}

.ia-hero-sky::before {
  top: -24%;
  left: -16%;
  width: 78%;
  height: 72%;
  background: radial-gradient(closest-side,
      rgba(122, 85, 166, 0.17) 0%,
      rgba(122, 85, 166, 0.06) 55%,
      transparent 76%);
  animation: ia-nebula-a 46s ease-in-out infinite alternate;
}

.ia-hero-sky::after {
  bottom: -20%;
  right: -14%;
  width: 68%;
  height: 64%;
  background: radial-gradient(closest-side,
      rgba(201, 168, 106, 0.10) 0%,
      rgba(142, 155, 201, 0.06) 55%,
      transparent 76%);
  animation: ia-nebula-b 58s ease-in-out infinite alternate;
}

@keyframes ia-nebula-a {
  from { transform: translate3d(0, 0, 0) scale(1);    opacity: 0.7; }
  to   { transform: translate3d(6%, 4%, 0) scale(1.16); opacity: 1; }
}

@keyframes ia-nebula-b {
  from { transform: translate3d(0, 0, 0) scale(1.12); opacity: 0.6; }
  to   { transform: translate3d(-5%, -4%, 0) scale(1);  opacity: 0.95; }
}

/* Counter-rotating gilded aura breathing behind the orb */

.ia-orb-wrap::after {
  content: '';
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(201, 168, 106, 0.10) 42deg,
      transparent 96deg,
      rgba(185, 177, 213, 0.09) 200deg,
      transparent 262deg,
      rgba(201, 168, 106, 0.07) 322deg,
      transparent 360deg);
  filter: blur(16px);
  opacity: 0.85;
  animation: ia-aura-spin 64s linear infinite;
  will-change: transform;
}

@keyframes ia-aura-spin {
  to { transform: rotate(360deg); }
}

/* Gilded shimmer drifting through the italic hero words */

.ia-hero-title em {
  background: linear-gradient(110deg,
      var(--ia-lavender) 0%,
      #E8DDBF 26%,
      var(--ia-lavender) 52%,
      #CBB7E8 76%,
      var(--ia-lavender) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ia-gilt 9s ease-in-out infinite;
}

@keyframes ia-gilt {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* Halo breathing around the crescent moon */

.ia-moon {
  box-shadow:
    0 0 22px 6px rgba(240, 236, 245, 0.13),
    0 0 58px 18px rgba(185, 177, 213, 0.09);
  animation:
    ia-moon-drift 16s ease-in-out infinite alternate,
    ia-moon-halo 11s ease-in-out infinite;
}

@keyframes ia-moon-halo {
  0%, 100% {
    box-shadow:
      0 0 22px 6px rgba(240, 236, 245, 0.13),
      0 0 58px 18px rgba(185, 177, 213, 0.09);
  }
  50% {
    box-shadow:
      0 0 34px 10px rgba(240, 236, 245, 0.20),
      0 0 84px 26px rgba(201, 168, 106, 0.12);
  }
}

/* Light sheen sweeping across the primary button */

.ia-btn-primary {
  position: relative;
  overflow: hidden;
}

.ia-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 46%;
  background: linear-gradient(105deg,
      transparent 0%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 100%);
  transform: translateX(-150%) skewX(-18deg);
  animation: ia-sheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ia-sheen {
  0%, 58%  { transform: translateX(-150%) skewX(-18deg); }
  100%     { transform: translateX(330%) skewX(-18deg); }
}

/* Candlelight rising inside the free-reflection card */

.try-free-card {
  position: relative;
}

.try-free-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(72% 42% at 50% 0%,
      rgba(185, 177, 213, 0.10) 0%, transparent 72%);
  opacity: 0.7;
  transition: opacity 0.6s var(--ia-ease);
}

.try-free-card:hover::before { opacity: 1; }

/* Inner light blooming at the top of glance cards on hover */

.glance-item {
  position: relative;
  isolation: isolate;
}

.glance-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(82% 62% at 50% 0%,
      rgba(185, 177, 213, 0.13) 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.6s var(--ia-ease);
}

.glance-item:hover::after { opacity: 1; }

/* Golden horizon glow breathing up from the closing sky */

.ia-final-sky::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(62% 32% at 50% 104%,
      rgba(201, 168, 106, 0.11) 0%, transparent 72%);
  animation: ia-horizon 14s ease-in-out infinite;
}

@keyframes ia-horizon {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Mobile: soften the heavy blurs */

@media (max-width: 860px) {
  .ia-hero-sky::before,
  .ia-hero-sky::after { filter: blur(44px); opacity: 0.8; }
  .ia-orb-wrap::after { opacity: 0.55; }
}

/* Reduced motion: stillness everywhere the new layer animates */

@media (prefers-reduced-motion: reduce) {
  .ia-hero-sky::before,
  .ia-hero-sky::after,
  .ia-orb-wrap::after,
  .ia-btn-primary::after,
  .ia-moon,
  .ia-final-sky::before,
  .ia-hero-title em {
    animation: none !important;
  }
}
