/* ==========================================================================
   ELSYNQ Technologies — Animations & Visual FX
   ========================================================================== */

/* Neon Border Glow Animation */
@keyframes neonBorderPulse {
  0%, 100% {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
  }
  50% {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), inset 0 0 15px rgba(168, 85, 247, 0.1);
  }
}

.neon-animated-border {
  animation: neonBorderPulse 4s ease-in-out infinite;
}

/* Floating Elements */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes floatFast {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
}

.floating-anim {
  animation: floatSlow 6s ease-in-out infinite;
}

/* Shimmer Sweep */
@keyframes shimmerSweep {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-text {
  background: linear-gradient(90deg, #f8fafc 0%, #c084fc 50%, #f8fafc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 5s linear infinite;
}

/* Cyber Scanning Line */
@keyframes scanLine {
  0% {
    top: 0%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.scanline-effect {
  position: relative;
  overflow: hidden;
}

.scanline-effect::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.8), rgba(168, 85, 247, 0.8), transparent);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
  animation: scanLine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Reveal on scroll base classes */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   Interactive Spotlight Card Hover (Linear / Raycast / Stripe Style)
   ========================================================================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at calc(var(--mouse-x, -999) * 1px) calc(var(--mouse-y, -999) * 1px),
    rgba(168, 85, 247, 0.15),
    transparent 45%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.2);
}

/* Button Subtle Glow & Interactive Polish */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 65%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-glow:hover::after {
  transform: rotate(45deg) translateX(100%);
}

