/* Custom additions to Tailwind CSS */

/* Smooth fade-in animation for headers */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Card hover glow and scaling effects */
.agent-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.agent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 
                0 0 30px -10px rgba(59, 130, 246, 0.15);
}

/* Specific glows per card on hover to match their theme colors */
.agent-card:nth-child(1):hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 
                0 0 30px -10px rgba(59, 130, 246, 0.2);
}
.agent-card:nth-child(2):hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 
                0 0 30px -10px rgba(79, 70, 229, 0.2);
}
.agent-card:nth-child(3):hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 
                0 0 30px -10px rgba(16, 185, 129, 0.2);
}
.agent-card:nth-child(4):hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 
                0 0 30px -10px rgba(245, 158, 11, 0.2);
}
/* Les transitions d'images (zoom) sont gérées directement via les classes Tailwind transition-transform duration-500 ease-out group-hover:scale-110 dans le HTML */

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

::-webkit-scrollbar-track {
    background: #090D16;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Backdrop de la Modal de Démo */
#demo-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}
