/* =============================================================
   STOREII — Cinematic Emotional Storytelling
   "No Journey is Random."
   Design system: Midnight black · Deep navy · Gold · Amber · Soft white
   ============================================================= */

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

:root {
  /* Core palette */
  --midnight: #05060b;
  --midnight-2: #080a14;
  --navy: #0b1228;
  --navy-2: #0e1838;
  --gold: #d8ab4e;
  --gold-bright: #f0c668;
  --amber: #f2a23c;
  --soft-white: #f5efe3;
  --muted: rgba(245, 239, 227, 0.62);
  --muted-2: rgba(245, 239, 227, 0.40);
  --line: rgba(216, 171, 78, 0.22);

  /* Accents (per-experience) */
  --accent-red: #e0556b;
  --accent-blue: #4c8dff;
  --accent-emerald: #43c9a0;

  /* Type */
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --serif-soft: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --container: 1200px;
  --glow-gold: 0 0 40px rgba(216, 171, 78, 0.35);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--midnight);
  color: var(--soft-white);
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient page gradient + vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(20, 33, 74, 0.55), transparent 55%),
    radial-gradient(80% 60% at 80% 110%, rgba(60, 40, 12, 0.30), transparent 60%),
    linear-gradient(180deg, var(--midnight), var(--midnight-2) 60%, var(--midnight));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.65));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
.serif-italic { font-family: var(--serif-soft); font-style: italic; font-weight: 500; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold-text { color: var(--gold-bright); }
.gradient-text {
  background: linear-gradient(100deg, var(--gold-bright), var(--amber) 50%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: 120px 0; }
.section--tight { padding: 80px 0; }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }

.divider-mark {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-size: 0.9rem; margin: 10px 0;
}
.divider-mark::before,
.divider-mark::after { content: ""; height: 1px; width: 46px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider-mark::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.45s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--gold {
  background: linear-gradient(100deg, var(--gold-bright), var(--amber));
  color: #2b1c05;
  box-shadow: 0 8px 30px rgba(216, 171, 78, 0.28);
}
.btn--gold:hover { box-shadow: 0 10px 44px rgba(240, 198, 104, 0.55); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--soft-white);
}
.btn--ghost:hover { border-color: var(--gold); box-shadow: var(--glow-gold); color: var(--gold-bright); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  /* solid translucent bar instead of backdrop-filter blur — the blur forced a
     full-width repaint on every scroll frame, which was the header scroll jank */
  background: linear-gradient(180deg, rgba(5, 6, 11, 0.96), rgba(5, 6, 11, 0.88));
  padding: 14px 40px;
  border-bottom-color: var(--line);
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--soft-white); position: relative;
}
.brand__name sup { color: var(--accent-red); font-size: 0.55em; top: -0.9em; }
.brand__tag {
  font-family: var(--serif-soft); font-style: italic;
  font-size: 0.82rem; color: var(--gold); margin-top: 2px; letter-spacing: 0.02em;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; list-style: none; }
.nav__links a {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold); transition: width 0.4s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold-bright); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--soft-white); transition: 0.3s; }
.nav__links-cta { display: none; }  /* shown only inside the mobile menu */

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 90px; }
#stars { position: absolute; inset: 0; z-index: 0; }

