/* Broadcom Carbon Black partner page (formerly VMware Carbon Black) — Broadcom red #CC092F + black */

:root {
  --cb-blue: #CC092F;
  --cb-blue-dark: #9e0724;
  --cb-navy: #1a1a1a;
  --cb-ink: #1a1a1a;
  --cb-muted: #5a5a5f;
}

body {
  overflow-x: hidden;
}

.cb-banner {
  scroll-margin-top: 1rem;
}

.vendor-color {
  color: var(--cb-blue);
}

/* ── buttons ── */
.btn-vmware-carbon-black,
.btn-vmware-carbon-black:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8173f 0%, var(--cb-blue) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(204, 9, 47, 0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-vmware-carbon-black:hover,
.btn-vmware-carbon-black:focus-visible {
  background: linear-gradient(135deg, #b50828 0%, var(--cb-blue-dark) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(204, 9, 47, 0.42);
}

.btn-vmware-carbon-black:focus-visible,
.btn-cb-outline:focus-visible {
  outline: 3px solid #ffb3c0;
  outline-offset: 3px;
}

.btn-cb-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border: 2px solid var(--cb-blue);
  border-radius: 10px;
  background: transparent;
  color: var(--cb-blue);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-cb-outline:hover,
.btn-cb-outline:focus-visible {
  background: var(--cb-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ── hero ── */
.cb-hero {
  display: flex;
  align-items: center;
  min-height: 240px;
  padding: 2.25rem 0;
  color: #fff;
  background: #050608 url('/images/vmware_carbon_black/carbonblack-why-cb-hero.webp') right center / cover no-repeat;
}

.cb-acq {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.cb-acq-tag {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--cb-blue);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cb-acq s {
  color: rgba(255, 255, 255, 0.7);
  text-decoration-thickness: 2px;
}

.cb-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
}

.cb-hero p {
  max-width: 28rem;
  margin: 0.6rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.cb-hero .cb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

/* ── section heading bands ── */
.cb-band {
  padding: 1.25rem 0;
  background: linear-gradient(90deg, #1a1a1a 0%, var(--cb-blue) 100%);
  color: #fff;
}

.cb-band h2,
.cb-band h3 {
  margin: 0;
  font-weight: 800;
  color: #fff;
}

.cb-band p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
}

/* ── sections ── */
.cb-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.cb-section h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cb-ink);
}

.cb-section p {
  line-height: 1.65;
  color: var(--cb-muted);
}

/* ── intro ── */
.cb-lead {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ── featured products ── */
.cb-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid #e6e6ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cb-feature:hover {
  transform: translateY(-4px);
  border-color: var(--cb-blue);
  box-shadow: 0 16px 32px rgba(204, 9, 47, 0.16);
}

.cb-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8173f 0%, var(--cb-blue-dark) 100%);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(204, 9, 47, 0.28);
}

.cb-feature h2 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.cb-feature p {
  flex: 1;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── threat prevention / detection banners ── */
.cb-banner {
  display: flex;
  align-items: center;
  min-height: 220px;
  padding: 2.25rem 0;
  color: #fff;
  background-color: #050608;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cb-banner--prevention {
  background-image: url('/images/vmware_carbon_black/advanced-network-protection_1920x455.webp');
}

.cb-banner--detection {
  background-image: url('/images/vmware_carbon_black/wwwhero_sed_email_security_cloud.webp');
}

.cb-banner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.cb-banner p {
  max-width: 28rem;
  margin: 0.5rem 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

/* ── benefit cards ── */
.cb-benefit {
  height: 100%;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid #e6e6ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cb-benefit:hover {
  transform: translateY(-4px);
  border-color: var(--cb-blue);
  box-shadow: 0 16px 32px rgba(204, 9, 47, 0.16);
}

.cb-benefit h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  color: var(--cb-ink);
}

.cb-benefit p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── analyst report ── */
.cb-report {
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(204, 9, 47, 0.4) 0%, transparent 70%),
    linear-gradient(135deg, #0d0d0f 0%, #26262b 100%);
  color: #fff;
}

.cb-report h2 {
  max-width: 40rem;
  margin: 0 auto;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: #fff;
}

.cb-eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff7a90 !important;
}

.cb-stat {
  height: 100%;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.cb-stat:hover {
  transform: translateY(-4px);
  border-color: #ff7a90;
  background: rgba(255, 255, 255, 0.11);
}

.cb-stat-num {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #ff7a90 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cb-report .cb-stat p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
  .cb-banner {
    padding: 1.75rem 0;
    background-position: 70% center;
  }

  .cb-hero {
    padding: 2.25rem 0;
    background-position: 70% center;
  }

  .cb-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-vmware-carbon-black,
  .btn-cb-outline,
  .cb-stat,
  .cb-benefit,
  .cb-feature {
    transition: none;
  }

  .btn-vmware-carbon-black:hover,
  .btn-cb-outline:hover,
  .cb-stat:hover,
  .cb-benefit:hover,
  .cb-feature:hover {
    transform: none;
  }
}
