/* ──────────────────────────────────────────────────────────
   Computer Care — Business Case Report
   On-page report rendered by the [ccbc_business_case] shortcode
   ────────────────────────────────────────────────────────── */

.ccbc-report {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #36334e;
  max-width: 920px;
  margin: 24px auto;
  line-height: 1.55;
}

.ccbc-report * { box-sizing: border-box; }

/* ── Hero ──────────────────────────────────────────────── */
.ccbc-hero {
  background: linear-gradient(135deg, #1d193c 0%, #2a2150 60%, #6b4b95 100%);
  color: #fff;
  padding: 36px 36px 32px;
  border-radius: 18px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.ccbc-hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 360px; height: 360px;
  background: radial-gradient(circle at center, rgba(137, 189, 35, .35), transparent 65%);
  pointer-events: none;
}

.ccbc-eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #89bd23;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
}

.ccbc-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
  position: relative;
}

.ccbc-lede {
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  margin: 0 0 24px;
  max-width: 640px;
  position: relative;
}

.ccbc-hero-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  position: relative;
}

.ccbc-pill {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 14px 16px;
  border-radius: 12px;
}
.ccbc-pill-r { border-left: 3px solid #f3963c; }
.ccbc-pill-p { border-left: 3px solid #6b4b95; }
.ccbc-pill-g { border-left: 3px solid #89bd23; }

.ccbc-pill-lbl {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ccbc-pill-val {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.ccbc-pill-sub {
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
  margin-top: 4px;
}

/* ── Sections ──────────────────────────────────────────── */
.ccbc-section {
  background: #fff;
  border: 1px solid #e6e3f1;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.ccbc-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #f1eef8;
  background: #faf8fd;
}
.ccbc-sec-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid #e6e3f1;
  border-radius: 11px;
  font-size: 22px;
}
.ccbc-sec-eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b4b95;
  font-weight: 600;
  margin-bottom: 2px;
}
.ccbc-sec-title {
  font-size: 18px;
  font-weight: 700;
  color: #12102a;
  margin: 0;
}
.ccbc-sec-headline {
  margin-left: auto;
  font-size: 22px;
  font-weight: 700;
  color: #12102a;
  text-align: right;
  line-height: 1.1;
}
.ccbc-sec-headline span {
  display: block;
  font-size: 11px;
  color: #6e6a88;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.ccbc-sec-body { padding: 20px 22px 22px; }
.ccbc-sec-lead { margin: 0 0 12px; color: #36334e; }

.ccbc-sec-pit    .ccbc-sec-icon { color: #6b4b95; }
.ccbc-sec-shield .ccbc-sec-icon { color: #f3963c; }
.ccbc-sec-air    .ccbc-sec-icon { color: #89bd23; }

/* Chip list */
.ccbc-chip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ccbc-chip-list li {
  display: inline-block;
  padding: 5px 11px;
  background: #f6f4fb;
  border: 1px solid #e6e3f1;
  color: #36334e;
  font-size: 13px;
  border-radius: 999px;
}

/* Today vs With Computer Care split */
.ccbc-sec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.ccbc-split-col {
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid #e6e3f1;
}
.ccbc-split-r { background: #fff8f0; border-color: #f9d9b8; }
.ccbc-split-p { background: #f1f8e1; border-color: #cde291; }
.ccbc-split-lbl {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6e6a88;
  font-weight: 600;
  margin-bottom: 6px;
}
.ccbc-split-col p { margin: 0; font-size: 13.5px; color: #36334e; }

/* AI score */
.ccbc-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ccbc-score-badge {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ccbc-score-num { font-size: 28px; font-weight: 700; line-height: 1; }
.ccbc-score-lbl { font-size: 11px; opacity: .85; margin-top: 2px; }
.ccbc-score-meta { font-size: 15px; color: #12102a; }
.ccbc-score-meta strong { color: #12102a; }

/* Comparison — the hero section of the report */
.ccbc-sec-compare {
  background: linear-gradient(135deg, #1d193c 0%, #2a2150 60%, #6b4b95 100%);
  border: none;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 16px;
  box-shadow: 0 12px 36px rgba(29, 25, 60, .2);
}
.ccbc-sec-compare::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto auto;
  width: 380px; height: 380px;
  background: radial-gradient(circle at center, rgba(137, 189, 35, .28), transparent 65%);
  pointer-events: none;
}
.ccbc-sec-compare::after {
  content: '';
  position: absolute;
  inset: auto auto -30% -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(243, 150, 60, .18), transparent 65%);
  pointer-events: none;
}
.ccbc-sec-compare .ccbc-sec-head {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 28px 20px;
  position: relative;
  z-index: 1;
}
.ccbc-sec-compare .ccbc-sec-icon {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #89bd23;
  font-size: 24px;
}
.ccbc-sec-compare .ccbc-sec-eyebrow { color: #89bd23; }
.ccbc-sec-compare .ccbc-sec-title {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
}
.ccbc-sec-compare .ccbc-sec-body {
  padding: 26px 28px 30px;
  position: relative;
  z-index: 1;
}

.ccbc-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.ccbc-compare-col {
  background: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 22px 18px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  position: relative;
}
.ccbc-compare-today { border-top: 4px solid #c0392b; border-top-left-radius: 14px; border-top-right-radius: 14px; }
.ccbc-compare-tms   { border-top: 4px solid #6b4b95; border-top-left-radius: 14px; border-top-right-radius: 14px; }
.ccbc-compare-gain  {
  border-top: 4px solid #89bd23;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f8e1 100%);
}

.ccbc-compare-lbl {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6e6a88;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.ccbc-compare-gain .ccbc-compare-lbl { color: #5e8617; }
.ccbc-compare-val {
  font-size: 32px;
  font-weight: 700;
  color: #12102a;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.ccbc-compare-gain .ccbc-compare-val { color: #5e8617; }
.ccbc-compare-sub {
  font-size: 12px;
  color: #6e6a88;
  margin-top: 8px;
  line-height: 1.45;
}

/* CTA card */
.ccbc-cta-card {
  background: linear-gradient(135deg, #89bd23 0%, #6b4b95 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ccbc-cta-title { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.ccbc-cta-sub   { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.ccbc-cta-btns  { display: flex; gap: 10px; flex-wrap: wrap; }

.ccbc-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ccbc-btn:hover { transform: translateY(-1px); }
.ccbc-btn-primary {
  background: #fff;
  color: #12102a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.ccbc-btn-primary:hover { background: #f6f4fb; }
.ccbc-btn-secondary {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.ccbc-btn-secondary:hover { background: rgba(255,255,255,.28); }
.ccbc-btn-block { width: 100%; padding: 13px; margin-top: 10px; }

/* Next assessments */
.ccbc-sec-next {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e6e3f1;
  border-radius: 16px;
  margin-bottom: 16px;
}
.ccbc-next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.ccbc-next-card {
  background: #faf8fd;
  border: 1px solid #e6e3f1;
  border-radius: 11px;
  padding: 16px;
}
.ccbc-next-icon { font-size: 24px; margin-bottom: 8px; }
.ccbc-next-name { font-weight: 700; color: #12102a; margin-bottom: 3px; }
.ccbc-next-desc { font-size: 13px; color: #6e6a88; }

/* Footnote */
.ccbc-footnote {
  font-size: 12px;
  color: #6e6a88;
  text-align: center;
  margin-top: 12px;
  padding: 0 16px;
  line-height: 1.6;
}

/* Empty state (no token / no row) */
.ccbc-empty {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  text-align: center;
  padding: 48px 24px;
  background: #faf8fd;
  border-radius: 18px;
  max-width: 720px;
  margin: 24px auto;
}
.ccbc-empty-icon { font-size: 42px; margin-bottom: 12px; }
.ccbc-empty h3 { font-size: 22px; margin: 0 0 8px; color: #12102a; }
.ccbc-empty p  { color: #6e6a88; margin: 0 0 22px; }
.ccbc-empty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.ccbc-empty-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e6e3f1;
  border-radius: 12px;
  padding: 18px 14px;
  color: #12102a;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ccbc-empty-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,25,60,.1); }
.ccbc-empty-card-icon { font-size: 26px; margin-bottom: 8px; }
.ccbc-empty-card-name { font-weight: 700; margin-bottom: 3px; }
.ccbc-empty-card-desc { font-size: 12.5px; color: #6e6a88; }

/* ── Email modal ──────────────────────────────────────── */
.ccbc-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 42, .55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  opacity: 0;
  transition: opacity .2s ease;
}
.ccbc-modal.ccbc-modal-open { display: flex; opacity: 1; }

.ccbc-modal-inner {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 24px 64px rgba(29,25,60,.3);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.ccbc-modal-inner h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #12102a;
}
.ccbc-modal-sub { color: #6e6a88; font-size: 13.5px; margin: 0 0 16px; }
.ccbc-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px; height: 30px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: #6e6a88;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
}
.ccbc-modal-close:hover { background: #f6f4fb; color: #12102a; }
.ccbc-modal-note {
  font-size: 11.5px;
  color: #6e6a88;
  text-align: center;
  margin-top: 10px;
}

.ccbc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.ccbc-modal-inner input {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid #e6e3f1;
  border-radius: 9px;
  background: #faf8fd;
  margin-bottom: 8px;
  color: #12102a;
}
.ccbc-modal-inner input:focus {
  outline: none;
  border-color: #6b4b95;
  background: #fff;
}
.ccbc-form-err {
  display: none;
  background: #fdecec;
  color: #c0392b;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  margin: 4px 0 4px;
}

/* Mobile */
@media (max-width: 720px) {
  .ccbc-hero { padding: 26px 22px; }
  .ccbc-title { font-size: 24px; }
  .ccbc-sec-head { padding: 14px 16px; flex-wrap: wrap; }
  .ccbc-sec-headline { margin-left: 0; width: 100%; text-align: left; font-size: 18px; }
  .ccbc-sec-body { padding: 16px; }
  .ccbc-sec-split { grid-template-columns: 1fr; }
  .ccbc-compare-grid { grid-template-columns: 1fr; }
  .ccbc-cta-card { padding: 22px; }
  .ccbc-cta-btns { width: 100%; }
  .ccbc-cta-btns .ccbc-btn { flex: 1; text-align: center; }
}
