/* --- VARIABLES --- */
:root {
    --bg-color: #020403;
    --card-bg: #0A0C0B;
    --card-border: #1F2221;
    --text-color: #ffffff;
    --text-muted: #a1a1aa;
    --neon: #00FF88; /* VERDE NEÓN PRINCIPAL */
    --neon-dark: #00cc6a;
    --neon-dim: rgba(0, 255, 136, 0.1);
    --error: #ff3333;
    --font-main: 'Inter', sans-serif;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--font-main); overflow-x: hidden; }

/* UTILIDADES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-full { width: 100%; overflow: hidden; padding: 0; }
.text-neon { color: var(--neon); }
.text-white { color: #fff; }
.text-error { color: var(--error); text-shadow: 0 0 10px rgba(255, 51, 51, 0.4); }
.bg-dark { background-color: rgba(2, 4, 3, 0.85) !important; backdrop-filter: blur(5px); }
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; letter-spacing: -1px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.relative-z { position: relative; z-index: 2; }

/* --- PRELOADER: NEURAL PUZZLE --- */
.puzzle-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    overflow: hidden;
}

/* Contenedor de las letras */
.puzzle-grid {
    display: flex; gap: 5px; margin-bottom: 40px; position: relative;
    perspective: 1000px; /* Para efecto 3D */
}

.p-piece {
    font-size: 3rem; font-weight: 900; color: #333;
    text-transform: uppercase; letter-spacing: 5px;
    opacity: 0; 
    transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.5); /* Posición inicial caótica */
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); /* Efecto magnético suave */
    transition-delay: var(--d);
}

/* Estado Ensamblado (Se activa con JS) */
.puzzle-loader.assembling .p-piece {
    opacity: 1; 
    color: #fff;
    transform: translate(0, 0) rotate(0deg) scale(1);
    filter: blur(0);
    text-shadow: 0 0 0 transparent;
}

/* Estado Autorizado (Se activa con JS) */
.puzzle-loader.authorized .p-piece {
    color: var(--neon);
    text-shadow: 0 0 20px var(--neon), 0 0 40px var(--neon);
    transform: scale(1.1); /* Pequeño pop */
}

/* Sistema de Autorización (Candado) */
.auth-system {
    position: relative; text-align: center; overflow: hidden;
    padding: 10px 30px; border: 1px solid #222; border-radius: 4px;
    background: rgba(255,255,255,0.02);
}

