/*
 * bb-ct.css — Conversion Tracking Services Page
 * Scope: /conversion-tracking-services/ only
 * Deps: bb-globals, bb-additional, bb-pillar (NO bb-ga4 dependency)
 * Self-contained: includes all classes needed from bb-ga4.css
 * so this page does not need bb-ga4 loaded.
 */

.bb-ct-explainer {  padding: 96px 0; }
.bb-architecture {  background: #fafafa; padding: 96px 0; }


/* ═══════════════════════════════════════════════════════════
   S3 — INSIGHT CARD (light bg variant)
═══════════════════════════════════════════════════════════ */
.bb-ct-insight-card {
  padding: 18px 22px;
  background: rgba(255,106,0,0.05);
  border: 1px solid rgba(255,106,0,0.15);
  border-left: 3px solid #FF6A00;
  border-radius: 0 8px 8px 0;
  margin: 4px 0;
}

.bb-ct-insight-card p {
  font-size: 0.875rem;
  color: #2B3542;
  line-height: 1.65;
  margin: 0;
}

.bb-ct-insight-card p strong { color: #111827; }


/* ═══════════════════════════════════════════════════════════
   S4 — CONSEQUENCES
   Imported from bb-ga4.css — self-contained here
   bg: #000000
═══════════════════════════════════════════════════════════ */
.bb-conseq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.bb-conseq-card {
  padding: 24px;
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  border-left: 3px solid #FF6A00;
}

.bb-conseq-card-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FF6A00;
  margin-bottom: 12px;
  line-height: 1.3;
}

.bb-conseq-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 0 10px;
}

.bb-conseq-card-strong {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

/* Attribution insight block */
.bb-conseq-insight {
  margin-top: 24px;
  padding: 24px 28px;
  background: rgba(255,106,0,0.06);
  border: 1px solid rgba(255,106,0,0.18);
  border-left: 3px solid #FF6A00;
  border-radius: 0 10px 10px 0;
}

.bb-ct-attrib-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bb-ct-attrib-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}

.bb-ct-attrib-platform {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(255,106,0,0.95);
}

.bb-ct-attrib-num {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.2;
}

.bb-ct-attrib-caption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   S8 — PLATFORM ECOSYSTEM
   bg: #F7F8FA
═══════════════════════════════════════════════════════════ */

.bb-ct-ecosystem {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.bb-ct-ecosystem-chip {
  padding: 5px 14px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
  white-space: nowrap;
}

.bb-ct-ecosystem-chip--active {
  background: rgba(255,106,0,0.15);
  border-color: rgba(255,106,0,0.5);
  color: #FF6A00;
  box-shadow: 0 0 10px rgba(255,106,0,0.15);
}


.bb-ct-platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 28px;
}

.bb-ct-platform-card {
  background: #ffffff;
  border: 1px solid #E2E5EC;
  border-top: 3px solid #E2E5EC;
  border-radius: 0 0 10px 10px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bb-ct-platform-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.bb-ct-platform-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}

.bb-ct-platform-signal {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
}

.bb-ct-platform-card p {
  font-size: 0.82rem;
  color: #4F5B68;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.bb-ct-platform-card p strong { color: #111827; }

.bb-ct-platform-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #FF6A00;
  text-decoration: none;
  margin-top: auto;
}

.bb-ct-platform-link:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════
   S10 — SERVER-SIDE DECISION
   Imported from bb-ga4.css — self-contained here
   bg: #F7F8FA
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   S11 — PRICING MATURITY INDICATOR
   bb-pricing-* base classes come from bb-pillar.css
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   S12 — PROOF / CASE STUDIES
   bb-before-after for case cards
   bg: #000000
═══════════════════════════════════════════════════════════ */
/* Override cases-grid to 2 columns — no empty third slot */
.bb-proof .bb-cases-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .bb-ct-platform-grid { grid-template-columns: repeat(3, 1fr); }
  .bb-conseq-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .bb-server-dec-strip   { grid-template-columns: 1fr; }
  .bb-server-dec-divider { width: 100%; height: 1px; }
  .bb-ct-platform-grid   { grid-template-columns: repeat(2, 1fr); }
  .bb-ct-attrib-strip    { gap: 8px; }
}

@media (max-width: 600px) {
  .bb-architecture {  padding: 56px 0; }
  .bb-ct-platform-grid      { grid-template-columns: 1fr; }
  .bb-ct-consequence-strip  { gap: 6px; }
  .bb-ct-csq-chip           { font-size: 0.7rem; padding: 4px 10px; }
  .bb-ct-attrib-strip       { flex-direction: column; align-items: flex-start; }
  .bb-process-card          { padding: 16px 18px; }
  .bb-process-num           { width: 38px; height: 38px; min-width: 38px; }
  .bb-proof .bb-cases-grid  { grid-template-columns: 1fr !important; }
  .bb-ct-ecosystem        { gap: 4px; }
  .bb-ct-ecosystem-chip   { font-size: 0.65rem; padding: 4px 10px; }
}


/* ═══════════════════════════════════════════════════════════
   RELATED SERVICES — explicit text colours on dark bg
   bb-related-card text needs white on #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;
}
