:root {
  --bg: #070d1a;
  --surface: #0d1526;
  --surface-2: #111c35;
  --border: rgba(255,255,255,0.07);
  --accent: #00e87a;
  --accent-dim: rgba(0,232,122,0.12);
  --text: #f0f4ff;
  --text-muted: #8898b8;
  --text-subtle: #4a5a7a;
  --green-glow: rgba(0,232,122,0.2);
}

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

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

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

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  display: block;
}
.logo-mark--sm { width: 8px; height: 8px; }
.logo-text { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }

.nav-status { display: flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 4px var(--accent); }
}
.status-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 48px 80px;
  min-height: calc(100vh - 65px);
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,232,122,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
}
.tag-sep { color: var(--text-subtle); font-size: 14px; }

/* AGENT CARD */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 0 60px rgba(0,232,122,0.05), 0 40px 80px rgba(0,0,0,0.4);
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.agent-status {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}
.agent-name { font-size: 13px; color: var(--text-muted); flex: 1; }
.agent-badge {
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,232,122,0.3);
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.agent-log { display: flex; flex-direction: column; gap: 12px; }
.log-entry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
}
.log-time { color: var(--text-subtle); flex-shrink: 0; }
.log-text { color: var(--text-muted); }
.log-done .log-text { color: var(--text-muted); }
.log-active .log-text { color: var(--accent); }
.log-cursor {
  display: inline-block;
  width: 6px; height: 12px;
  background: var(--accent);
  border-radius: 1px;
  animation: blink 1s step-end infinite;
  margin-left: 4px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 500px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 40px 0 0; }
.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 28px;
  flex-shrink: 0;
}
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 48px;
  font-weight: 500;
  color: var(--text-subtle);
  margin-bottom: 20px;
  line-height: 1;
}
.step-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FEATURES */
.features {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13,21,38,0.5) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-card--main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,232,122,0.04) 100%);
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.feature-card--main h3 { font-size: 22px; }
.feature-card--main p { font-size: 15px; }

/* STATS */
.stats {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* CLOSING */
.closing {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(0,232,122,0.06) 0%, transparent 60%);
}
.closing-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.closing-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.closing-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.closing-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 48px;
}
.closing-cta { display: flex; flex-direction: column; gap: 8px; }
.cta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta-link {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* FOOTER */
.footer {
  padding: 40px 48px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font-weight: 700; font-size: 15px; }
.footer-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-subtle);
}
.footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-copy a:hover { color: var(--accent); }

/* MOBILE */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 60px;
    gap: 48px;
    min-height: auto;
  }
  .hero-heading { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    margin: 0 auto;
  }
  .how-it-works { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats { padding: 60px 24px; }
  .stats-inner { flex-direction: column; gap: 40px; }
  .stat-divider { width: 80px; height: 1px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-tagline { display: none; }
  .section-heading { font-size: 28px; margin-bottom: 40px; }
}