/* =========================================================
   Proof layer: brands, case studies, AI citations, audit preview
   ========================================================= */

.bb-brands {
  position: relative;
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 55, 108, 0.1), transparent 60%),
    #0a0810;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Figtree", system-ui, sans-serif;
}

.bb-brands-inner {
  display: grid;
  gap: 1.35rem;
  text-align: center;
}

.bb-brands-label {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8a2b0;
}

.bb-brands-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem 1.1rem;
  align-items: center;
  justify-items: center;
}

.bb-brands-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 55, 108, 0.22);
  background: #000;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(215, 4, 227, 0.08),
    0 0 18px rgba(255, 55, 108, 0.12),
    inset 0 0 20px rgba(255, 55, 108, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  animation: bbBrandsGlow 3.8s ease-in-out infinite;
}

.bb-brands-logos li:nth-child(2) { animation-delay: 0.35s; }
.bb-brands-logos li:nth-child(3) { animation-delay: 0.7s; }
.bb-brands-logos li:nth-child(4) { animation-delay: 1.05s; }
.bb-brands-logos li:nth-child(5) { animation-delay: 1.4s; }

.bb-brands-logos li:hover {
  animation: none;
  border-color: rgba(255, 55, 108, 0.45);
  box-shadow:
    0 0 0 1px rgba(215, 4, 227, 0.18),
    0 0 28px rgba(255, 55, 108, 0.28),
    inset 0 0 24px rgba(255, 55, 108, 0.08);
  transform: translateY(-2px);
}

