/* =========================================
   css/paginas/inicio.css
   ========================================= */

/* --- CONTENEDOR PRINCIPAL --- */
.hero {
    position: relative;
    min-height: 100vh; /* Permite que el contenedor crezca si la pantalla es muy baja */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1b1b3a 0%, var(--space-dark) 80%);
    overflow: hidden;
}

/* --- ANIMACIÓN ESTELAR --- */
.stars {
    position: absolute;
    width: 200vw;
    height: 200vh;
    background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    animation: rotateSpace 150s linear infinite;
    opacity: 0.5;
    z-index: 1;
}

@keyframes rotateSpace {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- CONTENIDO PRINCIPAL --- */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px; 
    padding: 2rem;
    width: 90%; 
}

/* --- EFECTO TERMINAL --- */
.sys-prompt {
    font-family: var(--font-mono);
    color: var(--laser-cyan);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: inline-block;
    border-right: 2px solid var(--laser-cyan);
    animation: blinkCursor 0.8s steps(2, start) infinite;
}

@keyframes blinkCursor {
    to { border-color: transparent; }
}

/* --- TEXTOS FLUIDOS --- */
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem); 
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(122, 40, 203, 0.8);
}

.hero-content h1 span {
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    color: var(--laser-cyan);
    display: block;
    margin-top: 0.5rem;
    text-shadow: none; /* Mantiene el cian limpio sin mezclarse con el morado */
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem); 
    color: #a0aab8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- BOTONES NEÓN --- */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: transparent;
    color: var(--laser-cyan);
    border: 2px solid var(--laser-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    background: var(--laser-cyan);
    color: var(--space-dark);
    box-shadow: 0 0 20px var(--laser-cyan), 0 0 40px var(--laser-cyan);
}

.btn-secondary {
    background: rgba(122, 40, 203, 0.2);
    color: var(--starlight);
    border: 2px solid var(--nebula-purple);
}

.btn-secondary:hover {
    background: var(--nebula-purple);
    box-shadow: 0 0 20px var(--nebula-purple);
}

/* =========================================
   MEDIA QUERIES (DISEÑO RESPONSIVE)
   ========================================= */

/* Portátiles pequeños y tablets en horizontal (aprox. 1024px o menos) */
@media (max-width: 1024px) {
    .hero {
        padding-top: 60px; /* Compensa la barra de navegación superior */
    }
}

/* Tablets en vertical y móviles grandes (768px) */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column; 
        width: 100%;
        gap: 1rem;
    }
    
    .btn {
        width: 100%; /* Botones ocupan todo el ancho para facilitar el toque */
        text-align: center;
    }
}

/* Móviles pequeños (480px) */
@media (max-width: 480px) {
    .sys-prompt {
        font-size: 0.9rem; /* Reduce un poco la ruta de la consola */
    }
    .hero-content {
        padding: 1rem;
    }
}