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

:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --fg: #e8e0d5;
  --fg-2: #a09890;
  --accent: #f05a18;
  --accent-dim: #c4471080;
  --card: #14141c;
  --border: #1e1e28;
  --success: #4ade80;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* ───────────────────────────────────────
   TYPOGRAPHY HELPERS
─────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 560px;
}

/* ───────────────────────────────────────
   HERO
─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-2);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

/* ───────────────────────────────────────
   SEQUENCE WIDGET
─────────────────────────────────────── */
.hero-visual { display: flex; align-items: center; }

.sequence-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.widget-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 500;
}

.widget-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2s infinite;
}

.sequence-timeline { display: flex; flex-direction: column; gap: 0; }

.seq-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  position: relative;
}

.seq-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 100%;
  width: 1px;
  height: calc(100% + 0.75rem);
  background: var(--border);
}

.seq-step:last-child::before { display: none; }

.seq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.seq-done .seq-icon { background: rgba(74, 222, 128, 0.15); color: var(--success); }
.seq-active .seq-icon { background: rgba(240, 90, 24, 0.15); }
.seq-pending .seq-icon { background: rgba(255,255,255,0.05); }

.seq-icon-active { display: flex; align-items: center; justify-content: center; }

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.seq-icon-pending {
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.1);
}

.seq-info { flex: 1; }

.seq-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}

.seq-time {
  font-size: 0.75rem;
  color: var(--fg-2);
  margin-top: 0.15rem;
}

.seq-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seq-badge.done { background: rgba(74,222,128,0.15); color: var(--success); }
.seq-badge.sending { background: rgba(240,90,24,0.15); color: var(--accent); }
.seq-badge.queued { background: rgba(255,255,255,0.05); color: var(--fg-2); }

.widget-footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lead-info { display: flex; align-items: center; gap: 0.75rem; }

.lead-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f05a18, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.lead-name { font-size: 0.85rem; font-weight: 600; color: var(--fg); }
.lead-company { font-size: 0.75rem; color: var(--fg-2); }

.lead-score { text-align: right; }
.score-label { font-size: 0.7rem; color: var(--fg-2); margin-bottom: 0.3rem; }

.score-bar {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8c00);
  border-radius: 4px;
  transition: width 1s ease;
}

/* ───────────────────────────────────────
   HOW SECTION
─────────────────────────────────────── */
.how {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.how-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: border-color 0.2s;
}

.how-card:hover { border-color: rgba(240,90,24,0.3); }

.how-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(240,90,24,0.2);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.how-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.how-card p {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ───────────────────────────────────────
   OUTCOMES SECTION
─────────────────────────────────────── */
.outcomes {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.outcomes-body {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.outcomes-stats { display: flex; flex-direction: column; gap: 2rem; }

.stat-block { padding-left: 1.5rem; border-left: 2px solid var(--accent); }

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ───────────────────────────────────────
   PRICING SECTION
─────────────────────────────────────── */
.pricing {
  padding: 6rem 2rem;
  background: var(--bg-2);
}

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

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 2.5rem;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-top { margin-bottom: 2rem; }

.pricing-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.per-mo {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--fg-2);
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.65;
}

.pricing-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--fg);
}

.check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(240,90,24,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* ───────────────────────────────────────
   CLOSE SECTION
─────────────────────────────────────── */
.close {
  padding: 6rem 2rem;
  background: var(--bg);
}

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

.close-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

.close-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.close-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.close-tagline {
  font-size: 0.9rem;
  color: rgba(232, 224, 213, 0.4);
  font-style: italic;
}

/* ───────────────────────────────────────
   FOOTER
─────────────────────────────────────── */
.footer {
  padding: 2rem;
  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: var(--font-display);
  font-size: 1.5rem;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-2);
}

.footer-links {
  font-size: 0.8rem;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--fg-2);
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); }
.footer-sep { opacity: 0.4; }

/* ───────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .outcomes-layout { grid-template-columns: 1fr; gap: 3rem; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 1.5rem; }
  .how-grid { grid-template-columns: 1fr; }
  .pricing-features { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .section-headline { font-size: 2rem; }
  .outcomes-headline { font-size: 2rem; }
  .close-headline { font-size: 2rem; }
  .stat-number { font-size: 2.5rem; }
}