:root {
  --bg: #0A0A0F;
  --surface: #111118;
  --surface-2: #18181F;
  --border: rgba(255,255,255,0.07);
  --text: #F5F5F0;
  --text-muted: rgba(245,245,240,0.45);
  --text-dim: rgba(245,245,240,0.25);
  --accent: #00E5FF;
  --accent-dim: rgba(0,229,255,0.12);
  --accent-2: #7B61FF;
  --green: #00D97E;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-display);
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 28px;
}
.lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-metrics {
  display: flex;
  gap: 40px;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.metric-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Signal Grid Visual */
.hero-visual {
  position: relative;
}
.signal-grid {
  position: relative;
  height: 400px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.grid-line {
  position: absolute;
  background: rgba(255,255,255,0.04);
}
.grid-line.vertical { width: 1px; top: 0; bottom: 0; }
.grid-line.horizontal { height: 1px; left: 0; right: 0; }

.wave-line {
  position: absolute;
  bottom: 40%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--accent) 50%, transparent 95%);
  opacity: 0.3;
  transform-origin: center;
  animation: wave-animate 3s ease-in-out infinite;
}
.wave-2 { bottom: 48%; animation-delay: 0.4s; opacity: 0.2; }
.wave-3 { bottom: 32%; animation-delay: 0.8s; opacity: 0.15; }

@keyframes wave-animate {
  0%, 100% { transform: scaleY(1) translateY(0); }
  50% { transform: scaleY(2.5) translateY(-8px); }
}

.ping {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.ping::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: ping-expand 2s ease-out infinite;
}
.ping-1 { top: 38%; left: 12%; }
.ping-2 { top: 28%; left: 52%; }
.ping-3 { top: 45%; left: 78%; }

@keyframes ping-expand {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(3); opacity: 0; }
}

.signal-label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-size: 11px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* DASHBOARD SECTION */
.dashboard-section {
  padding: 100px 40px;
  background: var(--bg);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.dashboard-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 48px;
}
.dashboard-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mock-dot:first-child { background: #FF5F57; }
.mock-dot:nth-child(2) { background: #FFBD2E; }
.mock-dot:nth-child(3) { background: #28CA41; }
.mock-title {
  margin-left: 12px;
  font-size: 12px;
  font-family: var(--font-display);
  color: var(--text-muted);
}
.mock-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0;
}
.mock-col { padding: 28px; }
.mock-col-main { border-right: 1px solid var(--border); }
.mock-stat-row {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.mock-stat { display: flex; flex-direction: column; gap: 4px; }
.mock-stat-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.mock-stat-val { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.mock-timeline { display: flex; flex-direction: column; gap: 12px; }
.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.timeline-item.done { color: var(--text-muted); }
.timeline-item.active { color: var(--accent); }
.tl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.timeline-item.done .tl-dot { background: var(--green); }
.timeline-item.active .tl-dot { background: var(--accent); }
.tl-dot.pulse {
  animation: pulse-dot 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px var(--accent);
}

.mock-col-side { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.mini-graph { background: var(--surface-2); border-radius: 10px; padding: 16px; }
.graph-label { font-size: 11px; color: var(--text-dim); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.graph-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bar {
  flex: 1;
  background: var(--border);
  border-radius: 2px 2px 0 0;
  min-height: 8px;
}
.bar.highlight { background: var(--accent); }
.graph-trend { font-size: 11px; color: var(--green); font-family: var(--font-display); font-weight: 600; margin-top: 8px; }
.mock-actions { display: flex; flex-direction: column; gap: 8px; }
.action-chip {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-display);
}
.action-chip.running {
  background: var(--accent-dim);
  border-color: rgba(0,229,255,0.2);
  color: var(--accent);
}

/* FEATURES */
.features {
  padding: 100px 40px;
  background: var(--surface);
}
.features .section-inner { max-width: 1200px; margin: 0 auto; }
.features h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  padding: 40px;
  background: var(--surface-2);
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(255,255,255,0.03); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* MANIFESTO */
.manifesto {
  padding: 100px 40px;
  background: var(--bg);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-style: normal;
  margin-bottom: 36px;
}
.manifesto-source {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.source-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.source-title {
  font-size: 12px;
  color: var(--text-dim);
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 28px;
}
.closing p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 48px; }
  .hero-metrics { gap: 24px; }
  .metric-value { font-size: 22px; }
  .signal-grid { height: 260px; }
  .dashboard-section { padding: 60px 20px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-col-main { border-right: none; border-bottom: 1px solid var(--border); }
  .features { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 20px; }
  .closing { padding: 80px 20px; }
  footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}