:root {
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --text-soft: #64748b;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.spinner {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  opacity: 0.45;
  animation: float 10s ease-in-out infinite;
}

.orb-a {
  top: -7rem;
  right: -6rem;
  width: 20rem;
  height: 20rem;
  background: #bfdbfe;
}

.orb-b {
  left: -8rem;
  top: 18rem;
  width: 18rem;
  height: 18rem;
  background: #93c5fd;
  animation-delay: -2.5s;
}

.orb-c {
  right: 10%;
  bottom: -8rem;
  width: 16rem;
  height: 16rem;
  background: #dbeafe;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.55s ease both;
}

.input-modern {
  width: 100%;
  border-radius: 0.95rem;
  border: 1px solid #dbe3f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.78rem 0.95rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.input-modern::placeholder {
  color: #94a3b8;
}

.input-modern:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
  padding: 0.78rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 12px 24px -14px rgba(37, 99, 235, 0.8);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid #dbeafe;
  background: #ffffff;
  padding: 0.78rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e40af;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  background: #eff6ff;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #1e3a8a;
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.filter-chip:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.filter-chip.is-active {
  border-color: #1d4ed8;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 12px 22px -16px rgba(29, 78, 216, 0.9);
}

.modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.98);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.modal[data-open="true"] .modal-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.toast {
  animation: toastIn 0.35s ease both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate3d(24px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .orb {
    opacity: 0.34;
    filter: blur(52px);
  }
}
