#systems.site-section--systems {
  position: relative;
  isolation: isolate;
}

.systems-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.systems-aurora canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#systems > .container {
  position: relative;
  z-index: 1;
}

/* SpotlightCard glow layered on existing glass — ::after so ::before glass sheen stays */
#systems .capability-card.card-spotlight {
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(63, 169, 245, 0.18);
  overflow: hidden;
}

#systems .capability-card.card-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    var(--spotlight-color),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

#systems .capability-card.card-spotlight:hover::after,
#systems .capability-card.card-spotlight:focus-within::after {
  opacity: 0.6;
}

#systems .capability-card.card-spotlight > * {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .systems-aurora {
    display: none;
  }

  #systems .capability-card.card-spotlight::after {
    display: none;
  }
}
