/* ============================================================
   ASTRA — premium astrology landing
   Design tokens
============================================================ */
:root {
  --bg-deep:   #0B1026;
  --bg-mid:    #141B42;
  --bg-light:  #1E2A78;

  --gold:      #C9A227;
  --gold-soft: #E8D8A8;

  --indigo:    #6F7BFF;
  --violet:    #B48CFF;

  --text:      #FFFFFF;
  --text-soft: #D7DBF5;
  --text-dim:  #AEB5D8;

  --glass-bg:     rgba(30, 42, 120, 0.16);
  --glass-border: rgba(215, 219, 245, 0.12);
  --glass-shadow: 0 24px 60px -24px rgba(4, 6, 20, 0.8);

  --font-display: "Cormorant", Georgia, serif;
  --font-body:    "Manrope", -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ============================================================
   Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity .9s ease;
}
body.loaded { opacity: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(201, 162, 39, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(860px, 100% - 48px); }

/* ============================================================
   Cosmic background
============================================================ */
#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.nebula--violet {
  width: 60vmax; height: 60vmax;
  top: -18vmax; right: -20vmax;
  background: radial-gradient(circle, rgba(180, 140, 255, 0.16) 0%, rgba(180, 140, 255, 0.05) 42%, transparent 68%);
  animation: nebulaDrift 46s ease-in-out infinite alternate;
}
.nebula--blue {
  width: 68vmax; height: 68vmax;
  bottom: -28vmax; left: -24vmax;
  background: radial-gradient(circle, rgba(111, 123, 255, 0.14) 0%, rgba(30, 42, 120, 0.08) 45%, transparent 70%);
  animation: nebulaDrift 58s ease-in-out infinite alternate-reverse;
}
.nebula--gold {
  width: 34vmax; height: 34vmax;
  top: 34%; left: 56%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.07) 0%, transparent 62%);
  animation: nebulaDrift 38s ease-in-out infinite alternate;
}
@keyframes nebulaDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vmax, -4vmax, 0) scale(1.15); }
}

/* ============================================================
   Scroll progress
============================================================ */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 120;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--violet));
  transform-origin: left;
  transform: scaleX(0);
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.02em;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn--gold {
  color: #17123a;
  background: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-soft) 90%);
  background-size: 200% 100%;
  box-shadow: 0 12px 34px -10px rgba(201, 162, 39, 0.55);
  animation: goldShimmer 6s ease-in-out infinite;
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -10px rgba(201, 162, 39, 0.7);
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

.btn--ghost {
  color: var(--text);
  border: 1px solid rgba(215, 219, 245, 0.28);
  background: rgba(215, 219, 245, 0.04);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  box-shadow: 0 14px 34px -14px rgba(232, 216, 168, 0.35);
}

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 19px 40px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ============================================================
   Navigation
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
}
.nav.scrolled {
  background: rgba(11, 16, 38, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(215, 219, 245, 0.07);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.34em;
  color: var(--text);
  margin-right: auto;
}
.nav__logo svg { transition: transform .8s var(--ease); }
.nav__logo:hover svg { transform: rotate(180deg) scale(1.1); }

.nav__links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--text-dim);
  border-radius: 999px;
  position: relative;
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav__burger span {
  width: 22px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============================================================
   Hero
============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero__eyebrow-line {
  width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero__title {
  font-size: clamp(40px, 5.4vw, 68px);
  margin: 26px 0 24px;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-soft) 10%, var(--gold) 50%, var(--gold-soft) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 7s ease-in-out infinite;
}

.hero__subtitle {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 44px;
  margin: 58px 0 0;
  flex-wrap: wrap;
}
.stat { min-width: 120px; }
.stat__value {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold-soft);
  line-height: 1;
  margin: 0;
}
.stat__label {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--text-dim);
  max-width: 180px;
}

/* Hero visual — natal chart */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
}
.chart {
  width: min(480px, 90%);
  filter: drop-shadow(0 0 44px rgba(111, 123, 255, 0.22));
}
.chart-glow {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 123, 255, 0.2) 0%, rgba(180, 140, 255, 0.08) 45%, transparent 70%);
  animation: pulseGlow 7s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.chart__ring    { transform-origin: 260px 260px; animation: spin 120s linear infinite; }
