/* =========================================================
   WildlifeOS / CrocAlarm — Global Stylesheet
   Premium, dark, technical, cinematic.
   ========================================================= */

:root {
  --bg-void: #06080a;
  --bg-black: #0a0d10;
  --bg-charcoal: #10141a;
  --bg-charcoal-2: #161b22;
  --bg-glass: rgba(22, 27, 34, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text-primary: #f4f6f8;
  --text-secondary: #a7b0bb;
  --text-tertiary: #6b7480;

  --blue: #3aa0ff;
  --blue-dim: #1d4d80;
  --blue-glow: rgba(58, 160, 255, 0.35);

  --emerald: #34d399;
  --emerald-dim: #14532d;
  --emerald-glow: rgba(52, 211, 153, 0.25);

  --amber: #f5b94d;
  --red: #ef5757;

  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --max-width: 1240px;
  --mono: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.eyebrow .eyebrow-index {
  color: var(--text-tertiary);
  font-weight: 500;
}

.eyebrow::before {
  content: none;
}

.eyebrow.emerald { color: var(--emerald); }

h2.section-title {
  font-size: clamp(30px, 4.5vw, 54px);
  max-width: 780px;
  letter-spacing: -0.035em;
}

p.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 620px;
  font-weight: 400;
}

p.body-sm {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(6, 8, 10, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--border-subtle);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  height: 24px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.brand-sep {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.brand .sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .brand-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .brand-sep { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }

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

.nav-toggle { display: none; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #04101d;
  box-shadow: none;
  border-color: var(--blue);
}
.btn-primary:hover { background: #4db2ff; transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.25); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 15px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg canvas { width: 100%; height: 100%; display: block; }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(58,160,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(6,8,10,0.2) 0%, rgba(6,8,10,0.55) 55%, var(--bg-void) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 98px);
  margin-bottom: 26px;
  line-height: 0.98;
}

.hero .lede {
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  max-width: 780px;
}

.hero-stat .num {
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hero-stat .label {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 28px 40px; }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--text-tertiary), transparent);
  animation: scrollpulse 2s infinite;
}

@keyframes scrollpulse {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

/* ---------- Sections generic ---------- */

section { position: relative; padding: 120px 0; }
section.tight { padding: 90px 0; }

@media (max-width: 720px) {
  section { padding: 80px 0; }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
}

@media (max-width: 800px) {
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 20%, var(--border-subtle) 80%, transparent);
}

/* ---------- Problem section ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.problem-grid.trust-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) {
  .problem-grid.trust-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--bg-black);
  padding: 40px 32px;
}

.problem-card .icon { margin-bottom: 24px; opacity: 0.9; }
.problem-card h3 { font-size: 19px; margin-bottom: 12px; }
.problem-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; margin: 0; }

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.stat-strip {
  display: flex;
  gap: 0;
  margin-top: 1px;
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.stat-strip .stat {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-charcoal);
}
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .num { font-family: var(--mono); font-size: 30px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat-strip .label { font-size: 13px; color: var(--text-tertiary); margin-top: 6px; }

@media (max-width: 900px) {
  .stat-strip { flex-direction: column; }
  .stat-strip .stat { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

/* ---------- Cards / Glass ---------- */

.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.reverse .visual { order: -1; }
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.step-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.step-item { display: flex; gap: 18px; }
.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--blue);
}
.step-item h4 { font-size: 16px; margin-bottom: 6px; }
.step-item p { font-size: 14.5px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ---------- Pipeline diagram ---------- */

.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.pipeline-node {
  flex: 1;
  min-width: 160px;
  background: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  position: relative;
}

.pipeline-node .n-icon { margin: 0 auto 14px; width: 36px; height: 36px; }
.pipeline-node h5 { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.pipeline-node span { font-size: 12px; color: var(--text-tertiary); }

.pipeline-arrow {
  flex-shrink: 0;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}

/* ---------- Use case tabs ---------- */

.usecase-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.usecase-tab {
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--text-secondary);
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
}
.usecase-tab.active {
  background: rgba(58,160,255,0.1);
  border-color: rgba(58,160,255,0.4);
  color: var(--blue);
}

.usecase-panel { display: none; }
.usecase-panel.active { display: block; animation: fadein 0.4s var(--ease); }

@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.usecase-photo {
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  width: 100%;
  display: block;
  margin-bottom: 28px;
}

.usecase-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}

