/* ========== Glow Pulse ========== */
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px var(--accent-cyan-glow)); }
  50% { filter: drop-shadow(0 0 25px var(--accent-cyan-glow-strong)); }
}

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

/* ========== Fade In Up (scroll reveal) ========== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .fade-in-up:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-in-up:nth-child(2) { transition-delay: 100ms; }
.stagger-children .fade-in-up:nth-child(3) { transition-delay: 200ms; }
.stagger-children .fade-in-up:nth-child(4) { transition-delay: 300ms; }
.stagger-children .fade-in-up:nth-child(5) { transition-delay: 400ms; }
.stagger-children .fade-in-up:nth-child(6) { transition-delay: 500ms; }
.stagger-children .fade-in-up:nth-child(7) { transition-delay: 600ms; }
.stagger-children .fade-in-up:nth-child(8) { transition-delay: 700ms; }
.stagger-children .fade-in-up:nth-child(9) { transition-delay: 800ms; }
.stagger-children .fade-in-up:nth-child(10) { transition-delay: 900ms; }
.stagger-children .fade-in-up:nth-child(11) { transition-delay: 1000ms; }
.stagger-children .fade-in-up:nth-child(12) { transition-delay: 1100ms; }

/* ========== Hero Text Glow ========== */
@keyframes text-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(37, 202, 216, 0.2); }
  50% { text-shadow: 0 0 20px rgba(37, 202, 216, 0.4); }
}

.text-glow {
  animation: text-glow 4s ease-in-out infinite;
}

/* ========== Scan Line (decorative) ========== */
@keyframes scan-line {
  0% { top: -2px; }
  100% { top: 100%; }
}

.scan-line-effect::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 50%, transparent 100%);
  opacity: 0.15;
  animation: scan-line 8s linear infinite;
  pointer-events: none;
}

/* ========== Circuit Pattern Background ========== */
.circuit-bg {
  position: relative;
}

.circuit-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(200, 212, 224, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 212, 224, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(37, 202, 216, 0.05) 0%, transparent 55%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  pointer-events: none;
  z-index: 0;
}

/* ========== Neon Border Animation ========== */
@keyframes border-glow {
  0%, 100% { border-color: rgba(37, 202, 216, 0.2); }
  50% { border-color: rgba(37, 202, 216, 0.5); }
}

.neon-border {
  animation: border-glow 3s ease-in-out infinite;
}

/* ========== Float Animation ========== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 6s ease-in-out infinite;
}
