/* =============================================
   OutboundHQ Landing Page — Theme CSS
   ============================================= */

:root {
  --bg: #0a0a0f;
  --bg-surface: #111118;
  --bg-card: #16161e;
  --fg: #f0ede8;
  --fg-muted: #9b9a96;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(240, 237, 232, 0.08);
  --border-accent: rgba(245, 158, 11, 0.3);
  --radius: 4px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

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

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

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 6px 12px;
  border-radius: 100px;
  width: fit-content;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
}

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

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

/* ── Radar Visualization ────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-viz {
  position: relative;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.radar-ring-1 { width: 160px; height: 160px; }
.radar-ring-2 { width: 280px; height: 280px; }
.radar-ring-3 { width: 400px; height: 400px; }

.radar-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.radar-pulse {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  animation: radar-beat 2.5s ease-in-out infinite;
}

@keyframes radar-beat {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.6; }
}

.radar-prospect {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.prospect-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.prospect-info {
  font-size: 12px;
  color: var(--fg);
  line-height: 1.4;
  white-space: nowrap;
}

.prospect-detail {
  color: var(--fg-muted);
  font-size: 11px;
}

.rp-1 { top: 10px; left: 50%; transform: translateX(-50%); }
.rp-2 { top: 50%; right: 0; transform: translateY(-50%); }
.rp-3 { bottom: 10px; left: 50%; transform: translateX(-50%); }
.rp-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* ── Inbox Mini ──────────────────────────────── */
.inbox-mini {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 260px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.inbox-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
}

.inbox-icon { font-size: 14px; }

.inbox-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.inbox-item:last-child { border-bottom: none; }

.inbox-item.inbox-hot {
  background: rgba(245, 158, 11, 0.05);
  border-left: 2px solid var(--accent);
}

.inbox-from {
  font-size: 11px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 2px;
}

.inbox-subject {
  font-size: 11px;
  color: var(--fg-muted);
  margin-bottom: 2px;
}

.inbox-preview {
  font-size: 10px;
  color: var(--accent);
  font-style: italic;
}

/* ── Proof Bar ───────────────────────────────── */
.proof {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 40px;
}

.proof-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.proof-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.proof-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Features ────────────────────────────────── */
.features {
  padding: 120px 40px;
}

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

.features-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.features-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.feature-card-main {
  grid-row: span 2;
}

.feature-card-cta {
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 12px;
}

.cta-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.cta-inner p {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ── Workflow ─────────────────────────────────── */
.workflow {
  padding: 100px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.workflow-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.workflow-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.workflow-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 80px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}

.step:last-child { border-right: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* ── Closing ─────────────────────────────────── */
.closing {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 32px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 64px;
}

.closing-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pillar-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.pillar-lbl {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Footer ──────────────────────────────────── */
.footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

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

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 8px;
}

.footer-bottom {
  font-size: 12px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  width: 100%;
  text-align: center;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-right {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .workflow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
  }

  .step {
    border: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .features, .workflow, .closing {
    padding: 80px 20px;
  }

  .proof-inner {
    flex-wrap: wrap;
    gap: 24px;
  }

  .proof-sep { display: none; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-main {
    grid-column: auto;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .closing-pillars {
    flex-direction: column;
    gap: 24px;
  }

  .pillar-sep { display: none; }
}