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

:root {
  --bg-deep:    #070b10;
  --bg-base:    #0a0e14;
  --bg-surface: #111827;
  --bg-card:    #151e2b;
  --glow-1:     #6366f1;
  --glow-2:     #a78bfa;
  --glow-3:     #818cf8;
  --text:       #e2e8f0;
  --text-muted: #64748b;
  --text-dim:   #334155;
  --border:     #1e293b;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.serif { font-family: 'DM Serif Display', Georgia, serif; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glow-2);
  margin-bottom: 16px;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 120px 0; }

/* ─── Animated Background Glows ────────────────────────────── */
.glow-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  top: -10%; left: -15%;
  animation-delay: 0s; animation-duration: 22s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.14) 0%, transparent 70%);
  top: 30%; right: -10%;
  animation-delay: -7s; animation-duration: 26s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  bottom: 5%; left: 25%;
  animation-delay: -14s; animation-duration: 18s;
}

@keyframes orbFloat {
  0%   { opacity: 0; transform: translate(0, 0) scale(1); }
  15%  { opacity: 1; }
  50%  { transform: translate(30px, -40px) scale(1.08); opacity: 0.9; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translate(0, 0) scale(1); }
}

/* ─── Navigation ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 32px; height: 32px;
  position: relative;
  flex-shrink: 0;
}

.logo-mark .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--glow-1);
  animation: logoRing 3s ease-in-out infinite;
}

.logo-mark .ring:nth-child(2) {
  inset: 5px;
  border-color: var(--glow-2);
  animation-delay: -1s;
}

.logo-mark .ring:nth-child(3) {
  inset: 10px;
  background: var(--glow-1);
  border: none;
}

@keyframes logoRing {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.08em;
}

.lang-toggle:hover {
  border-color: rgba(99,102,241,0.4);
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--glow-1);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

.nav-cta:hover {
  background: var(--glow-3);
  box-shadow: 0 0 30px rgba(99,102,241,0.5);
  transform: translateY(-1px);
}

/* ─── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 100px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  font-size: 13px;
  color: var(--glow-2);
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--glow-2);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 400;
  max-width: 760px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--glow-2);
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--glow-1);
  color: #fff;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 0 30px rgba(99,102,241,0.4), 0 0 60px rgba(99,102,241,0.1);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(99,102,241,0.6), 0 0 80px rgba(99,102,241,0.2);
}

.btn-secondary {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.btn-secondary:hover { color: var(--text); }

.hero-social-proof {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatars { display: flex; margin-right: 4px; }

.avatar-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}

.avatar-dot:nth-child(1) { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.avatar-dot:nth-child(2) { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.avatar-dot:nth-child(3) { background: linear-gradient(135deg, #818cf8, #6366f1); }
.avatar-dot:nth-child(4) { background: linear-gradient(135deg, #4f46e5, #7c3aed); }

.proof-text { font-size: 13px; color: var(--text-muted); }
.proof-text strong { color: var(--text); font-weight: 500; }

/* ─── Map Preview ───────────────────────────────────────────── */
.map-preview-section {
  padding: 0 0 80px;
  position: relative;
  z-index: 1;
}

.map-preview {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
  height: 420px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.08);
}

.map-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(167,139,250,0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0d1117 0%, #0a0e14 50%, #0d1117 100%);
}

.map-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,41,59,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,41,59,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.map-glows { position: absolute; inset: 0; }

.map-glow {
  position: absolute;
  border-radius: 50%;
}

.map-glow .outer {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-1) 0%, transparent 70%);
  opacity: 0;
  animation: outerPulse 4s ease-in-out infinite;
}

.map-glow .inner {
  position: absolute;
  border-radius: 50%;
  background: var(--glow-2);
  box-shadow: 0 0 12px var(--glow-1), 0 0 20px rgba(99,102,241,0.5);
}

@keyframes outerPulse {
  0%   { transform: scale(0.5); opacity: 0; }
  40%  { opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

.g1 { top: 45%; left: 25%; }
.g1 .outer { width: 80px; height: 80px; left: -32px; top: -32px; animation-delay: 0s; }
.g1 .inner { width: 14px; height: 14px; left: -7px; top: -7px; }

.g2 { top: 30%; left: 55%; }
.g2 .outer { width: 60px; height: 60px; left: -24px; top: -24px; animation-delay: -1.5s; }
.g2 .inner { width: 10px; height: 10px; left: -5px; top: -5px; }

.g3 { top: 60%; left: 65%; }
.g3 .outer { width: 70px; height: 70px; left: -28px; top: -28px; animation-delay: -3s; }
.g3 .inner { width: 12px; height: 12px; left: -6px; top: -6px; }

.g4 { top: 25%; left: 38%; }
.g4 .outer { width: 50px; height: 50px; left: -20px; top: -20px; animation-delay: -0.8s; }
.g4 .inner { width: 8px; height: 8px; left: -4px; top: -4px; }

.g5 { top: 70%; left: 40%; }
.g5 .outer { width: 60px; height: 60px; left: -24px; top: -24px; animation-delay: -2.2s; }
.g5 .inner { width: 10px; height: 10px; left: -5px; top: -5px; }

.g6 { top: 50%; left: 78%; }
.g6 .outer { width: 45px; height: 45px; left: -18px; top: -18px; animation-delay: -3.5s; }
.g6 .inner { width: 8px; height: 8px; left: -4px; top: -4px; }

.peek-card {
  position: absolute;
  top: 18%; left: 30%;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  width: 220px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.08);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

.peek-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }

.peek-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }

.peek-tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--glow-2);
  font-weight: 500;
}

.peek-btn {
  width: 100%;
  padding: 8px;
  background: var(--glow-1);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 0 15px rgba(99,102,241,0.4);
}

.map-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.map-label::before, .map-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--border);
}

.map-caption {
  margin: 28px auto 0;
  max-width: 520px;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── Real Life Stories ─────────────────────────────────────── */
#stories { position: relative; z-index: 1; }

.stories-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
}

.story {
  position: relative;
  padding: 20px 0 20px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  line-height: 1.7;
  color: #94a3b8;
  font-weight: 300;
  font-style: italic;
}

.story:first-child { border-top: 1px solid var(--border); }

.story::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 20px;
  color: var(--glow-2);
  font-style: normal;
  font-weight: 400;
}

/* ─── How It Works ──────────────────────────────────────────── */
#how { position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 80px; }

.section-header h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 400; margin-bottom: 16px; }

.section-header p { font-size: 18px; color: var(--text-muted); font-weight: 300; max-width: 480px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.step {
  background: var(--bg-surface);
  padding: 40px 32px;
  transition: background 0.3s;
}

.step:hover { background: var(--bg-card); }

.step-num { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--glow-1); margin-bottom: 20px; }

.step-icon { font-size: 32px; margin-bottom: 16px; display: block; }

.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }

.step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── Features ──────────────────────────────────────────────── */
#features { position: relative; z-index: 1; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(99,102,241,0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }

.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

.feature-detail {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-detail span { color: var(--glow-2); font-weight: 500; font-size: 12px; }

/* ─── Who it's for ──────────────────────────────────────────── */
#who { position: relative; z-index: 1; text-align: center; }

#who h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 400; margin-bottom: 16px; }

#who .sub {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 56px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.interest-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 720px; margin: 0 auto; }

.interest-pill {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 400;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
  cursor: default;
}

.interest-pill:hover,
.interest-pill.lit {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.3);
  color: var(--text);
  box-shadow: 0 0 15px rgba(99,102,241,0.15);
}

/* ─── Waitlist ──────────────────────────────────────────────── */
#waitlist { position: relative; z-index: 1; padding: 160px 0; }

.waitlist-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.waitlist-box::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-box h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 400; margin-bottom: 16px; position: relative; }

.waitlist-box > p { font-size: 17px; color: var(--text-muted); font-weight: 300; margin-bottom: 44px; position: relative; }

.waitlist-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; position: relative; }

.waitlist-form input {
  flex: 1;
  padding: 15px 22px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-form input::placeholder { color: var(--text-muted); }

.waitlist-form input:focus {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.08);
}

.waitlist-form .btn-primary { flex-shrink: 0; padding: 15px 28px; font-size: 15px; }

.form-note { margin-top: 20px; font-size: 13px; color: var(--text-dim); }

.success-msg {
  display: none;
  padding: 16px 24px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-md);
  color: var(--glow-2);
  font-size: 15px;
  font-weight: 500;
  max-width: 460px;
  margin: 0 auto;
}

/* ─── Principles ─────────────────────────────────────────────── */
#principles { position: relative; z-index: 1; }

.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }

.principle { display: flex; flex-direction: column; gap: 8px; }

.principle-icon { font-size: 20px; margin-bottom: 4px; }

.principle h4 { font-size: 15px; font-weight: 600; }

.principle p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Footer ─────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 40px 0; position: relative; z-index: 1; }

.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }

.footer-mark { width: 22px; height: 22px; position: relative; }

.footer-mark .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--glow-1);
}

.footer-mark .ring:nth-child(2) { inset: 3px; border-color: var(--glow-2); }

.footer-mark .ring:nth-child(3) { inset: 7px; background: var(--glow-1); border: none; }

.footer-copy { font-size: 13px; color: var(--text-dim); }

.divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }

/* ─── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 80px 0; }
  #hero { padding: 120px 0 80px; }
  .waitlist-box { padding: 48px 24px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input, .waitlist-form .btn-primary { border-radius: var(--radius-md); }
  .peek-card { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