.chart__aspects { transform-origin: 260px 260px; animation: spinReverse 90s linear infinite; }
.chart__star    { transform-origin: 260px 260px; animation: starPulse 4s ease-in-out infinite; }
@keyframes spin        { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes starPulse {
  0%, 100% { transform: scale(1);   opacity: .9; }
  50%      { transform: scale(1.25); opacity: 1; }
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.hero__orb--1 {
  width: 90px; height: 90px;
  top: 4%; right: 6%;
  background: radial-gradient(circle at 32% 30%, #cfd6ff 0%, var(--indigo) 34%, #232c6e 78%);
  box-shadow: 0 0 50px rgba(111, 123, 255, 0.45), inset -12px -12px 30px rgba(0,0,0,.45);
  animation: floatY 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 46px; height: 46px;
  bottom: 8%; left: 2%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft) 0%, var(--gold) 45%, #6b5510 85%);
  box-shadow: 0 0 36px rgba(201, 162, 39, 0.5), inset -8px -8px 18px rgba(0,0,0,.4);
  animation: floatY 7s ease-in-out infinite reverse;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-22px); }
}

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1.5px solid rgba(215, 219, 245, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color .3s;
}
.hero__scroll:hover { border-color: var(--gold-soft); }
.hero__scroll-dot {
  width: 4px; height: 8px;
  border-radius: 3px;
  background: var(--gold-soft);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ============================================================
   Sections
============================================================ */
.section {
  padding: 130px 0;
  position: relative;
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section__eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.section__lead {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-dim);
}

/* ============================================================
   Glass / cards
============================================================ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-shadow);
}

.grid--cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-shadow);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 216, 168, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 216, 168, 0.28);
  box-shadow: 0 34px 70px -26px rgba(4, 6, 20, 0.9), 0 0 40px -18px rgba(201, 162, 39, 0.35);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--gold-soft);
  background: linear-gradient(140deg, rgba(201, 162, 39, 0.16), rgba(180, 140, 255, 0.1));
  border: 1px solid rgba(232, 216, 168, 0.2);
  margin-bottom: 22px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon {
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 10px 26px -8px rgba(201, 162, 39, 0.4);
}

.card__title { font-size: 24px; margin-bottom: 12px; }
.card__text  { color: var(--text-dim); font-size: 15.5px; }

.card__list {
  list-style: none;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.card__list li {
  font-size: 14.5px;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
}
.card__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 4px;
}

.card--wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 28px;
  align-items: center;
}
.card--wide .card__icon { margin-bottom: 0; flex-shrink: 0; }
.card--wide .card__text { max-width: 640px; }

/* ============================================================
   Parallax quote
============================================================ */
.quote {
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quote__text p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.3;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 0 0 60px rgba(111, 123, 255, 0.4);
}

.quote__lines {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .8;
}
.quote__lines svg { width: min(900px, 96%); }
.constellation polyline {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 3.5s ease 0.3s;
}
.quote.in-view .constellation polyline { stroke-dashoffset: 0; }
.constellation circle {
  animation: twinkle 3.4s ease-in-out infinite;
}
.constellation circle:nth-child(2n) { animation-delay: 1.1s; }
.constellation circle:nth-child(3n) { animation-delay: 2.2s; }
@keyframes twinkle {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

.quote__zodiac span {
  position: absolute;
  font-size: 46px;
  color: rgba(180, 140, 255, 0.2);
  animation: floatY 11s ease-in-out infinite;
  user-select: none;
  will-change: transform;
}
.quote__zodiac span:nth-child(1) { top: 14%; left: 8%; }
.quote__zodiac span:nth-child(2) { top: 22%; right: 12%; animation-delay: 1.4s; font-size: 60px; }
.quote__zodiac span:nth-child(3) { bottom: 18%; left: 16%; animation-delay: 2.6s; font-size: 38px; }
.quote__zodiac span:nth-child(4) { bottom: 24%; right: 8%; animation-delay: 3.4s; }
.quote__zodiac span:nth-child(5) { top: 52%; left: 3%; animation-delay: 4.5s; font-size: 52px; }
.quote__zodiac span:nth-child(6) { top: 60%; right: 20%; animation-delay: 5.2s; font-size: 34px; }

/* ============================================================
   Forecast
============================================================ */
.grid--chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
}
.chip {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px 20px;
  font-size: 15px;
  color: var(--text-soft);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.chip span { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.chip:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 216, 168, 0.3);
  box-shadow: 0 22px 44px -20px rgba(4, 6, 20, 0.9);
}

.forecast__includes {
  margin-top: 44px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.forecast__includes h3 {
  font-size: 26px;
  white-space: nowrap;
}
.forecast__includes ul {
  list-style: none;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.forecast__includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-soft);
}
.check {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #17123a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 4px 14px -4px rgba(201, 162, 39, 0.6);
  flex-shrink: 0;
}

/* ============================================================
   Timeline (Why me)
============================================================ */
.timeline {
  list-style: none;
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding-left: 44px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--violet) 88%, transparent);
  opacity: .55;
}
.timeline__item {
  position: relative;
  padding-bottom: 46px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -40px; top: 8px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.12), 0 0 18px rgba(201, 162, 39, 0.5);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.timeline__item:hover .timeline__dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 7px rgba(201, 162, 39, 0.18), 0 0 26px rgba(201, 162, 39, 0.8);
}
.timeline__title { font-size: 26px; margin-bottom: 8px; }
.timeline__text  { color: var(--text-dim); font-size: 15.5px; max-width: 480px; }

