/* Styles for Medical CRO Landing Page */

/* Base setup and accessible focus states */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* offset for fixed header */
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*:focus-visible {
    outline: 2px solid #ff008a; /* Primary Pink color applied to outlines */
    outline-offset: 3px;
}

/* Animations - Suaves al scroll (300ms - 500ms) */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* FAQ Accordion Icons */
.faq-button[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg); /* Cambiado a 45deg para un icono de + que se vuelve x */
}

/* Blob Animation for Hero Section */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}
