/* ============================================================
   HORIZON — style.css
   ============================================================ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg-deep:    #0B0E17;
  --bg-mid:     #1A1B3A;
  --gold:       #FFD700;
  --teal:       #2DD4BF;
  --purple:     #8B5CF6;
  --purple-dk:  #6D28D9;
  --text-hi:    #F0F4FF;
  --text-md:    #A8B2D8;
  --text-lo:    #6B7A99;
  --card-bg:    rgba(26, 27, 58, 0.55);
  --card-bd:    rgba(255, 215, 0, 0.10);
  --card-bd-hv: rgba(255, 215, 0, 0.32);
  --nav-h:      68px;
  --max-w:      1100px;
  --pad-x:      clamp(18px, 5vw, 52px);
  --sec-py:     clamp(72px, 11vw, 128px);
  --r-card:     18px;
  --r-sm:       10px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(175deg, var(--bg-deep) 0%, #0F1128 30%, #13163A 60%, var(--bg-mid) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text-hi);
  line-height: 1.6;
  overflow-x: hidden;
}

a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* ── Stars ──────────────────────────────────────────────── */
.stars-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  will-change: opacity, transform;
}

.star.s-slow { animation: twinkle var(--dur, 4s) ease-in-out infinite var(--del, 0s); }
.star.s-med  { animation: twinkle var(--dur, 2.6s) ease-in-out infinite var(--del, 0s); }
.star.s-fast { animation: twinkle var(--dur, 1.9s) ease-in-out infinite var(--del, 0s); }

@keyframes twinkle {
  0%, 100% { opacity: var(--op0, 0.2); transform: scale(0.85); }
  50%       { opacity: var(--op1, 0.9); transform: scale(1.3); }
}

/* ── Nebula overlays ────────────────────────────────────── */
.nebula {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
}
.nebula-tl {
  width: 560px; height: 560px;
  top: -180px; left: -160px;
  background: radial-gradient(circle, rgba(139,92,246,0.09) 0%, transparent 65%);
}
.nebula-br {
  width: 640px; height: 640px;
  bottom: -220px; right: -180px;
  background: radial-gradient(circle, rgba(45,212,191,0.07) 0%, transparent 65%);
}
.nebula-mid {
  width: 900px; height: 900px;
  top: 35%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 65%);
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

section { padding: var(--sec-py) 0; }

/* ── Scroll-fade animation ──────────────────────────────── */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 14, 23, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.045);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-img { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; object-fit: cover; }
.logo-text   { color: var(--text-hi); }

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-md);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-hi); background: rgba(255,255,255,0.06); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--text-md);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.lang-toggle:hover { background: rgba(255,255,255,0.12); color: var(--text-hi); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--pad-x) 20px;
  background: rgba(8, 10, 20, 0.97);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-md);
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--text-hi); background: rgba(255,255,255,0.05); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dk));
  color: #fff;
  padding: 9px 18px;
  font-size: 0.88rem;
  box-shadow: 0 4px 18px rgba(139,92,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(139,92,246,0.5); }

.btn-sm { padding: 7px 15px; font-size: 0.82rem; }

