
        :root {
            --bg: #0a0a0a;
            --terminal-bg: #0f0f0f;
            --text: #e8e8e8;
            --text-muted: #888;
            --accent: #4aff4a;
            --accent-secondary: #4a88ff; 
            --border: #222;
            --success: #00cc66;
            --warning: #ffcc00;
            --error: #ff4d4d;
            
            /* Colores para Gráficos */
            --box-color-1: rgba(74, 136, 255, 0.4); 
            --box-color-2: rgba(4, 219, 219, 0.4); 

            /* Colores para Scatter Plot */
            --scatter-color-1: #4a88ff; 
            --scatter-color-2: #ff9933; 
            --scatter-color-3: #00cc66; 

            --max-width: 1200px;
            --radius-sm: 2px;
            --radius-md: 4px;
        }

        /* Base */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html, body { height: 100%; scroll-behavior: smooth; }
        body { background-color: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
        .mono { font-family: 'IBM Plex Mono', monospace; }
        .container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
        .logo-img { height: 25px; width: auto; display: block; }

        
        /* Hero Section */
        .hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 6rem 0 4rem; position: relative; }
        .hero-title { font-size: 3.5rem; font-weight: 600; line-height: 1.1; margin-bottom: 1.5rem; font-family: 'Inter', sans-serif; text-align: center; }
        .hero-title .accent { color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
        .hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; text-align: center !important; }

        /* Data Visualization Mockup */
        .data-viz-mockup {
            background-color: var(--terminal-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            max-width: 800px;
            margin: 2rem auto 0;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            position: relative;
            overflow: hidden;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            min-height: 350px;
        }

        .data-viz-mockup::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(74, 255, 74, 0.05), transparent);
            opacity: 0.5;
            animation: scan-line 3s infinite linear;
            pointer-events: none;
        }

        @keyframes scan-line {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .viz-card {
            background-color: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 1rem;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease;
        }

        .viz-card.visible { opacity: 1; transform: translateY(0); }
        .viz-title { font-family: 'IBM Plex Mono', monospace; font-size: 0.9rem; color: var(--accent); margin-bottom: 0.5rem; border-bottom: 1px dashed var(--border); padding-bottom: 0.5rem; }


        /* SCATTER PLOT (Diagrama de Dispersión) */
        .scatter-area {
            height: 200px;
            position: relative;
            padding: 10px 10px 30px 30px; 
            overflow: hidden;
        }

        .scatter-legend {
            position: absolute;
            top: 5px;
            right: 5px;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.7rem;
            z-index: 10;
        }

        .legend-item {
            display: flex;
            align-items: center;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .legend-color.dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 5px;
            opacity: 0.8;
            border: 1px solid rgba(0, 0, 0, 0.2);
        }

        .legend-color.color-1 { background-color: var(--scatter-color-1); border-color: var(--scatter-color-1); }
        .legend-color.color-2 { background-color: var(--scatter-color-2); border-color: var(--scatter-color-2); }
        .legend-color.color-3 { background-color: var(--scatter-color-3); border-color: var(--scatter-color-3); }

        .chart-grid {
            position: absolute;
            top: 10px;
            left: 30px;
            right: 10px;
            bottom: 30px;
        }

        .axis-line { position: absolute; background-color: var(--border); }
        .x-axis { bottom: 0; left: 0; right: 0; height: 1px; }
        .y-axis { top: 0; bottom: 0; left: 0; width: 1px; }

        .y-label-pos {
            position: absolute;
            left: -30px;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.6rem;
            color: var(--text-muted);
            transform: translateY(50%);
        }
        .x-label-pos {
            position: absolute;
            bottom: -20px;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.6rem;
            color: var(--text-muted);
            transform: translateX(-50%);
        }

        .plot-area {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: visible;
        }

        .data-point {
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            opacity: 0;
            animation: fadeInDot 0.8s ease forwards;
            border: 1px solid rgba(0, 0, 0, 0.2);
        }

        .data-point.color-1 { background-color: var(--scatter-color-1); animation-delay: 0.5s; }
        .data-point.color-2 { background-color: var(--scatter-color-2); animation-delay: 1.0s; }
        .data-point.color-3 { background-color: var(--scatter-color-3); animation-delay: 1.5s; }

        @keyframes fadeInDot {
            from { opacity: 0; transform: scale(0.5); }
            to { opacity: 0.8; transform: scale(1); }
        }

        /* Líneas de Regresión */
        .regression-line {
            position: absolute;
            height: 2px;
            opacity: 0.7;
            transform-origin: 0 0;
            transition: opacity 0.5s ease;
            transform: scaleX(0); 
            animation: drawLine 1s ease forwards 2s;
        }

        @keyframes drawLine {
            to { transform: scaleX(1); }
        }

        .regression-line.color-1 { background-color: var(--scatter-color-1); transform: rotate(15deg); width: 60%; top: 55%; left: 5%; }
        .regression-line.color-2 { background-color: var(--scatter-color-2); transform: rotate(10deg); width: 50%; top: 40%; left: 45%; animation-delay: 2.2s; }
        .regression-line.color-3 { background-color: var(--scatter-color-3); transform: rotate(10deg); width: 40%; top: 75%; left: 45%; animation-delay: 2.4s; }


        /* BOXPLOT (Diagrama de Caja y Bigotes) */
        .boxplot-area { height: 200px; position: relative; padding-top: 20px; overflow: hidden; }
        .boxplot-legend { position: absolute; top: 0; right: 0; font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; display: flex; gap: 1rem; }
        .legend-item { display: flex; align-items: center; color: var(--text-muted); }
        .legend-color { width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; border: 1px solid var(--border); }
        .legend-color.color-1 { background-color: var(--box-color-1); }
        .legend-color.color-2 { background-color: var(--box-color-2); }
        .boxplot-grid { position: absolute; top: 20px; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 10px 30px; }
        .boxplot-group { display: flex; justify-content: center; width: 20%; height: 100%; position: relative; opacity: 0; transform: translateY(20px); animation: slideIn 0.8s ease forwards 1.2s; }
        .boxplot-group:nth-child(2) { animation-delay: 1.3s; }
        .boxplot-group:nth-child(3) { animation-delay: 1.4s; }
        .boxplot-group:nth-child(4) { animation-delay: 1.5s; }
        .box-container { width: 100%; height: 100%; display: flex; justify-content: center; position: absolute; }
        .box { position: absolute; width: 45%; border: 1px solid var(--border); border-radius: var(--radius-sm); opacity: 0.9; transition: all 0.5s ease; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }
        .box.color-1 { background-color: var(--box-color-1); }
        .box.color-2 { background-color: var(--box-color-2); }
        .median-line { position: absolute; width: 100%; height: 1px; background-color: var(--text); box-shadow: 0 0 3px var(--text); z-index: 10; }
        .whisker { position: absolute; width: 1px; background-color: var(--text-muted); left: 50%; transform: translateX(-50%); box-shadow: 0 0 3px rgba(255, 255, 255, 0.1); }
        .whisker-cap { position: absolute; width: 50%; height: 1px; background-color: var(--text-muted); left: 25%; z-index: 10; }
        .outlier { position: absolute; width: 3px; height: 3px; border-radius: 50%; background-color: var(--warning); left: 50%; transform: translateX(-50%); box-shadow: 0 0 5px var(--warning); }
        .boxplot-label { position: absolute; bottom: -25px; font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--text-muted); }
        .y-axis { position: absolute; left: 0px; bottom: 30px; top: 20px; width: 1px; background-color: var(--border); }
        .y-tick { position: absolute; left: -5px; width: 5px; height: 1px; background-color: var(--border); }
        .y-label { position: absolute; right: 5px; font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; color: var(--text-muted); transform: translateY(-50%); }

        /* Métrica Clave */
        .key-metric { text-align: center; font-family: 'IBM Plex Mono', monospace; grid-column: 1 / -1; padding-top: 1rem; }
        .metric-value { font-size: 3rem; font-weight: 600; color: var(--warning); display: block; opacity: 0; transform: scale(0.8); animation: pop-in 0.5s ease-out forwards 1.5s; }
        .metric-label { color: var(--text-muted); font-size: 1rem; }
        @keyframes pop-in { to { opacity: 1; transform: scale(1); } }
        
        /* General Sections */
        .services-section { padding: 3rem 0; position: relative; overflow: hidden; }
        .section-title { font-size: 2.5rem; margin-bottom: 3rem; position: relative; display: inline-block; font-family: 'IBM Plex Mono', monospace; }
        .section-title::after { content: ""; position: absolute; bottom: -10px; left: 0; width: 50px; height: 3px; background-color: var(--accent); }
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; }
        .service-card { background-color: var(--terminal-bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem; transition: all 0.3s ease; position: relative; overflow: hidden; }
        .service-card::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(74, 255, 74, 0.1), transparent); transition: left 0.5s ease; }
        .service-card:hover::before { left: 100%; }
        .service-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(74, 255, 74, 0.1); }
       /* Nuevo CSS para la imagen dentro del contenedor de ícono */