@media (max-width: 900px) {
  .usecase-content { grid-template-columns: 1fr; gap: 32px; }
}

.usecase-content ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.usecase-content li { display: flex; gap: 12px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }
.usecase-content li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  margin-top: 8px;
}

/* ---------- Dashboard mock ---------- */

.dash-mock {
  background: #0c0f13;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02);
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.dash-title { font-size: 12.5px; color: var(--text-tertiary); letter-spacing: 0.04em; }
.dash-badge {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(52,211,153,0.12); color: var(--emerald);
  border: 1px solid rgba(52,211,153,0.25);
}

.dash-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.015);
  flex-wrap: wrap;
}

.dash-select {
  appearance: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 30px 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7480' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.dash-select:hover { border-color: var(--border-strong); }

.dash-product-switch { position: relative; }
.dash-product-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.dash-product-btn:hover { border-color: var(--border-strong); }
.dash-product-btn svg { color: var(--text-tertiary); }
.dash-product-menu {
  position: absolute;
  top: calc(100% + 6px); right: 0;
  z-index: 20;
  width: 240px;
  background: #10141a;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.6);
  display: none;
}
.dash-product-switch.open .dash-product-menu { display: block; }
.dash-product-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 13px;
}
.dash-product-item.active { background: rgba(58,160,255,0.1); color: var(--text-primary); }
.dash-product-item.disabled { color: var(--text-tertiary); cursor: default; }
.dash-product-item .soon-badge {
  font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255,255,255,0.06); color: var(--text-tertiary);
  padding: 2px 7px; border-radius: 999px;
}
.dash-product-item .check { color: var(--emerald); font-size: 13px; }

.dash-live {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
}
.dash-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  animation: blinkDot 1.6s ease-in-out infinite;
}

.dash-tabs {
  display: flex;
  gap: 2px;
  padding: 10px 16px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-tab {
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}
.dash-tab.active { color: var(--text-primary); border-bottom-color: var(--blue); }
.dash-tab:hover { color: var(--text-primary); }

.dash-body { padding: 22px; min-height: 380px; }
.dash-panel { display: none; animation: fadein 0.3s var(--ease); }
.dash-panel.active { display: block; }

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

@media (max-width: 700px) {
  .dash-grid { grid-template-columns: 1fr; }
}

.dash-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.dash-card h6 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin: 0 0 14px;
  font-weight: 600;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}
.dash-stat {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.dash-stat .num { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--blue); }
.dash-stat .lbl { font-size: 11.5px; color: var(--text-tertiary); margin-top: 4px; }

.map-mock {
  height: 220px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 30% 40%, rgba(58,160,255,0.18), transparent 45%),
    radial-gradient(circle at 70% 65%, rgba(52,211,153,0.14), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 28px),
    #0a0d10;
  position: relative;
  overflow: hidden;
}
.map-mock svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.map-pin { cursor: pointer; }
.map-pin:hover { filter: brightness(1.25); }

.map-popover {
  position: absolute;
  z-index: 10;
  width: 220px;
  background: #10141a;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.6);
  font-size: 12px;
  display: none;
}
.map-popover.show { display: block; }
.map-popover strong { display: block; font-size: 13px; margin-bottom: 4px; }
.map-popover .row { display: flex; justify-content: space-between; color: var(--text-tertiary); margin-top: 4px; }
.map-popover .row span:last-child { color: var(--text-secondary); }
.map-popover a { display: inline-block; margin-top: 8px; font-size: 11.5px; color: var(--blue); }
.map-popover-close { position: absolute; top: 8px; right: 10px; color: var(--text-tertiary); cursor: pointer; font-size: 13px; }

.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(239,87,87,0.18);
  animation: pulse-pin 1.8s infinite;
}
@keyframes pulse-pin {
  0% { box-shadow: 0 0 0 0 rgba(239,87,87,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(239,87,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,87,87,0); }
}

.map-pin.green { background: var(--emerald); box-shadow: 0 0 0 6px rgba(52,211,153,0.18); }
.map-pin.blue { background: var(--blue); box-shadow: 0 0 0 6px rgba(58,160,255,0.18); }

.map-legend {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-tertiary);
}
.map-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.map-legend .dot-red { background: var(--red); }
.map-legend .dot-green { background: var(--emerald); }
.map-legend .dot-blue { background: var(--blue); }

