/* ==========================================================================
   Codealo - Agente Page Styles
   Estilos específicos para la página de Agentes IA
   ========================================================================== */

/* Animación de texto dinámico */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Accordion Styles */
.active svg {
    transform: rotate(180deg);
}

.active .hidden {
    display: block;
}

/* Agent page — jump nav & cards */
.agent-jump-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    border-radius: 9999px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.agent-jump-pill:hover {
    color: #fff;
    border-color: rgba(221, 153, 44, 0.55);
    background: rgba(221, 153, 44, 0.12);
}

.agent-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.agent-feature-list li {
    position: relative;
    padding-left: 1.25rem;
}

.agent-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #dd992c;
}

.agent-case {
    background: rgba(31, 41, 55, 0.35);
    border: 1px solid rgba(55, 65, 81, 0.55);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.agent-result {
    border-top: 1px solid rgba(55, 65, 81, 0.6);
    padding-top: 1rem;
}

/* Mobile menu: drawer from the right */
#mobile-menu-wrapper.mobile-menu-open #mobile-menu {
    transform: translateX(0);
}

#mobile-menu-wrapper.mobile-menu-open #mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}
