/* ============================================
   Product suite connected animation (demo)
   Easy to remove: delete this file + suite markup/js
   ============================================ */

.suite {
  position: relative;
  padding: 36px 0 44px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 170, 188, 0.18), transparent 42%),
    radial-gradient(circle at 15% 85%, rgba(46, 49, 145, 0.55), transparent 40%),
    linear-gradient(160deg, #0b1228 0%, #121f3d 52%, #0a1030 100%);
}

.suite__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.suite__orb--1 {
  width: 280px;
  height: 280px;
  top: -60px;
  right: 8%;
  background: rgba(0, 170, 188, 0.22);
}

.suite__orb--2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: 4%;
  background: rgba(46, 49, 145, 0.45);
}

.suite .container {
  position: relative;
  z-index: 1;
}

.suite__intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 16px;
}

.suite__eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 170, 188, 0.14);
  border: 1px solid rgba(0, 170, 188, 0.35);
  color: #9ef0f8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.suite__title {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: #fff;
}

.suite__lead {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  font-size: 0.92rem;
  max-width: 520px;
  margin-inline: auto;
}

.suite__stage-wrap {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 170, 188, 0.08), transparent 55%),
    rgba(8, 12, 40, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  width: min(860px, 100%);
  height: min(360px, 46vh);
  min-height: 280px;
  margin-inline: auto;
}

.suite__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.suite__node {
  position: absolute;
  width: 62px;
  height: 62px;
  margin-left: -31px;
  margin-top: -31px;
  border-radius: 16px;
  overflow: hidden;
  background: #151a45;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: scale(0.2) translateY(40px);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.6s ease,
    box-shadow 0.3s ease;
  will-change: transform, opacity;
  z-index: 3;
}

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

.suite__node--brand {
  width: 84px;
  height: 84px;
  margin-left: -42px;
  margin-top: -42px;
  border-radius: 22px;
  z-index: 5;
  box-shadow:
    0 14px 36px rgba(0, 170, 188, 0.35),
    0 0 0 2px rgba(0, 170, 188, 0.35);
  pointer-events: none;
}

a.suite__node {
  display: block;
}

a.suite__node:hover {
  box-shadow:
    0 14px 36px rgba(0, 170, 188, 0.4),
    0 0 0 2px rgba(0, 170, 188, 0.55);
}

.suite__label {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transition: opacity 0.45s ease 0.15s;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.suite__node.is-show .suite__label {
  opacity: 1;
}

.suite__node--brand .suite__label {
  top: calc(100% + 8px);
  font-size: 10px;
  color: #9ef0f8;
}

.suite__node.is-float {
  animation: suiteFloat 4.5s ease-in-out infinite;
}

.suite__node:nth-of-type(3) { animation-delay: 0.2s; }
.suite__node:nth-of-type(4) { animation-delay: 0.5s; }
.suite__node:nth-of-type(5) { animation-delay: 0.8s; }
.suite__node:nth-of-type(6) { animation-delay: 1.1s; }
.suite__node:nth-of-type(7) { animation-delay: 1.4s; }
.suite__node:nth-of-type(8) { animation-delay: 1.7s; }
.suite__node:nth-of-type(9) { animation-delay: 2s; }

@keyframes suiteFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.suite__node.is-connected {
  box-shadow:
    0 12px 34px rgba(0, 170, 188, 0.28),
    0 0 0 2px rgba(0, 170, 188, 0.45);
}

.suite__links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.suite__link {
  fill: none;
  stroke: url(#suiteLinkGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(0, 170, 188, 0.45));
}

.suite__link.is-draw {
  opacity: 0.9;
  animation: suiteDash 2.2s linear infinite;
}

@keyframes suiteDash {
  to { stroke-dashoffset: -72; }
}

.suite__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  border: 2px solid rgba(0, 170, 188, 0.35);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.suite__pulse.is-run {
  animation: suitePulse 2.4s ease-out infinite;
}

.suite__pulse--delay {
  animation-delay: 1.2s;
}

@keyframes suitePulse {
  0% { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}

.suite__caption {
  text-align: center;
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.6s ease;
  width: min(92%, 480px);
  margin-inline: auto;
}

.suite__caption.is-show {
  opacity: 1;
}

.suite__caption strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.suite__caption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.suite__actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.suite__btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.suite__btn:hover {
  border-color: rgba(0, 170, 188, 0.6);
  background: rgba(0, 170, 188, 0.14);
}

.suite__btn--primary {
  background: linear-gradient(135deg, #00aabc, #2e3191);
  border-color: transparent;
}

@media (max-width: 760px) {
  .suite {
    padding: 32px 0 36px;
  }

  .suite__lead {
    font-size: 0.85rem;
  }

  .suite__stage-wrap {
    width: 100%;
    height: min(340px, 50vh);
    min-height: 260px;
    border-radius: 18px;
  }

  .suite__node {
    width: 52px;
    height: 52px;
    margin-left: -26px;
    margin-top: -26px;
    border-radius: 14px;
  }

  .suite__node--brand {
    width: 70px;
    height: 70px;
    margin-left: -35px;
    margin-top: -35px;
    border-radius: 18px;
  }

  .suite__label {
    font-size: 8px;
  }

  .suite__caption {
    bottom: 8px;
  }

  .suite__caption strong {
    font-size: 0.8rem;
  }

  .suite__caption span {
    font-size: 0.65rem;
  }
}

@media (max-height: 760px) {
  .suite {
    padding: 28px 0 32px;
  }

  .suite__lead {
    display: none;
  }

  .suite__stage-wrap {
    height: min(320px, 42vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .suite__node,
  .suite__label,
  .suite__caption,
  .suite__link {
    transition: none !important;
    animation: none !important;
  }
}
