/* Simple motion & hover effects */
.tool-card {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.tool-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.9);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.16);
  background: radial-gradient(circle at top left, rgba(219, 234, 254, 0.9), #ffffff);
}

.skeleton {
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15, 23, 42, 0.2), rgba(148, 163, 184, 0.15), rgba(15, 23, 42, 0.2));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -120% 0;
  }
  100% {
    background-position: 120% 0;
  }
}

.btn.primary.processing {
  position: relative;
  pointer-events: none;
}

.btn.primary.processing::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.15);
  border-top-color: rgba(15, 23, 42, 0.9);
  margin-left: 6px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fade-in {
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


