/* ===========================
   BASE TOKENS
   =========================== */
:root {
  --bg: #07070d;
  --surface: #0e0e18;
  --surface-2: #13131f;
  --border: rgba(255,255,255,0.07);
  --accent: #F5A623;
  --accent-dim: rgba(245,166,35,0.12);
  --violet: #7B6EF6;
  --violet-dim: rgba(123,110,246,0.12);
  --green: #4ADE80;
  --red: #F87171;
  --text: #E8E8F0;
  --text-muted: rgba(232,232,240,0.45);
  --text-dim: rgba(232,232,240,0.25);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7,7,13,0.7);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  font-size: 14px;
  color: var(--accent);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,110,246,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-display);
  background: var(--surface);
  width: fit-content;
  letter-spacing: 0.02em;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.proof-item {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.proof-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.proof-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================
   HERO VISUAL - AGENT DASHBOARD
   =========================== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.agent-dashboard {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,166,35,0.06);
  z-index: 2;
  position: relative;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.dash-title {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-display);
  flex: 1;
  margin-left: 8px;
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--green);
  font-family: var(--font-display);
}

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

.dashboard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
}

.task-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ti-research { background: var(--accent-dim); }
.ti-outreach { background: var(--violet-dim); }
.ti-pipeline { background: rgba(74,222,128,0.1); }

.task-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.task-name {
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-display);
}

.task-status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ts-done { background: rgba(74,222,128,0.15); color: var(--green); }
.ts-running { background: var(--accent-dim); color: var(--accent); }
.ts-queued { background: rgba(255,255,255,0.05); color: var(--text-muted); }

.agent-log {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0,0,0,0.3);
}

.log-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}

.log-entry:last-child { border-bottom: none; }

.log-time {
  color: var(--text-dim);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.log-text {
  color: var(--text-muted);
}

.log-active .log-text {
  color: var(--accent);
}

.log-typing::after {
  content: ' _';
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===========================
   HERO ORBIT DECORATION
   =========================== */
.hero-orbit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  z-index: 1;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.orbit-1 {
  width: 320px; height: 320px;
  top: 0; right: 0;
  border-style: dashed;
  animation: rotate 30s linear infinite;
}

.orbit-2 {
  width: 220px; height: 220px;
  top: 50px; right: 50px;
  opacity: 0.5;
  animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-core {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%; left: calc(100% - 150px);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(245,166,35,0.5);
}

.orbit-node {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--violet);
  border-radius: 50%;
  top: 50%;
}

.n1 { left: calc(100% - 160px); top: calc(50% - 160px); }
.n2 { left: calc(100% - 60px); top: calc(50% + 60px); }
.n3 { left: calc(100% - 190px); top: calc(50% + 30px); background: var(--accent); opacity: 0.7; }

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

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

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* ===========================
   SECTION SHARED
   =========================== */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding: 100px 48px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(245,166,35,0.2);
}

.fc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.fc-2 .fc-icon { background: var(--violet-dim); color: var(--violet); }
.fc-3 .fc-icon { background: rgba(74,222,128,0.1); color: var(--green); }

.fc-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.fc-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.fc-visual {
  margin-top: auto;
  padding-top: 20px;
}

/* FV-1: Bar chart */
.fv-1 {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
}

.fv-bar {
  flex: 1;
  background: var(--surface-2);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.fv-bar.fv-active {
  background: var(--accent-dim);
  border-color: rgba(245,166,35,0.3);
}

/* FV-2: Email lines */
.fv-2 { display: flex; flex-direction: column; gap: 8px; }

.fv-lines { display: flex; flex-direction: column; gap: 6px; }

.fv-line {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
}

.fvl-done { width: 100%; background: rgba(74,222,128,0.2); }
.fvl-running { width: 70%; background: var(--accent-dim); }

.fv-email-count {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-display);
  text-align: right;
}

/* FV-3: Pipeline */
.fv-pipeline {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.ps-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dim);
}

.pipeline-step.ps-done .ps-count { color: var(--text-muted); }
.pipeline-step.ps-active .ps-count { color: var(--accent); }

.ps-label {
  font-size: 10px;
  color: var(--text-dim);
}

.pipeline-step.ps-done .ps-label { color: var(--text-muted); }
.pipeline-step.ps-active .ps-label { color: var(--accent); }

.pipeline-arrow {
  width: 16px; height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================
   PROCESS
   =========================== */
.process {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.process-inner {
  max-width: 900px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
}

.ps-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  line-height: 1;
}

.ps-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.ps-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.ps-connector {
  width: 48px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 28px;
}

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

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.outcomes-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.oc-metric {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.oc-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.closing-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-note {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-display);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 340px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; gap: 32px; }
  .ps-connector { width: 40px; height: 40px; border-top: 1px dashed var(--border); border-left: none; margin-top: 0; }
}

@media (max-width: 640px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-social-proof { flex-direction: column; }
  .proof-divider { width: 100%; height: 1px; }
  .features, .process, .outcomes, .closing, .manifesto { padding: 60px 24px; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
