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

:root {
  --bg: #09090b;
  --surface: #111114;
  --surface2: #1a1a1f;
  --lime: #a8ff00;
  --lime-dim: rgba(168, 255, 0, 0.15);
  --lime-glow: rgba(168, 255, 0, 0.08);
  --text: #f0f0f5;
  --muted: #6b6b7a;
  --border: rgba(255,255,255,0.07);
  --warning: #ffb800;
}

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; }
em { font-style: italic; color: var(--lime); }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,11,0.92);
  backdrop-filter: blur(12px);
}

.nav-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

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

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-family: 'DM Sans', monospace;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* === HERO === */
.hero {
  padding: 80px 48px 96px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(168,255,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime-dim);
  border: 1px solid rgba(168,255,0,0.2);
  color: var(--lime);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(42px, 7vw, 88px);
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
  font-weight: 300;
}

/* === MONITOR WIDGET === */
.hero-monitor {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  max-width: 540px;
  position: relative;
  overflow: hidden;
}

.hero-monitor::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
}

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

.monitor-title {
  font-size: 13px;
  color: var(--muted);
  font-family: 'DM Sans', monospace;
  letter-spacing: 0.02em;
}

.monitor-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: 'DM Sans', monospace;
}

.monitor-badge.live {
  background: rgba(168,255,0,0.15);
  color: var(--lime);
  border: 1px solid rgba(168,255,0,0.2);
}

.monitor-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.monitor-row {
  display: grid;
  grid-template-columns: 130px 1fr 40px;
  align-items: center;
  gap: 12px;
}

.monitor-label {
  font-size: 11px;
  color: var(--muted);
  font-family: 'DM Sans', monospace;
}

.monitor-bar {
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}

.monitor-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 2px;
  transition: width 0.8s ease;
}

.monitor-fill.warning {
  background: var(--warning);
}

.monitor-val {
  font-size: 11px;
  font-family: 'DM Sans', monospace;
  color: var(--lime);
  text-align: right;
}

.monitor-val.warning { color: var(--warning); }

.monitor-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--surface2);
  border-radius: 8px;
  margin-bottom: 14px;
}

.action-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-family: 'DM Sans', monospace;
}

.action-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.action-chip:first-child .action-icon {
  background: rgba(168,255,0,0.15);
  color: var(--lime);
}

.action-chip:last-child .action-icon {
  background: rgba(168,255,0,0.08);
  color: var(--lime);
}

.monitor-log {
  font-size: 11px;
  color: rgba(107,107,122,0.5);
  font-family: 'DM Sans', monospace;
}

.log-ts { color: var(--lime); opacity: 0.5; margin-right: 6px; }

.hero-footnote {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* === SECTION LABEL === */
.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.7;
  margin-bottom: 16px;
  font-family: 'DM Sans', monospace;
}

/* === MANIFESTO === */
.manifesto {
  padding: 80px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.manifesto-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  font-family: 'DM Sans', monospace;
}

.manifesto-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text);
  line-height: 1.4;
  border-left: 2px solid var(--lime);
  padding-left: 24px;
  margin-bottom: 28px;
  font-style: normal;
}

.manifesto-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
}

.manifesto-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

.solution-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.7;
  margin-bottom: 12px;
  font-family: 'DM Sans', monospace;
}

.solution-text {
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
}

/* === FEATURES === */
.features {
  padding: 96px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-header { margin-bottom: 56px; }

.features-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(168,255,0,0.2);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--lime-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 400;
}

.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-dim);
  padding: 3px 8px;
  border-radius: 3px;
  font-family: 'DM Sans', monospace;
}

/* === HOW IT WORKS === */
.how {
  padding: 96px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.how-title {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--text);
  margin-bottom: 64px;
}

.steps {
  max-width: 760px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}

.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--lime);
  opacity: 0.25;
  line-height: 1;
}

.step-head {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 400;
}

.step-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.step-connector {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 12px 0 12px 30px;
}

/* === OUTCOMES === */
.outcomes {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}

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

.outcome {
  padding: 48px 36px;
  background: var(--surface);
}

.outcome-num {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 8px;
}

.outcome-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: 'DM Sans', monospace;
}

.outcome-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(168,255,0,0.03) 0%, transparent 70%);
  pointer-events: none;
}

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

.closing-headline {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.15;
}

.closing-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 48px;
}

.closing-attribution {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.attr-line {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-family: 'DM Sans', monospace;
  opacity: 0.6;
}

/* === FOOTER === */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
}

.footer-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime);
}

.footer-meta {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}

.footer-legal {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.5;
  font-family: 'DM Sans', monospace;
}

/* === ANIMATIONS === */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--lime); }
  50% { opacity: 0.4; box-shadow: 0 0 4px var(--lime); }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 56px 24px 72px; }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-monitor { max-width: 100%; }
  .monitor-row { grid-template-columns: 100px 1fr 36px; }
  .manifesto, .features, .how, .outcomes, .closing { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px 1fr; }
  .step-num { font-size: 36px; }
  .footer { padding: 24px; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 20px 56px; }
  .hero-headline { font-size: 32px; }
  .manifesto, .features, .how, .outcomes, .closing { padding: 48px 20px; }
  .nav { padding: 14px 20px; }
}
