/* ===== BASE ===== */
:root {
  --bg: #0D0D0F;
  --bg-2: #141416;
  --bg-3: #1A1A1D;
  --fg: #F5F5F0;
  --fg-muted: #9A9A94;
  --fg-dim: #5A5A54;
  --accent: #FFB627;
  --accent-dim: #B8860B;
  --accent-glow: rgba(255, 182, 39, 0.12);
  --border: rgba(245, 245, 240, 0.06);
  --border-accent: rgba(255, 182, 39, 0.25);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 3px;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  background: var(--accent-glow);
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}

.nav-cta:hover {
  background: rgba(255, 182, 39, 0.2);
  border-color: var(--accent);
}

.nav-cta-secondary {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.15s;
}

.nav-cta-secondary:hover { color: var(--fg); }

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

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 182, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 182, 39, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

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

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

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  padding: 0 24px;
}

.stat:first-child { padding-left: 0; }

.stat-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== AGENT CARD ===== */
.hero-visual {
  position: relative;
}

.agent-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}

.agent-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #4ADE80;
  margin-top: 2px;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
}

.agent-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.log-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-3);
}

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

.log-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.log-done .log-icon {
  background: rgba(74, 222, 128, 0.15);
  color: #4ADE80;
}

.log-active {
  color: var(--fg);
  border: 1px solid var(--border-accent);
  background: var(--accent-glow);
}

.log-icon-spin {
  animation: spin 1.2s linear infinite;
}

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

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 64px;
}

/* ===== PIPELINE ===== */
.pipeline {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

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

.pipeline-stages {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.stage {
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.stage::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.stage-icon {
  color: var(--accent);
  margin-bottom: 12px;
}

.stage-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.stage-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.stage-bar {
  height: 3px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.stage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #FF8C00);
  border-radius: 2px;
  animation: growIn 1s ease-out forwards;
}

@keyframes growIn {
  from { width: 0 !important; }
}

.stage-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  padding: 0 8px;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.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-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== HOW ===== */
.how {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

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

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
  flex-shrink: 0;
  width: 48px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.how-note {
  font-size: 0.85rem;
  color: var(--fg-dim);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.manifesto-quote {}

.quote-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.quote-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
}

.manifesto-body p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-body p:last-child { margin-bottom: 0; }

/* ===== DEMO CTA ===== */
.demo-cta-section {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  padding: 40px 48px;
  margin-bottom: 48px;
}

.demo-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.demo-cta-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.demo-cta-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 8px;
}

.demo-cta-sub {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 420px;
}

.demo-cta-form-wrap {
  flex-shrink: 0;
  text-align: center;
}

.demo-cta-trigger {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.demo-cta-trigger:hover { background: var(--accent-dim); transform: translateY(-1px); }
.demo-cta-trigger:active { transform: translateY(0); }

.demo-cta-footnote {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--fg-dim);
}

.demo-cta-footnote a {
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== DEMO MODAL ===== */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.demo-modal-box {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.demo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.15s;
  color: var(--fg-dim);
}

.demo-modal-close:hover { background: var(--bg-3); }

.demo-modal-header { margin-bottom: 28px; }

.demo-modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.demo-modal-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 8px;
}

.demo-modal-sub {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-submit-btn {
  width: 100%;
  padding: 13px 20px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.demo-submit-btn:hover:not(:disabled) { background: var(--accent-dim); }
.demo-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.demo-form-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-align: center;
}

/* Success state */
.demo-success {
  text-align: center;
  padding: 16px 0;
}

.demo-success-icon { margin-bottom: 16px; }

.demo-success-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 8px;
}

.demo-success-sub {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .demo-cta-inner { flex-direction: column; align-items: flex-start; }
  .demo-cta-form-wrap { text-align: left; }
  .demo-form-row { grid-template-columns: 1fr; }
  .demo-modal-box { padding: 28px 20px; }
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.closing-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}
.closing-cta:hover { background: var(--accent-dim); }

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

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg);
}

.footer-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: 4px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .pipeline-stages { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stage-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===== APP SHELL ===== */
.app-shell {
  padding-top: 64px;
  min-height: 100vh;
}

/* ===== APP NAV ===== */
.app-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.app-nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.app-nav-badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 2px 7px;
  border-radius: 3px;
}

.app-nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.app-nav-link {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.app-nav-link:hover, .app-nav-link.active {
  background: var(--bg-3);
  color: var(--fg);
}

.app-nav-cta {
  background: var(--accent);
  color: #0D0D0F !important;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: opacity 0.15s;
}

.app-nav-cta:hover { opacity: 0.85; }

/* ===== APP LAYOUT ===== */
.app-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #0D0D0F;
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--fg);
}

