/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0c1425;
  --bg-2:      #111c33;
  --bg-3:      #162040;
  --accent:    #f59e0b;
  --accent-2:  #fbbf24;
  --text:      #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #64748b;
  --border:    #1e3a5f;
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* ─── Nav ─── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-size: 0.8125rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  padding: 80px 48px 64px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}

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

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 16px;
  line-height: 1.65;
}

.hero-sub-sub {
  font-size: 1rem;
  color: var(--text-3);
  max-width: 520px;
  line-height: 1.6;
}

.hero-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-context {
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* ─── Proof ─── */
.proof {
  padding: 64px 48px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.proof-inner { max-width: 1100px; margin: 0 auto; }

.proof-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 32px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.proof-item {
  background: var(--bg-3);
  padding: 32px 28px;
}

.proof-stat {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.proof-text {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ─── How ─── */
.how {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}

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

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

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

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

.step { }

.step-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-head);
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─── Services ─── */
.services {
  padding: 80px 48px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.services-inner { max-width: 1100px; margin: 0 auto; }

.services-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.65;
}

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

.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.service-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ─── Pricing ─── */
.pricing {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}

.pricing-inner { max-width: 1100px; margin: 0 auto; }

.pricing-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.65;
}

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

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

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

.pricing-tier {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 1.125rem;
  color: var(--text-3);
  font-family: var(--font-body);
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}

.pricing-features li::before {
  content: '—';
  color: var(--accent);
  margin-right: 8px;
}

.pricing-note {
  font-size: 0.8125rem;
  color: var(--text-3);
  font-style: italic;
  line-height: 1.5;
}

/* ─── Closing ─── */
.closing {
  padding: 96px 48px;
  background: var(--bg-2);
}

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

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.65;
}

.closing-statement {
  font-size: 1rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

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

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-3);
  margin-bottom: 24px;
}

.footer-legal {
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* ─── Outreach Admin ─── */
.outreach-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.outreach-topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 56px;
}

.outreach-topbar .logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.outreach-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.outreach-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.15s;
}

.outreach-nav a:hover { background: var(--bg-3); color: var(--text); }
.outreach-nav a.active { background: var(--bg-3); color: var(--accent); }

.outreach-content {
  flex: 1;
  padding: 32px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

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

.page-title {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-top: 4px;
}

/* ─── Cards & Stats ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

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

.stat-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.stat-card .value {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}

.stat-card .sub {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-top: 4px;
}

.stat-card.accent { border-color: var(--accent); }
.stat-card.accent .value { color: var(--accent); }
.stat-card.green { border-color: #22c55e; }
.stat-card.green .value { color: #22c55e; }

/* ─── Tables ─── */
.data-table-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--bg-3);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-3); }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-new    { background: #1e3a5f; color: #60a5fa; }
.badge-contacted { background: #1e3a5f; color: #f59e0b; }
.badge-replied   { background: #1e3a5f; color: #22c55e; }
.badge-converted { background: #1e3a5f; color: #a855f7; }
.badge-unsubscribed { background: #2a1a1a; color: #f87171; }
.badge-pending  { background: #1e3a5f; color: #94a3b8; }
.badge-sent     { background: #1e2a1e; color: #22c55e; }
.badge-failed    { background: #2a1a1a; color: #f87171; }

/* ─── Forms & Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.15s;
}

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

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

.btn-sm { padding: 5px 10px; font-size: 0.8125rem; }

.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.875rem;
  color: var(--text);
  font-family: var(--font-body);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

select.form-control { cursor: pointer; }

textarea.form-control { resize: vertical; min-height: 120px; }

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  display: none;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 600px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ─── Schedule Timeline ─── */
.schedule-timeline {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

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

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--bg);
  padding: 0 8px;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  margin-top: 8px;
}

.step-card .step-desc {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: 12px;
}

.step-card .step-delay {
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* ─── Tabs ─── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text-3);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  display: inline-block;
}

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

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stat { padding: 28px; }
  .stat-number { font-size: 3.5rem; }
  .proof, .how, .services, .pricing, .closing { padding: 48px 24px; }
  .proof-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-headline { margin-bottom: 36px; }
  .footer { padding: 32px 24px; }
}