.hero__inner { position: relative; z-index: 3; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.hero__headline-top {
  text-align: center; font-family: var(--sans); font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.92rem;
  line-height: 2.1; color: var(--soft-white);
}
.hero__headline-top .amber { color: var(--amber); }

/* Couple cutouts flanking the globe (transparent PNGs, like the reference hero) */
/* container matches the centered content width so figures sit under the location cards */
.hero__figures {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 1240px; padding: 0 28px;
  z-index: 1; pointer-events: none; overflow: visible;
}
.hero__figure {
  position: absolute; bottom: 0;
  background-repeat: no-repeat;
  /* feet melt into the dark */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  /* GPU layer so the filter rasterizes once → no per-frame repaint on scroll */
  will-change: transform;
}
/* woman flanks the globe on the left, full height so the card sits over her back (reference) */
.hero__figure--left {
  left: 4%; width: 17vw; max-width: 232px; height: 88%;
  background-image: url(../img/woman-cut.png);
  background-size: contain;
  background-position: left bottom;
  filter: brightness(0.7) contrast(1.05) saturate(0.9) sepia(0.12);
  opacity: 0.95;
}
/* man flanks the globe on the right, full height so the card sits over his back */
.hero__figure--right {
  right: 3%; width: 26vw; max-width: 360px; height: 94%;
  background-image: url(../img/man-cut.png);
  background-size: contain;
  background-position: right bottom;
  filter: brightness(0.8) contrast(1.05) saturate(0.95) sepia(0.16);
  opacity: 0.95;
}

/* Globe + arcs stage */
.stage { position: relative; height: 420px; margin: 22px 0 10px; z-index: 2; }
.globe {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 340px; height: 340px; border-radius: 50%;
  background-color: #03060f;
  box-shadow:
    0 0 80px rgba(40, 80, 160, 0.40),
    0 0 170px rgba(216, 171, 78, 0.14);
  overflow: hidden;
}
/* rotating earth texture — panned via transform (GPU-composited → smooth, no scroll jank) */
.globe::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -38%; width: 176%;
  background-image: url(../img/earth-night.jpg);
  background-size: cover; background-position: center;
  animation: globeDrift 10s ease-in-out infinite alternate;
  will-change: transform;
}
/* spherical shading: warm-lit upper-left, dark falloff at the rim (also fakes the sphere depth) */
.globe::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 34% 28%, rgba(130,160,220,0.20), transparent 40%),
    radial-gradient(circle at 50% 50%, transparent 44%, rgba(2,4,10,0.82) 100%);
}
@keyframes globeDrift { from { transform: translateX(0); } to { transform: translateX(-20%); } }
.globe__atmos {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 392px; height: 392px; border-radius: 50%;
  background: radial-gradient(circle, transparent 58%, rgba(76,141,255,0.14) 70%, transparent 78%);
  pointer-events: none;
}

.arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 3; pointer-events: none; }
.arc-path { fill: none; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 7px currentColor) drop-shadow(0 0 14px currentColor); }
.arc-left { color: var(--gold-bright); stroke: var(--gold-bright); }
.arc-right { color: #6ba6ff; stroke: #6ba6ff; }
.arc-draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawArc 2.6s var(--ease) 0.5s forwards; }
.arc-right.arc-draw { animation-delay: 0.8s; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }

.heart-node {
  position: absolute; left: 50%; bottom: 64px; transform: translate(-50%, 50%);
  z-index: 4; color: var(--gold-bright); animation: heartPulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(240,198,104,0.7));
}
@keyframes heartPulse { 0%,100% { transform: translate(-50%,50%) scale(1);} 50% { transform: translate(-50%,50%) scale(1.12);} }

/* Location cards */
.loc-card {
  position: absolute; top: 50%; z-index: 4; padding: 16px 18px;
  background: rgba(8, 12, 26, 0.55); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 12px; min-width: 168px;
  animation: floatCard 6s ease-in-out infinite;
}
.loc-card--left { left: 4%; transform: translateY(-50%); }
.loc-card--right { right: 4%; transform: translateY(-50%); text-align: right; animation-delay: 1.5s; }
.loc-card__label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.loc-card--right .loc-card__label { color: var(--accent-blue); }
.loc-card__date { font-family: var(--serif); font-size: 1.18rem; color: var(--soft-white); }
.loc-card__time { font-size: 0.9rem; color: var(--muted); }
.loc-card__place { font-size: 0.78rem; color: var(--muted-2); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.loc-card--right .loc-card__place { justify-content: flex-end; }
@keyframes floatCard { 0%,100% { transform: translateY(-50%);} 50% { transform: translateY(calc(-50% - 10px)); } }

/* Hero main headline */
.hero__main { text-align: center; margin-top: 6px; }
.hero__main .kicker {
  font-family: var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  font-size: 0.86rem; color: var(--soft-white);
}
.hero__main .title {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.98;
  margin-top: 6px; text-shadow: 0 4px 40px rgba(216,171,78,0.25);
}
.hero__copy { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: 1rem; }
.hero__prompt { font-family: var(--serif-soft); font-style: italic; font-size: 1.5rem; color: var(--gold-bright); margin: 26px 0 18px; text-align: center; }

/* Email capture */
.capture { display: flex; gap: 0; max-width: 520px; margin: 0 auto; border: 1px solid var(--line); border-radius: 100px; padding: 6px; background: rgba(8,12,26,0.5); }
.capture input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--soft-white); font-family: var(--sans); font-size: 1rem; padding: 12px 22px;
}
.capture input::placeholder { color: var(--muted-2); }
.capture .btn { padding: 13px 26px; }
/* sit cleanly inside the pill — kill the outer glow that spilled past the border */
.capture .btn--gold { box-shadow: none; }
.capture .btn--gold:hover { box-shadow: 0 0 24px rgba(240, 198, 104, 0.4); transform: none; }
.capture-note { text-align: center; color: var(--muted-2); font-family: var(--serif-soft); font-style: italic; font-size: 0.95rem; margin-top: 16px; }

