:root {
  --bg: #0D0D0D;
  --surface: #141414;
  --surface-2: #1C1C1C;
  --accent: #CCFF00;
  --accent-dim: rgba(204, 255, 0, 0.12);
  --text: #F5F5F0;
  --text-muted: #888;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.nav-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.stat-label { font-size: 12px; color: var(--text-muted); line-height: 1.3; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* AGENT UI */
.agent-ui {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.agent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}
.agent-dot.active { background: #22C55E; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.agent-label { font-size: 12px; color: var(--text-muted); }
.agent-log { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.log-entry.done { color: var(--text); }
.log-entry.active { color: var(--accent); }
.log-icon { font-size: 12px; flex-shrink: 0; width: 16px; }
.agent-progress {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.progress-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.progress-bar { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 2px; }

/* PROOF */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px;
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-label { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.proof-logos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.proof-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: -0.5px;
}
.proof-sep { color: var(--border); }

/* SECTION COMMONS */
.section-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 48px;
}

/* HOW */
.how { max-width: 1200px; margin: 0 auto; padding: 80px 40px; }
.how-steps {
  display: grid;
  grid-template-columns: auto 40px auto 40px auto 40px auto;
  align-items: start;
  gap: 0;
}
.step { max-width: 220px; }
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-arrow { padding-top: 48px; color: var(--text-muted); opacity: 0.4; }

/* FEATURES */
.features { max-width: 1200px; margin: 0 auto; padding: 80px 40px; }
.features-top { margin-bottom: 48px; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feat {
  background: var(--bg);
  padding: 32px;
}
.feat-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.feat-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* DIFFERENCE */
.difference { background: var(--surface); }
.diff-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.diff-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.diff-comparison { display: flex; flex-direction: column; gap: 2px; }
.diff-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 8px;
}
.diff-old { background: rgba(255,255,255,0.03); }
.diff-new { background: var(--accent-dim); }
.diff-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.diff-new .diff-label { color: var(--accent); }
.diff-text { font-size: 14px; }
.diff-new .diff-text { color: var(--text); }

.cost-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.cost-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.cost-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cost-item { font-size: 14px; color: var(--text-muted); }
.cost-val { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.cost-divider { height: 1px; background: var(--border); margin: 16px 0; }
.cost-total .cost-item { font-weight: 600; color: var(--text); }
.cost-total .cost-val { color: var(--text); }
.cost-vs { text-align: center; font-size: 13px; color: var(--text-muted); margin: 8px 0; }
.cost-launchdeck .cost-item { font-weight: 600; color: var(--accent); }
.cost-launchdeck .cost-val { color: var(--accent); font-size: 20px; }
.cost-note { font-size: 12px; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }

/* CLOSING */
.closing { border-top: 1px solid var(--border); }
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-sub { font-size: 18px; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 28px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-display); font-weight: 700; }
.footer-tagline { font-size: 13px; color: var(--text-muted); }

/* RESPONSIVE */
/* APP SHELL */
.app-shell { max-width: 1200px; margin: 0 auto; padding: 40px; }
.app-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.app-title { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -1px; }

/* NAV LINKS */
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-link { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.nav-link:hover { color: var(--text); }

/* TABS */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.tab { padding: 12px 20px; font-size: 14px; color: var(--text-muted); cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; transition: all 0.15s; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* CARDS */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.card-meta { font-size: 13px; color: var(--text-muted); }

/* STATS ROW */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 20px; text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.15s; text-decoration: none; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #d9ff33; }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-danger { background: rgba(239,68,68,0.15); color: #ef4444; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* BADGE */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-new { background: rgba(59,130,246,0.15); color: #3b82f6; }
.badge-researched { background: var(--accent-dim); color: var(--accent); }
.badge-running { background: rgba(34,197,94,0.15); color: #22c55e; }
.badge-paused { background: rgba(251,191,36,0.15); color: #f59e0b; }
.badge-draft { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.badge-sent { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.badge-opened { background: rgba(34,197,94,0.15); color: #22c55e; }
.badge-replied { background: var(--accent-dim); color: var(--accent); }

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.form-input, .form-textarea, .form-select { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; color: var(--text); font-size: 15px; font-family: var(--font-body); transition: border-color 0.15s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* TABLE */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); padding: 12px 16px; border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table .name-cell { font-weight: 500; }
.data-table .muted { color: var(--text-muted); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 80px 40px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--text); }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* SIGNAL CHIPS */
.signal-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.signal-chip-funding { background: rgba(168,85,247,0.15); color: #a855f7; }
.signal-chip-hiring { background: rgba(59,130,246,0.15); color: #3b82f6; }
.signal-chip-news { background: rgba(34,197,94,0.15); color: #22c55e; }

/* SEQUENCE TIMELINE */
.sequence-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.sequence-step { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.step-meta { font-size: 12px; color: var(--text-muted); margin-left: auto; }

/* LOADING */
.loading { display: flex; align-items: center; justify-content: center; padding: 60px; color: var(--text-muted); }
.loading-spinner { width: 24px; height: 24px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin-right: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* TOAST */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 14px 20px; font-size: 14px; z-index: 200; animation: slideUp 0.2s ease-out; }
.toast-success { border-color: rgba(34,197,94,0.3); }
.toast-error { border-color: rgba(239,68,68,0.3); }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* MISC */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .step-arrow { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .diff-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 24px 60px; }
  .how, .features { padding: 60px 24px; }
  .diff-inner { padding: 60px 24px; }
  .closing-inner { padding: 60px 24px; }
  .nav { padding: 16px 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .app-shell { padding: 20px; }
}