.timeline-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}
.timeline-row:last-child { border-bottom: none; }
.timeline-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.timeline-time { color: var(--text-tertiary); width: 52px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.timeline-desc { color: var(--text-secondary); flex: 1; }
.timeline-site {
  display: inline-block;
  font-size: 10.5px;
  color: var(--text-tertiary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
.timeline-conf { font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }

.confidence-ring-wrap { display: flex; align-items: center; gap: 20px; }
.confidence-num { font-size: 34px; font-weight: 700; }
.confidence-label { font-size: 12.5px; color: var(--text-tertiary); }

.progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-top: 8px;
}
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  transition: width 1.2s var(--ease);
}

.sensor-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 13px; border-bottom: 1px solid var(--border-subtle); }
.sensor-row:last-child { border-bottom: none; }
.sensor-status { display: flex; align-items: center; gap: 8px; color: var(--text-tertiary); font-size: 12px; }
.sensor-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.sensor-status .dot.warn { background: var(--amber); }

.weather-mini { display: flex; justify-content: space-between; }
.weather-mini .item { text-align: center; }
.weather-mini .val { font-size: 18px; font-weight: 600; }
.weather-mini .lbl { font-size: 11px; color: var(--text-tertiary); margin-top: 4px; }

.incident-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.incident-row:last-child { border-bottom: none; }
.incident-badge {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  flex-shrink: 0;
}
.incident-badge.high { background: rgba(239,87,87,0.15); color: var(--red); }
.incident-badge.med { background: rgba(245,185,77,0.15); color: var(--amber); }
.incident-badge.resolved { background: rgba(52,211,153,0.15); color: var(--emerald); }
.incident-row .meta { flex: 1; font-size: 13px; color: var(--text-secondary); }
.incident-row .time { font-size: 12px; color: var(--text-tertiary); }
.incident-ack {
  display: inline-block;
  margin-left: 10px;
  font-size: 11.5px;
  color: var(--blue);
  border: 1px solid rgba(58,160,255,0.35);
  padding: 2px 9px;
  border-radius: 999px;
}
.incident-ack:hover { background: rgba(58,160,255,0.1); }

.incident-filter-tabs { display: flex; gap: 4px; background: rgba(255,255,255,0.03); border-radius: 6px; padding: 3px; }
.incident-filter-tab {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 5px;
  color: var(--text-tertiary);
  cursor: pointer;
}
.incident-filter-tab.active { background: rgba(255,255,255,0.06); color: var(--text-primary); }

.thermal-mock {
  height: 220px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 60% 55%, #ffcf6e 0%, #f5893a 18%, #b8323e 38%, #5b1a4a 58%, #1a1440 78%, #05070f 100%);
  position: relative;
}
.sonar-sweep {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: conic-gradient(from 0deg, rgba(255,255,255,0.28), transparent 22%);
  animation: sonarSweep 3.4s linear infinite;
  mix-blend-mode: overlay;
}
@keyframes sonarSweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.thermal-mock .crosshair {
  position: absolute;
  top: 55%; left: 60%;
  width: 60px; height: 60px;
  transform: translate(-50%,-50%);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 8px;
}
.thermal-mock .crosshair::before,
.thermal-mock .crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.6);
}
.thermal-mock .crosshair::before { width: 100%; height: 1px; top: 50%; }
.thermal-mock .crosshair::after { height: 100%; width: 1px; left: 50%; }
.thermal-tag {
  position: absolute; top: calc(55% - 46px); left: 60%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 8px; border-radius: 4px;
  font-size: 10.5px; white-space: nowrap;
}

.analytics-bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.analytics-bars .bar { flex: 1; background: linear-gradient(180deg, var(--blue), var(--blue-dim)); border-radius: 4px 4px 0 0; opacity: 0.85; }

/* ---------- Simulation ---------- */

.sim-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0c0f13;
}

@media (max-width: 900px) {
  .sim-wrap { grid-template-columns: 1fr; }
}

.sim-controls {
  padding: 28px;
  border-right: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.015);
}

@media (max-width: 900px) {
  .sim-controls { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

.sim-field { margin-bottom: 20px; }
.sim-field label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  font-weight: 600;
}
.sim-field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
}

.sim-controls-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.sim-stage {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
}

