:root {
  --bg: #0B1220;
  --surface: #111827;
  --border: #1F2937;
  --text: #F9FAFB;
  --text-muted: #9CA3AF;
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.12);
  --red: #EF4444;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(11,18,32,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'DM Serif Display', serif; font-size: 18px; letter-spacing: -0.02em; }
.nav-tag { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* HERO */
.hero { max-width: 1100px; margin: 0 auto; padding: 120px 32px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); border-radius: 100px; padding: 6px 14px; font-size: 13px; color: #22C55E; margin-bottom: 28px; }
.badge-dot { width: 6px; height: 6px; background: #22C55E; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-left h1 { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; color: var(--text); }
.hero-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 440px; margin-bottom: 36px; }
.cta-label { font-size: 13px; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; }

.hero-stat-row { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat-value { font-family: 'DM Serif Display', serif; font-size: 36px; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; max-width: 140px; }

/* Wave visual */
.hero-right { display: flex; justify-content: center; }
.wave-container { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.wave-svg { width: 100%; }
.wave-labels { display: flex; justify-content: space-between; margin-top: 16px; font-size: 11px; color: var(--text-muted); }

/* ALERT DEMO */
.alert-demo { max-width: 700px; margin: 0 auto 80px; padding: 0 32px; }
.demo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.demo-header { background: #1a1f2e; padding: 10px 16px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--border); }
.demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-dot.red { background: #EF4444; }
.demo-dot.amber { background: #F59E0B; }
.demo-dot.green { background: #22C55E; }
.demo-title { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-family: 'DM Sans', monospace; }

.log-entries { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.log-entry { display: grid; grid-template-columns: 60px 20px 1fr; gap: 10px; align-items: start; }
.log-time { font-size: 11px; color: var(--text-muted); font-family: 'DM Sans', monospace; padding-top: 2px; }
.log-status { font-size: 14px; padding-top: 1px; }
.log-status.ok { color: #22C55E; }
.log-msg { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.log-entry.done .log-msg { color: var(--text); }

.demo-footer { border-top: 1px solid var(--border); padding: 12px 20px; }
.agent-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #22C55E; }

/* HOW IT WORKS */
.how-it-works { max-width: 1100px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.section-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.how-it-works h2 { font-family: 'DM Serif Display', serif; font-size: 36px; letter-spacing: -0.02em; margin-bottom: 56px; color: var(--text); }
.steps-row { display: flex; align-items: flex-start; gap: 0; }
.step { flex: 1; text-align: left; padding: 0 32px; }
.step:first-child { padding-left: 0; }
.step-connector { flex-shrink: 0; width: 40px; height: 1px; background: var(--border); margin-top: 40px; }
.step-num { font-family: 'DM Serif Display', serif; font-size: 48px; color: var(--accent); opacity: 0.3; line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* BENEFITS */
.benefits { background: var(--surface); padding: 80px 32px; }
.benefits-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.benefit-card { padding: 36px; }
.benefit-icon { width: 44px; height: 44px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.benefit-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.benefit-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* INTEGRATIONS */
.integrations { max-width: 1100px; margin: 0 auto; padding: 64px 32px; text-align: center; }
.int-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px; }
.int-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.int-logo { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 20px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.int-sub { font-size: 13px; color: var(--text-muted); margin-top: 24px; }

/* CLOSING */
.closing { max-width: 1100px; margin: 0 auto; padding: 100px 32px; text-align: center; }
.closing h2 { font-family: 'DM Serif Display', serif; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; color: var(--text); margin-bottom: 24px; line-height: 1.25; }
.closing p { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* FOOTER */
.footer { max-width: 1100px; margin: 0 auto; padding: 40px 32px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-family: 'DM Serif Display', serif; font-size: 16px; }
.footer-note { font-size: 13px; color: var(--text-muted); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge, .hero-left h1, .hero-sub, .cta-label, .hero-stat-row, .wave-container { animation: fadeInUp 0.6s ease-out both; }
.hero-badge { animation-delay: 0.05s; }
.hero-left h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.15s; }
.cta-label { animation-delay: 0.2s; }
.hero-stat-row { animation-delay: 0.25s; }
.wave-container { animation-delay: 0.2s; }

/* Mobile */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 100px 20px 60px; gap: 40px; }
  .hero-right { order: -1; }
  .steps-row { flex-direction: column; }
  .step-connector { display: none; }
  .step { padding: 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-stat-row { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .nav-inner { padding: 12px 20px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .how-it-works, .closing { padding: 60px 20px; }
  .alert-demo { padding: 0 20px; }
  .benefits { padding: 60px 20px; }
}