/*
 * bb-confirm-package.css — FINAL
 * Scope: /confirm-package/ only
 * Depends on: globals.css, bb-pillar.css
 * Replaces: bb-confirm-package.css + additions + round2 + round3
 *
 * REUSED FROM GLOBALS / PILLAR (not redeclared here):
 *   bb-wrap, bb-label, bb-lead, bb-or, bb-btn-*,
 *   bb-faq-section, bb-faq-inner, bb-faq-*,
 *   bb-final-*, bb-scarce, bb-scarce-dot
 */


/* ═══════════════════════════════════════════════════════════
   1. PAGE HEADER
═══════════════════════════════════════════════════════════ */
.bb-cp-page-header {
  background: #000000;
  padding-bottom: 64px;
  text-align: center;
}

.bb-cp-page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 16px;
}

/* span.bb-or used instead of em — no italic */
.bb-cp-page-header h1 em { font-style: normal; }

.bb-cp-page-header .bb-label { justify-content: center; }

.bb-cp-page-header .bb-lead {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

.bb-cp-page-header .bb-lead strong { color: #ffffff; }

.bb-cp-hero-commitment {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin: 12px auto 0;
  max-width: 480px;
  letter-spacing: 0.01em;
}


/* ═══════════════════════════════════════════════════════════
   2. WHAT HAPPENS NEXT — 3-step horizontal
═══════════════════════════════════════════════════════════ */
.bb-cp-steps-section {
  background: #ffffff;
  padding: 80px 0;
}

.bb-cp-steps-heading {
  text-align: center;
  margin-bottom: 56px !important;
}

.bb-cp-how-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.bb-cp-how-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 14px);
  right: calc(16.66% + 14px);
  height: 2px;
  background: linear-gradient(90deg, #FF6A00 0%, rgba(255,106,0,0.3) 100%);
  z-index: 0;
}

.bb-cp-how-step {
  padding: 0 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.bb-cp-how-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FF6A00;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px rgba(255,106,0,0.2);
}

.bb-cp-how-step:not(:first-child) .bb-cp-how-node {
  background: #ffffff;
  color: #FF6A00;
  border: 2px solid #FF6A00;
  box-shadow: 0 0 0 4px #ffffff;
}

.bb-cp-how-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6A00;
  margin-bottom: 10px;
}

.bb-cp-how-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.3;
}

.bb-cp-how-step p {
  font-size: 0.84rem;
  color: #4F5B68;
  line-height: 1.65;
  margin: 0;
}

.bb-cp-how-step p strong { color: #111827; }


/* ═══════════════════════════════════════════════════════════
   3. LEAD FORM SECTION
═══════════════════════════════════════════════════════════ */
.bb-cp-form-section {
  background: #05070B;
  padding: 72px 0;
}

.bb-cp-form-top {
  text-align: center;
  margin-bottom: 32px;
}

.bb-cp-form-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6A00;
  margin-bottom: 8px;
}

.bb-cp-form-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.bb-cp-form-trust {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 10px 0 0;
  line-height: 1.6;
}

.bb-cp-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px 40px;
}

.bb-cp-form-note {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 20px;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════
   4. AGENCY POSITIONING — card style, orange top border
═══════════════════════════════════════════════════════════ */
.bb-cp-agency {
  background: #ffffff;
  padding-top: 56px;
}

.bb-cp-agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bb-cp-agency-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 24px 22px;
  background: #F7F8FA;
  border: 1px solid #E2E5EC;
  border-top: 3px solid #FF6A00;
  border-radius: 0 0 10px 10px;
}

.bb-cp-agency-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255,106,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bb-cp-agency-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.3;
}

.bb-cp-agency-item p {
  font-size: 0.82rem;
  color: #4F5B68;
  line-height: 1.65;
  margin: 0;
}

.bb-cp-agency-item p strong {
  display: inline;
  color: #111827;
  font-size: inherit;
}


/* ═══════════════════════════════════════════════════════════
   5. PACKAGE REFERENCE — grouped pillars, orange header
═══════════════════════════════════════════════════════════ */
.bb-cp-packages {
  background: #ffffff;
  padding: 80px 0;
}

.bb-cp-packages h2 { margin-bottom: 8px; }

.bb-cp-pkg-pillar {
  margin-top: 32px;
  border: 1px solid rgba(196,82,10,0.4);
  border-radius: 12px;
  overflow: hidden;
}

.bb-cp-pkg-pillar-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: #e65f00;
  margin-bottom: 0;
}

.bb-cp-pkg-pillar-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

.bb-cp-pkg-pillar-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,1);
  font-weight: 400;
}

.bb-cp-pkg-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(196,82,10,0.2);
}

.bb-cp-pkg-card {
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  background: #ffffff;
  border-right: 1px solid rgba(255,106,0,0.12);
  gap: 5px;
  transition: background 0.15s;
}

.bb-cp-pkg-card:last-child { border-right: none; }
.bb-cp-pkg-card:hover { background: #FEF8F3; }
.bb-cp-pkg-card--enterprise { background: rgba(255,106,0,0.04); }

.bb-cp-pkg-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.bb-cp-pkg-card-desc {
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.5;
  flex: 1;
}

.bb-cp-pkg-card-price {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FF6A00;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(196,82,10,0.2);
}

.bb-cp-pkg-note {
  margin-top: 16px;
  font-size: 0.84rem;
  color: #4F5B68;
  line-height: 1.65;
}

.bb-cp-inline-link {
  color: #FF6A00 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.bb-cp-inline-link:hover { text-decoration: underline !important; }


/* ═══════════════════════════════════════════════════════════
   6. AFTER YOU SUBMIT
   Cards with number nodes outside the left border.
   Tall cards, generous gap, long connector line.
═══════════════════════════════════════════════════════════ */
.bb-cp-after {
  background: #F7F8FA;
  padding: 80px 0;
}

.bb-cp-after-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

/* Card — taller via min-height, node pulled outside via negative margin */
.bb-cp-after-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #E2E5EC;
  border-left: 3px solid #FF6A00;
  border-radius: 10px;
  padding: 26px 28px;
  min-height: 110px;
  box-sizing: border-box;
  position: relative;
}

/* Number node — positioned outside the left border */
.bb-cp-after-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bb-cp-after-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: #FF6A00;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50%;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.bb-cp-after-item strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.bb-cp-after-item p {
  font-size: 0.84rem;
  color: #4F5B68;
  line-height: 1.7;
  margin: 0;
}

