/* --- VARIABLES --- */
:root {
    --led-blue: #00f2ff;
    --led-purple: #7000ff;
    --bg-dark: #07073a;
    --text-muted: #888;
    --glow: 0 0 15px var(--led-blue), 0 0 30px rgba(0, 242, 255, 0.3);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: white;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

/* FIX anti “fixed que baila” */
html, body {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}

body {
    position: relative;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}

/* --- FONDO ESTRELLADO (CAPA -2) --- */
#starlight-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: radial-gradient(circle at bottom, #090008 0%, #110022 100%);
    pointer-events: none;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 11, 0);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.4rem;
    user-select: none;-webkit-user-select: none;
    cursor: default;
    animation: none;
    text-shadow: 0 0 8px rgba(255,255,255,0.12);
}

.logo span {
    color: var(--led-blue);
    text-shadow:
        0 0 6px rgba(0, 242, 255, 0.65),
        0 0 16px rgba(0, 242, 255, 0.35),
        0 0 28px rgba(112, 0, 255, 0.25);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-faq {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-faq:hover { opacity: 1; color: var(--led-blue); }

@media (max-width: 600px) {
    .navbar { padding: 12px 3%; }
    .logo { font-size: 1.1rem; }
    .nav-actions { gap: 8px; }
    .btn-faq { font-size: 0.65rem; }
    .btn-main { padding: 8px 12px; font-size: 0.6rem; }
}

/* --- BOTÓN PRINCIPAL --- */
.btn-main {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--led-blue);
    color: var(--led-blue);
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: var(--glow);
    text-transform: uppercase;
}

.btn-main:hover {
    background: var(--led-blue);
    color: black;
    box-shadow: 0 0 40px var(--led-blue);
}

/* --- HERO (BLOQUE CENTRAL) --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: transparent;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.title-brand {
    font-weight: 900;
    font-size: clamp(3rem, 12vw, 8rem);
    letter-spacing: 15px;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
    text-shadow: var(--glow);
}

.subtitle {
    letter-spacing: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    user-select: none;
    -webkit-user-select: none;
    font-weight: 700;
    margin-top: 10px;
}

/* =========================================
   LED SISTEMA: GLOBAL FIJO Y ESTABLE
   ========================================= */

/* 1. El Contenedor ANCLA (Se encarga de quedarse fijo) */
.led-fixed-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Nivel de capa */
    pointer-events: none; /* Deja pasar los clicks */
    overflow: visible;
    
    /* Importante: NO poner transform aquí para asegurar el fixed */
}

/* 2. El SVG Visual (Se encarga de la forma y la posición vertical) */
.led-svg.led-sweep {
    position: absolute; /* Absoluto relativo al wrapper, no al body */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: visible;
    
    /* Bajamos el SVG visualmente */
    transform: translate3d(0, 18vh, 0);
    -webkit-transform: translate3d(0, 18vh, 0);
    
    /* Renderizado optimizado */
    will-change: transform;
    backface-visibility: hidden;
}

/* --- Animaciones de las líneas (sin cambios, déjalas igual) --- */
.led-path-glow, .led-path-core {
    fill: none !important;
    stroke-linecap: round;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
}

.led-path-glow {
    fill: none !important;
    stroke: var(--led-purple);
    stroke-linecap: round;
    
    /* MAGIA AQUÍ: Evita que la línea se engorde al estirar el SVG */
    vector-effect: non-scaling-stroke; 
    
    /* Grosor real en pantalla (fino y elegante) */
    stroke-width: 15px; 
    
    /* Brillo intenso */
    filter: drop-shadow(0 0 8px var(--led-blue)) drop-shadow(0 0 20px var(--led-purple));
    
    opacity: 0;
    will-change: opacity, stroke-dashoffset;
    transition: opacity 1.6s ease-in-out;
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
}

.led-path-core {
    fill: none !important;
    stroke: #ea00ff;
    stroke-linecap: round;
    
    /* MAGIA AQUÍ TAMBIÉN */
    vector-effect: non-scaling-stroke;
    
    /* Núcleo fino */
    stroke-width: 3px;
    
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
}

.is-on .led-path-glow { opacity: 0.1; }
.is-on .led-path-core { opacity: 1; }

.is-on .led-path-glow,
.is-on .led-path-core{
    animation: led-draw 1.4s ease-out forwards;
}

.is-on .led-path-glow{ animation-duration: 1.7s; }
.is-on .led-path-core{ animation-duration: 1.35s; }

@keyframes led-draw{
    to { stroke-dashoffset: 0; }
}

