/* Boost Branding - global reach map + sticky WhatsApp */

.bb-world {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 88px);
  background:
    radial-gradient(ellipse 55% 50% at 55% 45%, rgba(215, 4, 227, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 40% at 15% 20%, rgba(42, 23, 246, 0.12), transparent 50%),
    #07060c;
  color: #fff;
  font-family: "Space Grotesk", system-ui, sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-world-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bb-world-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e766b4;
  font-style: normal;
}

.bb-world-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-style: normal;
}

.bb-world-head h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #ff376c, #d704e3 45%, #8b7cff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bb-world-lead {
  margin: 0;
  color: #a8a2b0;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 34ch;
  font-style: normal;
}

.bb-world-stage {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 62% 55%, rgba(255, 55, 108, 0.16), transparent 32%),
    radial-gradient(circle at 30% 30%, rgba(42, 23, 246, 0.14), transparent 40%),
    linear-gradient(160deg, #120a1c 0%, #1a0f28 45%, #0c0814 100%);
  overflow: visible;
  min-height: 360px;
}

.bb-world-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 62% 55%, rgba(255, 55, 108, 0.08), transparent 32%),
    transparent;
  pointer-events: none;
  z-index: 0;
}

.bb-world-land-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
  opacity: 0.95;
  /* Keep land readable, push toward BB magenta / violet */
  filter:
    brightness(0.98)
    contrast(1.04)
    saturate(1.05);
  pointer-events: none;
  user-select: none;
}