.sim-timer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  align-self: flex-start;
}
.sim-timer-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-tertiary);
  transition: background 0.3s;
}
.sim-timer.running .sim-timer-dot { background: var(--blue); animation: blinkDot 1s ease-in-out infinite; }
.sim-timer.done .sim-timer-dot { background: var(--emerald); animation: none; }
.sim-timer-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); font-weight: 600; }
.sim-timer-value { font-family: var(--mono); font-size: 13.5px; color: var(--text-primary); font-weight: 600; margin-left: auto; }

.sim-steps { display: flex; flex-direction: column; gap: 0; }

.sim-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  opacity: 0.3;
  transition: opacity 0.4s var(--ease);
  position: relative;
}
.sim-step.active { opacity: 1; }
.sim-step.done { opacity: 0.55; }

.sim-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px; top: 44px;
  width: 1px; height: calc(100% - 20px);
  background: var(--border-subtle);
}

.sim-step-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  background: var(--bg-black);
  z-index: 1;
  transition: all 0.3s;
}
.sim-step-icon svg { transition: stroke 0.3s; }
.sim-step.active .sim-step-icon { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px rgba(58,160,255,0.12); }
.sim-step.done .sim-step-icon { border-color: var(--emerald); color: var(--emerald); }

.sim-step h5 { font-size: 14.5px; margin-bottom: 3px; display: flex; align-items: baseline; gap: 8px; }
.sim-step p { font-size: 13px; color: var(--text-tertiary); margin: 0; }
.sim-step-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 600;
}
.sim-step.active .sim-step-time, .sim-step.done .sim-step-time { opacity: 0.85; }

/* ---------- Simulation payoff: phone mockup + incident card ---------- */

.sim-payoff {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.sim-phone {
  flex-shrink: 0;
  width: 172px;
  height: 340px;
  border-radius: 26px;
  border: 2px solid var(--border-strong);
  background: linear-gradient(165deg, #10151b, #060809);
  padding: 8px;
  position: relative;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.6);
}
.sim-phone-notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 16px;
  background: #060809;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}
.sim-phone-screen {
  width: 100%; height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(58,160,255,0.10), rgba(6,8,9,0.4) 55%), #0c1015;
  position: relative;
  overflow: hidden;
  padding: 26px 10px 10px;
}
.sim-phone-clock {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  opacity: 0.85;
}
.sim-notification {
  display: flex;
  gap: 9px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 13px;
  padding: 10px 11px;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.sim-notification.show { opacity: 1; transform: translateY(0); animation: notifPulse 1.8s ease-in-out 0.5s 2; }
.sim-notif-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: linear-gradient(160deg, var(--red), #a33);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.sim-notif-body { min-width: 0; }
.sim-notif-top { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 2px; }
.sim-notif-top strong { font-size: 10.5px; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.03em; }
.sim-notif-top span { font-size: 10px; color: var(--text-tertiary); flex-shrink: 0; }
.sim-notif-title { font-size: 11.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; line-height: 1.3; }
.sim-notif-text { font-size: 10.5px; color: var(--text-secondary); line-height: 1.4; }

@keyframes notifPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,87,87,0); }
  50% { box-shadow: 0 0 0 6px rgba(239,87,87,0.08); }
}

.sim-result {
  flex: 1;
  min-width: 260px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  display: none;
  overflow: hidden;
}
.sim-result.show { display: block; animation: fadein 0.4s var(--ease); }

.sim-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.sim-card-conf {
  text-align: right;
}
.sim-card-conf-value {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.sim-card-conf-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-top: 3px;
}
.sim-card-body { padding: 14px 16px; }
.sim-card-body p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 12px; }
.sim-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 14px;
}
.sim-card-meta div { font-size: 11.5px; color: var(--text-tertiary); }
.sim-card-meta strong { display: block; font-size: 12.5px; color: var(--text-primary); margin-top: 2px; font-weight: 600; }
.sim-card-safety {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.18);
  font-size: 12.5px;
  color: var(--emerald);
  line-height: 1.5;
}

.sim-run-btn { margin-top: 24px; }

/* ---------- Hardware ---------- */

.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .hw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hw-grid { grid-template-columns: 1fr; }
}

.hw-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.hw-card .hw-icon {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hw-card h5 { font-size: 14px; margin-bottom: 8px; }
.hw-card p { font-size: 12.5px; color: var(--text-tertiary); margin: 0; line-height: 1.5; }

.hw-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  font-style: italic;
}

