/* Animations — NIU IT Experts */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-bg__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.page-bg__shape--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--brand-300), transparent 70%);
  animation: mesh-drift-1 18s ease-in-out infinite alternate;
}

.page-bg__shape--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -100px;
  background: radial-gradient(circle, #a5b4fc, transparent 70%);
  animation: mesh-drift-2 22s ease-in-out infinite alternate;
}

.page-bg__shape--3 {
  width: 320px;
  height: 320px;
  top: 40%;
  right: 20%;
  background: radial-gradient(circle, #67e8f9, transparent 70%);
  animation: mesh-drift-3 16s ease-in-out infinite alternate;
}

.hero__blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.hero__blob--1 {
  width: 280px; height: 280px; top: 10%; left: -5%;
  background: var(--brand-400);
  animation: blob-float-1 12s ease-in-out infinite;
}
.hero__blob--2 {
  width: 220px; height: 220px; bottom: 5%; right: 10%;
  background: #818cf8;
  animation: blob-float-2 14s ease-in-out infinite;
}

.gradient-text {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

.cta-band {
  background-size: 200% 200%;
  animation: cta-gradient 8s ease infinite;
}

.trust-item__icon {
  animation: trust-bounce 3s ease-in-out infinite;
}
.trust-item:nth-child(2) .trust-item__icon { animation-delay: 0.5s; }
.trust-item:nth-child(3) .trust-item__icon { animation-delay: 1s; }
.trust-item:nth-child(4) .trust-item__icon { animation-delay: 1.5s; }

@keyframes mesh-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.08); }
}
@keyframes mesh-drift-2 {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, -40px) scale(1.05); }
}
@keyframes mesh-drift-3 {
  from { transform: translate(0, 0); }
  to { transform: translate(-30px, 50px); }
}
@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, 15px); }
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes cta-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes trust-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