/* ============================================================
   Pricing
============================================================ */
.price-card {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  will-change: transform;
}
.price-card:hover {
  transform: translateY(-10px);
  border-color: rgba(232, 216, 168, 0.25);
  box-shadow: 0 40px 80px -30px rgba(4, 6, 20, 0.95);
}

.price-card--featured {
  border-color: rgba(201, 162, 39, 0.45);
  background: linear-gradient(165deg, rgba(201, 162, 39, 0.1) 0%, rgba(30, 42, 120, 0.22) 55%);
  box-shadow: 0 30px 70px -24px rgba(4, 6, 20, 0.9), 0 0 60px -20px rgba(201, 162, 39, 0.35);
}
.price-card--featured:hover {
  box-shadow: 0 44px 90px -30px rgba(4, 6, 20, 1), 0 0 70px -18px rgba(201, 162, 39, 0.5);
}

.price-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 7px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #17123a;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 24px -6px rgba(201, 162, 39, 0.7);
  white-space: nowrap;
}

.price-card__name { font-size: 27px; text-align: center; }
.price-card__price {
  font-family: var(--font-display);
  font-size: 58px;
  color: var(--gold-soft);
  text-align: center;
  margin: 18px 0 26px;
  line-height: 1;
}

.price-card__list {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-bottom: 34px;
  flex-grow: 1;
}
.price-card__list li {
  font-size: 15px;
  color: var(--text-dim);
  padding-left: 24px;
  position: relative;
}
.price-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.pricing__notes {
  margin-top: 46px;
  text-align: center;
  display: grid;
  gap: 10px;
  color: var(--text-dim);
  font-size: 15.5px;
}
.pricing__notes span { color: var(--gold); margin-right: 8px; }
.pricing__notes strong { color: var(--gold-soft); font-weight: 600; }

/* ============================================================
   Steps
============================================================ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4) 20%, rgba(180, 140, 255, 0.4) 80%, transparent);
}

.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.step__num {
  width: 68px; height: 68px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-soft);
  background: var(--bg-deep);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.06), 0 0 30px -8px rgba(201, 162, 39, 0.5);
  position: relative;
  z-index: 1;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.step:hover .step__num {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 0 0 10px rgba(201, 162, 39, 0.1), 0 14px 40px -8px rgba(201, 162, 39, 0.6);
}
.step__title { font-size: 23px; margin-bottom: 10px; }
.step__text  { font-size: 14.5px; color: var(--text-dim); }

/* ============================================================
   Carousel (screenshots, pricing)
============================================================ */
.carousel { position: relative; }