.btn-gold {
  background: linear-gradient(135deg, #FFD700, #F59E0B);
  color: #0B0E17;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(255,215,0,0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(255,215,0,0.5); }

/* Google Play CTA */
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #1a73e8;
  color: #fff;
  padding: 13px 26px;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 22px rgba(26,115,232,0.38);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(26,115,232,0.55);
  background: #1558b0;
}
.play-logo { width: 22px; height: 22px; flex-shrink: 0; }
.play-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.play-btn small  { font-size: 0.7rem; font-weight: 400; opacity: 0.82; }
.play-btn strong { font-size: 0.98rem; font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 80px));
  padding-bottom: var(--sec-py);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.22);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: 0.025em;
}
.badge-pulse {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: bpulse 2.2s ease-in-out infinite;
}
@keyframes bpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(130deg, #F0F4FF 0%, #C4B5FD 55%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  color: var(--text-md);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl { font-size: 0.72rem; color: var(--text-lo); font-weight: 500; letter-spacing: 0.03em; }
.stat-sep  { width: 1px; height: 38px; background: rgba(255,255,255,0.1); }

/* ── Space scene ────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.space-scene {
  position: relative;
  width: 380px;
  height: 380px;
  flex-shrink: 0;
}

/* Orbit ring removed per user request */

/* Sun at center */
.hero-sun {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  pointer-events: none;
}
.sun-body {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #FFFCE8 0%, #FFE840 22%, #FFA500 52%, #FF5500 78%, #DD2200 100%);
  box-shadow:
    0 0 0  10px rgba(255,200,20,0.22),
    0 0  22px rgba(255,170,0,0.58),
    0 0  52px rgba(255,110,0,0.38),
    0 0  96px rgba(255,60,0,0.22),
    0 0 150px rgba(220,30,0,0.12);
  animation: sun-pulse 3.8s ease-in-out infinite;
}
@keyframes sun-pulse {
  0%, 100% {
    box-shadow: 0 0 0 10px rgba(255,200,20,0.22), 0 0 22px rgba(255,170,0,0.58), 0 0 52px rgba(255,110,0,0.38), 0 0 96px rgba(255,60,0,0.22);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(255,200,20,0.32), 0 0 34px rgba(255,170,0,0.72), 0 0 72px rgba(255,110,0,0.52), 0 0 130px rgba(255,60,0,0.32);
  }
}

/* Orbiting rocket — landscape SVG (nose points RIGHT), offset-rotate:auto = nose faces tangent */
.rocket-ship {
  position: absolute;
  width: 58px;
  top: 0; left: 0;
  offset-path: path("M 338 190 A 148 82 0 1 1 42 190 A 148 82 0 1 1 338 190");
  offset-rotate: auto;
  animation: orbit-path 13s linear -4s infinite;
  filter: drop-shadow(0 0 10px rgba(139,92,246,0.80));
}
.rocket-ship svg { width: 100%; height: auto; display: block; }
@keyframes orbit-path {
  from { offset-distance: 0%;   }
  to   { offset-distance: 100%; }
}

/* Sparkles */
.sparkle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
}
.sp1 { width: 5px; height: 5px; top: 22%; left: 16%; animation: spark 3.2s ease-in-out infinite 0s; }
.sp2 { width: 3px; height: 3px; top: 72%; left: 82%; animation: spark 2.8s ease-in-out infinite 0.9s; }
.sp3 { width: 4px; height: 4px; top: 82%; left: 22%; animation: spark 3.5s ease-in-out infinite 1.8s; }
.sp4 { width: 3px; height: 3px; top: 14%; left: 78%; animation: spark 2.5s ease-in-out infinite 2.5s; }
@keyframes spark {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50%       { opacity: 1;    transform: scale(1.6); box-shadow: 0 0 8px var(--gold); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 7vw, 64px);
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 12px;
  color: var(--text-hi);
}
.section-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  color: var(--text-md);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   CARDS  (shared base)
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: var(--r-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.28s, transform 0.28s, box-shadow 0.28s;
}
.card:hover {
  border-color: var(--card-bd-hv);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(139,92,246,0.14);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.feature-card { padding: 32px 26px; }

.card-icon { width: 52px; height: 52px; margin-bottom: 20px; }
.card-icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-md);
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS — planet journey
   ============================================================ */
.journey-wrap {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 0 24px;
}
.journey-wrap::-webkit-scrollbar { display: none; }

.journey-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 560px;
  padding: 20px 8px 0;
}

.journey-line {
  position: absolute;
  top: 56px;
  left: 36px; right: 36px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(248,113,113,0.5) 0%,
    rgba(251,191,36,0.5)  20%,
    rgba(45,212,191,0.5)  40%,
    rgba(147,197,253,0.5) 65%,
    rgba(99,102,241,0.7)  100%
  );
  z-index: 0;
}
.journey-line::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: inherit;
  filter: blur(4px);
  opacity: 0.45;
}

.planet-stop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  cursor: default;
}

.pstop-circle {
  width: 72px; height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,14,23,0.7);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}

.pstop-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.planet-stop:hover .pstop-dot { transform: scale(1.22); }