/* --- AJUSTES ESPECÍFICOS PARA MÓVIL (Ruta: Nav -> Bajo Texto -> Derecha) --- */
@media (max-width: 768px) {
    
    /* 1. TRAYECTORIA DEL LED */
    .led-path-glow, .led-path-core {
        /* Explicación de los puntos:
           M 0,100   -> INICIO: Borde izquierdo (0), altura 100 (justo debajo del Nav).
           C 150,550 -> CONTROL 1: Baja verticalmente hasta la zona del texto (aprox 550px).
           600,650   -> CONTROL 2: Pasa por debajo del centro haciendo la curva.
           1600,600  -> FIN: Sale por la derecha de la pantalla.
        */
        d: path("M -100,-20 C 100,25 20,450 1600,500");
        
        /* Ajustamos el recorrido para que la animación llegue hasta el final */
        stroke-dasharray: 1800; 
        stroke-dashoffset: 1800;
    }

    /* 2. ESTILO VISUAL (Mantenemos el que te gustó: fino y sutil) */
    .led-path-glow {
        stroke-width: 6px !important; /* Fino */
        filter: drop-shadow(0 0 4px var(--led-purple)); /* Resplandor suave */
        opacity: 0.6 !important; 
    }

    .led-path-core {
        stroke-width: 2px !important; /* Hilo blanco nítido */
        stroke: #ffffff;
        opacity: 1 !important;
    }
    
    /* 3. POSICIONAMIENTO DEL LIENZO */
    .led-svg.led-sweep {
        /* Forzamos que el SVG ocupe toda la pantalla para permitir el dibujo completo */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        transform: none !important; /* Quitamos desplazamientos antiguos */
    }
}
/* En desktop, si aún notas “bailoteo”, suele venir de transforms del carrusel:
   Esto los neutraliza sin romper Swiper (Swiper usa transform en wrapper, pero aquí
   SOLO quitamos transform si existiese en elementos que afecten al fixed global). */
.hero, .hero-content { transform: none !important; }

/* --- COMPARADOR --- */
.comparison-section { padding: 80px 5%; background: transparent; }
.section-title { text-align: center; letter-spacing: 8px; margin-bottom: 50px; font-weight: 900; }

.comparison-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
}

.img-after { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-before-wrapper { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; z-index: 2; }
.img-before { width: 900px; height: 500px; object-fit: cover; display: block; }

.slider-line { position: absolute; top: 0; left: 50%; width: 2px; height: 100%; background: var(--led-blue); z-index: 10; box-shadow: var(--glow); }
.slider-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 45px; height: 45px; background: var(--led-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: black; z-index: 11; }
.comparison-slider { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 20; }
.badge-stock { position: absolute; top: 20px; left: 20px; background: rgba(0,0,0,0.8); padding: 8px 15px; border-radius: 5px; font-size: 0.6rem; letter-spacing: 2px; }

/* --- MARCAS --- */
.brands-section { padding: 40px 5%; background: rgba(255,255,255,0.02); }
.brands-container { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.brand-icon { height: 30px; opacity: 0.3; transition: 0.4s; filter: grayscale(1); }
.brand-icon:hover { opacity: 1; filter: grayscale(0); transform: scale(1.1); }

/* --- CONFIANZA --- */
.trust-section { padding: 100px 5%; display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.trust-badge { text-align: center; max-width: 300px; flex: 1 1 250px; }
.trust-badge i { font-size: 3rem; color: var(--led-blue); margin-bottom: 20px; text-shadow: 0 0 15px var(--led-blue), 0 0 30px rgba(0, 242, 255, 0.4); }
.trust-badge h4 { font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; margin: 0; }
.trust-badge p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.6; margin-top: 15px; }

/* --- CARRUSEL PREMIUM --- */
.carousel-section {
    padding: 100px 0;
    perspective: 1000px;
}

.mySwiper {
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px; /* Ancho en PC */
    height: 400px;
    filter: blur(2px) grayscale(0.5); /* Imágenes laterales desenfocadas */
    transition: 0.5s;
}

.swiper-slide-active {
    filter: blur(0) grayscale(0);
    transform: scale(1.1); /* La central se agranda */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: zoom-in;
    transition: box-shadow 0.3s;
}

/* Brillo LED Rosa/Cian en la foto activa */
.swiper-slide-active img {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3), 0 0 60px rgba(112, 0, 255, 0.2);
    border: 1px solid var(--led-blue);
}

/* --- LIGHTBOX (Ventana ampliada) --- */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none; /* Se activa con JS */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
    cursor: zoom-out;
}

#img-ampliada {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 50px var(--led-blue);
    animation: zoomIn 0.3s ease-out;
}