.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* запас со всех сторон, чтобы hover-подъём, тени и свечение карточек не обрезались;
     scroll-padding удерживает snap-выравнивание по сетке секции */
  padding: 66px 24px 40px;
  margin: -26px -24px -40px;
  scroll-padding-inline: 24px;
}
.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__track {
  display: flex;
  gap: var(--car-gap, 20px);
  list-style: none;
}
.carousel__track > * {
  flex: 0 0 calc((100% - (var(--pv, 3) - 1) * var(--car-gap, 20px)) / var(--pv, 3));
  scroll-snap-align: start;
  display: flex;
}
.carousel__track > * > * { width: 100%; }

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(215, 219, 245, 0.22);
  background: rgba(11, 16, 38, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: color .3s, border-color .3s, opacity .35s, box-shadow .35s;
}
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
  box-shadow: 0 0 24px -6px rgba(232, 216, 168, 0.4);
}
.carousel__arrow[disabled] { opacity: 0.3; pointer-events: none; }
.carousel__arrow--prev { left: -14px; }
.carousel__arrow--next { right: -14px; }
/* если всё умещается без прокрутки — стрелки не нужны */
.carousel--static .carousel__arrow { display: none; }

.shots-carousel   { --pv: 5; --car-gap: 16px; }
.pricing-carousel { --pv: 4; --car-gap: 22px; }

/* на десктопе видны все 4 тарифа — карточки компактнее */
.pricing-carousel .price-card { padding: 38px 28px; }
.pricing-carousel .price-card__name { font-size: 23px; }
.pricing-carousel .price-card__price { font-size: 48px; }

/* ============================================================
   Review screenshots
============================================================ */
.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-mid);
  box-shadow: var(--glass-shadow);
  cursor: zoom-in;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.shot img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  /* приглушаем светлые скриншоты, чтобы не спорили с тёмным фоном */
  filter: brightness(.68) saturate(.72) contrast(.96);
  transition: filter .5s ease, transform .8s var(--ease);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 38, .18) 0%, rgba(11, 16, 38, .05) 40%, rgba(11, 16, 38, .55) 100%);
  pointer-events: none;
  transition: opacity .5s;
}
.shot__zoom {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  background: rgba(11, 16, 38, .72);
  border: 1px solid rgba(232, 216, 168, .3);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s, transform .4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.shot__zoom svg { width: 17px; height: 17px; }

.shot:hover,
.shot:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(232, 216, 168, .3);
  box-shadow: 0 28px 60px -24px rgba(4, 6, 20, .95), 0 0 34px -16px rgba(201, 162, 39, .3);
}
.shot:hover img,
.shot:focus-visible img {
  filter: brightness(.88) saturate(.9) contrast(1);
  transform: scale(1.05);
}
.shot:hover::after,
.shot:focus-visible::after { opacity: .5; }
.shot:hover .shot__zoom,
.shot:focus-visible .shot__zoom { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: rgba(7, 10, 26, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: min(92vw, 640px);
  max-height: 84vh;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(215, 219, 245, .18);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
  transform: scale(.94);
  transition: transform .4s var(--ease);
}
.lightbox.open img { transform: scale(1); }

.lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  border: 1px solid rgba(215, 219, 245, .22);
  background: rgba(11, 16, 38, .6);
  transition: color .3s, border-color .3s, transform .3s;
}
.lightbox__close:hover { color: var(--gold-soft); border-color: var(--gold-soft); transform: rotate(90deg); }
.lightbox__close svg { width: 20px; height: 20px; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  border: 1px solid rgba(215, 219, 245, .22);
  background: rgba(11, 16, 38, .6);
  transition: color .3s, border-color .3s;
}
.lightbox__nav:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 13.5px;
  letter-spacing: .12em;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .shot img { height: 240px; }
  .lightbox { padding: 64px 12px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ============================================================
   FAQ
============================================================ */
.faq { display: grid; gap: 16px; }
.faq__item {
  overflow: hidden;
  transition: border-color .4s;
}
.faq__item.open { border-color: rgba(232, 216, 168, 0.3); }
.faq__item h3 { font-family: var(--font-body); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  text-align: left;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--text);
  transition: color .3s;
}
.faq__question:hover { color: var(--gold-soft); }