.bb-world-map {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bb-world-map .bb-arc {
  fill: none;
  stroke: url(#bbWorldArcGrad);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: bbWorldDash 1.6s linear infinite;
  opacity: 0.7;
  filter: none;
}

.bb-world-map .bb-arc:nth-child(2) { animation-delay: 0.15s; }
.bb-world-map .bb-arc:nth-child(3) { animation-delay: 0.3s; }
.bb-world-map .bb-arc:nth-child(4) { animation-delay: 0.45s; }
.bb-world-map .bb-arc:nth-child(5) { animation-delay: 0.6s; }
.bb-world-map .bb-arc:nth-child(6) { animation-delay: 0.75s; }

.bb-world-map .bb-hub {
  fill: #ff376c;
  transform-origin: 680px 160px;
  transform-box: fill-box;
  filter: drop-shadow(0 0 4px rgba(244, 20, 144, 0.35));
  animation: bbWorldPulse 2.8s ease-in-out infinite;
}

.bb-world-map .bb-node {
  fill: #d704e3;
  filter: drop-shadow(0 0 3px rgba(215, 4, 227, 0.35));
}

.bb-world-pins {
  z-index: 2;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bb-world-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  color: #fff;
  z-index: 2;
}

.bb-world-pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff376c;
  box-shadow:
    0 0 0 4px rgba(255, 55, 108, 0.22),
    0 0 16px rgba(255, 55, 108, 0.45);
  animation: bbWorldPulse 2.8s ease-in-out infinite;
}

.bb-world-pin--hub .bb-world-pin-dot {
  width: 14px;
  height: 14px;
  background: #ff376c;
  box-shadow:
    0 0 0 5px rgba(255, 55, 108, 0.28),
    0 0 20px rgba(255, 55, 108, 0.55);
}

.bb-world-pin-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem 0.28rem 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 6, 14, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.bb-world-pin-label img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.bb-world-pin-label span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bb-world-pin:hover .bb-world-pin-label,
.bb-world-pin:focus-visible .bb-world-pin-label,
.bb-world-pin.is-open .bb-world-pin-label {
  border-color: rgba(255, 55, 108, 0.55);
  background: rgba(18, 8, 22, 0.96);
  transform: translateY(-2px);
}

.bb-world-pin:focus-visible {
  outline: none;
}

.bb-world-pin--hub {
  z-index: 4;
}

.bb-world-pin--hub .bb-world-pin-label {
  border-color: rgba(244, 20, 144, 0.55);
}

.bb-world-pin:nth-child(1) .bb-world-pin-dot { animation-delay: 0.05s; }
.bb-world-pin:nth-child(2) .bb-world-pin-dot { animation-delay: 0.2s; }
.bb-world-pin:nth-child(3) .bb-world-pin-dot { animation-delay: 0.35s; }
.bb-world-pin:nth-child(4) .bb-world-pin-dot { animation-delay: 0.5s; }
.bb-world-pin:nth-child(5) .bb-world-pin-dot { animation-delay: 0.65s; }
.bb-world-pin:nth-child(6) .bb-world-pin-dot { animation-delay: 0.8s; }
.bb-world-pin:nth-child(7) .bb-world-pin-dot { animation-delay: 0.95s; }
.bb-world-pin:nth-child(8) .bb-world-pin-dot { animation-delay: 1.1s; }

.bb-world-pop {
  position: absolute;
  z-index: 8;
  width: min(280px, calc(100% - 1.5rem));
  padding: 1rem 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 6, 14, 0.96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  color: #fff;
  transform: translate(-50%, calc(-100% - 18px));
}

.bb-world-pop[hidden] {
  display: none !important;
}

.bb-world-pop.is-place-bottom {
  transform: translate(-50%, 18px);
}

.bb-world-pop.is-place-left {
  transform: translate(calc(-100% - 16px), -50%);
}

.bb-world-pop.is-place-right {
  transform: translate(16px, -50%);
}

.bb-world-pop-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.bb-world-pop-close:hover {
  background: rgba(255, 55, 108, 0.18);
  color: #fff;
}

.bb-world-pop-flag {
  margin-bottom: 0.55rem;
}

.bb-world-pop-flag img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.bb-world-pop-city {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e766b4;
}

.bb-world-pop-name {
  margin: 0 0 0.45rem;
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bb-world-pop-copy {
  margin: 0 0 0.9rem;
  color: #a8a2b0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.bb-world-pop-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #ff376c, #d704e3 60%, #610eb4);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bb-world-pop-cta:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.bb-world-countries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 1200px) {
  .bb-world-countries {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.bb-world-country {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  font-style: normal;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.bb-world-country:hover {
  color: #fff;
  border-color: rgba(244, 20, 144, 0.35);
  background: rgba(244, 20, 144, 0.08);
  transform: translateY(2px) scale(0.98);
}

.bb-world-country img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  flex: 0 0 auto;
}

.bb-world-more {
  margin-top: 1.35rem;
  color: #a8a2b0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.bb-world-more strong {
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 600;
}

.bb-world-more-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bb-world-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: none;
  filter: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.bb-world-pill img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.bb-world-pill:hover {
  border-color: rgba(244, 20, 144, 0.35);
  background: rgba(244, 20, 144, 0.08);
  transform: translateY(2px) scale(0.97);
  filter: brightness(0.96);
}

.bb-world-pill--global {
  padding-left: 0.75rem;
  border-color: rgba(244, 20, 144, 0.35);
  color: #ff9ec8;
}

@keyframes bbWorldDash {
  to { stroke-dashoffset: -32; }
}

@keyframes bbWorldPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.85; }
}

@media (max-width: 991px) {
  .bb-world-head {
    grid-template-columns: 1fr;
  }

  .bb-world-countries {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .bb-world-countries {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .bb-world-country {
    padding: 0.65rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 0.7rem;
  }

  .bb-world-country img {
    width: 24px;
    height: 17px;
  }

  .bb-world-more-pills {
    gap: 0.4rem;
  }

  .bb-world-pill {
    min-height: 2rem;
    padding: 0.3rem 0.6rem 0.3rem 0.35rem;
    font-size: 0.72rem;
  }

  .bb-world-pill img {
    width: 18px;
    height: 12px;
  }

  .bb-world-stage {
    min-height: 280px;
  }

  .bb-world-pin-label span {
    display: none;
  }

  .bb-world-pin--hub .bb-world-pin-label span {
    display: inline;
  }

  .bb-world-pop {
    left: 50% !important;
    top: auto !important;
    bottom: 0.85rem;
    width: calc(100% - 1.2rem);
    transform: translateX(-50%);
  }

  .bb-world-pop.is-place-bottom,
  .bb-world-pop.is-place-left,
  .bb-world-pop.is-place-right {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-world-map .bb-arc,
  .bb-world-map .bb-hub,
  .bb-world-pin-dot {
    animation: none !important;
  }
}

/* WhatsApp pill styles live in bb-end.css (under accessibility tool) */
