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

:root {
  --bg-deep: #060a14;
  --bg-panel: rgba(15, 23, 42, 0.55);
  --bg-panel-solid: #0b1220;
  --border: rgba(96, 165, 250, 0.18);
  --border-hover: rgba(96, 165, 250, 0.4);
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-pale: #93c5fd;
  --green: #1d9e75;
  --green-light: #2ec495;
  --text: #eef2fb;
  --text-dim: #9aa8c4;
  --text-faint: #64748b;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.tag.center { display: block; text-align: center; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
h2.center { text-align: center; }
h3 { font-size: 19px; margin-bottom: 8px; }

.lead { font-size: 17px; color: var(--text-dim); max-width: 620px; }
.lead.center { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.lead-quiet { color: var(--text); font-size: 19px; font-weight: 500; max-width: none; }

section { position: relative; padding: 96px 0; }

/* ── MAGICAL DNA BACKGROUND ───────────────────────────────────────────── */
#dna-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(6,10,20,0) 0%, rgba(6,10,20,0.55) 60%, var(--bg-deep) 100%),
    linear-gradient(180deg, rgba(6,10,20,0.15) 0%, var(--bg-deep) 96%);
}

.hero, .mission, .how, .ecosystem, .coverage, .trust, .partners, .contact, .footer {
  position: relative;
  z-index: 2;
}

/* ── NAV ──────────────────────────────────────────────────────────────── */
/* Sticky nav needs a z-index HIGHER than the sections below it, not equal —
   equal z-index siblings stack by DOM order, so a later section scrolling
   past would paint over the pinned nav and swallow clicks on its links. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 10, 20, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-logo { height: 30px; width: auto; border-radius: 6px; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14px; color: var(--text-dim); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--blue-light); }
.nav-call {
  font-size: 13px; font-weight: 700; color: var(--bg-deep);
  background: var(--green); padding: 9px 16px; border-radius: 30px;
  white-space: nowrap; transition: transform 0.15s, background 0.15s;
}
.nav-call:hover { background: var(--green-light); transform: translateY(-1px); }
.nav-download {
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(100deg, var(--blue), var(--blue-light));
  padding: 9px 16px; border-radius: 30px; border: none; cursor: pointer;
  white-space: nowrap; transition: transform 0.15s, box-shadow 0.15s;
}
.nav-download:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
}
.hero-inner { max-width: 780px; display: flex; flex-direction: column; align-items: center; }
.hero-logo-badge {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 999px;
  padding: 14px 0;
  margin: 0 auto 20px;
  min-width: 260px; /* fallback before JS sizes it to match the tagline below */
  box-shadow: 0 0 50px rgba(59,130,246,0.4), 0 6px 24px rgba(0,0,0,0.3);
}
.hero-logo { height: 72px; width: auto; }
.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-pale); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.12; margin-bottom: 22px; }
.gradient-text {
  background: linear-gradient(100deg, var(--blue-pale), var(--blue-light) 40%, var(--green-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 30px; font-weight: 700; font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(100deg, var(--green), var(--green-light));
  color: #06140f;
  box-shadow: 0 0 0 rgba(46,196,149,0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(46,196,149,0.35); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(96,165,250,0.08); }
.btn-outline {
  display: inline-block; margin-top: 10px;
  background: transparent; border: 1px solid var(--border-hover); color: var(--blue-pale);
  padding: 11px 22px; border-radius: 30px; font-weight: 700; font-size: 14px;
}
.btn-outline:hover { background: rgba(59,130,246,0.12); }

.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.hero-badges span {
  font-size: 13px; color: var(--text-dim);
  background: var(--bg-panel); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 30px;
  backdrop-filter: blur(6px);
}

.scroll-cue { display: flex; justify-content: center; margin-top: 40px; }
.scroll-cue span {
  width: 22px; height: 36px; border: 2px solid var(--border-hover); border-radius: 20px; position: relative; display: block;
}
.scroll-cue span::before {
  content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
  background: var(--blue-light); border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 6px; opacity: 1; }
  60% { top: 18px; opacity: 0.3; }
  100% { top: 6px; opacity: 1; }
}

/* ── GLASS CARD BASE ──────────────────────────────────────────────────── */
.glass {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

/* ── MISSION ──────────────────────────────────────────────────────────── */
.mission-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.mission-card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(59,130,246,0.08);
}

/* ── HOW IT WORKS ─────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px;
}
.step {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; backdrop-filter: blur(10px); transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #06140f; margin-bottom: 14px;
}
.step p { font-size: 14px; color: var(--text-dim); }

/* ── ECOSYSTEM ────────────────────────────────────────────────────────── */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
.card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; backdrop-filter: blur(10px); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(59,130,246,0.12); }
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card p { font-size: 14px; color: var(--text-dim); }

/* ── COVERAGE ─────────────────────────────────────────────────────────── */
.coverage-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.phase-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.phase-list li {
  border-left: 2px solid var(--border-hover); padding-left: 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.phase-list strong { font-size: 15px; color: var(--text); }
.phase-list span { font-size: 13.5px; color: var(--text-dim); }
.phase-list li.phase-live { border-left-color: var(--green-light); }
.phase-list li.phase-live strong { color: var(--green-light); }

.coverage-visual { display: flex; align-items: center; justify-content: center; height: 320px; }
.pulse-map {
  position: relative; width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(59,130,246,0) 70%);
}
.pulse-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue-light); box-shadow: 0 0 16px 4px rgba(96,165,250,0.6);
  animation: pulse 2.6s ease-out infinite;
}
.pulse-dot-main {
  width: 16px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--green-light); box-shadow: 0 0 24px 6px rgba(46,196,149,0.55);
  animation: pulseMain 2.6s ease-out infinite;
}
.pulse-dot:nth-child(2) { top: 20%; left: 30%; animation-delay: 0.3s; }
.pulse-dot:nth-child(3) { top: 65%; left: 75%; animation-delay: 0.9s; }
.pulse-dot:nth-child(4) { top: 30%; left: 78%; animation-delay: 1.5s; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(96,165,250,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(96,165,250,0); }
  100% { box-shadow: 0 0 0 0 rgba(96,165,250,0); }
}
@keyframes pulseMain {
  0% { box-shadow: 0 0 0 0 rgba(46,196,149,0.55); }
  70% { box-shadow: 0 0 0 22px rgba(46,196,149,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,196,149,0); }
}

