.nx-connectivity {
  background:
    radial-gradient(1200px 600px at 50% 0%,
      rgba(18, 19, 20, 0.14),
      transparent 60%),
    radial-gradient(900px 500px at 50% 40%,
      rgba(120, 90, 255, 0.038),
      transparent 55%),
    linear-gradient(180deg,
      #07080f 0%,
      #090b14 100%);
  padding: 50px var(--nx-side-padding) var(--nx-side-padding);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Subtle animated spotlight */
.nx-connectivity::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;

  background:
    radial-gradient(800px 600px at 30% 50%,
      rgba(120, 90, 255, 0.06),
      transparent 70%);

  animation: nxAmbientShift 18s ease-in-out infinite alternate;
}

@keyframes nxAmbientShift {
  0% {
    transform: translateY(-3%) translateX(-2%);
  }

  100% {
    transform: translateY(3%) translateX(2%);
  }
}

@keyframes nxGlowMove {
  0% {
    transform: translateY(-20px) translateX(-10px);
  }

  100% {
    transform: translateY(20px) translateX(10px);
  }
}

.nx-connectivity__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .nx-connectivity__grid {
    grid-template-columns: 1fr;
    gap: 77px;
    padding-bottom: 27px;
  }
}

.nx-connectivity__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.nx-connectivity__title {
  margin: 0 0 16px 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
}

.nx-connectivity__title::after {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  margin-top: 18px;

  background: linear-gradient(90deg,
      rgba(140, 110, 255, 1),
      transparent);

  animation: nxLinePulse 3s ease-in-out infinite;
}

@keyframes nxLinePulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleX(0.9);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.nx-connectivity__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.70);
  max-width: 60ch;
}

.nx-connectivity__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1300 / 980;
  /* IMPORTANT */
  overflow: visible;
}

.nx-connectivity__svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* SVG styling */
.nx-svg-node {
  opacity: 0.32;
  transition: opacity 180ms ease;
}

.nx-svg-node.is-active {
  opacity: 1;
}

.nx-node-rect {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1;
}

.nx-svg-node.is-active .nx-node-rect {
  stroke: rgba(140, 110, 255, 0.42);
}

.nx-node-icon {
  color: rgba(140, 110, 255, 0.85);
}

.nx-node-label {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: rgba(255, 255, 255, 0.92);
  fill: rgba(255, 255, 255, 0.86);

}

.nx-path {
  fill: none;
  stroke: rgba(140, 110, 255, 0.92);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;

  opacity: 0;

  filter: drop-shadow(0 0 10px rgba(140, 110, 255, 0.22));

  stroke-dasharray: var(--dash, 0);
  stroke-dashoffset: var(--dash, 0);
}

.nx-path.is-drawing {
  opacity: 1;
  animation: nx-draw var(--dur, 950ms) cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes nx-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-path {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }

  .nx-svg-node {
    opacity: 1 !important;
  }
}

/* Phones */
@media (max-width: 480px) {

  .nx-node-label {
    font-size: 20px;
  }

  .nx-path {
    stroke-width: 2;
  }

  .nx-connectivity__svg {
    width: 100%;
    height: auto;
    display: block;
  }

}