.hw-unit-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hw-unit-hero { grid-template-columns: 1fr; gap: 36px; }
}
.hw-unit-hero.stacked {
  grid-template-columns: 1fr;
  gap: 28px;
}
.hw-unit-hero.stacked > div:last-child { max-width: 640px; }

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  background:
    radial-gradient(ellipse 80% 100% at 30% 0%, rgba(58,160,255,0.14), transparent 60%),
    radial-gradient(ellipse 60% 100% at 90% 100%, rgba(52,211,153,0.1), transparent 60%),
    var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.cta-band h2 { max-width: 640px; margin: 0 auto 20px; }
.cta-band p { max-width: 520px; margin: 0 auto 36px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

@media (max-width: 700px) {
  .cta-band { padding: 48px 28px; }
}

/* ---------- Forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

.form-success {
  display: none;
  padding: 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52,211,153,0.25);
  background: rgba(52,211,153,0.06);
}
.form-success.show { display: block; }
.form-success h3 { color: var(--emerald); margin-bottom: 10px; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 0 0 32px;
  background: var(--bg-black);
  overflow: hidden;
}

.footer-wordmark {
  font-size: clamp(56px, 12vw, 170px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.09);
  padding: 40px 0 10px;
  user-select: none;
  white-space: nowrap;
}

.footer-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-col h6 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Reveal on scroll ---------- */

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

/* Staggered child reveal for grouped cards */
.roadmap.reveal .roadmap-item,
.problem-grid.reveal .problem-card,
.eco-bar.reveal .eco-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.roadmap.reveal.in .roadmap-item,
.problem-grid.reveal.in .problem-card,
.eco-bar.reveal.in .eco-card {
  opacity: 1;
  transform: translateY(0);
}
.roadmap-item:nth-child(1), .problem-card:nth-child(1), .eco-card:nth-child(1) { transition-delay: 0ms; }
.roadmap-item:nth-child(2), .problem-card:nth-child(2), .eco-card:nth-child(2) { transition-delay: 100ms; }
.roadmap-item:nth-child(3), .problem-card:nth-child(3), .eco-card:nth-child(3) { transition-delay: 200ms; }
.roadmap-item:nth-child(4), .eco-card:nth-child(4) { transition-delay: 300ms; }
.roadmap-item:nth-child(5) { transition-delay: 400ms; }

/* Roadmap progress spine */
.roadmap { position: relative; padding-left: 20px; }
.roadmap::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--border-subtle);
}
.roadmap::after {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 1px;
  height: 0;
  background: var(--blue);
  transition: height 1.8s var(--ease) 0.3s;
}
.roadmap.reveal.in::after { height: calc(100% - 16px); }

/* ---------- Mobile nav drawer ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6,8,10,0.98);
  display: none;
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 500; }
.mobile-nav .btn { margin-top: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 210;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text-primary); transition: all 0.3s; }

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

.nav-close {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 28px;
  color: var(--text-secondary);
  background: none; border: none; cursor: pointer;
}

/* ---------- Page hero (secondary pages) ---------- */

.page-hero {
  padding-top: 160px;
  padding-bottom: 60px;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 20px; max-width: 780px; }

/* ---------- Badges / pills ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ---------- Roadmap ---------- */

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.roadmap-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
}
.roadmap-item:first-child { border-top: none; }
.roadmap-phase { font-family: var(--mono); font-size: 12.5px; color: var(--blue); font-weight: 500; letter-spacing: 0.06em; }
.roadmap-item h4 { font-size: 19px; margin-bottom: 10px; }
@media (max-width: 700px) {
  .roadmap-item { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}
.team-card-photo {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: 18px;
  filter: grayscale(0.75) contrast(1.08) brightness(0.95);
  transition: filter 0.6s var(--ease);
  border: 1px solid var(--border-subtle);
}
.team-card-photo:hover { filter: grayscale(0) contrast(1) brightness(1); }

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dim), var(--emerald-dim));
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.team-card h5 { font-size: 15.5px; margin-bottom: 2px; }
.team-card .role { font-size: 12.5px; color: var(--text-tertiary); margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ---------- Founder Spotlight ---------- */

.founder-spotlight {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.founder-spotlight.reverse { direction: rtl; }
.founder-spotlight.reverse > * { direction: ltr; }

@media (max-width: 800px) {
  .founder-spotlight, .founder-spotlight.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
    margin-bottom: 40px;
  }
  .founder-photo { max-width: 260px; }
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  filter: grayscale(0.8) contrast(1.08) brightness(0.95);
  transition: filter 0.6s var(--ease);
}
.founder-photo img:hover { filter: grayscale(0) contrast(1) brightness(1); }

.founder-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}

