/* Smart Cerebrum Landing — Custom styles
   (Tailwind CDN handles 99% — this covers edge cases) */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Remove default margin/padding */
body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal overflow on mobile */
body, html {
  overflow-x: hidden;
}

/* Images never exceed container */
img {
  max-width: 100%;
  height: auto;
}

/* Focus ring for accessibility */
input:focus-visible,
button:focus-visible {
  outline: 2px solid #2842D7;
  outline-offset: 2px;
}

/* Button disabled state */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Error border color (maps to Tailwind's error token) */
.border-error {
  border-color: #FF3B30 !important;
}

/* ═══════════════════════════════════════════════════════
   Animación de entrada para los textos
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-effect {
  animation: fadeInUp 1.2s ease-out forwards;
}

/* Clase que se activa con JS cuando el chat entra en pantalla */
.chat-bubble.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
