.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  background:
    radial-gradient(circle at 12% 18%, rgba(107, 33, 186, 0.08), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(14, 165, 233, 0.06), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  animation: footerFadeIn 0.7s ease-out both;
}

.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  pointer-events: none;
  opacity: 0.5;
}

.site-footer::before {
  top: -5rem;
  left: -2rem;
  width: 16rem;
  height: 16rem;
  background: rgba(107, 33, 186, 0.09);
  animation: footerGlow 16s ease-in-out infinite;
}

.site-footer::after {
  right: -3rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(14, 165, 233, 0.08);
  animation: footerGlow 18s ease-in-out infinite reverse;
}

.footer-shell {
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #94a3b8;
}

.footer-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  color: #475569;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(107, 33, 186, 0.85), rgba(166, 47, 183, 0.5));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}

.footer-link:hover {
  color: #6b21ba;
  transform: translateX(3px);
}

.footer-link:hover::after {
  transform: scaleX(1);
}

.btn-footer,
.btn-footer-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #6b21ba, #a62fb7);
  box-shadow: 0 14px 34px rgba(107, 33, 186, 0.18);
}

.btn-footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(107, 33, 186, 0.24);
}

.btn-footer-outline {
  color: #0f172a;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.btn-footer-outline:hover {
  color: #6b21ba;
  border-color: rgba(107, 33, 186, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.footer-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(18px);
}

@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footerGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, -8px, 0) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer,
  .site-footer::before,
  .site-footer::after,
  .footer-link,
  .footer-link::after,
  .btn-footer,
  .btn-footer-outline {
    animation: none !important;
    transition: none !important;
  }
}