.founder-text h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
}

.founder-facts {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}
.founder-facts div {
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.founder-facts div span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.advisor-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-charcoal);
  margin-bottom: 40px;
}
.advisor-strip img {
  width: 52px; height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(0.6);
}
.advisor-strip strong { display: block; font-size: 14px; margin-bottom: 3px; }
.advisor-strip span { font-size: 12.5px; color: var(--text-tertiary); }

.advisor-quote {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
}
.advisor-quote img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.advisor-quote p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0 0 16px;
  font-weight: 450;
}
.advisor-quote strong { display: block; font-size: 13.5px; }
.advisor-quote span { font-size: 12.5px; color: var(--text-tertiary); }

@media (max-width: 600px) {
  .advisor-quote { flex-direction: column; padding: 28px; }
}

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Ecosystem / Credibility Bar ---------- */

.eco-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 24px;
}

.eco-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (max-width: 900px) {
  .eco-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .eco-bar { grid-template-columns: 1fr; }
}

.eco-card {
  background: var(--bg-charcoal);
  padding: 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 182px;
}
.eco-badge-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
}

.eco-badge-img {
  width: 44px;
  height: auto;
  flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  padding: 5px;
}
/* Flat badges: logo already carries its own background / no color inversion needed */
.eco-badge-img.badge-flat {
  width: auto;
  height: 46px;
  background: none;
  border-radius: 0;
  padding: 0;
}
.eco-badge-img.badge-flat.badge-round {
  height: 64px;
  width: 64px;
}
.eco-badge-img.badge-chip {
  width: auto;
  height: 56px;
  background: #fff;
  border-radius: 8px;
  padding: 12px 18px;
}

.eco-mark {
  width: 56px; height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--blue-dim), var(--emerald-dim));
  color: var(--text-primary);
}

.eco-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eco-text strong { font-size: 13px; color: var(--text-primary); }
.eco-text span { font-size: 11.5px; color: var(--text-tertiary); line-height: 1.4; }

/* ---------- Live Scenario Animation ---------- */