/* ---------- Feature strip ---------- */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  max-width: 1000px; margin: 60px auto 0; position: relative; z-index: 3;
}
.feature-strip__item { background: rgba(8, 11, 22, 0.72); padding: 26px 22px; text-align: center; transition: background 0.4s; }
.feature-strip__item:hover { background: rgba(18, 24, 46, 0.9); }
.feature-strip__icon { color: var(--gold); margin-bottom: 12px; display: flex; justify-content: center; }
.feature-strip__title { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 6px; }
.feature-strip__desc { font-size: 0.82rem; color: var(--muted); }

/* ---------- Generic section heading ---------- */
.head { max-width: 720px; margin: 0 auto 64px; }
.head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 14px 0 18px; }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  position: relative; padding: 38px 30px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, rgba(14,24,56,0.5), rgba(8,11,22,0.5));
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.step:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--glow-gold); }
.step__num { font-family: var(--serif); font-size: 3.4rem; color: var(--gold); opacity: 0.35; line-height: 1; }
.step__icon { margin: 12px 0 18px; color: var(--gold-bright); }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Experience / product cards ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px; }
.exp-card {
  position: relative; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; transition: transform 0.55s var(--ease), box-shadow 0.55s;
  background: linear-gradient(180deg, rgba(10,18,40,0.2), rgba(5,6,11,0.85));
}
.exp-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.9; transition: transform 0.8s var(--ease);
  background: radial-gradient(circle at 50% 25%, var(--c1, rgba(216,171,78,0.25)), transparent 60%);
}
.exp-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.exp-card:hover::before { transform: scale(1.15); }
.exp-card__tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.exp-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.exp-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.exp-card a { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); display: inline-flex; gap: 8px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 40px 34px;
  background: linear-gradient(165deg, rgba(12,20,46,0.55), rgba(8,11,22,0.7));
  display: flex; flex-direction: column; transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.price-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.price-card--featured {
  border-color: var(--gold);
  background: linear-gradient(165deg, rgba(36,28,8,0.6), rgba(12,16,32,0.85));
  box-shadow: 0 0 60px rgba(216,171,78,0.18);
}
.price-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--gold-bright), var(--amber)); color: #2b1c05;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
}
.price-card__name { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 6px; }
.price-card__desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 22px; min-height: 42px; }
.price-card__price { font-family: var(--serif); font-size: 3rem; color: var(--soft-white); line-height: 1; }
.price-card__price span { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.price-card__list { list-style: none; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.price-card__list li { font-size: 0.9rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.price-card__list li::before { content: "✦"; color: var(--gold); flex: none; }
.price-card .btn { margin-top: auto; }

/* ---------- AI panel ---------- */
.ai-panel {
  position: relative; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  padding: 64px; background: linear-gradient(135deg, rgba(14,24,56,0.6), rgba(8,11,22,0.6));
}
.ai-panel__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(80px); opacity: 0.4; }
.ai-panel__glow--1 { background: rgba(216,171,78,0.4); top: -120px; right: -80px; }
.ai-panel__glow--2 { background: rgba(76,141,255,0.3); bottom: -140px; left: -60px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 7px 14px; border-radius: 100px; margin-bottom: 20px; }
.ai-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 10px var(--gold-bright); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.ai-viz { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 16px; }
.ai-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.ai-ring--1 { width: 120px; height: 120px; animation: spin 14s linear infinite; border-top-color: var(--gold); }
.ai-ring--2 { width: 200px; height: 200px; animation: spin 22s linear infinite reverse; border-left-color: var(--accent-blue); }
.ai-ring--3 { width: 280px; height: 280px; animation: spin 30s linear infinite; border-bottom-color: var(--accent-red); }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-core { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--amber) 60%, #7a4f0e); box-shadow: 0 0 50px rgba(240,198,104,0.6); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; padding: 110px 0; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.cta-band .lead { margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- About / story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story__visual {
  position: relative; aspect-ratio: 4/5; border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(216,171,78,0.25), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(76,141,255,0.2), transparent 50%),
    linear-gradient(160deg, var(--navy-2), var(--midnight));
  display: flex; align-items: center; justify-content: center;
}
.story__visual .orb { width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1c3a6e, #0a1c3c 60%, #04060f);
  box-shadow: inset -16px -16px 40px rgba(0,0,0,0.8), 0 0 60px rgba(40,80,160,0.4); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 60px; }