/* ── 3D Realistic Planets ─────────────────────────────── */
.planet-mars-3d {
  background:
    radial-gradient(circle at 27% 25%, rgba(255,235,210,0.92) 0%, transparent 28%),
    radial-gradient(circle at 50% 50%, #FF6820 0%, #F04000 22%, #D42A00 45%, #AA1800 65%, #801000 85%, #601008 100%);
  box-shadow:
    inset -7px -7px 18px rgba(0,0,0,0.15),
    inset 8px 8px 20px rgba(255,210,160,0.70),
    0 0 38px rgba(240,80,20,0.75);
}

.planet-jupiter-3d {
  background:
    radial-gradient(circle at 27% 25%, rgba(255,250,220,0.88) 0%, transparent 26%),
    radial-gradient(ellipse 92% 12% at 50% 34%, rgba(220,100,30,0.65) 0%, transparent 100%),
    radial-gradient(ellipse 92% 9% at 50% 52%, rgba(250,210,140,0.50) 0%, transparent 100%),
    radial-gradient(ellipse 92% 9% at 50% 62%, rgba(200,100,38,0.58) 0%, transparent 100%),
    radial-gradient(ellipse 92% 7% at 50% 76%, rgba(245,185,100,0.42) 0%, transparent 100%),
    radial-gradient(circle at 50% 50%, #FFD070 0%, #EEA040 25%, #C87820 48%, #A05818 68%, #784010 85%, #583010 100%);
  box-shadow:
    inset -7px -7px 18px rgba(0,0,0,0.15),
    inset 8px 8px 20px rgba(255,235,175,0.65),
    0 0 40px rgba(230,155,55,0.72);
}

.planet-saturn-3d {
  background:
    radial-gradient(circle at 27% 25%, rgba(255,255,230,0.90) 0%, transparent 26%),
    radial-gradient(ellipse 92% 9% at 50% 38%, rgba(238,192,82,0.42) 0%, transparent 100%),
    radial-gradient(ellipse 92% 7% at 50% 58%, rgba(220,168,60,0.32) 0%, transparent 100%),
    radial-gradient(circle at 50% 50%, #FFF070 0%, #F4C828 25%, #D0A010 48%, #A87808 68%, #806010 85%, #604808 100%);
  box-shadow:
    inset -7px -7px 18px rgba(0,0,0,0.15),
    inset 8px 8px 20px rgba(255,252,190,0.70),
    0 0 40px rgba(248,210,35,0.72);
}
.pstop-saturn { position: relative; }
.pstop-saturn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 78px; height: 15px;
  border: 2px solid rgba(255,215,0,0.80);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(62deg);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255,215,0,0.50);
}

.planet-uranus-3d {
  background:
    radial-gradient(circle at 28% 25%, rgba(220,255,254,0.92) 0%, transparent 24%),
    radial-gradient(ellipse 92% 8% at 50% 44%, rgba(22,200,180,0.28) 0%, transparent 100%),
    radial-gradient(circle at 50% 50%, #C0FFE8 0%, #40DCC8 25%, #18C0A8 48%, #0A9888 68%, #087870 85%, #065E58 100%);
  box-shadow:
    inset -7px -7px 18px rgba(0,0,0,0.12),
    inset 8px 8px 20px rgba(200,255,252,0.72),
    0 0 44px rgba(45,212,191,0.80);
}

.planet-neptune-3d {
  background:
    radial-gradient(circle at 27% 25%, rgba(190,235,255,0.90) 0%, transparent 26%),
    radial-gradient(ellipse 92% 10% at 50% 40%, rgba(70,140,245,0.40) 0%, transparent 100%),
    radial-gradient(circle at 50% 50%, #90C8FF 0%, #3888FA 24%, #1C60E8 46%, #1040C8 65%, #0828A8 82%, #081890 100%);
  box-shadow:
    inset -7px -7px 18px rgba(0,0,0,0.15),
    inset 8px 8px 20px rgba(175,225,255,0.65),
    0 0 44px rgba(40,120,250,0.78);
}

.planet-pluto-3d {
  background:
    radial-gradient(circle at 27% 25%, rgba(248,238,220,0.88) 0%, transparent 27%),
    radial-gradient(circle at 55% 55%, rgba(230,208,162,0.50) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, #F4DCC0 0%, #D8B478 24%, #B88A50 46%, #906840 65%, #6E5030 82%, #523C22 100%);
  box-shadow:
    inset -7px -7px 18px rgba(0,0,0,0.15),
    inset 8px 8px 20px rgba(248,228,195,0.65),
    0 0 28px rgba(190,148,90,0.58);
}

.planet-kuiper-3d {
  background:
    radial-gradient(circle at 25% 22%, rgba(255,255,255,0.98) 0%, transparent 22%),
    radial-gradient(circle at 50% 50%, #D8F4FF 0%, #78D8FF 18%, #28B8F8 40%, #0898E8 60%, #0670C0 78%, #0450A0 100%);
  box-shadow:
    inset -7px -7px 18px rgba(0,0,0,0.10),
    inset 8px 8px 20px rgba(255,255,255,0.82),
    0 0 50px rgba(108,215,255,0.88);
}

.pstop-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.pname  { font-size: 0.78rem; font-weight: 700; color: var(--text-hi);  white-space: nowrap; }
.pmile  { font-size: 0.68rem; color: var(--text-lo); white-space: nowrap; }
.pmile-legend { color: var(--gold); font-weight: 600; }

.journey-cta {
  text-align: center;
  margin-top: 52px;
  font-size: 1.05rem;
  color: var(--text-md);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ============================================================
   PREMIUM
   ============================================================ */
.prem-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.28);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-card-wrap {
  display: flex;
  justify-content: center;
}

.premium-card {
  position: relative;
  max-width: 600px;
  width: 100%;
  border-color: rgba(255,215,0,0.2);
  padding: 48px clamp(24px, 5vw, 56px);
  text-align: center;
  overflow: hidden;
}
.premium-card:hover { box-shadow: 0 24px 60px rgba(255,215,0,0.12); border-color: rgba(255,215,0,0.38); }

.premium-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,215,0,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.premium-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 40px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.premium-item {
  display: flex;
  align-items: center;
  gap: 11px;
}
.pcheck { width: 20px; height: 20px; flex-shrink: 0; }
.premium-item span {
  font-size: 0.88rem;
  color: var(--text-md);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.055);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 240px; }
.footer-tag {
  color: var(--text-lo);
  font-size: 0.88rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-md);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-hi); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-lo);
}

/* ============================================================
   LEGAL PAGES  (shared by privacy, terms, delete-account, reset-password)
   ============================================================ */
.legal-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  background: linear-gradient(130deg, var(--text-hi) 0%, #C4B5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-hero p {
  color: var(--text-md);
  font-size: 0.9rem;
}

.legal-body {
  padding: 56px 0 80px;
}
.legal-content {
  max-width: 780px;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-hi);
  margin: 40px 0 12px;
  letter-spacing: -0.015em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-md);
  margin: 24px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  color: var(--text-md);
  line-height: 1.8;
}
.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content a { color: var(--teal); border-bottom: 1px solid rgba(45,212,191,0.3); transition: border-color 0.2s; }
.legal-content a:hover { border-color: var(--teal); }
.legal-content .placeholder-block {
  background: rgba(139,92,246,0.08);
  border: 1px dashed rgba(139,92,246,0.35);
  border-radius: var(--r-sm);
  padding: 24px;
  margin: 16px 0;
  color: var(--text-lo);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Delete account steps */
.delete-steps { display: flex; flex-direction: column; gap: 20px; margin: 20px 0; }
.delete-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: var(--r-sm);
  padding: 20px;
  backdrop-filter: blur(10px);
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-dk));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-hi); margin-bottom: 4px; }
.step-body p  { font-size: 0.88rem; color: var(--text-md); line-height: 1.65; }

