/*
  DevPay Landing Page Styles
  Estilos customizados complementares ao Tailwind CSS.
*/

/* Fonte base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Utilitário para manter o footer no fundo em páginas curtas */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Animação suave de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

/* Animação do gradiente no hero */
@keyframes gradientMove {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gradient-animate {
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
}

/* Estilização do modal */
#contact-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#contact-modal.open {
  opacity: 1;
  visibility: visible;
}

#contact-modal > div:last-child > div {
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#contact-modal.open > div:last-child > div {
  transform: scale(1);
  opacity: 1;
}

/* Inputs radio customizados com estilização visual */
input[type="radio"]:checked + span {
  color: #4f46e5;
}

/* Scrollbar suave */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
