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

:root {
  --bg: #0f1117;
  --surface: #181b24;
  --surface2: #1f2330;
  --border: #2a2e3a;
  --text: #e8eaf0;
  --text-muted: #7a8099;
  --accent: #b8ff57;
  --accent-dim: rgba(184, 255, 87, 0.12);
  --green: #4ade80;
  --amber: #fbbf24;
}

html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; line-height: 1.1; }
a { color: inherit; text-decoration: none; }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 48px 96px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(184,255,87,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--accent);
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  margin-bottom: 28px;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-cta-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-cta-link {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  font-family: 'Figtree', sans-serif;
  border-bottom: 1px solid rgba(184,255,87,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.hero-cta-link:hover { border-color: var(--accent); }

/* === AGENT PANEL === */
.agent-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  font-family: 'Figtree', sans-serif;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.panel-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.panel-feed { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface2);
}
.feed-item--done { border-left: 2px solid rgba(74,222,128,0.4); }
.feed-item--active { border-left: 2px solid rgba(184,255,87,0.5); color: var(--text); }
.feed-item--queued { border-left: 2px solid var(--border); }
.feed-icon { font-size: 0.75rem; width: 16px; text-align: center; flex-shrink: 0; margin-top: 1px; }
.feed-icon--check { color: var(--green); }
.feed-icon--dot { color: var(--accent); }
.feed-icon--queue { color: var(--text-muted); }
.panel-metric {
  background: var(--accent-dim);
  border: 1px solid rgba(184,255,87,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.metric-label { font-size: 0.78rem; color: var(--text-muted); }
.metric-value { font-size: 1.3rem; font-weight: 700; font-family: 'Syne', sans-serif; color: var(--accent); }
.metric-unit { font-size: 0.78rem; color: var(--text-muted); font-family: 'Figtree', sans-serif; font-weight: 400; }

/* === SHARED SECTION STYLES === */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: 'Figtree', sans-serif;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 600px;
}
.section-body {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* === PROSPECT SECTION === */
.prospect {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* === CYCLE SECTION === */
.cycle {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.cycle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cycle-title { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.cycle-sub { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.loop-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.loop-ring {
  position: relative;
  width: 260px;
  height: 260px;
}
.loop-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  z-index: 2;
}
.loop-node {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
}
.loop-node--prospect { top: -10px; left: 50%; transform: translateX(-50%); }
.loop-node--personalize { right: -10px; top: 50%; transform: translateY(-50%); }
.loop-node--send { bottom: -10px; left: 50%; transform: translateX(-50%); }
.loop-node--follow { left: -10px; top: 50%; transform: translateY(-50%); }

/* === OUTCOMES SECTION === */
.outcomes {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 48px;
}
.outcome { background: var(--surface); padding: 28px; }
.outcome-stat {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.outcome-label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* === CLOSING === */
.closing { padding: 96px 48px; border-top: 1px solid var(--border); }
.closing-inner { max-width: 720px; }
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.closing-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 36px; max-width: 560px; }
.closing-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Figtree', sans-serif;
}

/* === FOOTER === */
.footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; }
.footer-slug { font-size: 0.72rem; color: var(--text-muted); }
.footer-note { font-size: 0.78rem; color: var(--text-muted); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 56px 32px 72px; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .cycle-inner { grid-template-columns: 1fr; }
  .loop-visual { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 40px 24px 56px; }
  .prospect, .cycle, .outcomes, .closing { padding: 56px 24px; }
  .step-grid { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .footer { padding: 20px 24px; flex-direction: column; gap: 8px; align-items: flex-start; }
}