:root {
  --bg: #0D0F14;
  --surface: #141720;
  --surface-2: #1c2030;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --green: #22c55e;
  --red: #ef4444;
  --text: #f1f5f9;
  --text-muted: #8892a4;
  --text-dim: #4b5568;
  --border: rgba(255,255,255,0.07);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Sora', sans-serif;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(13,15,20,0.8);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Hero */
.hero {
  padding: 80px 0 64px;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy {}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}
.hero-lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

/* Agent window */
.hero-agent {}
.agent-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.08);
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.agent-avatar {
  width: 32px;
  height: 32px;
  background: var(--amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #000;
}
.agent-meta {
  display: flex;
  flex-direction: column;
}
.agent-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
}
.agent-mode {
  font-size: 12px;
  color: var(--amber);
}
.agent-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.agent-incident {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  padding: 14px;
}
.incident-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.incident-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.incident-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
}
.incident-time {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: auto;
}
.incident-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.agent-finding {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 14px;
}
.finding-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}
.finding-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.finding-text strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

/* Agent section */
.agent-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.agent-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.agent-aside h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: sticky;
  top: 80px;
}
.agent-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.card--active {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.04);
}
.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.card-icon--red { background: rgba(239,68,68,0.15); color: var(--red); }
.card-icon--amber { background: var(--amber-dim); color: var(--amber); }
.card-icon--green { background: rgba(34,197,94,0.15); color: var(--green); }
.card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Features */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.features-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.features-header {
  margin-bottom: 48px;
}
.features-header h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature {
  background: var(--surface);
  padding: 28px;
}
.feature-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How it works */
.how {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.how-header {
  margin-bottom: 48px;
  text-align: center;
}
.how-header h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  padding: 24px 0;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}
.step-body { flex: 1; padding-top: 4px; }
.step-body h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-connector {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin-left: 21px;
}

/* Closing */
.closing {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.closing-statement {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-agent { order: -1; }
  .agent-inner { grid-template-columns: 1fr; gap: 32px; }
  .agent-aside h2 { position: static; }
  .features-grid { grid-template-columns: 1fr; }
  .how-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .closing-statement { font-size: 22px; }
  .hero { padding: 48px 0 40px; }
  .agent-section, .features, .how { padding: 60px 0; }
}