.bb-brands-logos img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@keyframes bbBrandsGlow {
  0%, 100% {
    border-color: rgba(255, 55, 108, 0.18);
    box-shadow:
      0 0 0 1px rgba(215, 4, 227, 0.06),
      0 0 14px rgba(255, 55, 108, 0.1),
      inset 0 0 16px rgba(255, 55, 108, 0.03);
  }
  50% {
    border-color: rgba(255, 55, 108, 0.38);
    box-shadow:
      0 0 0 1px rgba(215, 4, 227, 0.16),
      0 0 26px rgba(255, 55, 108, 0.24),
      inset 0 0 22px rgba(255, 55, 108, 0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-brands-logos li {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .bb-brands-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .bb-brands-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .bb-brands-logos img {
    height: 34px;
  }
}

/* Case studies */
.bb-cases {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0;
  background:
    radial-gradient(ellipse 50% 45% at 10% 0%, rgba(255, 55, 108, 0.12), transparent 55%),
    #07060c;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Figtree", system-ui, sans-serif;
}

.bb-cases-head {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.bb-cases-eyebrow {
  margin: 0 0 0.65rem;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e766b4;
}

.bb-cases-head h2 {
  margin: 0 0 0.75rem;
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.bb-cases-lead {
  margin: 0;
  color: #a8a2b0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.bb-case {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 1.25rem;
}

.bb-case-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #120f18;
  min-height: 260px;
}

.bb-case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-case-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 6, 12, 0.82);
  border: 1px solid rgba(255, 55, 108, 0.45);
  color: #ff7ab0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bb-case-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bb-case-client {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e766b4;
}

.bb-case-copy h3 {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bb-case-stat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bb-case-stat span {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 7.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 55, 108, 0.08);
}

.bb-case-stat strong {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.bb-case-stat em {
  font-style: normal;
  font-size: 0.75rem;
  color: #a8a2b0;
}

.bb-case-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.bb-case-compare div {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.bb-case-compare p {
  margin: 0.2rem 0 0;
  color: #cfc8d6;
  font-size: 0.88rem;
  line-height: 1.4;
}

.bb-case-compare strong {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a93a6;
}

.bb-case-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.bb-case-timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #b7b0bf;
}

.bb-case-timeline span {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  color: #ff7ab0;
}

.bb-case-link {
  margin-top: auto;
  align-self: flex-start;
  color: #ff7ab0;
  font-weight: 700;
  text-decoration: none;
}

.bb-case-link:hover {
  color: #fff;
  text-decoration: underline;
}

.bb-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bb-case--compact {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100%;
}

.bb-case--compact .bb-case-media {
  min-height: 160px;
  aspect-ratio: 16 / 9;
}

/* Instant audit preview modal */
.bb-audit-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}

.bb-audit-preview-modal[hidden] {
  display: none !important;
}

.bb-audit-preview-card {
  width: min(560px, 100%);
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #141018, #0c0a12 60%);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  font-family: "Figtree", system-ui, sans-serif;
}

.bb-audit-preview-card h2 {
  margin: 0 0 0.35rem;
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.bb-audit-preview-card > p {
  margin: 0 0 1rem;
  color: #a8a2b0;
  font-size: 0.92rem;
}

.bb-audit-preview-url {
  margin: 0 0 1rem;
  color: #ff7ab0;
  font-size: 0.85rem;
  word-break: break-all;
}

.bb-audit-preview-scores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.bb-audit-preview-scores article {
  padding: 0.8rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.bb-audit-preview-scores strong {
  display: block;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.bb-audit-preview-scores span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #a8a2b0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bb-audit-preview-note {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #9a93a6;
}

.bb-audit-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bb-audit-preview-actions button {
  flex: 1 1 auto;
  min-height: 2.85rem;
  border-radius: 999px;
  border: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.bb-audit-preview-actions .bb-audit-btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #ff376c, #d704e3 55%, #6b2cff);
}

.bb-audit-preview-actions .bb-audit-btn-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bb-footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.bb-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  color: #fff !important;
  font-size: 0.95rem;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.04);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bb-footer-socials a:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.bb-footer-socials .bb-soc--fb {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 0 0 1px rgba(24, 119, 242, 0.35);
}

.bb-footer-socials .bb-soc--reddit {
  background: #ff4500;
  border-color: #ff4500;
  box-shadow: 0 0 0 1px rgba(255, 69, 0, 0.35);
}

.bb-footer-socials .bb-soc--x {
  background: #000;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bb-footer-socials .bb-soc--trustpilot {
  background: #00b67a;
  border-color: #00b67a;
  box-shadow: 0 0 0 1px rgba(0, 182, 122, 0.35);
}

.bb-footer-socials .bb-soc--trustpilot img {
  display: block;
  width: 15px;
  height: auto;
  filter: brightness(0) invert(1);
}

.bb-footer-avail {
  color: #37e36a;
  font-weight: 700;
}

@media (max-width: 960px) {
  .bb-case {
    grid-template-columns: 1fr;
  }
  .bb-cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bb-audit-preview-scores {
    grid-template-columns: 1fr;
  }
  .bb-case-compare {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Unify systems diagram - high-end agency (not AI glow)
   ========================================================= */
.bb-unify {
  position: relative;
  padding: clamp(36px, 4.5vw, 64px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 55, 108, 0.07), transparent 62%),
    #f7f5f8;
  color: #141018;
  border-top: 1px solid rgba(20, 16, 24, 0.06);
  font-family: "Figtree", system-ui, sans-serif;
}

.bb-unify::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 16, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 16, 24, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 75%);
}

.bb-unify > .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  justify-items: center;
  text-align: center;
}

.bb-unify-eyebrow {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff376c;
}

.bb-unify-title {
  margin: 0;
  max-width: 16ch;
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #141018;
}

.bb-unify-accent {
  margin: 0;
  max-width: 18ch;
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: clamp(1.55rem, 3.8vw, 2.55rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1.15;
  background: linear-gradient(100deg, #ff376c 0%, #d704e3 52%, #2a17f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bb-unify-lead {
  margin: 0;
  max-width: 38rem;
  color: #5c5566;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
}

.bb-unify-orbit {
  --orbit: min(560px, 92vw);
  position: relative;
  width: var(--orbit);
  height: var(--orbit);
  margin: 0.5rem auto 0;
}

.bb-unify-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bb-unify-svg path {
  fill: none;
  stroke: rgba(20, 16, 24, 0.12);
  stroke-width: 1.25;
}

.bb-unify-svg .bb-unify-pulse {
  fill: #ff376c;
  filter: drop-shadow(0 0 6px rgba(255, 55, 108, 0.55));
}

.bb-unify-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(96px, 18vw, 120px);
  height: clamp(96px, 18vw, 120px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(20, 16, 24, 0.08);
  box-shadow:
    0 18px 40px rgba(16, 8, 24, 0.1),
    0 0 0 10px rgba(255, 55, 108, 0.05);
}

.bb-unify-hub img {
  width: 68%;
  height: auto;
  display: block;
}

.bb-unify-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(20, 16, 24, 0.1);
  box-shadow: 0 10px 24px rgba(16, 8, 24, 0.08);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bb-unify-node img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bb-unify-node:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: rgba(255, 55, 108, 0.45);
  box-shadow: 0 14px 28px rgba(255, 55, 108, 0.16);
}

.bb-unify-node:nth-child(1) { left: 50%; top: 7%; }
.bb-unify-node:nth-child(2) { left: 82%; top: 22%; }
.bb-unify-node:nth-child(3) { left: 93%; top: 50%; }
.bb-unify-node:nth-child(4) { left: 82%; top: 78%; }
.bb-unify-node:nth-child(5) { left: 50%; top: 93%; }
.bb-unify-node:nth-child(6) { left: 18%; top: 78%; }
.bb-unify-node:nth-child(7) { left: 7%; top: 50%; }
.bb-unify-node:nth-child(8) { left: 18%; top: 22%; }

.bb-unify-nodes {
  position: absolute;
  inset: 0;
}

.bb-unify-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.35rem;
  margin-top: 0.35rem;
}

.bb-unify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(100deg, #ff376c 0%, #d704e3 55%, #2a17f6 100%);
  box-shadow: 0 12px 28px rgba(255, 55, 108, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bb-unify-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(215, 4, 227, 0.32);
}

.bb-unify-link {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #141018;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.bb-unify-link:hover {
  color: #ff376c;
}

@media (max-width: 640px) {
  .bb-unify-node {
    width: 48px;
    height: 48px;
  }
  .bb-unify-node img {
    width: 22px;
    height: 22px;
  }
  .bb-unify-hub {
    width: 84px;
    height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-unify-svg .bb-unify-pulse {
    display: none;
  }
}
