/* ═══════════════════════════════════════════════════════════
   SNAPTACT — How It Works (page-specific styles)
   ═══════════════════════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  padding: 140px 0 var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(22,163,74,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green-glow);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 32px;
  animation: fadeDown 0.6s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.5px;
  max-width: 800px;
  margin: 0 auto 20px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--gray-warm);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 2: THE THREE STEPS — Expanded
   ═══════════════════════════════════════════════════════════ */
.steps-section {
  padding: 0 0 var(--section-pad);
}
.step-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(80px, 10vw, 120px);
}
.step-block:last-child {
  margin-bottom: 0;
}
.step-block.reverse {
  direction: rtl;
}
.step-block.reverse > * {
  direction: ltr;
}
.step-num-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: white;
}
.step-num.s1 { background: var(--green); }
.step-num.s2 { background: var(--blue); }
.step-num.s3 { background: var(--purple); }
.step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.step-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.step-text p {
  font-size: 16px;
  color: var(--gray-warm);
  line-height: 1.65;
  margin-bottom: 16px;
}
.step-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.step-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.step-detail-item .sdi-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}
.sdi-icon.green { background: var(--green); }
.sdi-icon.blue { background: var(--blue); }
.sdi-icon.purple { background: var(--purple); }

/* ── Step visuals ──────────────────────────────────────── */
.step-visual {
  background: var(--white);
  border: 1px solid var(--gray-whisper);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

/* Step 1: Tact Builder Mockup */
.tact-builder {
  padding: 24px;
}
.tb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-whisper);
}
.tb-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.tb-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-wash);
  padding: 3px 10px;
  border-radius: 100px;
}
.tb-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.tb-field {
  background: var(--cream);
  border: 1px solid var(--gray-whisper);
  border-radius: 8px;
  padding: 10px 14px;
}
.tb-field-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-mid);
  margin-bottom: 2px;
}
.tb-field-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.tb-preview {
  background: var(--green-dim);
  border: 1px dashed var(--green-glow);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.tb-preview-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}
.tb-preview-url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
  background: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* Step 2: Email Compose Mockup */
.email-compose {
  padding: 0;
}
.ec-bar {
  background: var(--cream-deep);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gray-whisper);
}
.ec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ec-dot.r { background: #ef4444; }
.ec-dot.y { background: #f59e0b; }
.ec-dot.g { background: #22c55e; }
.ec-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-warm);
  margin-left: 8px;
}
.ec-fields {
  padding: 20px;
}
.ec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-whisper);
  font-size: 13px;
}
.ec-row:last-child {
  border-bottom: none;
}
.ec-row-label {
  font-weight: 600;
  color: var(--gray-mid);
  min-width: 60px;
}
.ec-row-value {
  color: var(--ink);
}
.ec-row-value.prefilled {
  color: var(--green);
  font-weight: 500;
}
.ec-body {
  padding: 16px 20px 20px;
  font-size: 13px;
  color: var(--gray-warm);
  font-style: italic;
  line-height: 1.6;
}
.ec-send {
  margin: 0 20px 20px;
  background: var(--blue);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  cursor: default;
}

/* Step 3: Dashboard Extraction Mockup */
.dash-extract {
  padding: 24px;
}
.de-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.de-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.de-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
}
.de-live .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.5s ease infinite;
}
.de-lead-card {
  background: var(--cream);
  border: 1px solid var(--gray-whisper);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.de-lead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.de-lead-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.de-lead-time {
  font-size: 11px;
  color: var(--gray-mid);
  font-family: var(--font-mono);
}
.de-lead-email {
  font-size: 13px;
  color: var(--gray-warm);
  margin-bottom: 12px;
}
.de-auth-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.de-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.de-badge.pass { background: var(--green-wash); color: var(--green); }
.de-badge.domain { background: var(--blue-wash); color: var(--blue); }
.de-integrations {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--gray-whisper);
  margin-top: 12px;
}
.de-int-chip {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-warm);
  padding: 3px 8px;
  background: var(--white);
  border: 1px solid var(--gray-whisper);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.de-int-chip .check { color: var(--green); }

@media (max-width: 900px) {
  .step-block,
  .step-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .step-visual { order: -1; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 3: VERIFICATION — Under the Hood
   ═══════════════════════════════════════════════════════════ */
.verify-section {
  background: var(--dark);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.verify-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(ellipse at center top, rgba(22,163,74,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.verify-label {
  text-align: center;
  margin-bottom: 56px;
}
.verify-label .overline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.verify-label h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -2px;
  line-height: 1.1;
}
.verify-label p {
  font-size: 17px;
  color: var(--dark-text-dim);
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.6;
}
.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.verify-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
}
.verify-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-glow);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.vc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-glow);
  color: var(--green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
}
.verify-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.verify-card p {
  font-size: 13px;
  color: var(--dark-text-dim);
  line-height: 1.55;
}
.verify-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--dark-text-muted);
}
.verify-note a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.verify-note a:hover { color: var(--green-bright); }

@media (max-width: 768px) {
  .verify-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 4: FEATURE GRID
   ═══════════════════════════════════════════════════════════ */
.features-section {
  padding: var(--section-pad) 0;
}
.features-label {
  text-align: center;
  margin-bottom: 48px;
}
.features-label .overline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.features-label h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-whisper);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.05);
}
.fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.fc-icon.green { background: var(--green-wash); }
.fc-icon.blue { background: var(--blue-wash); }
.fc-icon.amber { background: var(--amber-wash); }
.fc-icon.purple { background: var(--purple-wash); }
.fc-icon.red { background: var(--red-wash); }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 13px;
  color: var(--gray-warm);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 5: INTEGRATIONS
   ═══════════════════════════════════════════════════════════ */
.integrations-section {
  background: var(--cream-deep);
  padding: 56px 0;
  border-top: 1px solid var(--gray-whisper);
  border-bottom: 1px solid var(--gray-whisper);
}
.int-inner {
  text-align: center;
}
.int-inner .overline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.int-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}
.int-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}
.int-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.int-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--gray-whisper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-warm);
  transition: all 0.3s;
}
.int-logo-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.int-logo-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-mid);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 6: INBOX ADVANTAGE TEASER
   ═══════════════════════════════════════════════════════════ */
.inbox-teaser {
  padding: var(--section-pad) 0;
}
.inbox-teaser-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inbox-teaser-inner::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(22,163,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.inbox-teaser-inner .overline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  position: relative;
}
.inbox-teaser-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
}
.inbox-teaser-inner h2 em {
  font-style: italic;
  color: var(--green-bright);
}
.inbox-teaser-inner p {
  font-size: 16px;
  color: var(--dark-text-dim);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}
.inbox-teaser-inner .btn-dark {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA OVERRIDES
   ═══════════════════════════════════════════════════════════ */
.final-cta {
  padding: 0 0 var(--section-pad);
}
.final-cta h2 {
  font-weight: 800;
}
.final-cta .cta-sub {
  font-size: 17px;
  color: var(--gray-warm);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.final-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