.value { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,11,22,0.5); }
.value h4 { color: var(--gold-bright); font-size: 1.1rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: 3.2rem; color: var(--gold-bright); line-height: 1; }
.stat__label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { position: relative; padding: 200px 0 90px; text-align: center; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 16px 0 18px; }
.page-hero .lead { margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .brand__name { font-size: 1.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 280px; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: var(--muted-2); font-size: 0.82rem; }
.devices { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- GPU promotion for animated layers (keeps motion off the main thread) ----------
   NB: use will-change only here — these elements rely on transform for positioning
   (translate(-50%,...)), so we must NOT overwrite transform with a translateZ hack. */
.ai-ring, .ai-core, .heart-node, .loc-card, .globe__atmos, #stars {
  will-change: transform;
  backface-visibility: hidden;
}
.site-header { will-change: background, padding; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { will-change: auto; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */

/* Tablet / small laptop */
@media (max-width: 1024px) {
  .section { padding: 100px 0; }
  .ai-panel { padding: 52px 44px; }
  .nav__links { gap: 22px; }
  .nav { gap: 24px; }
}

/* Below nav breakpoint — tablets & large phones */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; right: 0; left: 0;
    background: rgba(5,6,11,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 22px 28px 28px; gap: 16px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0,0,0,0.55);
  }
  .nav.open .nav__links a { font-size: 0.95rem; letter-spacing: 0.12em; }
  .nav__links-cta { display: block; margin-top: 6px; }
  .nav__links-cta .btn { width: 100%; justify-content: center; }
  .steps, .price-grid, .stats { grid-template-columns: 1fr; gap: 22px; }
  .ai-grid, .story { grid-template-columns: 1fr; gap: 40px; }
  .story__visual { max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .loc-card { display: none; }
  .hero__figures { display: none; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .ai-panel { padding: 40px 28px; }
  .values { grid-template-columns: 1fr; }
  .page-hero { padding: 160px 0 70px; }
  .head { margin-bottom: 48px; }
}

/* Phones — standalone header CTA moves into the menu */
@media (max-width: 640px) {
  .site-header { padding: 16px 20px; }
  .site-header.scrolled { padding: 12px 20px; }
  .nav > .btn--gold { display: none; }
  .nav { gap: 0; }
  .brand__name { font-size: 1.45rem; }
  .brand__tag { font-size: 0.74rem; }
  .section { padding: 76px 0; }
  .section--tight { padding: 58px 0; }
  .page-hero { padding: 138px 0 56px; }
  .lead { font-size: 1rem; }
  .capture { flex-direction: column; border-radius: 18px; gap: 8px; padding: 8px; }
  .capture input { text-align: center; }
  .capture .btn { width: 100%; justify-content: center; }
  .feature-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .devices { flex-wrap: wrap; justify-content: center; }
  .exp-grid { grid-template-columns: 1fr; }
  .price-card { padding: 34px 26px; }
  /* Hero */
  .hero { padding-top: 84px; }
  .hero__headline-top { font-size: 0.78rem; letter-spacing: 0.16em; line-height: 1.9; }
  .stage { height: 320px; margin: 12px 0 6px; }
  .globe { width: 230px; height: 230px; }
  .globe__atmos { width: 262px; height: 262px; }
  .heart-node { bottom: 52px; }
  .hero__main .title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .hero__copy { font-size: 0.95rem; }
  .hero__prompt { font-size: 1.2rem; }
  /* AI viz */
  .ai-viz { height: 240px; }
  .ai-ring--1 { width: 92px; height: 92px; }
  .ai-ring--2 { width: 156px; height: 156px; }
  .ai-ring--3 { width: 220px; height: 220px; }
  .stat__num { font-size: 2.6rem; }
}

/* Small phones */
@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .site-header { padding: 14px 16px; }
  .brand__name { font-size: 1.3rem; }
  .hero__headline-top { font-size: 0.72rem; letter-spacing: 0.1em; }
  .stage { height: 280px; }
  .globe { width: 196px; height: 196px; }
  .globe__atmos { width: 222px; height: 222px; }
  .heart-node { bottom: 40px; }
  .hero__main .title { font-size: clamp(2rem, 13vw, 2.8rem); }
  .price-card__price { font-size: 2.5rem; }
  .btn { padding: 14px 24px; font-size: 0.78rem; }
}

/* Large screens — keep it cinematic, not stretched */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
