:root {
  --bg: #040713;
  --bg-alt: #0c1022;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --primary: #78ffd6;
  --secondary: #6ea5ff;
  --accent: #ff7acb;
  --text: #f5f7ff;
  --muted: rgba(255, 255, 255, 0.68);
  --stroke: rgba(255, 255, 255, 0.15);
  --shadow: 0 30px 80px rgba(5, 10, 30, 0.55);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.halo {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.6;
}

.halo-1 {
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(120, 255, 214, 0.35), transparent 65%);
}

.halo-2 {
  bottom: -200px;
  right: -80px;
  background: radial-gradient(circle, rgba(110, 165, 255, 0.4), transparent 60%);
}

.grid-noise {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.25;
  mix-blend-mode: screen;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(4, 7, 19, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(120,255,214,0.7), rgba(110,165,255,0.7), rgba(255,122,203,0.8));
  box-shadow: 0 10px 30px rgba(120,255,214,0.3);
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.4px;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.primary,
.ghost {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #091428;
  box-shadow: 0 14px 30px rgba(120, 255, 214, 0.35);
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(110, 165, 255, 0.45);
}

.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 40px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin: 16px 0 18px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 26px 0;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 22px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbital {
  position: relative;
  width: min(520px, 90vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbital svg {
  width: 100%;
  height: auto;
}

.orbital-card {
  position: absolute;
  right: 10%;
  top: 20%;
  background: rgba(10, 14, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  width: 190px;
  box-shadow: var(--shadow);
}

.orbital-card.secondary {
  left: 4%;
  top: auto;
  bottom: 18%;
}

.card-title {
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 6px;
}

.card-copy {
  font-size: 12px;
  color: var(--muted);
}

.spark {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}

.spark span {
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), transparent);
  animation: pulse 1.6s ease-in-out infinite;
}

.spark span:nth-child(2) { animation-delay: 0.2s; }
.spark span:nth-child(3) { animation-delay: 0.4s; }
.spark span:nth-child(4) { animation-delay: 0.6s; }
.spark span:nth-child(5) { animation-delay: 0.8s; }
.spark span:nth-child(6) { animation-delay: 1s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

.trust {
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.trust-grid span {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(12, 16, 34, 0.2), rgba(12, 16, 34, 0.6));
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.section-grid.reverse {
  direction: rtl;
}

.section-grid.reverse > * {
  direction: ltr;
}

.checklist {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(120, 255, 214, 0.2);
  color: var(--primary);
}

.risk-map {
  position: relative;
  background: rgba(9, 12, 24, 0.6);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow: hidden;
  height: 220px;
}

.risk-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(120, 255, 214, 0.4);
  fill: none;
  stroke-width: 2;
}

.node {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}

.node.high { background: rgba(255, 122, 203, 0.35); top: 20px; left: 30px; }
.node.med { background: rgba(110, 165, 255, 0.35); top: 110px; left: 120px; }
.node.low { background: rgba(120, 255, 214, 0.35); top: 40px; right: 40px; }
.node.med:nth-of-type(4) { top: 140px; right: 80px; }
.node.high:nth-of-type(5) { top: 150px; left: 40px; }

.panel-footer {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  min-height: 160px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 255, 214, 0.4);
}

.diagram {
  display: flex;
  justify-content: center;
}

.diagram-card {
  background: rgba(9, 12, 24, 0.85);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: min(420px, 90vw);
  box-shadow: var(--shadow);
}

.pipeline {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.pipeline div {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pulse {
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(120, 255, 214, 0.15);
  color: var(--primary);
  text-align: center;
  font-size: 12px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.case {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta {
  padding: 40px 0 80px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(120, 255, 214, 0.25), rgba(110, 165, 255, 0.25), rgba(255, 122, 203, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-title {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.small {
  font-size: 13px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions button {
    flex: 1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .orbital-card {
    display: none;
  }
}

