/* PROPSZY INFOTECH — Capabilities Page Custom Stylesheet */

/* Capabilities Ambient Glows */
.capability-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

/* Sticky Scroll Visual Container */
.sticky-visual-container {
  position: sticky;
  top: 100px;
  height: calc(100vh - 140px);
  max-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cross-fade capability image layers */
.capability-visual-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.capability-visual-layer.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Capability Step Active State */
.capability-step {
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.capability-step.active {
  border-color: rgba(56, 189, 248, 0.4) !important;
  background: rgba(11, 15, 20, 0.95) !important;
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15);
}

.capability-step.active .capability-number {
  color: #38BDF8 !important;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.capability-step.active .capability-pill-active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Ecosystem Graph Animation */
@keyframes dashPulse {
  to {
    stroke-dashoffset: -40;
  }
}

.circuit-line {
  stroke-dasharray: 6 6;
  animation: dashPulse 2s linear infinite;
}

.circuit-line-fast {
  stroke-dasharray: 4 4;
  animation: dashPulse 1.2s linear infinite;
}

@keyframes orbitPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.pulse-node {
  animation: orbitPulse 3s ease-in-out infinite;
}

/* Process Card Hover */
.process-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 15px 40px -10px rgba(0, 102, 255, 0.3);
}