.lock-icon { font-size: 1.5rem; color: #555; margin-bottom: 5px; transition: 0.3s; }
.auth-text { font-family: monospace; font-size: 0.8rem; color: #555; letter-spacing: 2px; transition: 0.3s; }

/* Barra de escaneo roja inicial */
.scan-line {
    position: absolute; top: 0; left: -100%; width: 100%; height: 2px;
    background: var(--error, #ff3333); 
    box-shadow: 0 0 10px var(--error, #ff3333);
    animation: scanError 1s infinite linear;
}

@keyframes scanError { 0% { left: -100%; } 100% { left: 100%; } }

/* Cambios cuando está autorizado */
.puzzle-loader.authorized .lock-icon { color: var(--neon); transform: scale(1.2); }
.puzzle-loader.authorized .lock-icon i::before { content: "\f3c1"; } /* Icono de candado abierto */
.puzzle-loader.authorized .auth-text { color: var(--neon); }
.puzzle-loader.authorized .scan-line { 
    background: var(--neon); box-shadow: 0 0 15px var(--neon);
    animation: scanSuccess 0.5s forwards; 
}
.puzzle-loader.authorized { border-color: var(--neon); }

@keyframes scanSuccess { 0% { width: 0%; left: 0; } 100% { width: 100%; left: 0; } }

/* Salida final */
.loader-finish { 
    opacity: 0; pointer-events: none; 
    transform: scale(1.1); filter: blur(20px);
    transition: all 0.6s ease-in; 
}

/* NAVBAR */
#navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; backdrop-filter: blur(12px); background-color: rgba(2, 4, 3, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding: 15px 0; transition: all 0.3s ease; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--neon); }
.btn-nav { background-color: var(--neon); color: #000; padding: 10px 24px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.9rem; transition: 0.3s; }
.btn-nav:hover { box-shadow: 0 0 15px var(--neon-dim); transform: scale(1.05); }
.theme-toggle { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 35px; height: 35px; border-radius: 50%; margin-left: 15px; cursor: pointer; }
.menu-toggle { display: none; color: white; font-size: 1.5rem; }

/* HERO SECTION (CORREGIDO - ESTRUCTURA FLEXBOX) */
.hero-section { 
    position: relative; 
    width: 100%; 
    height: 100vh; 
    min-height: 800px; 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%); 
}

#canvas-container { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; 
}

.hero-container-split { 
    position: relative; 
    z-index: 10; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    justify-content: space-between; /* Separa los elementos a los extremos */
    align-items: center; /* Centra verticalmente */
    gap: 60px; /* ESPACIO DE SEGURIDAD FÍSICO */
    padding-top: 60px; /* Compensar navbar */
}

/* BLOQUE IZQUIERDO (TÍTULO) */
.hero-block-left { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    flex: 1; /* Ocupa el espacio disponible */
    max-width: 55%; /* LÍMITE: Nunca pasará del 55% del ancho, evitando el choque */
    pointer-events: auto;
    position: relative; 
    z-index: 20; 
}

h1 { 
    font-size: 4.5rem; 
    line-height: 1.1; 
    font-weight: 900; 
    margin-bottom: 40px !important; 
    letter-spacing: -2px; 
    color: #fff; 
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    position: relative;
    z-index: 25;
}

.text-neon-filled { 
    color: var(--neon); 
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5); 
    font-weight: 900;
    display: block; /* Fuerza salto de línea */
    margin-top: 15px;
}

.hero-buttons { display: flex; gap: 20px; pointer-events: auto; }

.btn-primary-large { 
    background-color: var(--neon); color: #000; padding: 22px 50px; 
    font-weight: 800; font-size: 1.2rem; text-decoration: none; 
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    text-transform: uppercase; letter-spacing: 1px; 
    display: flex; align-items: center; gap: 15px; 
    box-shadow: 0 0 25px rgba(0,255,136,0.3); 
}
.btn-primary-large:hover { 
    background-color: #fff; box-shadow: 0 0 50px rgba(255,255,255,0.5); transform: scale(1.02); 
}

/* BLOQUE DERECHO (DESCRIPCIÓN) - AHORA RELATIVO */
.hero-block-right { 
    position: relative; /* CAMBIO CLAVE: Ya no es absolute */
    width: 450px; /* Ancho fijo */
    flex-shrink: 0; /* No permitimos que se encoja */
    
    text-align: left; 
    background: rgba(5, 5, 5, 0.85); 
    backdrop-filter: blur(20px); 
    padding: 40px; 
    border-left: 4px solid var(--neon); 
    border-radius: 12px;
    
    pointer-events: auto; 
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5); 
    z-index: 15; 
    
    /* Ajuste para moverlo un poco a la derecha visualmente */
    margin-right: 20px; 
}

.hero-subheadline { font-size: 1.4rem; color: #fff; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.hero-description-box p { font-size: 1rem; color: #ccc; line-height: 1.6; margin-bottom: 20px; }
.case-study-highlight { 
    background: rgba(0, 255, 136, 0.05); 
    border: 1px solid rgba(0, 255, 136, 0.2); 
    padding: 15px; border-radius: 8px; 
    display: flex; gap: 15px; align-items: start; 
}
.case-study-highlight i { color: var(--neon); font-size: 1.2rem; margin-top: 4px; }
.case-study-highlight p { margin: 0; font-size: 0.95rem; color: #e0e0e0; }

.hero-fade-bottom { 
    position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; 
    background: linear-gradient(to top, #020403 0%, transparent 100%); 
    z-index: 5; pointer-events: none; 
}

/* RESPONSIVE HERO */
@media (max-width: 1200px) {
    .hero-container-split { 
        flex-direction: column; 
        justify-content: center; 
        gap: 40px;
        padding-top: 100px;
    }
    
    .hero-block-left { 
        width: 100%; max-width: 100%; 
        text-align: center; align-items: center; 
        margin-bottom: 20px;
    }
    
    h1 { font-size: 3.5rem; margin-bottom: 30px !important; }
    
    .hero-block-right { 
        width: 90%; max-width: 600px; 
        margin-right: 0; /* Centrado en móvil */
    }
    
    .hero-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .hero-block-right { width: 100%; padding: 25px; }
}

/* VIDEO PLAYER */
.video-section { position: relative; padding: 120px 0 80px 0; background: #020403; z-index: 10; border-top: 1px solid #111; }
.video-wrapper { 
    position: relative; 
    max-width: 900px; 
    margin: 0 auto; 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid var(--card-border); 
    
    /* --- FONDO CON MINIATURA REAL DE YOUTUBE --- */
    background-color: #000;
    background-image: url('https://img.youtube.com/vi/5mRCE9MIgHU/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    /* ------------------------------------------------ */

    aspect-ratio: 16/9; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    cursor: pointer; 
}
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 2; transition: opacity 0.5s ease; }
.play-btn-custom { width: 80px; height: 80px; background: var(--neon); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #000; font-size: 2rem; box-shadow: 0 0 30px var(--neon-dim); transition: transform 0.3s, box-shadow 0.3s; }
.video-wrapper:hover .play-btn-custom { transform: scale(1.1); box-shadow: 0 0 50px rgba(0,255,136,0.4); }
.click-to-watch { margin-top: 20px; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.video-frame-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-frame-container iframe { width: 100%; height: 100%; }
.video-active .video-overlay { opacity: 0; pointer-events: none; }

/* --- CALCULADORA ROI (CORREGIDA Y REDISEÑADA) --- */
.roi-calculator-box {
    background: linear-gradient(145deg, #0a0b0a, #050505);
    border: 1px solid #222;
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    position: relative;
    overflow: hidden;
}
/* Borde Glitch decorativo */
.glitch-border {
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    animation: slideBorder 3s infinite linear;
}
@keyframes slideBorder { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.roi-inputs { display: flex; flex-direction: column; gap: 40px; justify-content: center; }
.input-group label { color: #aaa; font-weight: 600; letter-spacing: 0.5px; }
.val-display { font-family: monospace; font-weight: 700; font-size: 1.2rem; }

/* SLIDER PERSONALIZADO (NO MÁS AZUL) */
.neon-slider {
    -webkit-appearance: none; width: 100%; height: 6px;
    background: #222; border-radius: 5px; outline: none; transition: 0.2s;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.neon-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--neon);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    transition: 0.2s; border: 2px solid #000;
}
.neon-slider::-webkit-slider-thumb:hover { transform: scale(1.2); box-shadow: 0 0 25px rgba(0, 255, 136, 0.8); }

.roi-results {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1f1f1f;
    padding: 40px;
    border-radius: 20px;
    display: flex; flex-direction: column; justify-content: center; gap: 25px;
    backdrop-filter: blur(5px);
}
.result-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 15px; }
.result-row span:first-child { color: #888; }
.result-row span:last-child { font-size: 1.5rem; font-weight: 700; }
.highlight-loss span:last-child { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; }

/* Botón Neón Brillante */
.glow-on-hover {
    background-color: var(--neon) !important;
    color: #000 !important;
    padding: 18px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    text-align: center;
    text-decoration: none;
    display: block; transition: 0.3s;
}
.glow-on-hover:hover {
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.7);
    transform: scale(1.02);
    background-color: #fff !important;
}

/* --- MOTION CANVAS --- */
.motion-canvas-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; background: #0f1011; border: 1px solid var(--card-border); border-radius: 20px; overflow: hidden; min-height: 600px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.motion-menu { padding: 40px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--card-border); background: #080808; }
.motion-item { display: flex; gap: 20px; padding: 25px; border-radius: 12px; cursor: pointer; transition: 0.3s all ease; border: 1px solid transparent; opacity: 0.6; }
.motion-item:hover { opacity: 1; background: rgba(255,255,255,0.02); }
.motion-item.active { opacity: 1; background: rgba(0, 255, 136, 0.03); border-color: rgba(0, 255, 136, 0.3); box-shadow: 0 0 15px rgba(0,255,136,0.05); transform: translateX(10px); }
.motion-icon { font-size: 1.5rem; color: #555; transition: 0.3s; }
.motion-item.active .motion-icon { color: var(--neon); text-shadow: 0 0 10px var(--neon); }
.motion-text h3 { font-size: 1.1rem; color: #fff; margin-bottom: 5px; font-weight: 700; }
.motion-text p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; margin: 0; }

/* HOLOGRAPHIC MOTION DISPLAY */
.motion-display { position: relative; background: radial-gradient(circle at 40% 30%, rgba(0,255,136,0.05) 0%, #050605 50%); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.motion-display.holo-frame { perspective: 1200px; }
.motion-display.holo-frame::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: repeating-linear-gradient(0deg, rgba(0,255,136,0.03) 0px, rgba(0,255,136,0.03) 1px, transparent 1px, transparent 2px); pointer-events: none; z-index: 1; animation: holoGridMove 8s linear infinite; }
.motion-display .holo-grid { position: absolute; width: 100%; height: 100%; background-image: linear-gradient(rgba(0,255,136,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,136,0.08) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; opacity: 0.3; animation: holoGridMove 20s linear infinite; }
.motion-display .holo-flare { position: absolute; width: 300px; height: 300px; top: -100px; right: -100px; background: radial-gradient(circle, rgba(0,255,136,0.2) 0%, transparent 70%); border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(40px); animation: flarePulse 4s ease-in-out infinite; }
@keyframes holoGridMove { 0% { transform: translate(0, 0); } 100% { transform: translate(40px, 40px); } }
@keyframes flarePulse { 0%, 100% { opacity: 0.3; transform: scale(0.9); } 50% { opacity: 0.6; transform: scale(1.1); } }

.scene { position: absolute; width: 100%; height: 100%; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.5s ease; z-index: 5; }
.scene.active { display: flex; opacity: 1; }

/* SCENE 1: NEURAL CHAT */
.neural-chat-card { width: 420px; background: rgba(5,6,5,0.8); backdrop-filter: blur(20px); border: 1px solid rgba(0,255,136,0.3); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; height: 520px; box-shadow: 0 0 40px rgba(0,255,136,0.15), inset 0 0 40px rgba(0,255,136,0.05); }
.chat-header-glass { display: flex; align-items: center; gap: 15px; padding: 25px; border-bottom: 1px solid rgba(0,255,136,0.15); background: linear-gradient(135deg, rgba(0,255,136,0.08) 0%, rgba(0,255,136,0.02) 100%); }
.ai-brain-icon { position: relative; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.ai-brain-icon i { font-size: 1.8rem; color: var(--neon); position: relative; z-index: 2; }
.brain-pulse { position: absolute; width: 100%; height: 100%; border: 2px solid var(--neon); border-radius: 50%; animation: hologramPop 2.5s cubic-bezier(0.25,0.46,0.45,0.94) infinite; }
.glass-header-text { display: flex; flex-direction: column; }
.header-title { font-size: 1rem; font-weight: 800; color: var(--neon); letter-spacing: 2px; }
.header-status { font-size: 0.75rem; color: #00cc66; }
.neural-stream { flex-grow: 1; padding: 25px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: rgba(0,0,0,0.4); }
.chat-msg { padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; line-height: 1.4; animation: hologramPop 0.4s ease-out; word-wrap: break-word; }
.msg-bot { align-self: flex-start; background: rgba(0,255,136,0.1); border-left: 2px solid var(--neon); color: #00ff88; max-width: 85%; }
.msg-user { align-self: flex-end; background: rgba(100,100,100,0.2); color: #aaa; max-width: 85%; border-radius: 8px; }
.input-terminal { padding: 18px 25px; border-top: 1px solid rgba(0,255,136,0.15); display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.6); font-family: 'Courier New', monospace; }
.prompt { color: var(--neon); font-weight: bold; font-size: 0.9rem; }
.input-terminal input { background: transparent; border: none; color: #888; font-size: 0.9rem; flex-grow: 1; font-family: 'Courier New', monospace; outline: none; }
.cursor-blink { width: 2px; height: 16px; background: var(--neon); animation: cursorBlink 1s infinite; }
@keyframes cursorBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes hologramPop { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* SCENE 2: ENERGY NETWORK */
.energy-network { position: relative; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; }
.core-node { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; z-index: 10; }
.node-glow { position: absolute; width: 100%; height: 100%; border: 2px solid var(--neon); border-radius: 50%; animation: nodeGlowPulse 2s ease-in-out infinite; }
.core-node i { font-size: 2.5rem; color: var(--neon); position: relative; z-index: 2; }
.connector { position: absolute; background: rgba(0,255,136,0.3); }
.connector-top { width: 2px; height: 100px; top: -100px; left: 50%; transform: translateX(-50%); }
.connector-right { height: 2px; width: 100px; right: -100px; top: 50%; transform: translateY(-50%); }
.connector-bottom { width: 2px; height: 100px; bottom: -100px; left: 50%; transform: translateX(-50%); }
.connector-left { height: 2px; width: 100px; left: -100px; top: 50%; transform: translateY(-50%); }
.energy-beam { position: absolute; background: linear-gradient(90deg, transparent, var(--neon), transparent); height: 100%; width: 100%; }
.connector-top .energy-beam { animation: beamV 1.5s ease-in-out infinite; }
.connector-right .energy-beam { animation: beamH 1.5s ease-in-out infinite; }
.connector-bottom .energy-beam { animation: beamV 1.5s ease-in-out infinite reverse; }
.connector-left .energy-beam { animation: beamH 1.5s ease-in-out infinite reverse; }
@keyframes beamV { 0% { transform: translateY(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@keyframes beamH { 0% { transform: translateX(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.node-terminal { position: absolute; width: 60px; height: 40px; background: rgba(0,255,136,0.08); border: 1px solid var(--neon); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--neon); font-weight: bold; }
.node-terminal.top { top: -80px; left: 50%; transform: translateX(-50%); }
.node-terminal.right { right: -90px; top: 50%; transform: translateY(-50%); }
.node-terminal.bottom { bottom: -80px; left: 50%; transform: translateX(-50%); }
.node-terminal.left { left: -90px; top: 50%; transform: translateY(-50%); }
@keyframes nodeGlowPulse { 0%, 100% { box-shadow: 0 0 15px rgba(0,255,136,0.5), inset 0 0 15px rgba(0,255,136,0.1); } 50% { box-shadow: 0 0 30px rgba(0,255,136,0.8), inset 0 0 20px rgba(0,255,136,0.2); } }

/* SCENE 3: VORTEX FUNNEL */
.vortex-container { position: relative; width: 300px; height: 300px; display: flex; align-items: center; justify-content: center; }
.vortex-ring { position: absolute; border: 2px solid rgba(0,255,136,0.4); border-radius: 50%; animation: vortexSpin 8s linear infinite; }
.ring-1 { width: 250px; height: 250px; animation-duration: 8s; }
.ring-2 { width: 170px; height: 170px; animation-duration: 6s; animation-direction: reverse; }
.ring-3 { width: 100px; height: 100px; animation-duration: 4s; border-color: var(--neon); }
@keyframes vortexSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.vortex-particles { position: absolute; width: 100%; height: 100%; }
.holo-particle { position: absolute; width: 6px; height: 6px; background: var(--neon); border-radius: 50%; box-shadow: 0 0 8px var(--neon); }
.holo-particle.p-1 { top: 30px; left: 30px; animation: suckIn 3s ease-in-out infinite; animation-delay: 0s; }
.holo-particle.p-2 { top: 20px; right: 40px; animation: suckIn 3s ease-in-out infinite; animation-delay: 0.5s; }
.holo-particle.p-3 { bottom: 50px; right: 30px; animation: suckIn 3s ease-in-out infinite; animation-delay: 1s; }
.holo-particle.p-4 { bottom: 30px; left: 50px; animation: suckIn 3s ease-in-out infinite; animation-delay: 1.5s; }
.holo-particle.p-5 { top: 50%; left: 10%; animation: suckIn 3s ease-in-out infinite; animation-delay: 0.3s; }
@keyframes suckIn { 0% { transform: translate(0, 0); opacity: 1; } 50% { opacity: 1; } 100% { transform: translate(150px, 150px); opacity: 0; } }
.vortex-center { position: absolute; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.vortex-center i { font-size: 1.8rem; color: var(--neon); animation: moneyPop 0.6s cubic-bezier(0.25,0.46,0.45,0.94) 2s infinite; }
@keyframes moneyPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* SCENE 4: HOLOGRAPHIC GRAPH */
.holo-graph-card { width: 400px; background: rgba(5,6,5,0.8); backdrop-filter: blur(20px); border: 1px solid rgba(0,255,136,0.3); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 0 40px rgba(0,255,136,0.15), inset 0 0 40px rgba(0,255,136,0.05); }
.graph-title { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; font-weight: 700; color: var(--neon); text-transform: uppercase; letter-spacing: 1px; }
.status-light { width: 8px; height: 8px; background: var(--neon); border-radius: 50%; box-shadow: 0 0 10px var(--neon); animation: statusFlash 2s ease-in-out infinite; }
@keyframes statusFlash { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.holo-chart-area { width: 100%; height: 160px; background: rgba(0,255,136,0.05); border-radius: 12px; padding: 10px; border: 1px solid rgba(0,255,136,0.2); overflow: hidden; }
.holo-chart { width: 100%; height: 100%; }
.chart-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: flashLine 3s ease-out forwards; filter: drop-shadow(0 0 3px rgba(0,255,136,0.8)); }
.chart-area { animation: fadeInArea 3.5s ease-out forwards; opacity: 0; }
@keyframes flashLine { to { stroke-dashoffset: 0; } }
@keyframes fadeInArea { 0% { opacity: 0; } 80% { opacity: 0; } 100% { opacity: 1; } }
.graph-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.metric-item { background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.2); border-radius: 10px; padding: 15px; display: flex; flex-direction: column; gap: 5px; }
.metric-label { font-size: 0.75rem; color: #00cc66; text-transform: uppercase; letter-spacing: 0.5px; }
.metric-value { font-size: 1.1rem; font-weight: 700; color: var(--neon); }

/* --- MEJORAS VISUALES SOLUCIONES --- */

/* ESCENA 1: Imagen en Chat */
.chat-img-attachment {
    width: 100%; height: 120px; 
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80') center/cover;
    border: 1px solid rgba(0, 255, 136, 0.3); border-radius: 8px;
    margin-top: 5px; position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.chat-img-attachment::after {
    content: 'ANÁLISIS COMPLETADO';
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: rgba(0,0,0,0.7); color: var(--neon);
    font-size: 0.65rem; padding: 4px; text-align: center;
    font-family: monospace;
}

/* ESCENA 2: NÚCLEO ORBITAL (AUTOMATIZACIÓN) */
.orbital-system {
    position: relative; width: 300px; height: 300px;
    display: flex; align-items: center; justify-content: center;
}
.central-core {
    width: 80px; height: 80px; background: #000;
    border: 2px solid var(--neon); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--neon); z-index: 10;
    box-shadow: 0 0 30px var(--neon-dim);
}
.core-glow {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 2px solid transparent; border-top-color: #fff;
    animation: spin 2s infinite linear;
}
.orbit-ring {
    position: absolute; width: 220px; height: 220px;
    border: 1px dashed rgba(255,255,255,0.1); border-radius: 50%;
    animation: spin 10s infinite linear;
}
.satellite {
    position: absolute; width: 40px; height: 40px;
    background: #111; border: 1px solid #444; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 0 15px rgba(0,0,0,0.8);
    animation: counterSpin 10s infinite linear;
}
.sat-1 { top: -20px; left: 50%; transform: translateX(-50%); }
.sat-2 { bottom: -20px; left: 50%; transform: translateX(-50%); }
.sat-3 { left: -20px; top: 50%; transform: translateY(-50%); }
.sat-4 { right: -20px; top: 50%; transform: translateY(-50%); }

.data-beams .beam {
    position: absolute; top: 50%; left: 50%; width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon));
    transform-origin: left center; opacity: 0;
    animation: beamShoot 2s infinite;
}
.b1 { transform: rotate(0deg); } 
.b2 { transform: rotate(90deg); animation-delay: 0.5s; }
.b3 { transform: rotate(180deg); animation-delay: 1s; }
.b4 { transform: rotate(270deg); animation-delay: 1.5s; }

@keyframes beamShoot { 0% { width: 0; opacity: 1; } 100% { width: 110px; opacity: 0; } }
@keyframes counterSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ESCENA 3: EMBUDO RAYOS X (ADQUISICIÓN) */
.xray-funnel {
    display: flex; flex-direction: column; align-items: center;
    width: 200px; height: 320px; position: relative;
}
.funnel-layer {
    width: 100%; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.layer-top { height: 100px; width: 100%; clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.layer-mid { height: 80px; width: 60%; clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.layer-bot { height: 60px; width: 35%; border-color: var(--neon); background: rgba(0,255,136,0.1); border-radius: 0 0 10px 10px; }

.funnel-filter { height: 2px; width: 80%; background: var(--neon); box-shadow: 0 0 10px var(--neon); margin: 5px 0; opacity: 0.5; }

.layer-label { font-size: 0.6rem; color: #aaa; margin-bottom: 5px; z-index: 2; letter-spacing: 1px; }

/* Partículas de Lluvia */
.rain-particles::before {
    content: ''; position: absolute; width: 2px; height: 10px; background: #fff;
    left: 20%; top: -10px; animation: rainDrop 1s infinite linear;
}
.rain-particles::after {
    content: ''; position: absolute; width: 2px; height: 10px; background: #fff;
    right: 20%; top: -20px; animation: rainDrop 1.2s infinite linear;
}
.mid-particles::before {
    content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--neon);
    left: 50%; top: -10px; animation: rainDrop 1.5s infinite linear;
}
.money-flow i {
    font-size: 1.5rem; color: var(--neon); 
    animation: moneyGrow 0.5s infinite alternate;
}

@keyframes rainDrop { 0% { top: -20px; opacity: 1; } 100% { top: 120%; opacity: 0; } }
@keyframes moneyGrow { 0% { transform: scale(1); } 100% { transform: scale(1.2); text-shadow: 0 0 15px var(--neon); } }

/* Estilos para ESCENA 1 Mejorada */
.header-data { display: flex; flex-direction: column; }
.agent-id { font-size: 0.75rem; color: #00cc66; letter-spacing: 1px; }
.processing-status { font-size: 0.75rem; color: #aaa; }
.chat-hologram-area { flex-grow: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: rgba(0,0,0,0.4); }
.input-scanline { padding: 15px 20px; border-top: 1px solid rgba(0,255,136,0.15); display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); }
.typing-indicator { display: flex; gap: 4px; }
.typing-indicator span { width: 6px; height: 6px; background: var(--neon); border-radius: 50%; animation: typingBounce 1.4s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-10px); } }

/* Estilos para ESCENA 4 Mejorada */
.graph-grid-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(0,255,136,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,136,0.05) 1px, transparent 1px); background-size: 20px 20px; z-index: 0; }
.holo-chart { position: relative; z-index: 1; width: 100%; height: 100%; }
.predict-line { stroke-dasharray: 10, 5; }
.main-line { stroke-linecap: round; animation: drawLine 3s ease-out forwards; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.area-fill { animation: fillArea 3.5s ease-out forwards; opacity: 0; }
.current-point { filter: drop-shadow(0 0 5px rgba(0,255,136,0.8)); }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fillArea { 0% { opacity: 0; } 75% { opacity: 0; } 100% { opacity: 1; } }
.graph-overlay-data { position: absolute; top: 15px; right: 15px; z-index: 2; }
.data-tag { font-size: 0.75rem; color: #aaa; background: rgba(0,0,0,0.5); padding: 8px 12px; border-radius: 20px; border: 1px solid rgba(0,255,136,0.2); letter-spacing: 0.5px; }
.system-status { position: absolute; bottom: 20px; left: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 0 20px; }
.status-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: #aaa; }

/* --- CAPACIDADES INFINITAS (CUADRADO COMPLETO) --- */
.infinite-capabilities-box { position: relative; background: #080808; border: 1px solid var(--card-border); border-radius: 24px; padding: 80px 40px; overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.infinite-bg-grid { position: absolute; top: 0; left: 0; width: 200%; height: 200%; background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 40px 40px; animation: gridMove 20s linear infinite; z-index: 1; opacity: 0.5; }
@keyframes gridMove { 0% { transform: translate(0, 0); } 100% { transform: translate(-40px, -40px); } }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 50px; }
.dash-card { background: rgba(15, 16, 17, 0.9); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px; transition: 0.3s; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 15px; backdrop-filter: blur(10px); }
.dash-card:hover { border-color: var(--neon); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.dash-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.05); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--neon); border: 1px solid rgba(255,255,255,0.1); }
.dash-content h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.dash-content p { font-size: 0.9rem; color: #aaa; line-height: 1.5; }
.center-btn-wrapper { text-align: center; margin-top: 30px; }
.btn-primary-outline { border: 1px solid var(--neon); color: var(--neon); padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block; background: rgba(0,0,0,0.5); }
.btn-primary-outline:hover { background: var(--neon); color: #000; }

/* --- FLUJOS (WORKFLOWS) --- */
.workflow-wrapper { background: #0f1011; border: 1px solid var(--card-border); border-radius: 20px; overflow: hidden; min-height: 500px; margin-top: 20px; }
.tabs-header { display: flex; border-bottom: 1px solid var(--card-border); background: rgba(0,0,0,0.3); overflow-x: auto; }
.tab-btn { flex: 1; background: transparent; border: none; padding: 20px; color: var(--text-muted); font-family: var(--font-main); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: 0.3s; border-bottom: 2px solid transparent; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.02); }
.tab-btn.active { color: var(--neon); border-bottom-color: var(--neon); background: linear-gradient(to top, rgba(0, 255, 136, 0.05), transparent); }
.tab-content { padding: 60px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; background-image: radial-gradient(#1a1a1a 1px, transparent 1px); background-size: 20px 20px; }
.flow-diagram { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.node { background: #111; border: 1px solid #333; padding: 20px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 140px; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.node:hover { border-color: var(--neon); transform: translateY(-5px); }
.node i { font-size: 1.8rem; color: var(--text-muted); transition: 0.3s; }
.node span { font-size: 0.85rem; font-weight: 600; color: #fff; }
.node.trigger i { color: #FFD700; }
.node.process i { color: #00BFFF; }
.node.action i { color: var(--neon); }
.arrow { color: #333; font-size: 1.2rem; }
.flow-description { text-align: center; max-width: 600px; background: rgba(0,0,0,0.8); padding: 15px 30px; border-radius: 50px; border: 1px solid var(--card-border); }

/* --- DEMOS (MARQUEE) --- */
.marquee-wrapper { position: relative; width: 100%; overflow: hidden; 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); margin-bottom: 20px; }
.marquee-track { display: flex; gap: 20px; width: max-content; }
.marquee-item { background: linear-gradient(90deg, rgba(0, 255, 136, 0.08) 0%, rgba(20,20,20,1) 30%); border: 1px solid #222; border-left: 2px solid var(--neon); padding: 15px 30px; border-radius: 50px; color: #fff; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; white-space: nowrap; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.marquee-item:hover { border-color: var(--neon); transform: translateY(-2px); box-shadow: 0 0 15px rgba(0, 255, 136, 0.2); }
.marquee-item i { color: var(--neon); font-size: 1.1rem; }
.right-scroll { animation: scrollRight 40s linear infinite; }
.left-scroll { animation: scrollLeft 40s linear infinite; }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- TESTIMONIOS (VERTICAL SCROLL) --- */
.vertical-marquee-container { height: 600px; overflow: hidden; position: relative; border: 1px solid var(--card-border); background: #050505; border-radius: 20px; }
.vertical-marquee-container::before, .vertical-marquee-container::after { content: ""; position: absolute; left: 0; width: 100%; height: 100px; z-index: 2; pointer-events: none; }
.vertical-marquee-container::before { top: 0; background: linear-gradient(to bottom, #050505, transparent); }
.vertical-marquee-container::after { bottom: 0; background: linear-gradient(to top, #050505, transparent); }
.vertical-track { display: flex; flex-direction: column; gap: 20px; padding: 20px; animation: scrollVertical 40s linear infinite; }
.vertical-track:hover { animation-play-state: paused; }
@keyframes scrollVertical { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.testimonial-card-v { background: var(--card-bg); border: 1px solid var(--card-border); padding: 30px; border-radius: 12px; transition: 0.3s; }
.testimonial-card-v:hover { border-color: var(--neon); background: #0f1110; }
.testimonial-card-v p { font-size: 0.95rem; color: #ddd; line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.testimonial-card-v strong { color: var(--neon); }
.author-block h4 { color: #fff; font-size: 0.9rem; margin-bottom: 2px; }
.author-block span { color: var(--text-muted); font-size: 0.8rem; }

/* --- FAQ --- */
.faq-wrapper { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; }
.faq-item:hover { border-color: #333; background: #0f1110; }
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.05rem; color: #fff; }
.faq-icon { color: var(--text-muted); transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; background: rgba(0,0,0,0.2); }
.faq-answer p { padding: 0 25px 25px 25px; margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-item.active { border-color: var(--neon); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--neon); }
.faq-item.active .faq-answer { max-height: 200px; }

/* --- FOOTER --- */
.footer-section { margin-top: 100px; background: #050505; border-top: 1px solid var(--card-border); padding-top: 80px; position: relative; }
/* --- CTA: MIRROR NEON EFFECT --- */
.cta-mirror-box {
    position: relative;
    background: radial-gradient(circle at center, #00331a 0%, #000 100%);
    border: 1px solid var(--neon);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    margin-bottom: 80px;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.15), inset 0 0 100px rgba(0, 255, 136, 0.05);
    transition: transform 0.3s;
}

.cta-mirror-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 80px rgba(0, 255, 136, 0.3);
}

.mirror-content { position: relative; z-index: 2; }

.cta-mirror-box h2 {
    font-size: 3.5rem; font-weight: 900; color: var(--neon);
    margin-bottom: 20px; line-height: 1.1;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.cta-mirror-box p {
    font-size: 1.2rem; color: #ddd; max-width: 600px; margin: 0 auto 40px auto;
}

/* Botón Espejo */
.btn-mirror {
    position: relative;
    display: inline-block;
    padding: 20px 50px;
    background: var(--neon);
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 30px var(--neon);
    transition: 0.3s;
}

.btn-mirror:hover {
    background: #fff;
    box-shadow: 0 0 60px #fff;
    transform: scale(1.05);
}

/* Brillo que pasa por el botón */
.btn-reflection {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: shineBtn 3s infinite;
}

@keyframes shineBtn { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

/* Brillo ambiental de fondo */
.mirror-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: rotateGlow 10s linear infinite;
    pointer-events: none; z-index: 0;
}

.mirror-shine {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    pointer-events: none; z-index: 1;
}

@keyframes rotateGlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- FOOTER CONTENT --- */
.footer-content-wrapper {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
    padding-bottom: 60px; border-bottom: 1px solid #222;
}

.footer-brand-col p { color: #888; font-size: 0.95rem; margin-top: 20px; max-width: 300px; line-height: 1.6; }

.footer-links-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-links-col ul { list-style: none; padding: 0; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul li a { 
    color: #666; text-decoration: none; transition: 0.3s; font-size: 0.95rem; 
}
.footer-links-col ul li a:hover { color: var(--neon); padding-left: 5px; }

/* --- REDES SOCIALES VIP --- */
.social-vip-wrapper {
    display: flex; gap: 15px; margin-top: 30px;
}

.social-btn {
    width: 50px; height: 50px;
    background: #111; border: 1px solid #333; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-btn:hover { transform: translateY(-5px) scale(1.1); }

.social-btn.yt:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 10px 20px rgba(255,0,0,0.3); }
.social-btn.in:hover { background: #0077B5; border-color: #0077B5; box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3); }
.social-btn.ig:hover { 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    border-color: transparent; 
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3); 
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-content-wrapper { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand-col p { margin: 20px auto; }
    .social-vip-wrapper { justify-content: center; }
    .cta-mirror-box h2 { font-size: 2.5rem; }
}
.cta-box p { font-size: 1.2rem; font-weight: 500; max-width: 600px; margin: 0 auto 40px auto; color: #004d2a; }
.btn-cta-large { background: #000; color: var(--neon); padding: 20px 50px; font-size: 1.2rem; font-weight: 700; border-radius: 50px; text-decoration: none; transition: 0.3s; display: inline-block; }
.btn-cta-large:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,0.2); color: #fff; }
.footer-links-wrapper { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid #222; }
.footer-col h4 { color: #fff; margin-bottom: 25px; font-weight: 600; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--neon); }
.brand-col p { color: var(--text-muted); line-height: 1.6; margin-top: 20px; font-size: 0.95rem; }
.footer-bottom { padding: 40px 0; display: flex; justify-content: space-between; align-items: center; color: #555; font-size: 0.9rem; }
.social-links { display: flex; gap: 20px; }
.social-links a { color: #555; font-size: 1.2rem; transition: 0.3s; }
.social-links a:hover { color: var(--neon); }

/* Animaciones Generales */
@keyframes neonPulse { 0% { box-shadow: 0 0 5px var(--neon-dim); color: #fff; } 100% { box-shadow: 0 0 15px var(--neon); color: var(--neon); } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.glitch-text { position: relative; }
.glitch-text::before, .glitch-text::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; }
.glitch-text::before { left: 2px; text-shadow: -1px 0 #ff00c1; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim-1 5s infinite linear alternate-reverse; }
.glitch-text::after { left: -2px; text-shadow: -1px 0 #00fff9; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim-2 5s infinite linear alternate-reverse; }
@keyframes glitch-anim-1 { 0% { clip: rect(30px, 9999px, 10px, 0); } 100% { clip: rect(90px, 9999px, 60px, 0); } }
@keyframes glitch-anim-2 { 0% { clip: rect(10px, 9999px, 80px, 0); } 100% { clip: rect(30px, 9999px, 90px, 0); } }

/* RESPONSIVE */
@media (max-width: 992px) {
    .motion-canvas-container { grid-template-columns: 1fr; }
    .motion-menu { border-right: none; border-bottom: 1px solid var(--card-border); }
    h1 { font-size: 3.5rem; }
    .hero-container-split { flex-direction: column; }
    .hero-block-left { width: 100%; text-align: center; margin-top: 100px; padding: 0; }
    
    /* 1. Contenedor Principal de la Derecha (Caja Negra) */
    .hero-block-right {
        width: 90% !important;
        max-width: 400px;
        margin: 20px auto 0 auto !important;
        padding: 25px 20px !important;
        border-radius: 16px;
        overflow: hidden;
        box-sizing: border-box;
        position: relative;
        bottom: auto;
    }

    /* 2. Título de la caja (Implementamos...) */
    .hero-subheadline {
        font-size: 1.1rem !important;
        line-height: 1.4;
        text-align: left;
        margin-bottom: 15px;
    }

    /* 3. Párrafo descriptivo */
    .hero-description-box p {
        font-size: 0.9rem !important;
        text-align: left;
        margin-bottom: 20px;
    }

    /* 4. LA CAJA QUE SE CORTABA (Caso de Estudio) */
    .case-study-highlight {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box;
        background: rgba(0, 255, 136, 0.08);
        border: 1px solid rgba(0, 255, 136, 0.3);
        border-radius: 10px;
    }

    .case-study-highlight i {
        font-size: 1.5rem;
        color: var(--neon);
        margin-bottom: 5px;
    }

    .case-study-highlight p {
        font-size: 0.85rem !important;
        line-height: 1.5;
        margin: 0;
        text-align: left;
        word-wrap: break-word;
    }
    
    /* 5. Ajuste extra para pantallas MUY pequeñas (iPhone SE / Galaxy Fold) */
    @media (max-width: 380px) {
        .hero-block-right {
            width: 95% !important;
            padding: 20px 15px !important;
        }
        .hero-subheadline { font-size: 1rem !important; }
    }
}
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .roi-calculator-box { grid-template-columns: 1fr; }
    .nav-links, .nav-actions { display: none; }
    .menu-toggle { display: block; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-links-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .btn-primary-large { width: 100%; justify-content: center; }
}

/* --- BIONIC DASHBOARD (SECCIÓN CAPACIDADES) --- */

/* Fondo Tecnológico Sutil */
.tech-grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

.bionic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative; z-index: 2;
}

/* Tarjetas Biónicas */
.bio-card {
    background: rgba(10, 12, 11, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    display: flex; flex-direction: column; gap: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bio-card:hover {
    border-color: var(--neon);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.15);
    transform: translateY(-5px);
    background: rgba(10, 12, 11, 0.9);
}

/* Layout de Grid (Wide cards ocupan 2 espacios) */
.bio-card.wide { grid-column: span 2; }

/* Headers */
.bio-header { display: flex; align-items: center; gap: 15px; margin-bottom: 5px; }
.bio-header i { font-size: 1.4rem; filter: drop-shadow(0 0 5px var(--neon-dim)); }
.bio-header h3 { font-size: 1.2rem; margin: 0; font-weight: 700; color: #fff; letter-spacing: 0.5px; }
.bio-card p { font-size: 0.9rem; color: #a1a1aa; line-height: 1.6; margin: 0; flex-grow: 1; }

/* --- ANIMACIONES DE MÉTRICAS (MOVIMIENTO PERPETUO) --- */

/* 1. Barra de Ventas Viva */
.live-metric-container {
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05);
    padding: 15px; border-radius: 10px; margin-top: auto;
}
.metric-info { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.85rem; color: #fff; font-weight: 600; }
.live-bar-wrapper {
    width: 100%; height: 6px; background: #222; border-radius: 3px; position: relative; overflow: hidden; margin-bottom: 10px;
}
.live-bar {
    width: 95%; height: 100%; background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
    border-radius: 3px;
    animation: breatheBar 3s infinite ease-in-out; /* Movimiento perpetuo */
}
@keyframes breatheBar { 0%, 100% { width: 92%; opacity: 0.8; } 50% { width: 95%; opacity: 1; } }

/* Mini Gráfica de Barras */
.mini-graph { display: flex; align-items: flex-end; gap: 4px; height: 30px; justify-content: flex-end; opacity: 0.5; }
.bar-col { width: 4px; background: var(--neon); border-radius: 2px; }
.h30 { height: 30%; } .h50 { height: 50%; } .h40 { height: 40%; } 
.h80 { height: 80%; } .h60 { height: 60%; } 
.h90 { height: 90%; animation: equalizer 1s infinite alternate; }
@keyframes equalizer { 0% { height: 60%; } 100% { height: 100%; } }

/* 2. Radar de Soporte */
.radar-container {
    margin-top: auto; display: flex; align-items: center; gap: 15px;
    padding: 12px; background: rgba(0,0,0,0.3); border-radius: 50px; border: 1px solid rgba(255,255,255,0.05);
}
.radar-sweep {
    width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--neon);
    position: relative;
    background: radial-gradient(circle, var(--neon-dim) 0%, transparent 70%);
}
.radar-sweep::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%; border-top: 1px solid var(--neon);
    animation: spinRadar 1.5s infinite linear;
}
@keyframes spinRadar { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.radar-status { font-size: 0.7rem; color: var(--neon); font-family: monospace; letter-spacing: 1px; animation: blinkText 2s infinite; }

/* 3. Skeleton de Contenido */
.content-loader { margin-top: auto; display: flex; flex-direction: column; gap: 8px; opacity: 0.7; }
.skeleton-line { height: 6px; background: #333; border-radius: 3px; animation: pulseSkeleton 2s infinite; }
.w70 { width: 70%; } .w50 { width: 50%; animation-delay: 0.2s; } .w90 { width: 90%; animation-delay: 0.4s; }
.publishing-tag { font-size: 0.7rem; color: var(--neon); display: flex; align-items: center; gap: 5px; margin-top: 5px; }
@keyframes pulseSkeleton { 0%, 100% { background: #333; } 50% { background: #444; } }

/* 4. Estudiantes (Texto Blink) */
.student-status { margin-top: auto; padding: 10px; background: rgba(0,0,0,0.3); border-radius: 8px; border-left: 2px solid var(--neon); }
.status-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: #fff; }
.blink { animation: blinkText 1s infinite; }
@keyframes blinkText { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* 5. Tags Inmobiliaria */
.active-tags-wrapper { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.bio-tag {
    background: rgba(0, 255, 136, 0.05); border: 1px solid rgba(0, 255, 136, 0.2);
    color: #fff; padding: 6px 12px; border-radius: 4px; font-size: 0.75rem;
    display: flex; align-items: center; gap: 6px; transition: 0.3s;
}
.bio-tag i { color: var(--neon); font-size: 0.9rem; }
.bio-tag:hover { background: rgba(0, 255, 136, 0.15); border-color: var(--neon); transform: translateY(-2px); }

/* Responsive Grid */
@media (max-width: 992px) {
    .bionic-grid { grid-template-columns: 1fr 1fr; }
    .bio-card.wide { grid-column: span 2; }
}
@media (max-width: 768px) {
    .bionic-grid { grid-template-columns: 1fr; }
    .bio-card.wide { grid-column: span 1; }
}

/* =========================================
   BIONIC DASHBOARD (GOD MODE STYLES)
   ========================================= */

/* Fondo Tecnológico Animado */
.neural-grid-bg {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridFly 20s linear infinite;
    z-index: 0; pointer-events: none;
}
.light-orb {
    position: absolute; top: 0; left: 50%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,255,136,0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
}
@keyframes gridFly { 0% { transform: perspective(500px) rotateX(60deg) translateY(0); } 100% { transform: perspective(500px) rotateX(60deg) translateY(60px); } }

/* Grid Layout */
.bionic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative; z-index: 2;
}

/* Tarjeta Biónica Base */
.bio-card {
    background: rgba(10, 11, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    display: flex; flex-direction: column; gap: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Efecto Hover */
.bio-card:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.1);
    transform: translateY(-5px);
    background: rgba(10, 11, 12, 0.8);
}
.bio-card.wide { grid-column: span 2; }

/* Headers de Tarjeta */
.bio-header { display: flex; align-items: center; gap: 15px; }
.icon-box {
    width: 50px; height: 50px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--neon);
    transition: 0.3s;
}
.bio-card:hover .icon-box { background: var(--neon); color: #000; box-shadow: 0 0 20px var(--neon-dim); }
.header-text h3 { margin: 0; font-size: 1.25rem; color: #fff; font-weight: 700; letter-spacing: -0.5px; }
.status-dot { font-size: 0.65rem; font-family: monospace; color: var(--neon); display: flex; align-items: center; gap: 6px; margin-top: 4px; letter-spacing: 1px; }
.status-dot::before { content: ''; width: 6px; height: 6px; background: var(--neon); border-radius: 50%; box-shadow: 0 0 8px var(--neon); animation: blink 2s infinite; }
.bio-card p { font-size: 0.95rem; color: #a1a1aa; line-height: 1.6; margin: 0; }

/* --- MÓDULOS DE ANIMACIÓN --- */

/* 1. Métrica Viva (Ventas) */
.live-metric-module {
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05);
    padding: 20px; border-radius: 12px; margin-top: auto; position: relative; overflow: hidden;
}
.metric-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.metric-label { font-size: 0.75rem; color: #666; font-weight: 700; letter-spacing: 1px; }
.metric-value { font-size: 2rem; font-weight: 900; line-height: 1; text-shadow: 0 0 15px var(--neon-dim); }
.visualizer-bar { width: 100%; height: 4px; background: #222; position: relative; overflow: hidden; border-radius: 2px; }
.bar-fill { width: 95%; height: 100%; background: var(--neon); position: relative; z-index: 2; }
.bar-glitch { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: #fff; opacity: 0; z-index: 3;
    animation: glitchBar 4s infinite;
}
.data-stream { display: flex; justify-content: space-between; font-family: monospace; font-size: 0.7rem; color: #444; margin-top: 8px; }
.stream-dots::after { content: '...'; animation: typing 2s infinite steps(4); }

/* 2. Radar (Soporte) */
.radar-module { margin-top: auto; display: flex; align-items: center; gap: 20px; }
.radar-screen { 
    width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(0,255,136,0.3); 
    position: relative; background: radial-gradient(circle, rgba(0,255,136,0.1) 0%, transparent 70%);
    overflow: hidden;
}
.radar-sweep {
    position: absolute; top: 50%; left: 50%; width: 50%; height: 50%;
    background: linear-gradient(90deg, rgba(0,255,136,0.5), transparent);
    transform-origin: top left; animation: radarSpin 2s infinite linear;
}
.target { position: absolute; width: 4px; height: 4px; background: #fff; border-radius: 50%; opacity: 0; }
.t1 { top: 20%; left: 60%; animation: targetBlink 2s infinite 0.5s; }
.t2 { top: 70%; left: 30%; animation: targetBlink 2s infinite 1.2s; }
.radar-data { display: flex; flex-direction: column; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }

/* 3. Upload (Contenido) */
.upload-module { margin-top: auto; display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 12px; }
.file-icon { font-size: 1.5rem; color: #555; }
.upload-bars { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.u-bar { height: 4px; background: #222; border-radius: 2px; position: relative; overflow: hidden; }
.u-bar::after { content:''; position: absolute; top: 0; left: 0; height: 100%; background: var(--neon); animation: loadLine 2s infinite ease-in-out; }
.b1::after { width: 70%; animation-delay: 0s; } .b2::after { width: 40%; animation-delay: 0.2s; } .b3::after { width: 90%; animation-delay: 0.4s; }
.upload-status { font-size: 0.7rem; font-weight: 700; animation: blink 1s infinite; }

/* 4. Process (Estudiantes) */
.process-module { margin-top: auto; display: flex; align-items: center; gap: 8px; position: relative; height: 20px; }
.process-step { width: 10px; height: 10px; border-radius: 50%; background: #333; border: 1px solid #555; position: relative; z-index: 2; transition: 0.3s; }
.process-step.active { background: var(--neon); border-color: var(--neon); box-shadow: 0 0 10px var(--neon); }
.process-step.blink { background: #fff; animation: blink 0.5s infinite; }
.process-line { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: #333; z-index: 1; transform: translateY(-50%); }

/* 5. Tags (Inmobiliaria) */
.tags-module { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.tech-tag {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    color: #ccc; padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 500;
    display: flex; align-items: center; gap: 8px; transition: 0.3s;
}
.tech-tag i { color: var(--neon); }
.tech-tag:hover { background: rgba(0, 255, 136, 0.1); border-color: var(--neon); color: #fff; transform: scale(1.05); }

/* Animaciones Keyframes */
@keyframes gridFly { 0% { transform: perspective(500px) rotateX(60deg) translateY(0); } 100% { transform: perspective(500px) rotateX(60deg) translateY(60px); } }
@keyframes glitchBar { 0%, 90% { opacity: 0; transform: translateX(-100%); } 92% { opacity: 1; transform: translateX(0); } 94% { opacity: 1; transform: translateX(100%); } 100% { opacity: 0; } }
@keyframes typing { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
@keyframes radarSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes targetBlink { 0%, 100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1); } }
@keyframes loadLine { 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Responsive Grid */
@media (max-width: 992px) {
    .bionic-grid { grid-template-columns: 1fr 1fr; }
    .bio-card.wide { grid-column: span 2; }
}
@media (max-width: 768px) {
    .bionic-grid { grid-template-columns: 1fr; }
    .bio-card.wide { grid-column: span 1; }
}


/* --- FLUJOS GOD MODE (CIRCUITOS) --- */

/* Contenedor Principal */
.circuit-wrapper {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    margin-top: 40px;
}

/* Tabs Estilo Nave Espacial */
.circuit-tabs {
    display: flex;
    background: #050505;
    border-bottom: 1px solid #222;
}
.c-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 20px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border-right: 1px solid #151515;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: relative;
    overflow: hidden;
}
.c-tab:last-child { border-right: none; }
.c-tab:hover { color: #fff; background: rgba(255,255,255,0.02); }
.c-tab.active {
    color: var(--neon);
    background: rgba(0, 255, 136, 0.05);
}
.c-tab.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: var(--neon); box-shadow: 0 -5px 15px var(--neon);
}

/* Pantalla de Visualización */
.circuit-screen {
    position: relative;
    min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
    overflow: hidden;
}
.circuit-grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(#1a1a1a 1px, transparent 1px), linear-gradient(90deg, #1a1a1a 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.3; pointer-events: none;
}

/* Escenarios (Ocultos por defecto) */
.flow-scenario {
    display: none; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px; animation: fadeInCircuit 0.5s ease;
}
.flow-scenario.active { display: flex; }
@keyframes fadeInCircuit { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* Estilos de Nodos Genéricos (TI, Seguridad, RRHH) */
.scenario-container { display: flex; align-items: center; gap: 0; position: relative; z-index: 2; }

.c-node {
    width: 90px; height: 90px;
    background: #111; border: 2px solid #333; border-radius: 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; font-size: 0.8rem; font-weight: 600; gap: 8px;
    position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: 0.3s;
}
.c-node i { font-size: 1.8rem; color: #666; transition: 0.3s; }
.active .c-node { border-color: var(--neon); box-shadow: 0 0 20px var(--neon-dim); }
.active .c-node i { color: var(--neon); }

/* Cables y Paquetes de Datos */
.c-cable {
    width: 100px; height: 4px; background: #222; position: relative; overflow: hidden;
}
.c-packet {
    width: 30px; height: 100%; background: var(--neon);
    position: absolute; left: -30px; border-radius: 4px;
    box-shadow: 0 0 10px var(--neon);
    animation: transferData 2s infinite linear;
}
.delay-1 { animation-delay: 1s; }
@keyframes transferData { 0% { left: -30px; } 100% { left: 100%; } }

/* Estilos Específicos TI */
.node-server i { color: #00ccff; }
.node-ai i { color: var(--neon); animation: pulse 1s infinite; }
.node-jira i { color: #0052cc; }

/* Estilos Específicos Seguridad */
.security-mode .c-cable.warning { background: #330000; }
.red-packet { background: #ff0000; box-shadow: 0 0 10px red; }
.node-shield { border-color: var(--neon); }
.shield-pulse { position: absolute; width: 100%; height: 100%; border: 2px solid var(--neon); border-radius: 16px; animation: ping 1.5s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* Estilos Específicos Ventas (Pipeline) */
.pipeline-container { display: flex; align-items: center; gap: 0; }
.pipe-step {
    display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 2;
}
.pipe-icon {
    width: 60px; height: 60px; background: #151515; border: 1px solid #444; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem;
    transition: 0.3s;
}
.pipe-label { font-size: 0.8rem; color: #aaa; font-weight: 600; text-transform: uppercase; }
.pipe-line {
    width: 80px; height: 3px; background: #222; position: relative; overflow: hidden;
}
.pipe-flow {
    width: 100%; height: 100%; background: linear-gradient(90deg, transparent, var(--neon), transparent);
    transform: translateX(-100%); animation: pipeFlow 2s infinite ease-in-out;
}
.delay-2 { animation-delay: 1.2s; }
.pipe-step.final .pipe-icon { background: var(--neon); color: #000; box-shadow: 0 0 20px var(--neon); }
@keyframes pipeFlow { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Caption inferior */
.flow-caption {
    margin-top: 40px; padding: 10px 20px;
    background: rgba(255,255,255,0.05); border: 1px solid #333; border-radius: 50px;
    font-family: monospace; color: #ccc; font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .scenario-container, .pipeline-container { flex-direction: column; gap: 20px; }
    .c-cable, .pipe-line { width: 4px; height: 50px; }
    .c-packet { width: 100%; height: 20px; top: -20px; left: 0; animation: transferDataV 2s infinite linear; }
    @keyframes transferDataV { 0% { top: -20px; } 100% { top: 100%; } }
    .circuit-tabs { overflow-x: auto; }
    .c-tab { min-width: 150px; }
}2. CSS (Añadir al final de style.css)
Este código crea el efecto de "cascada infinita" en 3 columnas y el nuevo estilo del "Arsenal Tecnológico"./* --- TECH MARQUEE (DOBLE FLUJO) --- */
.tech-marquee-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    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);
}

.tech-track {
    display: flex;
    gap: 50px;
    width: max-content;
}

.scroll-left {
    animation: scrollLeft 40s linear infinite;
}

.scroll-right {
    animation: scrollRight 40s linear infinite;
}

.tech-item {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.tech-item i {
    color: var(--neon);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 5px var(--neon-dim));
}

.tech-item:hover {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: shineMove 4s infinite;
}

@keyframes shineMove {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* --- WALL OF SUCCESS (TESTIMONIOS 3 COLUMNAS) --- */
.wall-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    height: 700px; /* Altura fija para el contenedor */
    overflow: hidden;
    position: relative;
}

/* Máscaras para efecto infinito */
.wall-mask-top {
    position: absolute; top: 0; left: 0; width: 100%; height: 150px;
    background: linear-gradient(to bottom, #020403, transparent);
    z-index: 5; pointer-events: none;
}
.wall-mask-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 150px;
    background: linear-gradient(to top, #020403, transparent);
    z-index: 5; pointer-events: none;
}

/* Columnas */
.wall-col { position: relative; display: flex; flex-direction: column; }

/* Animaciones Verticales */
.col-down .wall-track { animation: scrollDown 60s linear infinite; }
.col-up .wall-track { animation: scrollUp 60s linear infinite; }

.wall-track { display: flex; flex-direction: column; gap: 20px; }

/* Tarjetas de Testimonio */
.review-card {
    background: #0f1011;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}
.review-card:hover {
    border-color: var(--neon);
    background: #151617;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}
.review-card.highlight {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
}
.review-card p {
    font-size: 0.9rem; color: #ddd; line-height: 1.5; margin-bottom: 15px; font-style: italic;
}
.review-card strong { color: var(--neon); }

.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer img {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    border: 2px solid #333;
}
.reviewer h4 { font-size: 0.85rem; color: #fff; margin: 0; font-weight: 700; }
.reviewer span { font-size: 0.75rem; color: #777; }

/* Keyframes Verticales */
/* El truco es mover solo el 50% porque hemos duplicado el contenido.
   Al llegar al 50%, la segunda mitad del contenido está exactamente donde empezó la primera.
   ¡Salto invisible! */
@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Keyframes Horizontales (Tecnologías) */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .wall-wrapper { grid-template-columns: 1fr 1fr; }
    .col-up { display: none; } /* Ocultar centro en tablets */
}
@media (max-width: 768px) {
    .wall-wrapper { grid-template-columns: 1fr; height: 500px; }
    .col-up { display: none; }
    .col-down:nth-child(3) { display: none; } /* Solo una columna en móvil */
}

/* --- PRELOADER GOD MODE --- */
.cyber-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    font-family: monospace; overflow: hidden;
}
.loader-scanline {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 255, 136, 0.05) 51%);
    background-size: 100% 4px; pointer-events: none; z-index: 1;
}
.loader-content-box { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-circle { width: 80px; height: 80px; position: relative; }
.c-ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.r1 { top: 0; left: 0; width: 100%; height: 100%; border-top-color: var(--neon); animation: spin 1s infinite linear; }

/* --- CALENDARIO FLOTANTE (NUEVO) --- */
.floating-calendar-cta {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--neon);
    border-radius: 60px; /* Forma de píldora */
    padding: 8px 25px 8px 8px; /* Espacio para el texto */
    display: flex; align-items: center; gap: 15px;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.floating-calendar-cta:hover { 
    transform: scale(1.05) translateY(-5px); 
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.5); 
    background: #000;
}

.cal-icon {
    width: 50px; height: 50px;
    background: var(--neon);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 1.4rem;
    position: relative; z-index: 2;
    box-shadow: 0 0 15px var(--neon-dim);
}

.cal-text { display: flex; flex-direction: column; line-height: 1.2; }
.cal-text span { color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: 0.5px; }
.cal-text small { color: var(--neon); font-size: 0.7rem; text-transform: uppercase; font-weight: 700; }

/* Animación de Atención */
.cal-pulse {
    position: absolute; top: 50%; left: 33px; /* Centrado en el icono */
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 60px;
    border: 2px solid var(--neon);
    opacity: 0;
    animation: radarPulse 2s infinite;
    pointer-events: none;
}

@keyframes radarPulse {
    0% { width: 50px; height: 50px; opacity: 0.8; border-radius: 50%; border-width: 2px; }
    100% { width: 110%; height: 140%; opacity: 0; border-radius: 60px; border-width: 0px; }
}

/* Ocultar el botón viejo si quedó por ahí */
.floating-cta { display: none !important; }

/* --- FAQ NEURAL SPHERE (GOD MODE) --- */
.neural-faq-wrapper {
    position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at center, #0a0c0b 0%, #020403 70%);
    border-radius: 30px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden;
}

/* Esfera Central */
.neural-sphere-container {
    position: absolute; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    perspective: 1000px; z-index: 1; pointer-events: none; /* Dejar pasar clicks a botones si se solapan */
}
.sphere-core {
    width: 120px; height: 120px; background: #000; border-radius: 50%;
    box-shadow: 0 0 50px var(--neon), inset 0 0 30px var(--neon);
    position: relative; z-index: 10; animation: corePulse 3s infinite ease-in-out;
}
.sphere-rings {
    position: absolute; width: 300px; height: 300px; border: 1px solid rgba(0,255,136,0.3); border-radius: 50%;
    transform: rotateX(70deg); animation: ringSpin 10s infinite linear;
}
.sphere-rings::before {
    content: ''; position: absolute; top: -20px; left: -20px; width: 340px; height: 340px;
    border: 1px dashed rgba(0,255,136,0.15); border-radius: 50%; animation: ringSpin 15s infinite linear reverse;
}

/* Proyección Holográfica */
.hologram-beam {
    width: 2px; height: 0; background: linear-gradient(to top, transparent, var(--neon));
    opacity: 0; transition: 0.5s; margin-top: -10px;
}
.active-beam .hologram-beam { height: 80px; opacity: 0.8; }

.holo-response-box {
    width: 500px; min-height: 150px; background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--neon); border-radius: 12px;
    padding: 25px; margin-top: 20px; text-align: center;
    backdrop-filter: blur(10px); opacity: 0; transform: translateY(20px) scale(0.9);
    transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 30px rgba(0,255,136,0.1); pointer-events: auto;
}
.active-beam .holo-response-box { opacity: 1; transform: translateY(0) scale(1); }

.holo-header {
    display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,255,136,0.2);
    padding-bottom: 10px; margin-bottom: 15px; font-size: 0.7rem; color: var(--neon); letter-spacing: 2px;
}
.holo-text { color: #fff; font-size: 1rem; line-height: 1.6; text-shadow: 0 0 5px rgba(0,0,0,0.5); }

/* Controles Orbitales */
.faq-orbit-controls {
    width: 100%; max-width: 1000px; display: flex; justify-content: space-between; position: relative; z-index: 5;
    padding: 0 20px;
}
.orbit-side { display: flex; flex-direction: column; gap: 20px; }

.faq-node {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 25px; border-radius: 50px; color: #aaa; cursor: pointer;
    display: flex; align-items: center; gap: 15px; transition: 0.3s;
    font-family: var(--font-main); font-size: 0.9rem; width: 220px;
}
.faq-node i { font-size: 1.2rem; color: #555; transition: 0.3s; }

.faq-node:hover { background: rgba(255,255,255,0.08); color: #fff; transform: translateX(5px); }
.faq-node.active {
    background: rgba(0, 255, 136, 0.1); border-color: var(--neon); color: #fff;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1); transform: scale(1.05);
}
.faq-node.active i { color: var(--neon); text-shadow: 0 0 10px var(--neon); }

/* Animaciones */
@keyframes corePulse { 0%, 100% { box-shadow: 0 0 40px var(--neon), inset 0 0 20px var(--neon); transform: scale(1); } 50% { box-shadow: 0 0 70px var(--neon), inset 0 0 40px var(--neon); transform: scale(1.05); } }
@keyframes ringSpin { 0% { transform: rotateX(70deg) rotateZ(0deg); } 100% { transform: rotateX(70deg) rotateZ(360deg); } }

/* Responsive */
@media (max-width: 992px) {
    .neural-faq-wrapper { flex-direction: column; padding: 40px 0; height: auto; }
    .neural-sphere-container { position: relative; height: 300px; margin-bottom: 30px; }
    .holo-response-box { width: 90%; }
    .faq-orbit-controls { flex-direction: column; gap: 10px; align-items: center; }
    .orbit-side { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .faq-node { width: auto; padding: 10px 20px; font-size: 0.8rem; }
}
.r2 { top: 10px; left: 10px; width: 60px; height: 60px; border-right-color: #fff; animation: spin 2s infinite linear reverse; }
.r3 { top: 25px; left: 25px; width: 30px; height: 30px; border-bottom-color: var(--neon); animation: pulse 1s infinite; }
.loader-text { font-size: 1.2rem; color: #fff; letter-spacing: 2px; text-transform: uppercase; min-width: 280px; text-align: left; }
.sys-prefix { color: #555; }
.sys-msg { color: var(--neon); text-shadow: 0 0 10px var(--neon); }
.loader-bar-wrap { width: 300px; height: 2px; background: #222; position: relative; overflow: hidden; }
.loader-bar { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--neon); box-shadow: 0 0 20px var(--neon); animation: loadFast 2.5s cubic-bezier(0.8, 0, 0.2, 1) forwards; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes loadFast { 0% { width: 0%; } 100% { width: 100%; } }
/* Clase para desvanecer */
.loader-finish { opacity: 0; pointer-events: none; transition: 0.5s ease; }

/* --- CTA: MIRROR NEON EFFECT --- */
.cta-mirror-box {
    position: relative;
    background: radial-gradient(circle at center, #00331a 0%, #000 100%);
    border: 1px solid var(--neon);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    margin-bottom: 80px;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.15), inset 0 0 100px rgba(0, 255, 136, 0.05);
    transition: transform 0.3s;
}

.cta-mirror-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 80px rgba(0, 255, 136, 0.3);
}

.mirror-content { position: relative; z-index: 2; }

.cta-mirror-box h2 {
    font-size: 3.5rem; font-weight: 900; color: var(--neon);
    margin-bottom: 20px; line-height: 1.1;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.cta-mirror-box p {
    font-size: 1.2rem; color: #ddd; max-width: 600px; margin: 0 auto 40px auto;
}

/* Botón Espejo */
.btn-mirror {
    position: relative;
    display: inline-block;
    padding: 20px 50px;
    background: var(--neon);
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 30px var(--neon);
    transition: 0.3s;
}

.btn-mirror:hover {
    background: #fff;
    box-shadow: 0 0 60px #fff;
    transform: scale(1.05);
}

/* Brillo que pasa por el botón */
.btn-reflection {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: shineBtn 3s infinite;
}

@keyframes shineBtn { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

/* Brillo ambiental de fondo */
.mirror-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: rotateGlow 10s linear infinite;
    pointer-events: none; z-index: 0;
}

.mirror-shine {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    pointer-events: none; z-index: 1;
}

@keyframes rotateGlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- FOOTER CONTENT --- */
.footer-content-wrapper {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
    padding-bottom: 60px; border-bottom: 1px solid #222;
}

.footer-brand-col p { color: #888; font-size: 0.95rem; margin-top: 20px; max-width: 300px; line-height: 1.6; }

.footer-links-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-links-col ul { list-style: none; padding: 0; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul li a { 
    color: #666; text-decoration: none; transition: 0.3s; font-size: 0.95rem; 
}
.footer-links-col ul li a:hover { color: var(--neon); padding-left: 5px; }

/* --- REDES SOCIALES VIP --- */
.social-vip-wrapper {
    display: flex; gap: 15px; margin-top: 30px;
}

.social-btn {
    width: 50px; height: 50px;
    background: #111; border: 1px solid #333; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-btn:hover { transform: translateY(-5px) scale(1.1); }

.social-btn.yt:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 10px 20px rgba(255,0,0,0.3); }
.social-btn.in:hover { background: #0077B5; border-color: #0077B5; box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3); }
.social-btn.ig:hover { 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    border-color: transparent; 
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3); 
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-content-wrapper { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand-col p { margin: 20px auto; }
    .social-vip-wrapper { justify-content: center; }
    .cta-mirror-box h2 { font-size: 2.5rem; }
}
/* =========================================
   GOD MODE FINAL: AJUSTES VISUALES
   ========================================= */

/* 1. Luz del Cursor (Ajustada a 450px) */
#cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 450px; /* Tamaño solicitado */
    height: 450px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.45) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: screen;
    transition: width 0.1s, height 0.1s;
    display: none; /* JS lo activa */
}

/* 2. Lienzo de Partículas */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; /* Al fondo de todo */
    pointer-events: none;
    opacity: 1; 
}

/* 3. Control de Visibilidad por Sección */

/* HERO: Fondo sólido (Tapa las partículas) */
#hero, .hero-section {
    position: relative;
    z-index: 10;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
}

/* RESTO: Fondo semi-transparente (Deja ver partículas) */
.video-section, 
.section-padding, 
.footer-section, 
.bg-dark {
    background-color: rgba(2, 4, 3, 0.88) !important; /* 88% opacidad */
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2; /* Flotan sobre el canvas (z-index 0) */
}

/* --- RESPONSIVE PRO (Móvil y Tablets) --- */
@media (max-width: 768px) {
    /* Textos */
    h1 { font-size: 2.5rem !important; letter-spacing: -1px; }
    h2 { font-size: 1.8rem !important; }
    
    /* Layouts */
    .hero-container-split { flex-direction: column; justify-content: center; padding-top: 80px; }
    .hero-block-left { width: 100%; padding: 0; text-align: center; height: auto; margin-bottom: 40px; }
    .hero-block-right { position: relative; width: 100%; bottom: 0; right: 0; padding: 25px; margin-top: 20px; }
    
    /* Calculadora ROI - Inputs verticales */
    .roi-calculator-box { grid-template-columns: 1fr; padding: 25px; gap: 30px; }
    
    /* Grid de Capacidades (1 columna) */
    .bionic-grid { grid-template-columns: 1fr; }
    .bio-card.wide { grid-column: span 1; }
    
    /* Footer Vertical */
    .footer-content-wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .social-vip-wrapper { justify-content: center; }
    
    /* Ocultar elementos complejos en móvil muy pequeño */
    .motion-canvas-container { grid-template-columns: 1fr; }
    .motion-display { display: none; } /* Ocultar holograma en móvil para ahorrar espacio */
    
    /* Ajustes generales */
    .container { padding: 0 15px; }
    .section-padding { padding: 60px 0; }
}

/* =========================================
   MOBILE HIGH-FIDELITY PATCH (CORRECCIÓN FINAL)
   ========================================= */

/* 1. AJUSTE DE PRELOADER PARA MÓVIL */
@media (max-width: 768px) {
    .puzzle-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
        max-width: 300px;
    }
    .p-piece {
        font-size: 1.8rem; /* Letras más pequeñas */
        letter-spacing: 2px;
    }
    .auth-system {
        transform: scale(0.8);
        margin-top: 20px;
    }
}

/* 2. SOLUCIONAR LA SECCIÓN "SOLUCIONES" (Hacer visibles los gráficos) */
@media (max-width: 992px) {
    /* Forzar visualización del contenedor holográfico */
    .motion-canvas-container {
        display: flex;
        flex-direction: column-reverse; /* Menú abajo, Gráfico arriba */
        height: auto;
        min-height: 800px;
    }

    .motion-display {
        display: flex !important; /* IMPORTANTE: Resucita los gráficos */
        height: 400px; /* Altura fija para el visor */
        border-bottom: 1px solid var(--card-border);
        overflow: hidden;
    }

    /* Escalar las escenas para que quepan en pantallas estrechas */
    .scene {
        transform: scale(0.7); /* Reducir al 70% del tamaño original */
        transform-origin: center center;
        width: 100%;
    }

    .motion-menu {
        border-right: none;
        padding: 20px;
        overflow-x: auto; /* Scroll horizontal si los botones son muy anchos */
        display: flex;
        flex-direction: row; /* Botones en fila deslizable */
        gap: 15px;
    }
    
    .motion-item {
        min-width: 250px; /* Ancho mínimo para cada botón */
        flex-shrink: 0;
    }
}

/* 3. AJUSTES GENERALES DE ESTRUCTURA MÓVIL (Max 600px) */
@media (max-width: 600px) {
    /* HERO: Títulos legibles */
    h1 { 
        font-size: 2.8rem !important; 
        line-height: 1.1; 
        margin-bottom: 20px; 
        word-wrap: break-word;
    }
    
    .hero-block-left {
        padding: 0 10px;
        margin-top: 80px;
    }

    /* Botones que ocupan el ancho para ser fáciles de tocar */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary-large {
        width: 100%;
        justify-content: center;
        padding: 18px;
        font-size: 1rem;
    }

    /* SOLUCIONES: Ajuste agresivo para pantallas muy pequeñas */
    .scene {
        transform: scale(0.55); /* Reducir más en móviles pequeños */
    }
    .motion-display {
        height: 350px;
    }

    /* CALCULADORA ROI */
    .roi-calculator-box { 
        padding: 20px; 
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .roi-results {
        padding: 20px;
    }
    .highlight-loss span:last-child {
        font-size: 1.8rem; /* Reducir números gigantes */
    }

    /* FLUJOS (CIRCUITOS) */
    .circuit-wrapper {
        overflow-x: auto; /* Permitir scroll lateral si el diagrama es ancho */
    }
    .circuit-screen {
        min-width: 500px; /* Forzar ancho mínimo para que el diagrama no se aplaste */
    }
    .circuit-tabs {
        flex-direction: column; /* Pestañas una debajo de otra o scroll */
        overflow-x: auto;
        flex-direction: row; /* Mejor scroll horizontal */
    }
    .c-tab {
        min-width: 140px;
        padding: 15px 10px;
        font-size: 0.8rem;
    }

    /* CAPACIDADES (GRID) */
    .bionic-grid { 
        grid-template-columns: 1fr; 
    }
    .bio-card.wide { 
        grid-column: span 1; 
    }
    
    /* Módulos internos de las tarjetas (escalar si es necesario) */
    .live-metric-module, .radar-module, .process-module {
        transform: scale(0.95);
        transform-origin: left center;
    }

    /* FOOTER */
    .cta-mirror-box {
        padding: 40px 20px;
    }
    .cta-mirror-box h2 {
        font-size: 2rem;
    }
    .footer-content-wrapper { 
        display: flex; 
        flex-direction: column; 
        gap: 40px; 
        text-align: center; 
    }
    
    /* Ocultar luz del cursor en móvil (Ahorra batería y evita bugs) */
    #cursor-glow { display: none !important; }
}

/* =========================================
   EMERGENCY PATCH: CORRECCIONES POST-PRODUCCIÓN
   ========================================= */

/* 1. CORRECCIÓN BOTONES "SOLUCIONES" EN MÓVIL (Hacerlos compactos) */
@media (max-width: 992px) {
    .motion-item {
        min-width: 140px; /* Reducido de 250px a 140px */
        padding: 15px 10px;
        flex-direction: column; /* Icono arriba, texto abajo */
        text-align: center;
        gap: 8px;
        height: auto;
    }
    
    .motion-text h3 {
        font-size: 0.85rem; /* Texto más pequeño */
        margin-bottom: 0;
    }
    
    /* Ocultar la descripción larga en los botones del menú móvil para ahorrar espacio */
    .motion-text p {
        display: none; 
    }
    
    .motion-icon {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
}

/* 2. CORRECCIÓN CAOS EN FAQ MÓVIL (Texto superpuesto) */
@media (max-width: 768px) {
    .neural-faq-wrapper {
        display: flex;
        flex-direction: column;
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 40px;
        overflow: visible;
    }

    /* Reducir esfera para que no estorbe */
    .neural-sphere-container {
        position: relative;
        height: 180px; /* Altura fija pequeña */
        margin-bottom: 20px;
        top: 0;
    }
    .sphere-rings { width: 140px; height: 140px; }
    .sphere-core { width: 60px; height: 60px; }

    /* Organizar botones en cuadrícula de 2 columnas ordenada */
    .faq-orbit-controls {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columnas */
        gap: 10px;
        width: 100%;
        padding: 0 10px;
    }
    
    /* Anular estilos de "lados" orbitales */
    .orbit-side { display: contents; } 
    
    .faq-node {
        width: 100%; /* Ocupar toda la celda */
        font-size: 0.8rem;
        padding: 12px;
        justify-content: center;
        margin: 0;
    }

    /* Caja de Respuesta: Posición estática debajo de todo (SOLUCIÓN SUPERPOSICIÓN) */
    .holo-response-box {
        position: relative;
        width: 100%;
        margin-top: 30px;
        transform: none !important;
        opacity: 1 !important;
        background: rgba(0, 20, 10, 0.9); /* Fondo más oscuro para leer bien */
        z-index: 10;
        top: auto; left: auto;
    }
    
    /* Ocultar el rayo holográfico en móvil para limpiar la vista */
    .hologram-beam { display: none; }
}

/* =========================================
   PERFORMANCE BOOSTER (Anti-Lag System)
   ========================================= */

/* 1. Renderizado Inteligente (Solo dibuja lo que ves) */
#hero, .video-section, #soluciones, #calculadora, #capacidades, #flujos, #demos, #testimonios, #faq, #consultoria {
    content-visibility: auto; /* Magia: Apaga el renderizado si está fuera de pantalla */
    contain-intrinsic-size: 800px; /* Evita saltos de scroll */
}

/* 2. Aceleración de Hardware Forzada (GPU) */
.marquee-track, 
.tech-track, 
.wall-track,
.vertical-track,
.c-packet,
.mirror-glow,
.mirror-shine {
    will-change: transform; /* Avisa al navegador que esto se moverá */
    transform: translateZ(0); /* Fuerza el uso de la tarjeta gráfica */
    backface-visibility: hidden;
}

/* 3. Optimización de Partículas y Fondos */
#particles-canvas, #canvas-container {
    pointer-events: none; /* Ignorar clicks para liberar CPU */
}

.bg-dark {
    /* Mejora la mezcla de capas transparentes */
    will-change: backdrop-filter; 
}

/* =========================================
   FIX FINAL: FAQ MÓVIL (Versión Expandible)
   ========================================= */

@media (max-width: 768px) {
    /* 1. Contenedor Flexible (Crece hacia abajo) */
    .neural-faq-wrapper {
        display: flex;
        flex-direction: column;
        height: auto !important; /* Altura libre, no fija */
        min-height: auto !important;
        padding-bottom: 40px;
        background: transparent;
        border: none;
        overflow: visible; /* Permite que el contenido se salga si es necesario */
    }

    /* 2. Esfera decorativa (Más pequeña y arriba) */
    .neural-sphere-container {
        position: relative;
        height: 150px; /* Espacio fijo solo para la esfera */
        margin-bottom: 20px;
        top: 0;
        z-index: 1;
    }
    /* Ocultar el rayo láser en móvil porque estorba al texto */
    .hologram-beam { display: none; }

    /* 3. Botones (Lista vertical ordenada) */
    .faq-orbit-controls {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0 10px;
        margin-bottom: 20px;
        z-index: 5;
    }
    
    .orbit-side { 
        display: flex; 
        flex-direction: column; 
        gap: 10px; 
    }
    
    .faq-node {
        width: 100%;
        font-size: 0.95rem; /* Letra legible */
        padding: 15px;
        margin: 0;
        background: #111; /* Fondo oscuro para tapar lo de atrás */
        border: 1px solid #333;
        justify-content: flex-start;
    }

    /* 4. CAJA DE RESPUESTA (SOLUCIÓN AL TEXTO CORTADO) */
    .holo-response-box {
        position: relative; /* Ya no es absolute */
        width: 100%;
        height: auto !important; /* Altura automática */
        min-height: 100px;
        
        margin-top: 10px;
        transform: none !important;
        opacity: 1 !important;
        
        background: #0a0c0b; /* Fondo negro sólido */
        border: 1px solid var(--neon);
        z-index: 100; /* Siempre encima de todo */
        
        padding: 20px;
        display: block; /* Asegura que ocupe su espacio */
    }
    
    .holo-text {
        font-size: 1rem;
        line-height: 1.5;
        color: #fff;
    }
}

/* =========================================
   PERFORMANCE BOOSTER (Anti-Lag System)
   ========================================= */

/* 1. Renderizado Inteligente (Solo dibuja lo que ves) */
#hero, .video-section, #soluciones, #calculadora, #capacidades, #flujos, #demos, #testimonios, #faq, #consultoria {
    content-visibility: auto; /* Magia: Apaga el renderizado si está fuera de pantalla */
    contain-intrinsic-size: 800px; /* Evita saltos de scroll */
}

/* 2. Aceleración de Hardware Forzada (GPU) */
.marquee-track, 
.tech-track, 
.wall-track,
.vertical-track,
.c-packet,
.mirror-glow,
.mirror-shine {
    will-change: transform; /* Avisa al navegador que esto se moverá */
    transform: translateZ(0); /* Fuerza el uso de la tarjeta gráfica */
    backface-visibility: hidden;
}

/* 3. Optimización de Partículas y Fondos */
#particles-canvas, #canvas-container {
    pointer-events: none; /* Ignorar clicks para liberar CPU */
}

.bg-dark {
    /* Mejora la mezcla de capas transparentes */
    will-change: backdrop-filter; 
}

/* =========================================
   FAQ HYBRID SYSTEM (PC: Sphere | Mobile: Accordion)
   ========================================= */

/* 1. Por defecto (PC): Ocultar acordeón móvil, mostrar esfera */
.mobile-faq-accordion { display: none; }
.neural-faq-wrapper { display: flex; }

/* 2. ESTILOS DEL ACORDEÓN MÓVIL */
.acc-item {
    background: #0a0c0b;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: 0.3s;
}

.acc-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}

.acc-header span {
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.acc-header span i { color: var(--neon); }
.arrow-icon { color: #555; transition: 0.3s; }

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.5);
}

.acc-body p {
    padding: 20px;
    margin: 0;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid #222;
}

/* Estado Activo (Abierto) */
.acc-item.active {
    border-color: var(--neon);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}
.acc-item.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--neon);
}
.acc-item.active .acc-body {
    max-height: 300px; /* Altura suficiente para el texto */
}


/* 3. MEDIA QUERY (SOLO MÓVIL) */
@media (max-width: 768px) {
    /* Ocultar la Esfera 3D compleja */
    .neural-faq-wrapper { display: none !important; }
    
    /* Mostrar el Acordeón limpio */
    .mobile-faq-accordion { display: block; padding-bottom: 40px; }
}

/* Modal styles removed - using privacy.html instead */

/* --- ESTILOS PÁGINA DE PRIVACIDAD PREMIUM --- */
.privacy-page {
    background: #020403; /* Fondo base oscuro */
    min-height: 100vh;
}

.legal-container-pro {
    max-width: 900px;
    margin: 40px auto;
    /* FONDO SEMI-TRANSPARENTE PARA VER PARTÍCULAS */
    background: rgba(10, 12, 11, 0.75); 
    backdrop-filter: blur(15px); /* Efecto cristal */
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2); /* Borde neón sutil */
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.legal-header h1 { font-size: 3rem; margin-bottom: 10px; }
.meta-date { color: #888; font-family: monospace; display: flex; align-items: center; gap: 10px; }
.meta-date i { color: var(--neon); }

.legal-body { margin-top: 40px; }
.legal-section { margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 30px; }
.legal-section:last-child { border-bottom: none; }

.legal-section h3 { 
    color: var(--neon); 
    font-size: 1.3rem; 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
.legal-section h3 i { opacity: 0.8; }

.legal-section p, .legal-section li { color: #ccc; line-height: 1.7; font-size: 1.05rem; margin-bottom: 15px; }
.legal-section ul { padding-left: 25px; }
.legal-section li { margin-bottom: 10px; }
.legal-section strong { color: #fff; font-weight: 600; }
.legal-section a { text-decoration: none; font-weight: 700; }

.legal-footer-contact {
    background: rgba(0, 255, 136, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--neon-dim);
}
.legal-footer-contact h3 { color: #fff; margin-bottom: 10px; }

/* Ajuste móvil para el contenedor legal */
@media (max-width: 768px) {
    .legal-container-pro { padding: 30px 20px; margin: 20px auto; }
    .legal-header h1 { font-size: 2.2rem; }
}

/* =========================================
   GOD MODE MOBILE FIX (400x670 Standard)
   ========================================= */

@media (max-width: 992px) {
    /* 1. ARREGLO DEL HERO (Volver a Columna) */
    .hero-container-split {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 80px;
        gap: 30px;
    }

    /* Bloque Izquierdo (Título) */
    .hero-block-left {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0;
        align-items: center;
        margin-bottom: 0;
    }

    h1 {
        font-size: 2.8rem !important;
        line-height: 1.1;
        margin-bottom: 20px !important;
    }

    .text-neon-filled {
        margin-top: 5px;
        font-size: 3rem;
    }

    /* Botón centrado */
    .hero-buttons {
        justify-content: center;
        width: 100%;
    }
    .btn-primary-large {
        width: 100%;
        justify-content: center;
        padding: 18px;
        font-size: 1rem;
    }

    /* Bloque Derecho (Caja Negra) */
    .hero-block-right {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        padding: 25px;
        background: rgba(5, 5, 5, 0.9);
        backdrop-filter: none;
    }

    .hero-subheadline {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .hero-description-box p {
        text-align: center;
        font-size: 0.95rem;
    }

    /* 2. ELIMINAR ESPACIOS GIGANTES (GLOBAL) */
    .section-padding {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* 3. AJUSTES ESPECÍFICOS POR SECCIÓN */
    
    /* Calculadora */
    .roi-calculator-box {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }
    
    /* Soluciones (Menú Holográfico) */
    .motion-canvas-container {
        display: flex;
        flex-direction: column-reverse;
        min-height: auto;
    }
    .motion-display {
        height: 300px;
    }
    .motion-menu {
        overflow-x: auto;
        flex-direction: row;
        padding: 15px;
    }
    .motion-item {
        min-width: 200px;
        padding: 15px;
    }

    /* Footer */
    .footer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand-col p {
        margin: 20px auto;
    }
    .social-vip-wrapper {
        justify-content: center;
    }
    
    /* CTA Espejo */
    .cta-mirror-box {
        padding: 40px 20px;
    }
    .cta-mirror-box h2 {
        font-size: 2rem;
    }
    
    /* Ocultar decoraciones pesadas */
    .hero-fade-bottom { display: none; }
}

/* AJUSTE FINO PARA PANTALLAS MUY PEQUEÑAS (iPhone SE, etc - 320px a 400px) */
@media (max-width: 400px) {
    h1 { font-size: 2.2rem !important; }
    .text-neon-filled { font-size: 2.4rem; }
    .hero-block-right { padding: 20px; }
    .btn-primary-large { font-size: 0.9rem; padding: 15px; }
}

/* --- FIX PÁGINA PRIVACIDAD MÓVIL (Anti-Lag) --- */
@media (max-width: 768px) {
    .privacy-page .legal-container-pro {
        margin: 20px 15px !important; /* Márgenes seguros */
        padding: 30px 20px !important;
        width: auto !important;
        
        /* OPTIMIZACIÓN CRÍTICA: Quitamos el blur pesado en móvil */
        backdrop-filter: none !important; 
        background: rgba(10, 12, 11, 0.95) !important; /* Fondo casi sólido para lectura fácil */
        border: 1px solid rgba(0, 255, 136, 0.15);
    }

    .privacy-page h1 {
        font-size: 2rem !important; /* Título más pequeño */
        line-height: 1.2;
    }

    .legal-section p, .legal-section li {
        font-size: 0.95rem !important; /* Texto legible sin hacer zoom */
    }
}

/* =========================================
   FIX FINAL: FLUJOS VERTICALES (MODO TORRE 412px)
   ========================================= */

@media (max-width: 992px) {
    
    /* 1. EL CONTENEDOR (RECTÁNGULO VERTICAL) */
    #flujos .circuit-wrapper {
        display: flex;
        flex-direction: column;
        /* MAGIA: Forzamos altura mínima para que sea un RECTÁNGULO VERTICAL */
        min-height: 750px !important; 
        height: auto !important;
        border-radius: 16px;
        overflow: hidden; /* Asegura que nada se salga de los bordes redondeados */
        background: #050505;
        margin: 0 -10px; /* Ganar un poco de ancho en pantallas estrechas */
    }

    /* 2. PESTAÑAS DESLIZABLES (Estilo App) */
    .circuit-tabs {
        display: flex;
        flex-direction: row; /* Fila horizontal */
        overflow-x: auto; /* Scroll lateral suave */
        white-space: nowrap;
        background: #0a0a0a;
        border-bottom: 1px solid #222;
        padding: 5px 0;
        /* Ocultar barra de scroll fea pero mantener funcionalidad */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    .circuit-tabs::-webkit-scrollbar { display: none; }

    .c-tab {
        flex: 0 0 auto; /* No encoger */
        padding: 15px 25px;
        font-size: 0.9rem;
        border-right: 1px solid #1a1a1a;
        border-bottom: 2px solid transparent;
        color: #888;
    }
    .c-tab.active {
        color: var(--neon);
        border-bottom-color: var(--neon);
        background: rgba(0, 255, 136, 0.05);
    }

    /* 3. PANTALLA INTERIOR (La zona de dibujo) */
    .circuit-screen {
        flex-grow: 1; /* Ocupar todo el espacio vertical restante */
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centrar todo verticalmente */
        justify-content: flex-start; /* Empezar desde arriba */
        background-size: 40px 40px; /* Grid ajustado */
    }

    /* 4. ESCENARIOS EN CASCADA */
    .flow-scenario {
        width: 100%;
        height: auto;
        transform: none !important; /* Quitar escalas raras */
        padding: 0;
        display: none; /* Ocultos por defecto */
        flex-direction: column;
        align-items: center;
    }
    .flow-scenario.active { display: flex; animation: fadeInVertical 0.5s ease-out; }

    @keyframes fadeInVertical {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* 5. CONTENEDORES DE NODOS (Columna estricta) */
    .scenario-container, .pipeline-container {
        display: flex;
        flex-direction: column !important; /* SIEMPRE COLUMNA */
        align-items: center !important;
        gap: 0; /* El cable da el espacio */
        width: 100%;
    }

    /* 6. NODOS (BLOQUES) */
    .c-node, .pipe-step {
        width: 100%;
        max-width: 260px; /* Ancho cómodo para leer en 412px */
        height: auto;
        padding: 18px 25px;
        flex-direction: row; /* Icono izquierda, Texto derecha */
        justify-content: flex-start;
        gap: 20px;
        margin: 0;
        background: #111;
        border: 1px solid #333;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        position: relative;
        z-index: 2;
    }
    
    .c-node i, .pipe-icon { font-size: 1.6rem; color: #fff; margin: 0; }
    .c-node span, .pipe-label { font-size: 1rem; color: #ccc; font-weight: 600; text-transform: uppercase; }
    
    /* Ajuste específico para el pipeline de ventas (círculos) */
    .pipe-step { 
        background: transparent; border: none; box-shadow: none; padding: 5px; 
        flex-direction: column; /* En pipeline se ven mejor apilados */
    }
    .pipe-icon { 
        width: 60px; height: 60px; background: #111; border: 1px solid #333; border-radius: 50%; 
        display: flex; justify-content: center; align-items: center; z-index: 2;
    }

    /* 7. CABLES VERTICALES */
    .c-cable {
        width: 4px !important;
        height: 60px !important; /* Largo del cable vertical */
        background: #222;
        margin: 0; /* Centrado automático por flex */
        position: relative;
        z-index: 1;
    }
    
    .pipe-line {
        width: 4px !important;
        height: 50px !important;
        background: #222;
    }

    /* PAQUETES DE DATOS (Cayendo) */
    .c-packet, .pipe-flow {
        width: 100% !important; /* Llenar el ancho del cable */
        height: 30px !important; /* Largo del paquete */
        left: 0 !important;
        top: -30px; /* Empezar arriba fuera */
        transform: none !important;
        background: var(--neon);
        box-shadow: 0 0 15px var(--neon);
        animation: dropData 2s infinite linear !important;
        border-radius: 4px;
    }

    @keyframes dropData {
        0% { top: -30px; opacity: 0; }
        20% { opacity: 1; }
        80% { opacity: 1; }
        100% { top: 100%; opacity: 0; }
    }

    /* 8. DESCRIPCIÓN INFERIOR */
    .flow-caption {
        margin-top: 30px;
        font-size: 0.85rem;
        background: rgba(255,255,255,0.03);
        border: 1px solid #222;
        width: 100%;
        text-align: center;
    }

    /* LIMPIEZA */
    .branch-cables { display: none; } /* Ocultar ramas complejas */
}

/* --- FIX SOLUCIONES (UNIÓN SIN HUECOS) --- */
@media (max-width: 992px) {
    .motion-canvas-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 0 !important; /* ELIMINA EL ESPACIO GRIS */
        background: #080808; /* Fondo uniforme */
        border: 1px solid #222;
    }

    /* Tablero Holográfico (Arriba) */
    .motion-display {
        border-bottom: 1px solid #222;
        border-radius: 20px 20px 0 0; /* Redondear solo arriba */
        height: 320px; /* Altura cómoda */
    }

    /* Menú de Botones (Abajo) */
    .motion-menu {
        border-top: none;
        padding: 0;
        background: #0f1011;
        border-radius: 0 0 20px 20px; /* Redondear solo abajo */
    }

    .motion-item {
        border-radius: 0; /* Cuadrados para encajar */
        border-bottom: 1px solid #222;
        margin: 0;
        background: transparent !important;
    }
    .motion-item.active {
        background: rgba(0, 255, 136, 0.05) !important;
        border-left: 4px solid var(--neon);
    }
}

/* --- FIX ESPACIOS GIGANTES (Compresión Vertical) --- */
@media (max-width: 768px) {
    
    /* Reducir espacio entre secciones a la mitad */
    .section-padding {
        padding: 40px 0 !important; /* Antes era mucho más */
    }

    /* Reducir espacio entre el título de la sección y su contenido */
    .section-header {
        margin-bottom: 30px !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem; /* Títulos más compactos */
    }
    
    .section-header p {
        font-size: 0.95rem;
    }

    /* Ajuste específico para el Footer que suele quedar muy lejos */
    .footer-section {
        margin-top: 40px !important;
        padding-top: 40px !important;
    }
}

/* --- FIX BOTÓN VOLVER (PRIVACIDAD MÓVIL) --- */
@media (max-width: 768px) {
    /* Forzar visibilidad SOLO en la página de privacidad */
    .privacy-page .nav-actions {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    /* Ajustar estilo del botón para móvil */
    .privacy-page .btn-nav {
        padding: 8px 15px;
        font-size: 0.85rem;
        background: rgba(0, 255, 136, 0.1);
        border: 1px solid var(--neon);
        backdrop-filter: blur(10px);
    }
    
    /* Asegurar que el logo no choque */
    .privacy-page .logo {
        font-size: 1.2rem;
    }
}

/* =========================================
   FIX QUIRÚRGICO: HIPER-CONECTADO (MÓVIL)
   ========================================= */

@media (max-width: 992px) {
    
    /* 1. CONTENEDOR PRINCIPAL: Limpieza de altura y overflow */
    #flujos .circuit-wrapper {
        height: auto !important;
        min-height: 0 !important;
        background: #050505;
        border-radius: 16px;
        /* IMPORTANTE: Permite que las sombras y textos se vean */
        overflow: visible !important; 
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
    }

    /* 2. PESTAÑAS: Scroll Horizontal Suave */
    .circuit-tabs {
        display: flex;
        flex-wrap: nowrap; /* No permite que bajen */
        overflow-x: auto; /* Scroll con el dedo */
        -webkit-overflow-scrolling: touch;
        width: 100%;
        padding: 10px 0;
        background: #0a0a0a;
        border-bottom: 1px solid #222;
    }
    
    .c-tab {
        flex: 0 0 auto; /* No encoger pestañas */
        padding: 15px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* 3. PANTALLA DEL CIRCUITO: Columna Vertical Estricta */
    .circuit-screen {
        display: flex;
        flex-direction: column;
        align-items: center !important; /* CENTRADO HORIZONTAL OBLIGATORIO */
        justify-content: flex-start;
        padding: 40px 15px !important;
        width: 100%;
        box-sizing: border-box;
    }

    /* 4. ELEMENTOS INTERNOS: Alineación */
    .flow-scenario, .scenario-container, .pipeline-container {
        display: flex;
        flex-direction: column !important; /* Todo hacia abajo */
        align-items: center !important; /* Todo al centro */
        width: 100%;
        gap: 0;
    }
    
    /* Ocultar escenarios inactivos */
    .flow-scenario { display: none; }
    .flow-scenario.active { display: flex; }

    /* 5. NODOS (BOTONES): Tamaño adaptable */
    .c-node, .pipe-step {
        width: 100% !important;
        max-width: 260px !important; /* Ancho máximo para que no toque bordes */
        margin: 0 auto !important; /* Centrado automático */
        
        display: flex;
        flex-direction: row; /* Icono al lado del texto */
        align-items: center;
        justify-content: center; /* Contenido centrado */
        gap: 15px;
        
        padding: 15px 20px !important;
        box-sizing: border-box;
        background: #111;
        border: 1px solid #333;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        position: relative;
        z-index: 2;
    }

    /* Ajuste de texto dentro de los nodos */
    .c-node span, .pipe-label {
        font-size: 0.9rem !important;
        white-space: nowrap; /* Evita roturas feas */
    }
    .c-node i, .pipe-icon { font-size: 1.4rem !important; margin: 0; }

    /* 6. CABLES: Verticales y centrados */
    .c-cable, .pipe-line {
        width: 4px !important;
        height: 50px !important; /* Longitud del cable */
        background: #333;
        margin: 0 auto !important; /* Centrado estricto */
        position: relative;
        z-index: 1;
    }
    
    .branch-cables { display: none !important; } /* Eliminar ramas complejas en móvil */

    /* Paquete de luz */
    .c-packet, .pipe-flow {
        width: 100% !important; 
        left: 0 !important;
        height: 30%;
    }

    /* 7. TEXTO INFERIOR (CAPTION): EL FIX DEL TEXTO CORTADO */
    .flow-caption {
        width: 95% !important; /* Ocupa casi todo el ancho */
        max-width: 340px; /* Pero no te pases en tablets */
        margin: 30px auto 0 auto !important; /* Centrado */
        
        padding: 20px !important;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        
        text-align: center;
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        color: #ccc;
        
        /* MAGIA PARA QUE NO SE CORTE: */
        white-space: normal !important; /* Permite saltos de línea */
        height: auto !important; /* Altura crece con el texto */
        word-wrap: break-word !important; /* Rompe palabras si es necesario */
        display: block !important;
    }

    /* Forzar que la etiqueta (DETECTADO:) tenga su propia línea */
    .flow-caption span {
        display: block;
        margin-bottom: 8px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-size: 0.75rem;
    }
    
    /* Pipeline Specifics */
    .pipe-step { background: transparent !important; border: none !important; box-shadow: none !important; flex-direction: column !important; }
    .pipe-icon { width: 55px !important; height: 55px !important; margin: 0 auto !important; }
}

/* NEURAL CARD STACK - MOBILE INTERFACE */
.mobile-neural-stack {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 100%;
}

.neural-card {
    background: rgba(10, 12, 11, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-left: 3px solid var(--neon);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.neural-card:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    border-left-color: var(--neon-dim);
}

.neural-card.security {
    border-left-color: #ff3333;
    border-color: rgba(255, 51, 51, 0.2);
}

.neural-card.security:hover {
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.2);
    border-left-color: #ff6666;
}

.neural-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.n-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon);
    font-size: 22px;
    flex-shrink: 0;
}

.neural-card.security .n-icon {
    background: rgba(255, 51, 51, 0.1);
    border-color: rgba(255, 51, 51, 0.3);
    color: #ff3333;
}

.n-meta {
    flex: 1;
    min-width: 0;
}

.n-meta h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.n-status {
    display: block;
    font-size: 11px;
    color: rgba(0, 255, 136, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-family: monospace;
    font-weight: 500;
}

.neural-card.security .n-status {
    color: rgba(255, 51, 51, 0.8);
}

.n-pulse {
    width: 10px;
    height: 10px;
    background: var(--neon);
    border-radius: 50%;
    flex-shrink: 0;
    animation: neuralPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.n-pulse.red {
    background: #ff3333;
    animation: neuralPulseRed 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.8);
}

@keyframes neuralPulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    }
    50% { 
        opacity: 0.4;
        box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
    }
}

@keyframes neuralPulseRed {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 51, 51, 0.8);
    }
    50% { 
        opacity: 0.4;
        box-shadow: 0 0 5px rgba(255, 51, 51, 0.3);
    }
}

.n-body {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.n-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.n-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(0, 255, 136, 0.6);
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    padding-top: 12px;
    position: relative;
    z-index: 1;
}

.neural-card.security .n-footer {
    color: rgba(255, 51, 51, 0.6);
    border-top-color: rgba(255, 51, 51, 0.1);
}

.text-neon { color: var(--neon); }
.text-error { color: #ff3333; }

/* MOBILE VIEW - Show Neural Cards, Hide Circuits */
@media (max-width: 992px) {
    #flujos .circuit-wrapper {
        display: none !important;
    }

    .mobile-neural-stack {
        display: flex;
    }
}

/* =========================================
   GOD MODE: ANIMACIONES MÓVILES (ELON STYLE)
   ========================================= */

@media (max-width: 992px) {

    /* 1. ENTRADA DE CASCADA (Cinemática) */
    .mobile-neural-stack .neural-card {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        animation: cyberReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }

    /* Retrasos para que aparezcan una por una */
    .mobile-neural-stack .neural-card:nth-child(1) { animation-delay: 0.1s; }
    .mobile-neural-stack .neural-card:nth-child(2) { animation-delay: 0.2s; }
    .mobile-neural-stack .neural-card:nth-child(3) { animation-delay: 0.3s; }
    .mobile-neural-stack .neural-card:nth-child(4) { animation-delay: 0.4s; }

    @keyframes cyberReveal {
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* 2. ESCÁNER LÁSER (El efecto futurista) */
    .neural-card {
        overflow: hidden !important; /* Asegura que la luz no se salga */
        border: 1px solid rgba(0, 255, 136, 0.15) !important;
    }

    .neural-card::after {
        content: '';
        position: absolute;
        top: -50%; left: -50%; width: 200%; height: 200%;
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 255, 136, 0.03) 48%,
            rgba(0, 255, 136, 0.1) 50%, /* La línea brillante */
            rgba(0, 255, 136, 0.03) 52%,
            transparent 100%
        );
        transform: rotate(25deg) translateY(-100%);
        animation: hologramScan 6s infinite ease-in-out;
        pointer-events: none;
        z-index: 0;
    }

    /* Variación de tiempo para que no se muevan todas igual */
    .neural-card:nth-child(even)::after { animation-delay: 3s; }

    @keyframes hologramScan {
        0% { transform: rotate(25deg) translateY(-100%); }
        100% { transform: rotate(25deg) translateY(100%); }
    }

    /* 3. MICRO-INTERACCIÓN AL TOCAR (Feedback Táctil) */
    .neural-card:active {
        transform: scale(0.98);
        border-color: var(--neon) !important;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }
}

/* =========================================
   FIX FINAL: ANTI-LAG PRIVACIDAD (ZERO FRICTION)
   ========================================= */

@media (max-width: 768px) {
    /* 1. Desactivar efectos pesados */
    .privacy-page .legal-container-pro {
        backdrop-filter: none !important; /* ADIÓS LAG */
        -webkit-backdrop-filter: none !important;
        background: #050505 !important; /* Fondo sólido oscuro y rápido */
        box-shadow: none !important;
        border: 1px solid #222;
        margin-top: 80px !important; /* Espacio para que no choque con el navbar */
    }

    /* 2. Apagar partículas solo en esta página si sigue molestando */
    .privacy-page #particles-canvas {
        display: none !important; /* Solución nuclear al lag */
    }

    /* 3. Navbar sólido en privacidad móvil */
    .privacy-page #navbar {
        background: #000 !important;
        backdrop-filter: none !important;
        border-bottom: 1px solid #222;
    }
}

/* =========================================
   MICRO-GRÁFICOS INTERACTIVOS MÓVILES (SIEMPRE EN MOVIMIENTO)
   ========================================= */

@media (max-width: 992px) {
    
    /* Ajuste base para los contenedores dinámicos */
    .n-icon {
        position: relative;
        overflow: hidden; /* Importante para contener las animaciones */
        background: rgba(0,0,0,0.3) !important; /* Fondo más oscuro */
        padding: 0 !important; /* Quitamos padding para usar todo el espacio */
    }

    /* --- GRÁFICO 1: SERVIDOR TI --- */
    .dynamic-server { display: flex; justify-content: center; align-items: center; }
    .server-box {
        width: 60%; height: 70%; background: #111; border: 1px solid var(--neon);
        border-radius: 4px; display: flex; flex-direction: column;
        justify-content: space-evenly; align-items: center; z-index: 2;
        box-shadow: inset 0 0 5px rgba(0,255,136,0.2);
    }
    .blink-light { width: 70%; height: 3px; background: #333; border-radius: 2px; }
    .l1 { animation: serverBlink 0.8s infinite alternate; }
    .l2 { animation: serverBlink 0.8s infinite alternate-reverse 0.2s; }
    .l3 { animation: serverBlink 0.8s infinite alternate 0.4s; }
    
    .data-flow { position: absolute; width: 3px; height: 8px; background: var(--neon); z-index: 1; opacity: 0; }
    .df1 { left: 25%; animation: dataUp 2s infinite linear; }
    .df2 { right: 25%; animation: dataUp 1.5s infinite linear 0.7s; }

    @keyframes serverBlink { to { background: var(--neon); box-shadow: 0 0 5px var(--neon); } }
    @keyframes dataUp { 0% { bottom: -10px; opacity: 1; } 100% { bottom: 110%; opacity: 0; } }


    /* --- GRÁFICO 2: RADAR SEGURIDAD --- */
    .dynamic-radar { border-color: var(--error) !important; }
    .radar-sweep {
        position: absolute; top: 50%; left: 50%; width: 90%; height: 90%;
        background: conic-gradient(from 0deg, transparent 70%, rgba(255, 51, 51, 0.5));
        border-radius: 50%; transform: translate(-50%, -50%);
        border: 1px solid rgba(255, 51, 51, 0.3);
        animation: radarSpin 2s infinite linear;
    }
    .threat-point {
        position: absolute; top: 30%; right: 30%; width: 6px; height: 6px;
        background: var(--error); border-radius: 50%;
        box-shadow: 0 0 10px var(--error);
        animation: threatPulse 1s infinite;
    }
    @keyframes radarSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
    @keyframes threatPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }


    /* --- GRÁFICO 3: CHART VENTAS --- */
    .dynamic-chart { display: flex; align-items: flex-end; justify-content: space-around; padding-bottom: 5px !important; }
    .chart-bar { width: 6px; background: var(--neon); bottom: 0; border-radius: 2px 2px 0 0; }
    .b1 { height: 30%; animation: barGrow 2s infinite alternate; }
    .b2 { height: 50%; animation: barGrow 2s infinite alternate-reverse 0.3s; }
    .b3 { height: 80%; animation: barGrow 2s infinite alternate 0.6s; }
    .chart-trend {
        position: absolute; top: 20%; left: 10%; width: 80%; height: 2px;
        background: var(--neon); transform: rotate(-20deg); opacity: 0.5;
        box-shadow: 0 0 10px var(--neon);
    }
    @keyframes barGrow { 0% { transform: scaleY(0.8); opacity: 0.7; } 100% { transform: scaleY(1.2); opacity: 1; box-shadow: 0 0 10px var(--neon); } }


    /* --- GRÁFICO 4: RED NEURONAL RRHH --- */
    .dynamic-network { display: flex; justify-content: center; align-items: center; }
    .net-node { position: absolute; background: var(--neon); border-radius: 50%; box-shadow: 0 0 5px var(--neon); }
    .center-node { width: 12px; height: 12px; z-index: 2; animation: netPulse 2s infinite; }
    .sub-node { width: 8px; height: 8px; z-index: 2; opacity: 0.8; }
    .sn1 { top: 25%; left: 25%; animation: netOrbit1 3s infinite linear; }
    .sn2 { bottom: 30%; right: 20%; animation: netOrbit2 4s infinite linear reverse; }
    
    .net-link { position: absolute; background: var(--neon); height: 1px; opacity: 0.4; transform-origin: center; z-index: 1; }
    .sl1 { width: 60%; top: 45%; left: 20%; transform: rotate(45deg); animation: linkFlash 2s infinite; }
    .sl2 { width: 50%; top: 60%; right: 25%; transform: rotate(-30deg); animation: linkFlash 2s infinite 0.5s; }

    @keyframes netPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); box-shadow: 0 0 15px var(--neon); } }
    @keyframes linkFlash { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.8; } }
    /* Animaciones orbitales simples para los nodos satélite */
    @keyframes netOrbit1 { 0% { transform: translate(0,0); } 50% { transform: translate(5px, -5px); } 100% { transform: translate(0,0); } }
    @keyframes netOrbit2 { 0% { transform: translate(0,0); } 50% { transform: translate(-5px, 5px); } 100% { transform: translate(0,0); } }
}

/* =========================================
   FIX FINAL DEFINITIVO: HERO MÓVIL (Anti-Corte)
   ========================================= */

@media (max-width: 500px) {
    
    /* 1. CONTENEDOR HERO: Centrado y Limpio */
    .hero-container-split {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding-top: 110px !important; /* Espacio para el menú */
        padding-bottom: 40px !important;
        height: auto !important;
        min-height: 100vh;
        gap: 20px !important;
    }

    /* 2. EL TÍTULO (SISTEMAS INTELIGENTES) */
    .hero-block-left {
        width: 100% !important;
        padding: 0 15px !important; /* Margen de seguridad para que no toque bordes */
        text-align: center !important;
        margin: 0 !important;
    }

    h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
        width: 100%;
        margin-bottom: 15px !important;
    }

    /* 3. LA PALABRA LARGA "AUTOMATIZADOS" (AJUSTE CLAVE) */
    .text-neon-filled {
        display: block; /* Poner en su propia línea */
        width: 100%;
        
        /* MAGIA: 9.5vw asegura que quepa en 400px de ancho */
        font-size: 9.5vw !important; 
        
        /* Prevención de desbordamiento */
        white-space: nowrap !important; /* Prohibido partir la palabra */
        overflow: visible !important;
        text-align: center;
        margin-top: 5px;
    }

    /* 4. EL BOTÓN */
    .hero-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px !important;
    }
    .btn-primary-large {
        width: 100% !important;
        max-width: 300px; /* Ancho cómodo */
        padding: 16px 0 !important;
    }

    /* 5. LA CAJA NEGRA (Descripción) */
    .hero-block-right {
        position: relative !important;
        width: 95% !important; /* Casi todo el ancho */
        max-width: 400px !important;
        margin: 20px auto 0 auto !important; /* Centrado debajo */
        right: auto !important;
        top: auto !important;
        transform: none !important;
        
        background: rgba(10, 10, 10, 0.9) !important;
        border-radius: 12px;
        padding: 25px 20px !important;
        text-align: center !important;
    }
    
    .hero-subheadline { font-size: 1.1rem !important; text-align: center; }
    .hero-description-box p { font-size: 0.9rem !important; text-align: center; }
    
    /* Ajuste final para el caso de estudio dentro de la caja */
    .case-study-highlight {
        text-align: left !important; /* El testimonio se lee mejor a la izquierda */
        padding: 15px !important;
    }
}