/* ============ TOKENS ============ */
:root {
  --night-900: #05060f;
  --night-800: #0a0e22;
  --night-700: #111738;
  --night-600: #1a2350;
  --gold: #d4af6e;
  --gold-bright: #f0d49a;
  --gold-dim: #8a7448;
  --ice: #cdd9f0;
  --ice-dim: #8b97b8;
  --text: #e8ecf7;
  --text-dim: #9aa4c2;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--night-900);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 300;
}

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

/* ============ STARFIELD ============ */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(26,35,80,0.5), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(17,23,56,0.6), transparent 50%),
    var(--night-900);
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold-bright);
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

/* ============ LAYOUT ============ */
.container { width: 90%; max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.narrow { max-width: 760px; }
.narrow-text { max-width: 620px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.section { padding: 130px 0; position: relative; z-index: 2; }

/* ============ TYPE ============ */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: 0.01em; }

h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

.accent { color: var(--gold-bright); font-style: italic; }
.muted { color: var(--text-dim); }

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow.center { text-align: center; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-dim); font-weight: 300; }

/* ============ LANG SWITCH ============ */
.lang-switch {
  position: fixed;
  top: 26px; right: 30px;
  z-index: 50;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  background: rgba(5,6,15,0.5);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border: 1px solid rgba(212,175,110,0.2);
  border-radius: 100px;
}
.lang-switch a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.lang-switch a.lang-active, .lang-switch a:hover { color: var(--gold-bright); }
.lang-sep { color: var(--gold-dim); margin: 0 4px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,6,15,0.5) 0%, rgba(5,6,15,0.35) 30%, rgba(5,6,15,0.82) 70%, var(--night-900) 100%),
    radial-gradient(ellipse 80% 60% at center 45%, transparent 30%, rgba(5,6,15,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero h1 { margin-bottom: 1.6rem; text-shadow: 0 2px 40px rgba(5,6,15,0.9); }
.hero-sub {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: var(--ice);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2.6rem;
  text-shadow: 0 2px 20px rgba(5,6,15,0.9);
}
.hero-note { margin-top: 1.3rem; font-size: 0.85rem; color: var(--text-dim); letter-spacing: 0.04em; }

/* ============ CTA ============ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--night-900);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 1.05em 2.4em;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 40px rgba(212,175,110,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 50px rgba(212,175,110,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
}
.cta-glyph { font-size: 0.9em; }

/* ============ SCROLL HINT ============ */
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-hint span {
  display: block;
  width: 22px; height: 36px;
  border: 1.5px solid rgba(212,175,110,0.5);
  border-radius: 12px;
  position: relative;
}
.scroll-hint span::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}

/* ============ WHAT ============ */
.section-what h2 { margin-bottom: 2rem; }
.section-what .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }

/* ============ HOW ============ */
.section-how h2 { margin-bottom: 4rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.step {
  padding: 2.6rem 2rem;
  background: linear-gradient(160deg, rgba(26,35,80,0.3), rgba(10,14,34,0.3));
  border: 1px solid rgba(212,175,110,0.15);
  border-radius: 4px;
  position: relative;
}
.step-num {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.step h3 { margin-bottom: 0.9rem; color: var(--ice); }
.step p { color: var(--text-dim); font-size: 0.98rem; }

/* ============ IMAGE BREAK ============ */
.imgbreak {
  position: relative;
  height: 70vh;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.imgbreak img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.imgbreak-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--night-900), rgba(5,6,15,0.45) 30%, rgba(5,6,15,0.45) 70%, var(--night-900));
}
.imgbreak-quote {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  color: var(--ice);
  text-align: center;
  max-width: 760px;
  padding: 0 30px;
  text-shadow: 0 2px 30px rgba(5,6,15,1);
}

/* ============ VOICE (split) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-text h2 { margin-bottom: 1.6rem; }
.split-text .lead { margin-bottom: 2rem; }
.feature-list { list-style: none; }
.feature-list li {
  padding: 0.7rem 0 0.7rem 2rem;
  position: relative;
  color: var(--ice);
  border-bottom: 1px solid rgba(212,175,110,0.1);
}
.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}
.split-image { position: relative; }
.split-image img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(212,175,110,0.2);
}
.split-image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(212,175,110,0.15), transparent 70%);
  z-index: -1;
}

/* ============ PRICING ============ */
.section-pricing h2 { margin-bottom: 1.3rem; }
.section-pricing .lead { margin-bottom: 4rem; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.plan {
  padding: 3rem 2.2rem;
  background: linear-gradient(160deg, rgba(26,35,80,0.25), rgba(10,14,34,0.25));
  border: 1px solid rgba(212,175,110,0.15);
  border-radius: 6px;
  text-align: center;
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(212,175,110,0.4); }
.plan-featured {
  background: linear-gradient(160deg, rgba(42,52,110,0.4), rgba(17,23,56,0.4));
  border-color: rgba(212,175,110,0.4);
}
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--night-900);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan h3 { margin-bottom: 1.2rem; color: var(--ice); }
.plan-price {
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--gold-bright);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.plan-price span {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
}
.plan-desc { color: var(--text-dim); font-size: 0.95rem; }
.plan-note { margin-top: 3rem; color: var(--text-dim); font-size: 0.92rem; font-style: italic; }

/* ============ FINAL ============ */
.section-final {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}
.final-image { position: absolute; inset: 0; z-index: 0; }
.final-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.final-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--night-900), rgba(5,6,15,0.6) 40%, rgba(5,6,15,0.75) 70%, var(--night-900));
}
.final-content { z-index: 2; }
.final-content h2 { margin-bottom: 2.4rem; text-shadow: 0 2px 30px rgba(5,6,15,1); }

/* ============ FAQ ============ */
.section-faq h2 { margin-bottom: 3.5rem; }
.faq details {
  border-bottom: 1px solid rgba(212,175,110,0.15);
  padding: 1.5rem 0;
}
.faq summary {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--ice);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.6rem;
  font-family: var(--body);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--text-dim);
  margin-top: 1rem;
  font-size: 1rem;
  max-width: 640px;
}

/* ============ CTA ROW ============ */
.cta-row { text-align: center; margin-top: 3.5rem; }
.cta-row.left { text-align: left; margin-top: 2.4rem; }

/* ============ PLAN CTA & TWO-COLUMN ============ */
.plans-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}
.plan-cta {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  padding: 0.85em 2.4em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--night-800);
  border-top: 1px solid rgba(212,175,110,0.15);
  padding: 60px 0 50px;
  position: relative;
  z-index: 2;
}
.footer-nav {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 2.2rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid rgba(212,175,110,0.1);
}
.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold-bright); }
.footer-bottom { text-align: center; }
.footer-bottom p {
  color: var(--ice-dim);
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-disclaimer {
  max-width: 560px;
  margin: 0 auto 1.4rem !important;
  color: var(--text-dim) !important;
  font-size: 0.85rem !important;
}

/* ============ REVEAL ANIM ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; max-width: 460px; margin: 0 auto; }
  .plans { grid-template-columns: 1fr; gap: 1.5rem; max-width: 420px; margin: 0 auto; }
  .plans-two { grid-template-columns: 1fr; max-width: 420px; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-image { order: -1; }
}

@media (max-width: 540px) {
  .hero { padding: 100px 20px 70px; }
  .lang-switch { top: 16px; right: 16px; padding: 6px 12px; }
  .cta { padding: 0.95em 1.9em; font-size: 0.95rem; }
  .section-what h2 br { display: none; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .star, .scroll-hint span::after { animation: none; }
  html { scroll-behavior: auto; }
}