.faq__icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--gold-soft);
  transition: transform .45s var(--ease);
}
.faq__icon::before { width: 16px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 16px; }
.faq__item.open .faq__icon::after { transform: rotate(90deg); }

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.faq__item.open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
}
.faq__answer-inner p {
  padding: 0 32px 28px;
  color: var(--text-dim);
  font-size: 15.5px;
  max-width: 700px;
}

/* ============================================================
   Contact
============================================================ */
.contact { overflow: hidden; }

.aurora {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(50% 42% at 22% 30%, rgba(111, 123, 255, 0.14), transparent 70%),
    radial-gradient(46% 40% at 78% 60%, rgba(180, 140, 255, 0.12), transparent 70%),
    radial-gradient(36% 32% at 55% 20%, rgba(201, 162, 39, 0.07), transparent 70%);
  animation: auroraShift 22s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}
@keyframes auroraShift {
  from { transform: translate3d(-3%, -2%, 0) rotate(-1.5deg) scale(1); }
  to   { transform: translate3d(3%, 3%, 0)  rotate(1.5deg) scale(1.08); }
}

.form {
  padding: 52px;
  position: relative;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.form__field { display: flex; flex-direction: column; gap: 9px; }
.form__field--full { grid-column: 1 / -1; }

.form__field label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}
.req { color: var(--gold); }

.form__field input,
.form__field textarea {
  font: inherit;
  font-size: 15.5px;
  color: var(--text);
  background: rgba(11, 16, 38, 0.55);
  border: 1px solid rgba(215, 219, 245, 0.14);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  transition: border-color .35s, box-shadow .35s, background .35s;
  width: 100%;
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(174, 181, 216, 0.5); }
.form__field input:hover,
.form__field textarea:hover { border-color: rgba(215, 219, 245, 0.28); }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
  background: rgba(11, 16, 38, 0.8);
}
.form__field input:user-invalid {
  border-color: rgba(255, 120, 120, 0.55);
}
.form__field input::-webkit-calendar-picker-indicator { filter: invert(0.8); cursor: pointer; }

.form__consent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 26px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--text-dim);
  user-select: none;
}
.form__consent a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s;
}
.form__consent a:hover { color: var(--gold); }
.form__consent input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.form__checkbox {
  width: 24px; height: 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(215, 219, 245, 0.3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .3s var(--ease);
  color: #17123a;
}
.form__checkbox svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.4); transition: all .3s var(--ease); }
.form__consent input:checked + .form__checkbox {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 4px 16px -4px rgba(201, 162, 39, 0.6);
}
.form__consent input:checked + .form__checkbox svg { opacity: 1; transform: scale(1); }
.form__consent input:focus-visible + .form__checkbox {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.form__error {
  color: #ff9d9d;
  font-size: 14.5px;
  margin-bottom: 18px;
}

.form__success {
  padding: 64px 48px;
  text-align: center;
  animation: successIn .8s var(--ease);
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.form__success-icon {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  font-size: 30px;
  color: #17123a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 44px -10px rgba(201, 162, 39, 0.7);
  margin-bottom: 26px;
}
.form__success h3 { font-size: 32px; margin-bottom: 14px; }
.form__success p  { color: var(--text-dim); max-width: 440px; margin: 0 auto; }

/* Contact links */
.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.contact-link:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 216, 168, 0.3);
  box-shadow: 0 26px 54px -22px rgba(4, 6, 20, 0.95), 0 0 34px -14px rgba(201, 162, 39, 0.3);
}
.contact-link__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  background: linear-gradient(140deg, rgba(201, 162, 39, 0.16), rgba(111, 123, 255, 0.12));
  border: 1px solid rgba(232, 216, 168, 0.2);
  flex-shrink: 0;
  transition: transform .45s var(--ease);
}
.contact-link__icon svg { width: 24px; height: 24px; }
.contact-link:hover .contact-link__icon { transform: rotate(-6deg) scale(1.08); }
.contact-link__body strong {
  display: block;
  color: var(--text);
  font-size: 16.5px;
  margin-bottom: 3px;
}
.contact-link__body span { font-size: 13.5px; color: var(--text-dim); }