.close-lightbox {
    position: absolute;
    top: 30px; right: 40px;
    color: white; font-size: 40px; font-weight: bold; cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .swiper-slide { width: 250px; height: 350px; }
}
/* --- MODAL --- */
/* --- MODAL REESTRUCTURADO --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: none; /* Controlado por JS */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(145deg, #111, #050505);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,1), 0 0 40px rgba(0, 242, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from { transform: translateY(30px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Cabecera del Modal */
.modal-content h2 {
    color: var(--led-blue);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

/* Lista de Características (Estructura de "Ficha Técnica") */
.modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #eee;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-features li:last-child { border-bottom: none; }

.modal-features i {
    color: var(--led-blue);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px var(--led-blue));
}

/* Botón de Cierre */
.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-close:hover {
    background: var(--led-purple);
    transform: rotate(90deg);
}

/* Ajuste del botón de acción */
.btn-block {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Móvil */
@media (max-width: 480px) {
    .modal-content { padding: 30px 20px; }
    .modal-content h2 { font-size: 1.2rem; }
    .modal-features { padding: 15px; }
}

.btn-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
}

/* --- WHATSAPP LED --- */
.whatsapp-led {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; background: #000;
    border: 2px solid var(--led-blue); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--led-blue); font-size: 30px; z-index: 1500;
    text-decoration: none; transition: 0.4s; box-shadow: var(--glow);
}

.wa-glow {
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--led-purple);
    opacity: 0;
    animation: led-pulse 2.5s infinite;
}

@keyframes led-pulse {
    0% { transform: scale(1); opacity: 0.8; filter: blur(2px); }
    100% { transform: scale(1.6); opacity: 0; filter: blur(12px); }
}

@media (max-width: 768px) {
    .comparison-container { height: 350px; }
    .img-before { height: 350px; width: 100vw; }
    .title-brand { letter-spacing: 8px; }
    .whatsapp-led { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 25px; }

    .led-svg.led-sweep{
        transform: translate3d(0, 20vh, 0) !important;
        -webkit-transform: translate3d(0, 20vh, 0) !important;
    }
}
/* --- SECCIÓN MAPA LED --- */
/* --- SECCIÓN SALPICADERO / DASHBOARD --- */
.map-section {
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

.dashboard-display {
    width: 100%;
    max-width: 950px;
    padding: 30px;
    background: #1a1a1c; /* Color del salpicadero */
    border-radius: 40px;
    box-shadow: 
        inset 0 2px 10px rgba(255,255,255,0.05),
        0 30px 60px rgba(0,0,0,0.8);
    position: relative;
    border: 1px solid #222;
}

/* Marco de la pantalla (Bezel) */
.screen-frame {
    background: #050505; /* Piano Black */
    padding: 15px;
    border-radius: 25px;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0,0,0,1);
}

/* Barra de estado superior */
.screen-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: #000;
    color: #555;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.status-center {
    color: var(--led-blue);
    font-size: 0.6rem;
    text-shadow: 0 0 5px var(--led-blue);
}

.status-right i { margin-left: 10px; }

/* La pantalla táctil */
.touch-screen {
    position: relative;
    height: 450px;
    background: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

.touch-screen iframe {
    /* Filtro modo nocturno elegante */
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%) grayscale(0.2);
    border: none;
}

