/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0b0f;
  --surface: #131318;
  --surface-2: #1a1a22;
  --green: #00e87c;
  --green-dim: rgba(0, 232, 124, 0.12);
  --text: #f0f0f5;
  --text-muted: #7a7a8a;
  --text-dim: #4a4a5a;
  --border: rgba(255,255,255,0.07);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 0.6rem; }

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-status { display: flex; align-items: center; gap: 0.5rem; }

.status-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  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; }
}

.status-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 3rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-dim);
  border: 1px solid rgba(0,232,124,0.2);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-metric {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === SIGNAL CARD === */
.hero-visual { position: relative; }

.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 232, 124, 0.06);
}

.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.signal-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
}

.signal-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.signal-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }

.signal-row { display: flex; gap: 0.75rem; align-items: flex-start; }

.signal-tag {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.tag--bull { background: rgba(0,232,124,0.15); color: var(--green); }
.tag--neutral { background: rgba(255,255,255,0.05); color: var(--text-muted); }

.signal-text {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.55;
}

.signal-row--alert {
  background: var(--green-dim);
  border-radius: 8px;
  padding: 0.75rem;
  margin: -0.1rem;
}

.signal-row--alert .signal-text { color: #fff; }

.signal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.hero-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

/* === SIGNAL FEED / HOW IT WORKS === */
.signal-feed-section {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
}

.feed-inner { max-width: 1000px; margin: 0 auto; }

.feed-label {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 4rem;
}

.feed-label-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.feed-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.feed-step { padding: 0 1rem; }

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1;
}

.feed-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feed-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feed-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
}

.connector-line {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-bottom: 0.5rem;
}

/* === FEATURES === */
.features {
  padding: 5rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card { padding: 1.5rem; }

.feature-card--main { border-left: 2px solid var(--green); padding-left: 1.5rem; }

.feature-icon { margin-bottom: 1rem; }

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  padding: 6rem 3rem;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  position: relative;
  margin-bottom: 2rem;
}

.quote-mark {
  font-family: 'Space Grotesk', serif;
  font-size: 6rem;
  color: var(--green);
  opacity: 0.15;
  line-height: 0;
  position: absolute;
  top: -1rem;
  left: -1rem;
}

.manifesto-quote p {
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.manifesto-answer p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 6rem 3rem 7rem;
  border-top: 1px solid var(--border);
}

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

.closing-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 3rem;
}

.closing-signals {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.closing-stat { text-align: center; }

.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

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

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

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

.footer-brand { display: flex; align-items: center; gap: 0.5rem; }

.footer-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem 3rem;
  }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--main { grid-column: 1 / -1; }
  .feed-steps { grid-template-columns: 1fr;; gap: 2rem; }
  .feed-connector { display: none; }
  .closing-signals { flex-wrap: wrap; gap: 1.5rem; }
  .closing-divider { display: none; }
}

@media (max-width: 600px) {
  .navbar { padding: 1rem 1.25rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1.25rem 2rem; }
  .signal-feed-section, .features, .manifesto, .closing { padding-left: 1.25rem; padding-right: 1.25rem; }
  .closing-signals { gap: 2rem; }
}