.scenario-caption {
  position: relative;
  height: 30px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text-secondary);
}
.scenario-caption span {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.scenario-caption[data-phase="1"] .cap-1,
.scenario-caption[data-phase="2"] .cap-2,
.scenario-caption[data-phase="3"] .cap-3 {
  opacity: 1;
}

.scenario-stage {
  position: relative;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #070a0d;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}

.scenario-badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 6;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scenario-zone-land {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(180deg, #12161c, #0d1116);
  border-bottom: 1px solid rgba(58,160,255,0.25);
}

.scenario-person {
  position: absolute;
  top: 42%; left: 12%;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.scenario-stage.playing .scenario-person { animation: personGlow 9s ease-in-out infinite; }

.scenario-node {
  position: absolute;
  bottom: -1px;
  transform: translate(-50%, 50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--blue);
  z-index: 3;
  background: var(--bg-black);
  border-radius: 50%;
  padding: 6px;
  animation: nodeGlow 2.6s ease-in-out infinite;
}
@keyframes nodeGlow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(58,160,255,0.1); }
  50% { box-shadow: 0 0 0 9px rgba(58,160,255,0.2); }
}
.scenario-node span {
  font-size: 10.5px;
  color: var(--text-tertiary);
  white-space: nowrap;
  background: var(--bg-black);
  padding: 2px 8px;
  border-radius: 4px;
}

.scenario-status {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 7;
  width: 240px;
  height: 30px;
}
.status-pill {
  position: absolute;
  top: 0; left: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(10,13,16,0.9);
  border: 1px solid;
  opacity: 0;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-green { opacity: 1; color: var(--emerald); border-color: rgba(52,211,153,0.4); }
.status-green .status-dot { background: var(--emerald); box-shadow: 0 0 8px rgba(52,211,153,0.6); }
.status-yellow { color: var(--amber); border-color: rgba(245,185,77,0.4); }
.status-yellow .status-dot { background: var(--amber); box-shadow: 0 0 8px rgba(245,185,77,0.6); }
.status-red { color: var(--red); border-color: rgba(239,87,87,0.45); }
.status-red .status-dot { background: var(--red); box-shadow: 0 0 8px rgba(239,87,87,0.6); }

.scenario-stage.playing .status-green { animation: statusGreen 9s ease-in-out infinite; }
.scenario-stage.playing .status-yellow { animation: statusYellow 9s ease-in-out infinite; }
.scenario-stage.playing .status-red { animation: statusRed 9s ease-in-out infinite; }

@keyframes statusGreen { 0%, 6% { opacity: 1; } 9%, 95% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes statusYellow { 0%, 7% { opacity: 0; } 9%, 60% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes statusRed { 0%, 61% { opacity: 0; } 64%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }

.scenario-zone-water {
  position: absolute;
  top: 30%; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 34% 0%, rgba(58,160,255,0.12), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px),
    #0a0e13;
  overflow: hidden;
}

.scenario-cone {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(180deg, rgba(58,160,255,0.46), rgba(58,160,255,0.05) 85%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.4) 8%, transparent 20%);
  background-size: 100% 100%, 100% 260%;
  background-position: 0 0, 0 -160%;
  animation: conePulse 3s ease-in-out infinite, coneSweep 4.5s linear infinite;
}
.cone-a { clip-path: polygon(16% 0%, -8% 100%, 40% 100%); }
.cone-b { clip-path: polygon(50% 0%, 22% 100%, 78% 100%); animation-delay: 0.4s, 1.5s; }
.cone-c { clip-path: polygon(84% 0%, 60% 100%, 108% 100%); animation-delay: 0.8s, 3s; }
@keyframes conePulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes coneSweep { 0% { background-position: 0 0, 0 -160%; } 100% { background-position: 0 0, 0 160%; } }

.scenario-ring {
  position: absolute;
  top: 0;
  width: 14px; height: 14px;
  margin-left: -7px; margin-top: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(58,160,255,0.55);
  animation: radarPulse 2.4s ease-out infinite;
}
@keyframes radarPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(20); opacity: 0; } }

.scenario-zone-label {
  position: absolute;
  bottom: 8px; left: 20px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.scenario-target {
  position: absolute;
  width: 34px; height: 18px;
  top: 84%; left: 78%;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.5));
  z-index: 4;
}
.scenario-stage.playing .scenario-target { animation: targetMove 9s ease-in-out infinite; }
@keyframes targetMove {
  0%   { top: 84%; left: 78%; opacity: 1; }
  8%   { top: 84%; left: 78%; opacity: 1; }
  50%  { top: 55%; left: 58%; opacity: 1; }
  62%  { top: 38%; left: 50%; opacity: 1; }
  90%  { top: 38%; left: 50%; opacity: 1; }
  96%  { opacity: 0; }
  97%  { top: 84%; left: 78%; opacity: 0; }
  100% { top: 84%; left: 78%; opacity: 1; }
}

.scenario-conf {
  position: absolute;
  top: 14%; left: 50%;
  transform: translateX(-50%);
  background: rgba(10,13,16,0.85);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-secondary);
  opacity: 0;
  white-space: nowrap;
  z-index: 5;
}
.conf-4 { color: var(--red); border-color: rgba(239,87,87,0.4); }
.scenario-stage.playing .conf-1 { animation: confShow1 9s ease-in-out infinite; }
.scenario-stage.playing .conf-2 { animation: confShow2 9s ease-in-out infinite; }
.scenario-stage.playing .conf-3 { animation: confShow3 9s ease-in-out infinite; }
.scenario-stage.playing .conf-4 { animation: confShow4 9s ease-in-out infinite; }

