/* ===========================
   SOLUCIONESCEL - STYLES
   Tech Lab & Repair
   =========================== */

:root {
    --tech-blue: #2563eb;
    /* Un azul más sólido para fondo claro */
    --tech-accent: #0ea5e9;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    /* Slate 50 */
    color: #1e293b;
    /* Slate 800 */
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
.tech-font {
    font-family: 'Orbitron', sans-serif;
}

/* Canvas para partículas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Detrás del contenido pero delante del grid estático */
    pointer-events: none;
    /* Permitir clicks a través del canvas */
}

/* Fondo de rejilla técnica (Blueprint style) - Ahora más sutil */
.tech-grid {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -3;
}

/* Formas abstractas limpias */
.clean-shape {
    position: fixed;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    z-index: -2;
    filter: blur(80px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Estilo Cristal Limpio (Clean Glass) */
.glass-clean {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card-tech {
    background: rgba(255, 255, 255, 0.8);
    /* Ligeramente transparente para ver partículas pasar */
    backdrop-filter: blur(5px);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.card-tech::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--tech-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card-tech:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #bfdbfe;
}

.card-tech:hover::after {
    transform: scaleX(1);
}

/* Texto con gradiente Tech */
.text-tech {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botón Tech Limpio */
.btn-tech {
    background: #0f172a;
    /* Slate 900 */
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #2563eb;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-tech:hover::before {
    width: 100%;
}

/* Animación de escáner azul */
.scanner-line {
    width: 100%;
    height: 2px;
    background: #3b82f6;
    box-shadow: 0 0 15px #3b82f6;
    position: absolute;
    top: 0;
    left: 0;
    animation: scan 3s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes scan {

    0%,
    100% {
        top: 5%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    50% {
        top: 95%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}