/* ── TRUST ────────────────────────────────────────────────────────────── */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
.trust-item {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; backdrop-filter: blur(10px); transition: border-color 0.2s;
}
.trust-item:hover { border-color: var(--border-hover); }
.trust-icon { font-size: 26px; margin-bottom: 12px; }
.trust-item p { font-size: 14px; color: var(--text-dim); }

/* ── PARTNERS ─────────────────────────────────────────────────────────── */
.partner-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px;
}
.partner-card {
  background: linear-gradient(160deg, rgba(59,130,246,0.09), rgba(29,158,117,0.06));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; text-align: center;
}
.partner-card p { color: var(--text-dim); font-size: 14.5px; margin: 10px auto 4px; max-width: 380px; }
.partner-note {
  font-size: 12.5px !important;
  color: var(--text-faint) !important;
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* ── CONTACT ──────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px;
}
.contact-card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: border-color 0.2s, transform 0.2s;
}
a.contact-card:hover { border-color: var(--green-light); transform: translateY(-4px); }
.contact-card-static { cursor: default; }
.contact-icon { font-size: 24px; margin-bottom: 10px; }
.contact-card h3 { font-size: 16px; word-break: break-word; }
.contact-card p { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.footer { padding: 56px 0 28px; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; max-width: 280px; }
.footer-logo { height: 26px; }
.footer-brand p { font-size: 13px; color: var(--text-faint); }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { font-size: 14px; color: var(--text-dim); }
.footer-links a:hover, .footer-contact a:hover { color: var(--blue-light); }
.footer-copy { text-align: center; font-size: 12.5px; color: var(--text-faint); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mission-grid, .coverage-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-cards { grid-template-columns: 1fr; }
  .coverage-visual { height: 220px; order: -1; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-call { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,10,20,0.97); padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--border);
  }
  section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
