/* --- 1. CONFIGURACIÓN BASE --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;500;700&display=swap');

:root {
    --lab-bg: #050a0f;
    --lab-glow: #00f7ff;
    --lab-accent: #0051ff;
    --lab-dark-panel: rgba(0, 15, 30, 0.85);
    --text-main: #d1e8e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--lab-bg);
    background-image: 
        linear-gradient(rgba(5, 10, 15, 0.9), rgba(5, 10, 15, 0.95)),
        repeating-linear-gradient(45deg, rgba(0, 247, 255, 0.03) 0px, transparent 1px, transparent 20px);
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- 2. TIPOGRAFÍA Y CLASES DE UTILIDAD --- */
h1, h2, h3, .btn-lab, .logo { font-family: 'Orbitron', sans-serif; letter-spacing: 2px; }

/* Animaciones de Scroll */
.oculto { opacity: 0; transform: translateY(30px); transition: 1s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

/* --- 3. HEADER Y NAV --- */
header {
    background: rgba(5, 10, 15, 0.95);
    border-bottom: 1px solid var(--lab-accent);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
}

.logo { font-size: 1.5rem; color: #fff; text-shadow: 0 0 10px var(--lab-glow); }

nav ul { list-style: none; display: flex; gap: 20px; }
nav a { text-decoration: none; color: #fff; transition: 0.3s; }
nav a:hover, .btn-nav { color: var(--lab-glow); text-shadow: 0 0 10px var(--lab-glow); }

/* --- 4. SECCIONES --- */
.seccion { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }

.titulo-lab {
    text-align: center; font-size: 2.5rem; color: var(--lab-glow);
    text-shadow: 0 0 15px var(--lab-accent); margin-bottom: 50px;
}

/* Hero */
.hero-lab {
    height: 85vh; display: flex; justify-content: center; align-items: center; text-align: center;
    background-image: url('../img/intro.jpg'); /* Pon tu imagen de intro aquí */
    background-size: cover; background-position: center; position: relative;
}
.hero-lab::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(5,10,15,0.7); }
.hero-content-lab { position: relative; z-index: 2; }
.hero-title-lab { font-size: 4rem; color: #fff; text-shadow: 0 0 20px var(--lab-glow); }
.hero-subtitle-lab { font-size: 1.5rem; color: var(--lab-glow); margin-bottom: 30px; }

/* Video */
.video-container {
    max-width: 900px; margin: 0 auto; border-radius: 10px; overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.2); border: 1px solid var(--lab-accent);
}

/* Features */
.texto-intro { text-align: center; font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card {
    background: var(--lab-dark-panel); padding: 30px; border-radius: 15px; text-align: center;
    border: 1px solid var(--lab-accent); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 0 30px rgba(0, 247, 255, 0.2); }
.feature-number { font-size: 3rem; color: var(--lab-glow); display: block; font-weight: bold; }
.feature-card h3 { color: #fff; margin: 10px 0; }

/* Galería */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.screenshot-item {
    height: 200px; background-color: #000; background-size: cover; background-position: center;
    border-radius: 8px; border: 1px solid #333; cursor: pointer; transition: 0.3s;
}
.screenshot-item:hover { border-color: var(--lab-glow); box-shadow: 0 0 15px var(--lab-glow); }

/* Descargas */
.download-section { text-align: center; padding: 100px 20px; background: radial-gradient(circle, rgba(0,247,255,0.05), transparent); }
.download-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-lab {
    padding: 15px 30px; border: none; background: var(--lab-glow); color: #000; font-weight: bold;
    border-radius: 5px; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block;
}
.btn-lab:hover { box-shadow: 0 0 20px var(--lab-glow); transform: scale(1.05); background: #fff; }
.btn-windows { background: var(--lab-accent); color: #fff; }
.btn-disabled { background: #333; color: #777; cursor: not-allowed; }
.btn-disabled:hover { transform: none; box-shadow: none; background: #333; }
.dev-tag { display: block; font-size: 0.7rem; margin-top: 5px; }

/* Footer */
footer { text-align: center; padding: 30px; border-top: 1px solid #333; color: #666; font-size: 0.9rem; }

/* --- 5. MODAL LIGHTBOX --- */
.modal-lab {
    display: none; position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95); justify-content: center; align-items: center;
}
.modal-contenido { max-width: 90%; max-height: 90%; border: 2px solid var(--lab-glow); box-shadow: 0 0 50px var(--lab-glow); animation: zoomIn 0.3s; }
.cerrar-modal { position: absolute; top: 20px; right: 40px; color: var(--lab-glow); font-size: 50px; cursor: pointer; }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }