/* === BASE === */
:root {
  --bg: #0f1923;
  --bg-2: #141f2d;
  --bg-3: #1a2737;
  --fg: #f4f1eb;
  --fg-2: #8a9bb5;
  --fg-3: #4a5a72;
  --teal: #00e5b4;
  --teal-dim: rgba(0, 229, 180, 0.15);
  --teal-glow: rgba(0, 229, 180, 0.4);
  --warm: #f5a623;
  --warm-dim: rgba(245, 166, 35, 0.2);
  --new: #4a9eff;
  --new-dim: rgba(74, 158, 255, 0.2);
  --border: rgba(244, 241, 235, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(15, 25, 35, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 180, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 180, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 229, 180, 0.08) 0%, transparent 70%);
}

.hero-nodes {
  position: absolute;
  inset: 0;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.node::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--teal);
  opacity: 0.3;
}

.node-1 { top: 25%; left: 15%; }
.node-2 { top: 35%; left: 75%; }
.node-3 { top: 65%; left: 30%; }
.node-4 { top: 45%; left: 55%; }
.node-5 { top: 75%; left: 70%; }
.node-6 { top: 55%; left: 90%; }

.node-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  height: 1px;
  opacity: 0.15;
}
.nl-1 { top: 30%; left: 15%; width: 40%; transform: rotate(10deg); }
.nl-2 { top: 50%; left: 20%; width: 35%; transform: rotate(5deg); }
.nl-3 { top: 60%; left: 55%; width: 20%; transform: rotate(-20deg); }
.nl-4 { top: 70%; left: 30%; width: 40%; transform: rotate(15deg); }

.hero-content {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.eyebrow-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(0, 229, 180, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--fg);
}

.teal { color: var(--teal); }

.hero-lede {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === MANIFESTO === */
.manifesto {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  font-weight: 500;
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 64px;
  max-width: 600px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.manifesto-card {
  background: var(--bg-2);
  padding: 40px;
}

.manifesto-icon {
  margin-bottom: 24px;
  opacity: 0.8;
}

.manifesto-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.manifesto-card p {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* === NETWORK === */
.network {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.network-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.network-header {
  margin-bottom: 48px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  font-weight: 500;
}

.network-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
}

.network-viz {
  margin-bottom: 40px;
}

.map-container {
  position: relative;
  height: 420px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-3);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 180, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 180, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.marker {
  position: absolute;
  z-index: 2;
}

.marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
}

.marker-active .marker-dot { background: var(--teal); box-shadow: 0 0 10px var(--teal-glow); }
.marker-warm .marker-dot { background: var(--warm); box-shadow: 0 0 10px rgba(245, 166, 35, 0.5); }
.marker-new .marker-dot { background: var(--new); box-shadow: 0 0 8px rgba(74, 158, 255, 0.5); }

.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: ping 2s ease-out infinite;
}

.marker-active .marker-pulse { color: var(--teal); }
.marker-warm .marker-pulse { color: var(--warm); }

@keyframes ping {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.m1 { top: 20%; left: 10%; }
.m2 { top: 28%; left: 25%; }
.m3 { top: 15%; left: 50%; }
.m4 { top: 35%; left: 40%; }
.m5 { top: 50%; left: 60%; }
.m6 { top: 40%; left: 75%; }
.m7 { top: 60%; left: 20%; }
.m8 { top: 70%; left: 45%; }
.m9 { top: 55%; left: 80%; }
.m10 { top: 75%; left: 65%; }
.m11 { top: 85%; left: 35%; }

.map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--fg-2);
}

.legend-item { display: flex; align-items: center; gap: 6px; }

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.active { background: var(--teal); }
.legend-dot.warm { background: var(--warm); }
.legend-dot.new { background: var(--new); }

.network-feed {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feed-header {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.feed-item:last-child { border-bottom: none; }

.feed-time {
  font-size: 12px;
  color: var(--fg-3);
  min-width: 36px;
  font-variant-numeric: tabular-nums;
}

.feed-icon {
  width: 20px;
  text-align: center;
  font-size: 12px;
}

.si-search { color: var(--teal); }
.si-mail { color: var(--warm); }
.si-check { color: #6fdf9f; }
.si-data { color: var(--new); }
.si-score { color: #b07aff; }

.feed-text { color: var(--fg-2); flex: 1; }

/* === OPERATIONS === */
.operations {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}

.operations-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.operations-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 72px;
}

.operations-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.op-step {
  flex: 1;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
  position: relative;
}

.op-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
  margin-top: 60px;
  flex-shrink: 0;
}

.op-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.3;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.op-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.op-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.op-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.op-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--teal-dim);
  color: var(--teal);
  font-weight: 500;
}

/* === DEPLOYMENT === */
.deployment {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.deployment-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.deployment-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.deployment-body {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.7;
}

.pipeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pipeline-stage {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}

.pipeline-stage.pipeline-live {
  border-color: rgba(0, 229, 180, 0.3);
  background: rgba(0, 229, 180, 0.04);
}

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stage-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}

.pipeline-live .stage-label { color: var(--teal); }

.stage-count {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.pipeline-live .stage-count { color: var(--teal); }

.stage-deals { display: flex; flex-direction: column; gap: 8px; }

.deal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.deal-name { color: var(--fg-2); }

.deal-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 2px 8px;
  border-radius: 10px;
}

.deal-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 500;
}

.deal-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* === CLOSING === */
.closing {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing-icon {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-note {
  font-size: 15px;
  color: var(--fg-3);
  font-style: italic;
}

/* === FOOTER === */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  opacity: 0.6;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-3);
}

.footer-copy {
  font-size: 12px;
  color: var(--fg-3);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { display: none; }
  .manifesto { padding: 80px 20px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .network { padding: 80px 20px; }
  .map-container { height: 280px; }
  .operations { padding: 80px 20px; }
  .operations-steps { flex-direction: column; gap: 16px; }
  .op-connector { width: 40px; height: 1px; margin: 0; }
  .deployment { padding: 80px 20px; }
  .deployment-inner { grid-template-columns: 1fr; gap: 40px; }
  .closing { padding: 80px 20px; }
  .footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