.service-icon .ai-agent-image {
    /* Asegura que la imagen ocupe todo el espacio del círculo */
    width: 100%; 
    height: 100%;
    /* Mantiene la proporción de la imagen y la recorta si es necesario para llenar el círculo */
    object-fit: cover; 

}

/* Opcionalmente, si quieres centrar la imagen perfectamente
    en un espacio fijo, puedes quitar el 'font-size' 
    del .service-icon original, ya que ya no es un ícono de fuente. 
*/
.service-icon { 
    width: 60px; 
    height: 60px; 

    /* ELIMINAR O COMENTAR: color: var(--bg); */ 
   
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 1.5rem; 
    /* ELIMINAR O COMENTAR: font-size: 1.8rem; */
    /* Añadir: overflow: hidden; si la imagen tiene un poco de borde */
    overflow: hidden;
}
        .service-title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
        .service-features { list-style: none; margin-top: 1.5rem; }
        .service-feature { padding: 0.5rem 0; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 0.5rem; }
        .service-feature:last-child { border-bottom: none; }
        .service-feature i { color: var(--accent-secondary); font-size: 0.8rem; }
        .process-section { padding: 3rem 0; position: relative; overflow: hidden; }
        .process-steps { display: flex; justify-content: space-between; position: relative; margin-top: 3rem; }
        .process-step { flex: 1; text-align: center; position: relative; padding: 0 1rem; display: flex; flex-direction: column; align-items: center; }
        .step-icon { width: 70px; height: 70px; background: var(--terminal-bg); border: 2px solid var(--accent-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.8rem; color: var(--accent); position: relative; z-index: 2; transition: all 0.3s ease; }
        .process-step:hover .step-icon { background: var(--accent); color: var(--bg); transform: scale(1.1); }
        .step-title { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
        .process-description { color: var(--text-muted); font-size: 0.9rem; }
        .process-arrow { position: absolute; top: 35px; right: -30px; color: var(--accent); font-size: 1.5rem; z-index: 3; }
        .process-step:last-child .process-arrow { display: none; }
        .cta-section { padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
        .cta-terminal { background-color: var(--terminal-bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem; max-width: 600px; margin: 0 auto; position: relative; }
        .cta-title { font-size: 2rem; margin-bottom: 1rem; color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
        .cta-description { color: var(--text-muted); margin-bottom: 2rem; }
        .cta-button { background-color: transparent; color: var(--accent); border: 1px solid var(--accent); padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-family: 'IBM Plex Mono', monospace; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; display: inline-block; text-decoration: none; }
        .cta-button:hover { background-color: var(--accent); color: var(--bg); }
        .grid-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); width: 100%; z-index: -1; }
        .grid-line:nth-child(1) { top: 25%; }
        .grid-line:nth-child(2) { top: 50%; }
        .grid-line:nth-child(3) { top: 75%; }
        .grid-line-vertical { position: absolute; width: 1px; background: linear-gradient(180deg, transparent, var(--border), transparent); height: 100%; z-index: -1; }
        .grid-line-vertical:nth-child(4) { left: 25%; }
        .grid-line-vertical:nth-child(5) { left: 50%; }
        .grid-line-vertical:nth-child(6) { left: 75%; }
        .footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); margin-top: 4rem; }
        .footer-content { display: flex; justify-content: space-between; align-items: center; }
        .footer-text { color: var(--text-muted); font-size: 0.9rem; }
        .footer-heart { color: var(--error); }
        @keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .slide-in { animation: slideIn 0.5s ease forwards; }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title { font-size: 2rem; }
            .data-viz-mockup { grid-template-columns: 1fr; margin: 2rem auto 0; }
            .key-metric { grid-column: auto; }
            .services-grid { grid-template-columns: 1fr; }
            .process-steps { flex-direction: column; gap: 2rem; }
            .process-arrow { display: none; }
            .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
        }

        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
    