/* ============================================================
   Legal pages (privacy policy)
============================================================ */
.legal {
  padding: calc(var(--nav-h) + 70px) 0 110px;
}
.legal__head {
  text-align: center;
  margin-bottom: 48px;
}
.legal__updated {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-top: 14px;
}
.legal__body {
  padding: 56px 60px;
}
.legal__body h2 {
  font-size: 26px;
  margin: 42px 0 16px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 14px;
}
.legal__body strong { color: var(--text-soft); font-weight: 600; }
.legal__body a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--gold); }
.legal__body ul {
  list-style: none;
  margin: 0 0 16px;
  display: grid;
  gap: 9px;
}
.legal__body ul li {
  color: var(--text-dim);
  font-size: 15.5px;
  padding-left: 22px;
  position: relative;
}
.legal__body ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--gold);
  font-size: 10px;
}
.legal__back {
  text-align: center;
  margin-top: 44px;
}

@media (max-width: 640px) {
  .legal { padding: calc(var(--nav-h) + 40px) 0 80px; }
  .legal__body { padding: 32px 24px; }
  .legal__body h2 { font-size: 22px; margin-top: 32px; }
}

/* ============================================================
   Footer
============================================================ */
.footer {
  border-top: 1px solid rgba(215, 219, 245, 0.08);
  padding: 34px 0;
  background: rgba(11, 16, 38, 0.6);
  backdrop-filter: blur(10px);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 14px; color: var(--text-dim); }
.footer__links {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color .3s;
}
.footer__links a:hover { color: var(--gold-soft); }

/* ============================================================
   Floating CTA (mobile)
============================================================ */
.fab {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translate(-50%, 90px);
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #17123a;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 40px -8px rgba(201, 162, 39, 0.7);
  transition: transform .5s var(--ease), opacity .5s;
  opacity: 0;
}
.fab.visible { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   Reveal animations
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition:
    opacity .9s var(--ease) var(--d, 0s),
    transform .9s var(--ease) var(--d, 0s),
    filter .9s var(--ease) var(--d, 0s);
  will-change: opacity, transform, filter;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__visual { order: -1; margin-top: 10px; }
  .chart { width: min(360px, 78vw); }

  .grid--cards { grid-template-columns: 1fr 1fr; }
  .grid--chips { grid-template-columns: 1fr 1fr; }
  .shots-carousel   { --pv: 3; }
  .pricing-carousel { --pv: 2; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .steps::before { display: none; }
  .contacts { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px 28px;
    background: rgba(11, 16, 38, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(215, 219, 245, 0.08);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform .45s var(--ease), opacity .4s;
  }
  .nav__links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a { font-size: 17px; padding: 13px 10px; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 90px 0; }
  .section__head { margin-bottom: 44px; }

  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero__stats { gap: 26px; }
  .stat__value { font-size: 32px; }
  .hero__actions .btn { width: 100%; }
  .hero__orb--1 { width: 60px; height: 60px; }
  .hero__scroll { display: none; }

  .grid--cards, .grid--chips { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; text-align: left; align-items: flex-start; }
  .card { padding: 30px 26px; }

  .quote { min-height: 64vh; }

  .forecast__includes { padding: 30px 26px; gap: 18px; }
  .forecast__includes ul { flex-direction: column; gap: 14px; }

  .timeline { padding-left: 36px; }
  .timeline__title { font-size: 22px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }

  .shots-carousel   { --pv: 2; }
  .pricing-carousel { --pv: 1; }
  .carousel__arrow--prev { left: -6px; }
  .carousel__arrow--next { right: -6px; }

  .form { padding: 32px 22px; }
  .form__grid { grid-template-columns: 1fr; }

  .faq__question { padding: 20px 22px; font-size: 16px; }
  .faq__answer-inner p { padding: 0 22px 22px; }

  .footer__inner { flex-direction: column; text-align: center; }

  .fab { display: inline-flex; }
}

/* ============================================================
   Reduced motion
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  #stars { display: none; }
}

