* {
  box-sizing: border-box;
}

html,
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.aurora-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(30, 58, 138, 0.28) 0%, rgba(2, 6, 23, 0.92) 70%),
    radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.20), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.16), transparent 36%);
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

.dark .aurora-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(30, 58, 138, 0.30) 0%, rgba(2, 6, 23, 0.94) 70%),
    radial-gradient(circle at 82% 12%, rgba(6, 182, 212, 0.16), transparent 32%),
    radial-gradient(circle at 18% 85%, rgba(124, 58, 237, 0.14), transparent 36%);
}

.aurora-bg::before,
.aurora-bg::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  filter: blur(50px);
  opacity: 0.55;
  animation: blobDrift 18s ease-in-out infinite alternate;
}

.aurora-bg::before {
  width: 300px;
  height: 300px;
  top: 12%;
  left: 8%;
  background: rgba(6, 182, 212, 0.22);
}

.aurora-bg::after {
  width: 360px;
  height: 360px;
  right: 8%;
  bottom: 8%;
  background: rgba(139, 92, 246, 0.20);
  animation-delay: -5s;
}

.particle-layer {
  background-image:
    radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px),
    radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 28px 28px, 42px 42px;
  background-position: 0 0, 18px 18px;
  opacity: 0.22;
  animation: particleFloat 20s linear infinite;
}

.dark .particle-layer {
  opacity: 0.28;
}

.feature-chip {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  padding: 0.45rem 0.75rem;
  color: rgb(51, 65, 85);
}

.dark .feature-chip {
  border-color: rgba(71, 85, 105, 0.7);
  background: rgba(30, 41, 59, 0.7);
  color: rgb(203, 213, 225);
}

.feature-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.16);
}

.search-halo {
  background:
    radial-gradient(circle, rgba(59, 130, 246, 0.30) 0%, rgba(6, 182, 212, 0.16) 35%, transparent 72%);
  filter: blur(20px);
}

.spinner {
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ambientFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-12px);
  }
}

@keyframes blobDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(10px, -14px, 0) scale(1.08);
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-24px);
  }
}
