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

:root {
  --bg:        #050508;
  --surface:   #0d0d14;
  --surface2:  #13131e;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f0;
  --text-dim:  rgba(232,232,240,0.5);
  --accent:    #4f6fff;
  --accent2:   #00e5ff;
  --red:       #ff3b30;
  --orange:    #ff9500;
  --purple:    #bf5af2;
  --glow:      rgba(79,111,255,0.18);

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s;
}
#nav.scrolled {
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 680px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5,5,12,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
  }
  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
  }
  .nav-links a:last-child { border-bottom: none; }

  .nav-cta {
    margin: 0.75rem 2rem 0;
    text-align: center;
    border-radius: 6px;
    border-bottom: none !important;
  }
}

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#particle-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 6rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: #fff;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--text); }
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: rgba(5,5,8,0.6);
  backdrop-filter: blur(8px);
  padding: 0.875rem 0;
}
.ticker-inner {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.ticker-inner .dot { color: var(--accent); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  animation: revealUp 0.9s var(--ease-out) forwards;
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { animation-delay: 0.15s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.30s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.45s; transition-delay: 0.3s; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Shared Section Styles ── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem;
}
.label-row { margin-bottom: 1.25rem; }
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 99px;
}
.section-label.accent { color: var(--accent); border-color: rgba(79,111,255,0.3); }
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.section-headline em {
  font-style: normal;
  color: var(--accent2);
}
.section-intro {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 4rem;
}

/* ── Launch / Warp Section ── */
#launch {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#launch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.launch-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  pointer-events: none;
}
.launch-logo {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.launch-logo.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.launch-logo img {
  width: clamp(140px, 22vw, 240px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(79,111,255,0.35));
}
.launch-slogan {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out) 0.25s, transform 1s var(--ease-out) 0.25s;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(232,232,240,0.85);
  letter-spacing: 0.015em;
  max-width: 600px;
  line-height: 1.5;
}
.launch-slogan.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Problem Section ── */
#problem {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 4rem;
}
.problem-card {
  background: var(--surface2);
  padding: 2.5rem;
  transition: background 0.3s;
}
.problem-card:hover { background: var(--surface); }
.problem-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
}
.problem-icon svg { width: 100%; height: 100%; }
.problem-stat {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.problem-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.problem-card--wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.problem-card--wide .problem-icon {
  flex-shrink: 0;
}
.problem-card--wide-body {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex: 1;
}
.problem-card--wide-body > div:first-child {
  flex: 1;
}
.accident-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 200px;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}
.accident-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.accident-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.accident-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
}
@media (max-width: 700px) {
  .problem-card--wide {
    flex-direction: column;
  }
  .problem-card--wide-body {
    flex-direction: column;
    gap: 1.5rem;
  }
  .accident-stats {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
  }
}
.problem-statement {
  text-align: center;
  padding: 3rem 0;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dim);
  font-style: normal;
}
blockquote em {
  font-style: normal;
  color: #fff;
}

/* ── Bridge ── */
#bridge {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 8rem 2rem;
  text-align: center;
}
.bridge-inner {
  max-width: 720px;
  margin: 0 auto;
}
.bridge-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: 0 auto 2rem;
}
.bridge-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.bridge-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.bridge-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bridge-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 3rem;
}
.bridge-scroll-cue {
  color: var(--accent);
  animation: float 2.5s ease-in-out infinite;
}
.bridge-scroll-cue svg { width: 24px; height: 24px; }

/* ── Solution ── */
#solution {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.solution-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .solution-split { grid-template-columns: 1fr; }
}
.solution-visual {
  position: sticky;
  top: 80px;
}
.ballistic-diagram {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
#ballistic-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 260;
}
.solution-point {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.solution-point:first-child { padding-top: 0; }
.solution-point:last-child { border-bottom: none; }
.point-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  min-width: 24px;
  padding-top: 0.2rem;
}
.point-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.point-body p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ── How It Works ── */
#how {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 3rem;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
}
.step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}
.step-marker {
  position: absolute;
  left: -3rem;
  width: 24px; height: 24px;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 2rem;
}
.step-marker span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
}
.step-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.625rem;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Stats ── */
#stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-block {
  text-align: center;
  padding: 2rem 4rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline;
}
.stat-unit {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  display: inline;
}
.stat-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}
@media (max-width: 700px) {
  .stat-divider { display: none; }
  .stat-block { padding: 1.5rem 2rem; }
}

/* ── Vision ── */
#vision {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .vision-inner { grid-template-columns: 1fr; }
  .vision-globe { order: -1; }
}
.vision-text p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.vision-milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.milestone {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.milestone:last-child { border-bottom: none; }
.milestone-year {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 40px;
}
.milestone-event {
  font-size: 0.875rem;
  color: var(--text-dim);
}
.vision-globe {
  display: flex;
  align-items: center;
  justify-content: center;
}
#globe-canvas {
  width: 360px;
  height: 360px;
  max-width: 100%;
}

/* ── Investors ── */
#investors {
  background: linear-gradient(160deg, #0a0a1a 0%, #080812 50%, #05050a 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#investors::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(79,111,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.investors-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.investors-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.investors-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.investors-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 3rem;
}
.investors-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(79,111,255,0.4);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,111,255,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

/* ── Footer ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-logo {
  margin-bottom: 0.75rem;
  opacity: 0.5;
}
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-style: italic;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  font-size: 0.7rem;
  color: rgba(232,232,240,0.25);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}
