@tailwind base;
@tailwind components;
@tailwind utilities;

/* Fuentes */
body {
    font-family: 'Inter', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Fondo de Red Neuronal */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Detrás de todo */
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff3d00;
}

/* Utilidades Glassmorphism */
.glass-dark {
    background: rgba(2, 2, 16, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animación Carrusel Logos */
.logo-track {
    display: flex;
    width: max-content;
}
.animate-scroll {
    animation: scroll 40s linear infinite;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Máscara de gradiente para logos (Solo si el fondo es oscuro/gris) */
.mask-gradient {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Resize Cursor para Slider */
.resize-cursor {
    cursor: col-resize;
}

/* Tablas numéricas para contadores */
.count-up { 
    font-variant-numeric: tabular-nums; 
}

/* Animación Fade In para Tabs */
.animate-fade-in {
    animation: fadeIn 0.4s ease-in-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Fondo de Red Neuronal */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    pointer-events: none; /* <--- ESTA LÍNEA ES LA MAGIA QUE ARREGLA LOS CLICS */
}