@keyframes confShow1 { 0%, 6% { opacity: 0; } 8%, 38% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes confShow2 { 0%, 39% { opacity: 0; } 41%, 53% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes confShow3 { 0%, 54% { opacity: 0; } 56%, 60% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes confShow4 { 0%, 61% { opacity: 0; } 63%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }

.scenario-alert {
  position: absolute;
  bottom: 20px; right: 20px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(10,13,16,0.92);
  border: 1px solid rgba(239,87,87,0.35);
  border-radius: 12px;
  padding: 14px 18px;
  max-width: 280px;
  opacity: 0;
  transform: translateX(16px);
  z-index: 6;
}
.scenario-stage.playing .scenario-alert { animation: alertShow 9s ease-in-out infinite; }
.scenario-alert strong { display: block; font-size: 13px; color: var(--text-primary); margin-bottom: 3px; }
.scenario-alert span { font-size: 12px; color: var(--text-tertiary); }
.scenario-alert-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(239,87,87,0.2);
  animation: blinkDot 1s ease-in-out infinite;
}
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes alertShow {
  0%, 60% { opacity: 0; transform: translateX(16px); }
  64%, 92% { opacity: 1; transform: translateX(0); }
  96%, 100% { opacity: 0; transform: translateX(16px); }
}

@keyframes personGlow {
  0%, 60% { box-shadow: none; border-color: var(--border-subtle); color: var(--text-secondary); }
  64%, 92% { box-shadow: 0 0 0 6px rgba(239,87,87,0.18); border-color: rgba(239,87,87,0.5); color: var(--red); }
  96%, 100% { box-shadow: none; border-color: var(--border-subtle); color: var(--text-secondary); }
}

/* ---------- Single-node coverage (mini scenario) ---------- */

.mini-scenario-intro { margin-top: 56px; margin-bottom: 24px; max-width: 640px; }
.mini-scenario-intro h3 { font-size: 20px; margin-bottom: 8px; }

.mini-scenario {
  position: relative;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0a0e13;
}
.mini-scenario-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 6;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: rgba(10,13,16,0.85);
  border: 1px solid var(--border-subtle);
  padding: 5px 10px;
  border-radius: 5px;
}
.mini-scenario-land {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34%;
  background: linear-gradient(180deg, #12161c, #0d1116);
  border-bottom: 1px solid rgba(58,160,255,0.25);
  z-index: 2;
}
.mini-scenario-person {
  position: absolute;
  top: 38%; left: 16%;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.mini-scenario-node {
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translate(-50%, 50%);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  z-index: 3;
  background: var(--bg-black);
  border-radius: 50%;
  padding: 6px;
  animation: nodeGlow 2.6s ease-in-out infinite;
}
.mini-scenario-water {
  position: absolute;
  top: 34%; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px),
    #0a0e13;
  overflow: hidden;
}
.mini-scenario-cone {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  clip-path: polygon(50% 0%, -15% 100%, 115% 100%);
  background-image:
    linear-gradient(180deg, rgba(58,160,255,0.46), rgba(58,160,255,0.05) 85%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.4) 8%, transparent 20%);
  background-size: 100% 100%, 100% 260%;
  background-position: 0 0, 0 -160%;
  animation: conePulse 3s ease-in-out infinite, coneSweep 4.5s linear infinite;
}
.mini-scenario-ring {
  position: absolute;
  top: 34%; left: 50%;
  width: 14px; height: 14px;
  margin-left: -7px; margin-top: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(58,160,255,0.55);
  animation: radarPulse 2.4s ease-out infinite;
  z-index: 2;
}
.mini-scenario-status {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(10,13,16,0.9);
  border: 1px solid rgba(52,211,153,0.4);
  color: var(--emerald);
}
.mini-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px rgba(52,211,153,0.6); flex-shrink: 0; }

@media (max-width: 700px) {
  .scenario-stage { height: 400px; }
  .scenario-alert { max-width: 200px; padding: 10px 14px; }
  .scenario-alert strong { font-size: 12px; }
  .scenario-alert span { font-size: 11px; }
}

/* ---------- Use of Funds ---------- */

.fund-list { display: flex; flex-direction: column; gap: 22px; }
.fund-item { }
.fund-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.fund-head h4 { font-size: 15px; margin: 0; }
.fund-pct { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--blue); }
.fund-item .progress-bar { margin-bottom: 10px; }
.fund-item p { margin: 0; }

/* ---------- Round countdown ---------- */

.round-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.round-countdown-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18);
  flex-shrink: 0;
  animation: blinkDot 1.6s ease-in-out infinite;
}
.round-countdown strong { color: var(--text-primary); font-family: var(--mono); }

/* ---------- Founder CTA quote / big statement ---------- */

.founder-cta-quote {
  max-width: 780px;
  margin: 56px auto 0;
  text-align: center;
  padding: 8px 20px 0;
}
.founder-cta-quote p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 450;
  margin: 0 0 14px;
}
.founder-cta-quote span { font-size: 13px; color: var(--text-tertiary); }

.big-statement {
  max-width: 820px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text-primary);
  background: linear-gradient(90deg, var(--text-primary), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--text-primary); }
.faq-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.faq-item p a { color: var(--blue); }

/* ---------- Pilot waitlist badge ---------- */

.waitlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--emerald);
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.22);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.waitlist-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18);
  flex-shrink: 0;
  animation: blinkDot 1.6s ease-in-out infinite;
}