/* Password reset form */
.reset-form-wrap {
  padding: 80px 0;
  display: flex;
  justify-content: center;
}
.reset-form-card {
  max-width: 440px;
  width: 100%;
  padding: 40px;
  text-align: center;
}
.reset-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.reset-form-card p { color: var(--text-md); font-size: 0.9rem; margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; text-align: left; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-md); }
.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus { border-color: var(--purple); }
.form-group input::placeholder { color: var(--text-lo); }
.form-msg {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  margin-top: 8px;
  display: none;
}
.form-msg.success { background: rgba(45,212,191,0.12); border: 1px solid rgba(45,212,191,0.3); color: var(--teal); display: block; }
.form-msg.error   { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.3);   color: #FCA5A5;    display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual { order: -1; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-badge    { justify-content: center; }
  .hero-stats    { justify-content: center; }

  .nav-links         { display: none; }
  .nav-actions .btn  { display: none; }
  .hamburger         { display: flex; }

  .premium-list { grid-template-columns: 1fr; }

  .space-scene { width: 300px; height: 300px; }
  .sun-body { width: 58px; height: 58px; }
  .hero-sun { width: 58px; height: 58px; }
  .rocket-ship {
    width: 48px;
    offset-path: path("M 267 150 A 117 65 0 1 1 33 150 A 117 65 0 1 1 267 150");
  }
}

@media (max-width: 540px) {
  .hero { padding-top: calc(var(--nav-h) + 28px); min-height: auto; }

  .space-scene { width: 260px; height: 260px; }
  .sun-body { width: 50px; height: 50px; }
  .hero-sun { width: 50px; height: 50px; }
  .rocket-ship {
    width: 42px;
    offset-path: path("M 231 130 A 101 56 0 1 1 29 130 A 101 56 0 1 1 231 130");
  }

  .features-grid { grid-template-columns: 1fr; }

  .footer-top  { flex-direction: column; }
  .footer-nav  { gap: 32px; }

  .premium-card { padding: 32px 20px; }

  .legal-hero { padding-top: calc(var(--nav-h) + 32px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
