:root {
  --bg: #07111f;
  --bg-soft: rgba(255, 255, 255, 0.06);
  --card: rgba(10, 18, 32, 0.72);
  --stroke: rgba(148, 163, 184, 0.18);
  --text: #e5eefb;
  --muted: #9fb0c9;
  --accent: #7cdbff;
  --accent-2: #a78bfa;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 219, 255, 0.12), transparent 30%),
    radial-gradient(circle at right top, rgba(167, 139, 250, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 90%);
  pointer-events: none;
  opacity: 0.45;
}

.bg-orb {
  position: fixed;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.14;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { top: -8vw; left: -8vw; background: #3b82f6; }
.orb-2 { right: -10vw; top: 18vw; background: #8b5cf6; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(18px) scale(1.05); }
}

.topbar, .page, .footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07111f;
}
.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }

.page {
  padding: 28px 0 80px;
}

.hero, .section, .cta {
  position: relative;
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  min-height: 640px;
}

.pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 219, 255, 0.12);
  color: #d9f7ff;
  font-size: 14px;
  border: 1px solid rgba(124, 219, 255, 0.22);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

h1, h2, h3, p { margin: 0; }
h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 4vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(1.8rem, 2.3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.lead {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions, .cards, .timeline, .stats, .faq {
  display: grid;
  gap: 16px;
}

.hero-actions {
  grid-auto-flow: column;
  justify-content: start;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07111f;
}
.btn-secondary {
  background: rgba(255,255,255,0.05);
  border-color: var(--stroke);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--stroke);
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}
.stat {
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.stat strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.stat span { color: var(--muted); font-size: 0.94rem; }

.hero-visual {
  display: grid;
  gap: 18px;
}
.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
}
.main-card {
  min-height: 460px;
}
.main-card img,
.mini-card img {
  position: absolute;
  inset: 0;
}
.card-overlay {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  padding: 24px;
  min-height: 220px;
  display: grid;
  align-content: end;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.92) 65%);
}
.card-overlay h3 { font-size: 1.5rem; margin-top: 14px; }
.card-overlay p { margin-top: 8px; color: var(--muted); line-height: 1.6; }

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mini-card { min-height: 168px; }

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card, .quote-card, details, .step {
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
}

.info-card p, .split-copy p, .step p, .quote-card p, details p {
  color: var(--muted);
  line-height: 1.7;
}

.icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 14px;
  background: rgba(124, 219, 255, 0.12);
  border: 1px solid rgba(124, 219, 255, 0.18);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.checklist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  margin-top: 12px;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gallery img {
  border-radius: 22px;
  min-height: 240px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.gallery img:first-child {
  grid-column: 1 / -1;
  min-height: 280px;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step span {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.quote-card {
  min-height: 180px;
  display: grid;
  align-content: space-between;
}
.quote-card footer {
  margin-top: 20px;
  color: var(--accent);
  font-weight: 600;
}

.faq details + details { margin-top: 14px; }
details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
details summary::-webkit-details-marker { display: none; }
details p { margin-top: 10px; }

.cta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer {
  padding: 22px 0 34px;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    border-radius: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav { order: 3; flex-wrap: wrap; justify-content: center; }
  .hero, .split, .timeline, .three-up, .cards, .two-up, .stats {
    grid-template-columns: 1fr;
  }
  .hero-actions { grid-auto-flow: row; }
  .cta { flex-direction: column; align-items: flex-start; }
  .gallery img:first-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .page, .topbar { width: min(100vw - 16px, 1180px); }
  .hero, .section, .cta { padding: 22px; }
  h1 { font-size: 2.4rem; }
  .lead { font-size: 1rem; }
  .mini-grid { grid-template-columns: 1fr; }
}