.bb-cp-after-item p strong {
  display: inline;
  font-size: inherit;
  color: #111827;
}

/* Connector — taller gap = longer visible line */
.bb-cp-after-connector {
  height: 48px;
  display: flex;
  align-items: stretch;
  padding-left: 0;
}

.bb-cp-after-connector::before {
  content: '';
  display: block;
  width: 2px;
  background: linear-gradient(180deg, #FF6A00 0%, rgba(255,106,0,0.25) 100%);
  margin: 0 auto;
}

@media (max-width: 600px) {
  .bb-cp-after-item { padding: 20px 18px; min-height: 90px; }
  .bb-cp-after-connector { height: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   7. TRUST SECTION — dark premium proof block
═══════════════════════════════════════════════════════════ */
.bb-cp-trust {
  background: #0D1117;
  padding: 64px 0;
  border-top: 3px solid #FF6A00;
  border-bottom: 3px solid #FF6A00;
}

.bb-cp-trust-intro {
  text-align: center;
  margin-bottom: 40px;
}

.bb-cp-trust-kicker {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.bb-cp-trust-kicker span { color: #FF6A00; }

.bb-cp-trust-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.bb-cp-trust-heading { display: none; }

.bb-cp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.bb-cp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.bb-cp-trust-item:last-child { border-right: none; }

.bb-cp-trust-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #FF6A00;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.bb-cp-trust-lbl {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  font-weight: 500;
}

.bb-cp-trust-item--platforms {
  align-items: flex-start;
  padding: 24px 22px;
  background: rgba(255,106,0,0.04);
  border-left: 1px solid rgba(255,106,0,0.15);
}

.bb-cp-trust-platforms-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FF6A00;
  margin-bottom: 12px;
  display: block;
}

.bb-cp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bb-cp-trust-pill {
  display: inline-flex;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════
   8. MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bb-cp-pkg-cards { grid-template-columns: repeat(2, 1fr); }
  .bb-cp-pkg-card:nth-child(2) { border-right: none; }
  .bb-cp-pkg-card:nth-child(1),
  .bb-cp-pkg-card:nth-child(2) {
    border-bottom: 1px solid rgba(255,106,0,0.12);
  }
}

@media (max-width: 900px) {
  /* Grid: single column, no gap (gap handled per-step via padding) */
  .bb-cp-how-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Remove the through-content line */
  .bb-cp-how-grid::before { display: none; }

  /* Each step: row layout — node left, content right */
  .bb-cp-how-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    text-align: left;
    padding: 0;
    position: relative;
  }

  /* Node sits in column 1, row 1 */
  .bb-cp-how-node {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    box-shadow: 0 0 0 4px #ffffff;
    align-self: start;
    justify-self: center;
  }

  /* Label, h3, p all in column 2 */
  .bb-cp-how-label {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 4px;
  }

  .bb-cp-how-step h3 { grid-column: 2; grid-row: 2; margin-top: 4px; }
  .bb-cp-how-step p  { grid-column: 2; grid-row: 3; }

  /* Connecting line: runs in column 1 between steps — only on non-last */
  .bb-cp-how-step:not(:last-child)::after {
    content: '';
    grid-column: 1;
    grid-row: 2 / 4;
    width: 2px;
    min-height: 48px;
    background: linear-gradient(180deg, #FF6A00 0%, rgba(255,106,0,0.25) 100%);
    justify-self: center;
    align-self: stretch;
    margin-bottom: -16px;
  }

  /* Bottom padding on each step to give line room to breathe */
  .bb-cp-how-step { padding-bottom: 24px; }
  .bb-cp-how-step:last-child { padding-bottom: 0; }
  .bb-cp-agency-grid { grid-template-columns: 1fr; gap: 12px; }
  .bb-cp-trust-grid { grid-template-columns: repeat(3, 1fr); }
  .bb-cp-trust-item:nth-child(3) { border-right: none; }
  .bb-cp-trust-item--platforms {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(196,82,10,0.2);
    border-right: none !important;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .bb-cp-pkg-pillar-header { flex-direction: column; gap: 4px; }
}

@media (max-width: 600px) {
  .bb-cp-page-header { padding: 56px 0 48px; }
  .bb-cp-page-header h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .bb-cp-steps-section { padding: 56px 0; }
  .bb-cp-form-wrap { padding: 24px 20px; }
  .bb-cp-after-item { padding-bottom: 20px; }
  .bb-cp-after-item > div { padding: 16px 16px; }
  .bb-cp-pkg-cards { grid-template-columns: 1fr; }
  .bb-cp-pkg-card { border-right: none !important; border-bottom: 1px solid rgba(255,106,0,0.12); }
  .bb-cp-pkg-card:last-child { border-bottom: none; }
  .bb-cp-trust-grid { grid-template-columns: 1fr; }
  .bb-cp-trust-num { font-size: 1.9rem; }
  .bb-cp-trust-kicker { font-size: 1.2rem; }
  .bb-cp-trust-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .bb-cp-trust-item:last-child { border-bottom: none; }
}