/* ==========================================================================
   DevOrmazabal - Custom Styles
   ========================================================================== */

/* Fuentes y Estilos Base */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background-color: #F8F8F8;
    color: #111827;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F8F8F8;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Gradientes y Textos de marca */
.text-gradient {
    background: linear-gradient(135deg, #001B68 0%, #0B73FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Marca de agua sutil */
.watermark-do {
    position: absolute;
    font-weight: 800;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    color: rgba(0, 27, 104, 0.02); /* Muy sutil */
}

/* Animaciones CSS */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-subtle {
    animation: pulseSubtle 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseSubtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.animate-dash {
    stroke-dasharray: 10, 5;
    animation: dash 25s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

/* Efectos de Malla Tecnológica de Fondo */
.bg-tech-grid {
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 27, 104, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Efectos de Hover y Transiciones */
.card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 27, 104, 0.08);
    border-color: rgba(11, 115, 255, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0B73FF;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Clases auxiliares para JS Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