/* Reflejo de cristal de pantalla */
.screen-reflection {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Botón Home inferior */
.home-button-area {
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.home-btn {
    width: 40px;
    height: 6px;
    background: #222;
    border-radius: 10px;
    box-shadow: inset 0 0 5px #000;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .dashboard-display { padding: 15px; border-radius: 20px; }
    .touch-screen { height: 300px; }
    .screen-status-bar { font-size: 0.5rem; }
}

/* --- CONSOLA CENTRAL COMPLETA --- */
.dashboard-console {
    display: grid;
    grid-template-columns: 120px 1fr 120px; /* Venteo - Pantalla - Venteo */
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    padding: 40px;
    background: linear-gradient(145deg, #1a1a1c, #0f0f11);
    border-radius: 50px;
    border: 1px solid #222;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    align-items: center;
}

/* Rejillas de Ventilación */
.air-vent {
    height: 350px;
    background: #0a0a0b;
    border-radius: 20px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 1px solid #1a1a1c;
    box-shadow: inset 0 0 15px #000;
    overflow: hidden;
}

.vent-slat {
    height: 8px;
    background: linear-gradient(to bottom, #222, #111);
    border-radius: 4px;
    border-bottom: 1px solid #000;
}

/* Luz LED dentro de la rejilla */
.vent-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--led-blue);
    filter: blur(8px);
    opacity: 0.6;
    box-shadow: 0 0 20px var(--led-blue);
}

.air-vent.right .vent-glow {
    left: auto;
    right: 0;
}

/* Adaptación de la pantalla central */
.screen-frame {
    background: #050505;
    padding: 12px;
    border-radius: 25px;
    border: 2px solid #252527;
    box-shadow: 0 0 30px rgba(0,0,0,1);
}

.touch-screen {
    height: 450px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.touch-screen iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(95%);
    transition: 0.5s;
}

/* RESPONSIVE: En móvil ocultamos rejillas para prioridad al mapa */
@media (max-width: 900px) {
    .dashboard-console {
        grid-template-columns: 1fr; /* Una sola columna */
        padding: 20px;
        border-radius: 30px;
    }
    
    .air-vent {
        display: none; /* Ocultamos rejillas en móvil para no saturar */
    }
    
    .touch-screen {
        height: 300px;
    }
}
/* --- CONSOLA CENTRAL COMPLETA --- */
.dashboard-console {
    display: grid;
    /* En PC: Rejilla - Pantalla - Rejilla */
    grid-template-columns: 100px 1fr 100px; 
    gap: 15px;
    width: 100%;
    max-width: 1100px;
    padding: 30px;
    background: linear-gradient(145deg, #161618, #0a0a0b);
    border-radius: 40px;
    border: 1px solid #222;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9);
    align-items: center;
    margin: 0 auto;
}

/* Rejillas de Ventilación */
.air-vent {
    height: 380px;
    background: #050505;
    border-radius: 15px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 1px solid #151517;
    box-shadow: inset 0 0 20px #000;
}

.vent-slat {
    height: 6px;
    background: linear-gradient(to bottom, #1a1a1c, #0a0a0b);
    border-radius: 3px;
    border-bottom: 1px solid #000;
}

.vent-glow {
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: var(--led-blue);
    filter: blur(6px);
    opacity: 0.5;
    box-shadow: 0 0 15px var(--led-blue);
}

.right .vent-glow { left: auto; right: 0; }

/* Contenedor de la Pantalla */
.screen-frame {
    background: #000;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #252527;
    box-shadow: 0 0 40px rgba(0,0,0,1);
    width: 100%;
}

.touch-screen {
    position: relative;
    height: 450px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.touch-screen iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(95%);
    border: none;
}

/* --- ADAPTACIÓN PARA MÓVIL (PANTALLAS PEQUEÑAS) --- */
@media (max-width: 768px) {
    .dashboard-console {
        /* En móvil: Reducimos las rejillas a "franjas" laterales estéticas */
        grid-template-columns: 35px 1fr 35px; 
        gap: 8px;
        padding: 15px 10px;
        border-radius: 25px;
    }

    .air-vent {
        height: 300px; /* Pantalla más bajita en móvil */
        padding: 10px 4px;
    }

    .vent-slat {
        height: 4px; /* Rejillas más finas */
    }

    .touch-screen {
        height: 350px; /* Ajuste de altura para que quepa bien en el viewport */
    }

    .screen-status-bar {
        font-size: 0.55rem;
        padding: 5px 10px;
    }

    .status-center {
        display: none; /* Ocultamos texto central en móvil para no amontonar */
    }

    .home-btn {
        width: 30px;
        height: 4px;
    }
}

/* Para móviles muy pequeños (iPhone SE, etc) */
@media (max-width: 400px) {
    .dashboard-console {
        grid-template-columns: 20px 1fr 20px;
        padding: 10px 5px;
    }
    
    .vent-glow {
        opacity: 0.8; /* Más intenso para que se vea a pesar de ser pequeño */
    }
}

/* --- SECCIÓN SOCIAL STATS --- */
.social-stats-section {
    padding: 100px 5%;
    background: transparent;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Tarjeta Neón Instagram */
.stat-card {
    background: #0f0f11;
    padding: 50px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 255, 0.2);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* El resplandor que recorre el borde (opcional, muy premium) */
.stat-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--led-blue), var(--led-purple), var(--led-blue));
    z-index: -1;
    filter: blur(10px);
    opacity: 0.3;
}

.stat-icon i {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin: 10px 0;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stat-label {
    letter-spacing: 3px;
    color: var(--led-blue);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.btn-follow {
    padding: 12px 30px;
    border: 1px solid var(--led-blue);
    color: var(--led-blue);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.7rem;
    border-radius: 50px;
    transition: 0.4s;
}

.btn-follow:hover {
    background: var(--led-blue);
    color: #000;
    box-shadow: 0 0 30px var(--led-blue);
}

/* Texto lateral */
.social-description h3 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0;
}

.social-description h3 span {
    color: var(--led-blue);
    text-shadow: 0 0 15px var(--led-blue);
}

.badge-new {
    background: rgba(0, 242, 255, 0.1);
    color: var(--led-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-container { grid-template-columns: 1fr; text-align: center; }
    .stat-number { font-size: 3rem; }
}
