/* ==========================================================================
   PropNetwork Micro-Animations & Keyframes
   Author: PropNetwork Architecture Team
   Description: Dynamic CSS keyframes, scroll reveal classes, floating effects,
                glowing halos, and transition behaviors.
   ========================================================================== */

/* Fade In Up Reveal */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Floating Animation for UI Mockups */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

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

/* Subtle Elevation Pulse Animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
  }

  50% {
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.2);
  }

  100% {
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
  }
}

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

/* Shimmer Loading / Accent Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.shimmer-text {
  color: var(--primary);
  font-weight: var(--fw-semibold);
}

/* Linear/Apple SVG Connector Path Pulse Flow */
@keyframes connectorDashFlow {
  to {
    stroke-dashoffset: -24;
  }
}

.phone-connectors-svg path[stroke-dasharray] {
  animation: connectorDashFlow 3s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .phone-connectors-svg path[stroke-dasharray],
  .animate-float,
  .pulse-glow {
    animation: none !important;
  }
}