/* Animations & Micro-interactions */

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.ripple-btn:active::after {
  transform: scale(2);
  opacity: 1;
  transition: 0s;
}

@keyframes meshMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.mesh-bg::before,
.mesh-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: meshMove 20s ease-in-out infinite;
}

.mesh-bg::before {
  background: #006466;
  top: -200px;
  right: -100px;
}

.mesh-bg::after {
  background: #4D194D;
  bottom: -200px;
  left: -100px;
  animation-delay: -10s;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
}

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.particle-network {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.animate-ticker {
  display: inline-flex;
  align-items: center;
  animation: ticker 30s linear infinite;
}

.animate-ticker > * {
  flex-shrink: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stat-counter {
  display: inline-block;
  animation: countUp 1s ease-out;
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.aurora-header {
  background: linear-gradient(
    90deg,
    rgba(0, 100, 102, 0.3),
    rgba(56, 189, 248, 0.2),
    rgba(77, 25, 77, 0.3)
  );
  background-size: 200% 100%;
  animation: aurora 8s ease infinite;
}

@keyframes aurora {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring circle {
  transition: stroke-dashoffset 0.5s ease;
}

.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006466, #0B525B);
  box-shadow: 0 8px 32px rgba(0, 100, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 100, 102, 0.6);
}

.page-enter {
  animation: pageEnter 0.4s ease-out;
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
