/* ═══════════════════════════════════════════════════════════
   bb-lpa.css  —  /landing-page-audit/  ONLY
   Load order: globals > additional > bb-pillar > bb-cro > bb-lpa
   NOTE: bb-cro.css must also be enqueued on this page (it carries
   bb-cro-roi-grid for S4 and bb-cro-pricing-grid for S10). This file
   holds only section scaffolding, the S5 myth-card light treatment,
   and the standard overrides. No new components.

   Contents:
     1. Section scaffolding (padding + page backgrounds)
     2. S5 myth cards — light treatment (bb-lpa-myth)
     3. bb-server-dec-block (S9 closing block)
     4. OVERRIDE — Proof 2-col cases grid
     5. OVERRIDE — Related card text on dark bg
═══════════════════════════════════════════════════════════ */


/* ── 1. SECTION SCAFFOLDING ───────────────────────────────── */
.bb-lpa-white,
.bb-lpa-light {
  padding: 96px 0;
}
.bb-lpa-white { background: #ffffff; }
.bb-lpa-light { background: #F7F8FA; }

.bb-lpa-white h2,
.bb-lpa-light h2 { color: #111827; }
.bb-lpa-white .bb-lead,
.bb-lpa-light .bb-lead { color: #4F5B68; }


/* ── 2. S5 MYTH CARDS — light treatment ───────────────────── */
.bb-lpa-myth {
  grid-template-columns: 1fr 1fr 1fr !important;
}
.bb-lpa-myth .bb-conseq-card {
  background: #ffffff;
  border: 1px solid #E8EBF0;
  border-left: 3px solid #DC2626;
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 1px 3px rgba(16,24,40,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bb-lpa-myth .bb-conseq-card:hover {
  box-shadow: 0 6px 18px rgba(16,24,40,0.08);
  transform: translateY(-2px);
}
.bb-lpa-myth-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #DC2626;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.bb-lpa-myth .bb-conseq-card-label {
  color: #4B5563;
  font-style: italic;
  font-size: 0.92rem;
  font-weight: 600;
}
.bb-lpa-myth .bb-conseq-card p { color: #4F5B68; }
.bb-lpa-myth .bb-conseq-card p strong { color: #111827; }
.bb-lpa-myth .bb-conseq-card-strong {
  color: #C2410C;
  font-weight: 700;
}

/* ── 3. bb-server-dec-block (S9 closing block) ────────────── */
.bb-server-dec-block {
  background: #fff8f2 !important;
  border: 1px solid rgba(255,106,0,0.15) !important;
  border-left: 3px solid #FF6A00 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 20px 24px !important;
}
.bb-server-dec-block p {
  font-size: 0.9rem !important;
  color: #374151 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

/* ── 5. OVERRIDE — Related card text on dark bg (#080a0e) ──── */
.bb-related .bb-related-card h3 {
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 10px 0 12px !important;
  line-height: 1.3 !important;
}
.bb-related .bb-related-card p {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.84rem !important;
  line-height: 1.65 !important;
  flex: 1 !important;
  margin-bottom: 18px !important;
}
.bb-related .bb-related-card .bb-case-pill {
  color: #FF6A00 !important;
  background: rgba(255,106,0,0.1) !important;
  border: 1px solid rgba(255,106,0,0.2) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-self: flex-start !important;
  width: auto !important;
  max-width: fit-content !important;
  margin-bottom: 12px !important;
}


/* ── 6. S4 DARK ROI CARDS — scoped to bb-lpa-dark-roi ────────────────
   All three cards share the same dark-glass visual family.
   Hierarchy is created through weight and orange accent, not by
   switching between light and dark surfaces (the previous approach).
   Before = muted/loss  |  After = orange signal  |  Gain = solid orange hero
   ─────────────────────────────────────────────────────────────────── */

/* BEFORE — recessive but legible, communicates "the weak result" */
.bb-lpa-dark-roi .bb-cro-roi-card--before {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--before .bb-cro-roi-card__label {
  color: rgba(255,255,255,0.5) !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--before .bb-cro-roi-card__number {
  color: rgba(255,255,255,0.55) !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--before .bb-cro-roi-card__sub {
  color: rgba(255,255,255,0.45) !important;
}

/* AFTER — same family, orange accent, communicates "the better result" */
.bb-lpa-dark-roi .bb-cro-roi-card--after {
  background: rgba(255,106,0,0.07) !important;
  border: 1px solid rgba(255,106,0,0.5) !important;
  box-shadow: none !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--after .bb-cro-roi-card__label {
  color: rgba(255,106,0,0.8) !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--after .bb-cro-roi-card__number {
  color: #FF6A00 !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--after .bb-cro-roi-card__sub {
  color: rgba(255,106,0,0.7) !important;
}

/* GAIN — orange-bordered glow hero, brand-consistent, full visual weight */
.bb-lpa-dark-roi .bb-cro-roi-card--gain {
  background: rgba(255,106,0,0.13) !important;
  border: 2px solid #FF6A00 !important;
  box-shadow: 0 0 28px rgba(255,106,0,0.18) !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--gain .bb-cro-roi-card__label {
  color: #FF6A00 !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--gain .bb-cro-roi-card__number {
  color: #FF6A00 !important;
}
.bb-lpa-dark-roi .bb-cro-roi-card--gain .bb-cro-roi-card__sub {
  color: rgba(255,106,0,0.75) !important;
}

/* FOOTNOTE — dark-glass treatment, orange left-accent, readable body text */
.bb-lpa-dark-roi .bb-cro-roi-footnote {
  background: rgba(255,106,0,0.08) !important;
  border: 1px solid rgba(255,106,0,0.2) !important;
  border-left: 3px solid #FF6A00 !important;
  border-radius: 0 10px 10px 0 !important;
  color: rgba(255,255,255,0.75) !important;
}
.bb-lpa-dark-roi .bb-cro-roi-footnote strong {
  color: #ffffff !important;
}

/* INSIGHT CAPTION — explicit white on the dark section */
.bb-lpa-dark-roi .bb-ct-attrib-caption {
  color: rgba(255,255,255,0.8) !important;
}
.bb-lpa-dark-roi .bb-ct-attrib-caption strong {
  color: #ffffff !important;
}

/* ── 7. S4 IMPROVED PAGE BADGE — floats above center card ────
   bb-lpa-roi-card-featured: position relative + overflow visible
   so the absolutely-positioned badge can escape the card boundary.
   bb-cro-roi-grid gets padding-top to give the badge room to breathe.
   ─────────────────────────────────────────────────────────────── */
.bb-lpa-dark-roi .bb-cro-roi-grid {
  padding-top: 22px !important;
}
.bb-lpa-roi-card-featured {
  position: relative !important;
  overflow: visible !important;
}
.bb-lpa-roi-badge {
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  white-space: nowrap !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  background: #000000 !important;
  border: 1px solid rgba(255,106,0,0.4) !important;
  border-radius: 999px !important;
  padding: 3px 12px !important;
}

/* ── 1. PRICING BULLET FLEX FIX ───────────────────────────── */
.bb-pricing-features li strong,
.bb-pricing-features li b {
  display: inline !important;
  flex-shrink: unset !important;
}

/* ── 2. SAMPLE REPORT PREVIEW (S8) ────────────────────────── */
.bb-sample-report {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #E8EBF0;
}
.bb-sample-report-head { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.bb-sample-report-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6A00;
  background: rgba(255,106,0,0.08);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.bb-sample-report-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 10px !important;
}
.bb-sample-report-sub {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}
.bb-sample-doc {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #E5E8EE;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16,24,40,0.1);
}
.bb-sample-doc-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: #1C2433;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.bb-sample-doc-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.bb-sample-doc-filename {
  margin-left: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.bb-sample-doc-body { padding: 28px 30px 32px; }
.bb-sample-block { margin-bottom: 26px; }
.bb-sample-block:last-child { margin-bottom: 0; }
.bb-sample-block-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 12px;
}
.bb-sample-leakmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bb-sample-stage { border-radius: 9px; padding: 14px 12px; text-align: center; border: 1px solid; }
.bb-sample-stage-name { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 4px; }
.bb-sample-stage-score { display: block; font-size: 0.68rem; font-weight: 600; }
.bb-sample-stage--ok   { background: #f0fdf4; border-color: #bbf7d0; }
.bb-sample-stage--ok   .bb-sample-stage-name { color: #166534; }
.bb-sample-stage--ok   .bb-sample-stage-score { color: #16a34a; }
.bb-sample-stage--warn { background: #fffbeb; border-color: #fde68a; }
.bb-sample-stage--warn .bb-sample-stage-name { color: #92400e; }
.bb-sample-stage--warn .bb-sample-stage-score { color: #d97706; }
.bb-sample-stage--bad  { background: #fff7ed; border-color: #fed7aa; }
.bb-sample-stage--bad  .bb-sample-stage-name { color: #9a3412; }
.bb-sample-stage--bad  .bb-sample-stage-score { color: #ea580c; }
.bb-sample-stage--crit { background: #fef2f2; border-color: #fecaca; }
.bb-sample-stage--crit .bb-sample-stage-name { color: #991b1b; }
.bb-sample-stage--crit .bb-sample-stage-score { color: #dc2626; }
.bb-sample-table { border: 1px solid #EAEDF2; border-radius: 9px; overflow: hidden; }
.bb-sample-row {
  display: grid;
  grid-template-columns: 1fr 90px 80px;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  font-size: 0.8rem;
  color: #374151;
  border-bottom: 1px solid #F0F2F6;
}
.bb-sample-row:last-child { border-bottom: none; }
.bb-sample-row--head {
  background: #F7F8FA;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
}
.bb-sample-impact {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: 5px;
  padding: 3px 6px;
}
.bb-sample-impact--crit { color: #dc2626; background: #fef2f2; }
.bb-sample-impact--high { color: #ea580c; background: #fff7ed; }
.bb-sample-impact--med  { color: #d97706; background: #fffbeb; }
.bb-sample-rec {
  background: #fff8f2;
  border: 1px solid rgba(255,106,0,0.18);
  border-left: 3px solid #FF6A00;
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}
.bb-sample-rec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bb-sample-rec-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: #FF6A00;
  background: rgba(255,106,0,0.1);
  border-radius: 5px;
  padding: 3px 7px;
}
.bb-sample-rec-title { flex: 1; font-size: 0.86rem; font-weight: 700; color: #111827; }
.bb-sample-rec-body { font-size: 0.8rem; color: #4F5B68; line-height: 1.6; margin: 0 0 8px; }
.bb-sample-rec-body:last-child { margin-bottom: 0; }
.bb-sample-rec-body strong { color: #111827; }
.bb-sample-report-foot {
  text-align: center;
  max-width: 600px;
  margin: 24px auto 0;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
}
.bb-sample-report-foot strong { color: #C2410C; }

@media (max-width: 860px) {
  .bb-lpa-myth { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .bb-sample-leakmap { grid-template-columns: repeat(2, 1fr); }
  .bb-sample-row { grid-template-columns: 1fr 64px; }
  .bb-sample-row span:nth-child(2) { display: none; }
  .bb-sample-row--head span:nth-child(2) { display: none; }
  .bb-sample-doc-body { padding: 22px 18px 24px; }
  .bb-proof .bb-cases-grid { grid-template-columns: 1fr !important; }
}