.btn-secondary:hover { background: var(--bg-2); }

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

/* ===== STAT CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.stat-card-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.stat-card-value.accent { color: var(--accent); }

.stat-card-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-card-rate {
  font-size: 0.8rem;
  color: #4ADE80;
  margin-top: 4px;
}

/* ===== CAMPAIGN CARDS ===== */
.campaigns-grid {
  display: grid;
  gap: 16px;
}

.campaign-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  display: block;
  color: var(--fg);
}

.campaign-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-3);
}

.campaign-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.campaign-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.campaign-status {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.campaign-status.draft { background: var(--bg-3); color: var(--fg-muted); }
.campaign-status.running { background: var(--accent-glow); color: var(--accent); border: 1px solid var(--border-accent); }
.campaign-status.sent { background: rgba(74, 222, 128, 0.1); color: #4ADE80; }

.campaign-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.campaign-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.campaign-stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}

.campaign-stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.campaign-bar {
  margin-top: 16px;
  height: 3px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.campaign-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #FF8C00);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--fg-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--fg);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder { color: var(--fg-dim); }

.form-hint {
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: 4px;
}

/* ===== UPLOAD ZONE ===== */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.upload-zone-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.upload-zone-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.upload-zone-hint {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 12px 12px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }

.data-table tr:hover td { background: var(--bg-3); }

.data-table .email-cell { color: var(--fg); font-weight: 500; }
.data-table .verified-badge { font-size: 0.7rem; padding: 2px 6px; border-radius: 3px; }
.data-table .verified-badge.valid { background: rgba(74, 222, 128, 0.1); color: #4ADE80; }
.data-table .verified-badge.pending { background: var(--bg-3); color: var(--fg-dim); }

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.tab:hover, .tab.active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

/* ===== ALERTS ===== */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.alert-success { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: #4ADE80; }
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #EF4444; }
.alert-info { background: var(--accent-glow); border: 1px solid var(--border-accent); color: var(--accent); }

/* ===== SPINNER ===== */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===== LOADING ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 15, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.loading-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 48px;
  text-align: center;
}

.loading-box p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ===== REPLY CARDS ===== */
.reply-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.reply-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.reply-label.positive { background: rgba(74, 222, 128, 0.15); color: #4ADE80; }
.reply-label.negative { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.reply-label.neutral { background: var(--bg-3); color: var(--fg-muted); }
.reply-label.autoreply { background: var(--accent-glow); color: var(--accent); }

/* ===== CHART AREA ===== */
.chart-area {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.chart-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--fg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .campaign-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .pipeline, .features, .how, .manifesto, .closing { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pipeline-stages { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat { padding: 0; }
  .stat-divider { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .campaign-stats { grid-template-columns: repeat(2, 1fr); }
  .app-content { padding: 24px 16px; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-color: var(--border-accent);
}

.testimonial-card--featured {
  background: var(--bg-3);
  border-color: var(--border-accent);
}

.testimonial-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 14px 14px 0 0;
}

.testimonial-quote {
  flex: 1;
  position: relative;
}

.quote-mark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 0.8;
  display: block;
  margin-bottom: 12px;
}

.testimonial-quote p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  flex-shrink: 0;
}

.author-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fg);
}

.author-role {
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: 2px;
}

.testimonial-metric {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--fg-dim);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 60px 20px; }
}

/* ===== BLOG ARTICLE ===== */
.blog-article { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; }
.article-header { margin-bottom: 48px; }
.article-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.article-h1 { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.article-meta { font-size: 0.8rem; color: var(--fg-muted); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.article-body h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; margin: 48px 0 16px; letter-spacing: -0.02em; }
.article-body h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 600; margin: 32px 0 12px; }
.article-body p { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 20px; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 32px 0; font-style: italic; color: var(--fg-muted); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul { margin: 0 0 20px 20px; }
.article-body ul li { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 8px; }