/* ============================================================
   CUSTOMERS / RESULTS ORBIT SECTION
   Self-contained: no dependency on external theme tokens, so it
   drops into the Deneb template as-is.
   ============================================================ */
.deneb_customers { overflow: visible; }

.customers-orbit-holder {
  position: relative;
  width: 100%;
  max-width: 40rem;
  aspect-ratio: 1;
  margin: 2rem auto 0;
}

/* colorful glow halo behind everything */
.customers-orbit-holder::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(249, 56, 161, 0.22), transparent 55%),
    radial-gradient(circle at 72% 66%, rgba(58, 91, 220, 0.2), transparent 55%),
    radial-gradient(circle at 62% 20%, rgba(217, 169, 76, 0.14), transparent 50%),
    radial-gradient(circle at 22% 76%, rgba(52, 214, 224, 0.14), transparent 50%);
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
  animation: customers-halo-pulse 10s ease-in-out infinite;
}
@keyframes customers-halo-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50% { transform: scale(1.06) rotate(6deg); opacity: 1; }
}

/* concentric rings, centered */
.customers-rings {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.customers-rings .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 28, 40, 0.14);
  opacity: 0.75;
}
.customers-rings .ring-1 { width: 100%; height: 100%; border-color: rgba(249, 56, 161, 0.4); box-shadow: 0 0 24px 0 rgba(249, 56, 161, 0.12); }
.customers-rings .ring-2 { width: 78%;  height: 78%;  border-color: rgba(58, 91, 220, 0.36);  box-shadow: 0 0 20px 0 rgba(58, 91, 220, 0.12); }
.customers-rings .ring-3 { width: 56%;  height: 56%;  border-color: rgba(52, 214, 224, 0.34); }
.customers-rings .ring-4 { width: 34%;  height: 34%;  border-color: rgba(217, 169, 76, 0.36); opacity: 0.6; }

/* center mark */
.customers-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.customers-center-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(243, 68, 97, 0.5))
          drop-shadow(0 0 20px rgba(58, 91, 220, 0.35));
  animation: customers-logo-glow-pulse 3.2s ease-in-out infinite;
}
.customers-center-icon::before,
.customers-center-icon::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 68, 97, 0.5);
  opacity: 0;
  pointer-events: none;
  animation: customers-logo-radiate 2.8s ease-out infinite;
}
.customers-center-icon::after {
  border-color: rgba(58, 91, 220, 0.45);
  animation-delay: 1.4s;
}
@keyframes customers-logo-radiate {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { opacity: 0.12; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes customers-logo-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(243, 68, 97, 0.5))
            drop-shadow(0 0 20px rgba(58, 91, 220, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(243, 68, 97, 0.75))
            drop-shadow(0 0 30px rgba(58, 91, 220, 0.55));
  }
}
@media (prefers-reduced-motion: reduce) {
  .customers-center-icon::before,
  .customers-center-icon::after,
  .customers-center-icon img { animation: none; }
}

/* twinkling sparkle dots, injected by customers-orbit.js */
.customers-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.customers-sparkles .spark {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation-name: customers-spark-twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes customers-spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: var(--spark-opacity, 0.9); transform: scale(1); }
}

/* card layer */
.customers-cards { position: absolute; inset: 0; z-index: 2; }
.customers-cards.has-focus { z-index: 4; }

.customer-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(28, 28, 40, 0.1);
  border-radius: 100px;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  box-shadow: 0 10px 26px -10px rgba(28, 28, 40, 0.22);
  cursor: pointer;
  z-index: 1;
  will-change: transform, filter, opacity;
  transform: translate(-50%, -50%);
  transition: box-shadow 0.5s ease, border-color 0.4s ease;
  animation: customer-float var(--float-duration, 9s) ease-in-out var(--float-delay, 0s) infinite alternate;
}
.customer-card:focus-visible {
  outline: 2px solid #3a5bdc;
  outline-offset: 3px;
}

.customer-avatar-initials {
  width: 2.1rem;
  height: 2.1rem;
  min-width: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(249, 56, 161, 0.9), rgba(58, 91, 220, 0.9));
}
.customer-card:nth-of-type(4n + 1) .customer-avatar-initials {
  background: linear-gradient(135deg, rgba(249, 56, 161, 0.9), rgba(217, 169, 76, 0.9));
}
.customer-card:nth-of-type(4n + 2) .customer-avatar-initials {
  background: linear-gradient(135deg, rgba(58, 91, 220, 0.9), rgba(52, 214, 224, 0.9));
}
.customer-card:nth-of-type(4n + 3) .customer-avatar-initials {
  background: linear-gradient(135deg, rgba(52, 214, 224, 0.9), rgba(249, 56, 161, 0.9));
}
.customer-card:nth-of-type(4n + 4) .customer-avatar-initials {
  background: linear-gradient(135deg, rgba(217, 169, 76, 0.9), rgba(58, 91, 220, 0.9));
}

.customer-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1b1b2b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9rem;
}
.customer-card.is-focused .customer-name {
  max-width: 15rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.3;
}

.customer-badge {
  font-size: 1rem;
  line-height: 1;
  background: rgba(35, 181, 106, 0.16);
  padding: 0.3rem;
  border-radius: 100px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes customer-float {
  0% { transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0deg); }
  100% {
    transform: translate(-50%, -50%)
      translate3d(var(--float-x, 14px), var(--float-y, -16px), 0)
      rotate(var(--float-rot, 1deg));
  }
}

/* hover / focus interaction: blur the rest, zoom the one */
.customer-card.is-focused {
  z-index: 50;
  animation: none;
  transform: translate(-50%, -50%) translate3d(var(--focus-x, 0px), var(--focus-y, 0px), 0) scale(2.1);
  box-shadow: 0 34px 70px -12px rgba(28, 28, 40, 0.4), 0 0 55px 10px rgba(249, 56, 161, 0.28),
    0 0 90px 20px rgba(58, 91, 220, 0.15);
  border-color: rgba(28, 28, 40, 0.16);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.customers-cards.has-focus .customer-card:not(.is-focused) {
  animation: none;
  filter: blur(5px) saturate(0.7);
  opacity: 0.45;
  transform: translate(-50%, -50%) scale(0.9);
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .customer-card { animation: none !important; transition: none !important; }
}

@media screen and (max-width: 767px) {
  .customers-orbit-holder { max-width: 24rem; }
  .customer-name { font-size: 0.72rem; max-width: 6rem; }
  .customer-card.is-focused .customer-name { max-width: 10rem; }
  .customer-badge { font-size: 0.62rem; }
  .customer-avatar-initials { width: 1.7rem; height: 1.7rem; min-width: 1.7rem; font-size: 0.6rem; }
  .customer-card { padding: 0.35rem 0.7rem 0.35rem 0.35rem; gap: 0.4rem; }
  .customer-card.is-focused { transform: translate(-50%, -50%) translate3d(var(--focus-x, 0px), var(--focus-y, 0px), 0) scale(1.4); }
}