:root {
    --bg-color: #030305;
    --primary: #00e5ff;
    --secondary: #7000ff;
    --text: #ffffff;
    --text-dim: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }

body {
    background-color: var(--bg-color);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    overflow: hidden; /* No scroll en desktop */
}

/* --- CURSOR PERSONALIZADO --- */
.cursor-dot {
    width: 8px; height: 8px; background-color: var(--primary); border-radius: 50%;
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
    width: 40px; height: 40px; border: 1px solid rgba(0, 229, 255, 0.5); border-radius: 50%;
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* --- ESTRUCTURA LANDING --- */
.landing-wrapper {
    height: 100vh; width: 100vw;
    display: flex; align-items: center; justify-content: center;
    position: relative; padding: 20px;
}

/* --- FONDO TECNOLÓGICO DINÁMICO --- */
.tech-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #0d0b21 0%, #030305 100%);
    z-index: -3;
}

.tech-bg::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
}

.hero-glow {
    position: absolute; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: -1;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, transparent 65%);
    transform: translate(-50%, -50%); transition: left 0.1s linear, top 0.1s linear;
}

.content-box {
    text-align: center; max-width: 900px; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
}

/* --- LOGO EN IMAGEN --- */
.logo-container {
    margin-bottom: 40px; padding: 10px; display: inline-block;
}
.logo-img {
    max-height: 80px; width: auto; object-fit: contain;
}

.status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 30px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 2px; margin-bottom: 30px;
    background: rgba(255,255,255,0.03); backdrop-filter: blur(5px);
}

.pulsing-dot {
    width: 8px; height: 8px; background-color: var(--primary); border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

h1 { font-size: 5.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
.text-outline { color: transparent; -webkit-text-stroke: 2px var(--primary); }
p { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 50px; font-weight: 300; max-width: 600px; }

/* --- CONTACTO --- */
.contact-area { margin-top: 20px; }
.small-text { font-size: 0.9rem; margin-bottom: 15px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 1px;}
.btn-group { display: flex; gap: 20px; justify-content: center; }

.magnetic-btn {
    display: inline-block; padding: 15px 35px; background: var(--text); color: var(--bg-color);
    font-size: 1rem; font-weight: 800; border-radius: 30px; text-transform: uppercase; text-decoration: none;
    transition: box-shadow 0.3s;
}
.magnetic-btn:hover { box-shadow: 0 0 20px rgba(255,255,255,0.2); }

.magnetic-btn.outline {
    background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2);
}
.magnetic-btn.outline:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 20px rgba(0,229,255,0.2); }


/* =========================================
   ADAPTACIÓN MÓVIL (NUEVO)
========================================= */

/* Tabletas y Móviles grandes */
@media (max-width: 768px) {
    h1 { font-size: 3.2rem; margin-bottom: 15px; }
    p { font-size: 1rem; margin-bottom: 35px; padding: 0 10px; line-height: 1.5; }
    
    .logo-container { margin-bottom: 25px; }
    .logo-img { max-height: 60px; }
    
    .status-badge { font-size: 0.75rem; padding: 6px 15px; margin-bottom: 20px; }
    
    .btn-group { flex-direction: column; gap: 15px; width: 100%; align-items: center; padding: 0 20px; }
    .magnetic-btn { width: 100%; max-width: 300px; text-align: center; padding: 15px 20px; }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    h1 { font-size: 2.3rem; }
    .contact-area { width: 100%; }
}

/* Pantallas táctiles (Desactivar cursor láser y permitir scroll si es necesario) */
@media (hover: none) and (pointer: coarse) {
    * { cursor: auto !important; }
    .cursor-dot, .cursor-outline { display: none !important; }
    
    /* Si la pantalla es muy bajita (horizontal en móvil), permite hacer scroll */
    body { overflow-y: auto; }
    .landing-wrapper { min-height: 100vh; height: auto; padding: 40px 20px; }
}