/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Animaciones */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(2, 6, 23, 0.8); /* Slate 950 con opacidad */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Text Gradients */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #9333ea, #4f46e5); /* Purple to Indigo */
}

.dark .text-gradient {
    background-image: linear-gradient(to right, #ffffff, #a5b4fc); /* White to Indigo-200 */
}

/* Slider Transitions */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #8b5cf6; /* Purple 500 */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c3aed; /* Purple 600 */
}

/* Fix para imágenes en modo oscuro */
.dark .img-dim {
    filter: brightness(0.8);
}