/* ========================================= */
/* ===== ESTILOS GENERALES LANDING PAGE ==== */
/* ========================================= */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    /* Fondo Aurora Dark (Igual que el Login) */
    background-color: #000000;
    /* Asegúrate de que la ruta de la imagen sea correcta desde la carpeta styles */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/fondo_login.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* ========================================= */
/* ===== HEADER (Navegación) =============== */
/* ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky; /* Se queda pegado arriba */
    top: 0;
    z-index: 100;
}

.logo-container img {
    height: 40px;
    filter: brightness(0) invert(1); 
}

/* Navegación Derecha */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: white;
}

.btn-login {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-login:hover {
    background: white;
    color: black;
}

/* ========================================= */
/* ===== SECCIÓN HERO (Principal) ========== */
/* ========================================= */
.hero {
    flex-grow: 1; /* Ocupa el espacio disponible */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 1s ease-out;
    min-height: 60vh; /* Altura mínima */
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.btn-cta:hover {
    transform: translateY(-2px);
    background-color: #1d4ed8;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
}

/* ========================================= */
/* ===== SECCIÓN DIVIDIDA (Precios/Info) === */
/* ========================================= */
.split-section {
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container-split {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
    text-align: left;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.split-content .highlight { color: #2563eb; }

.split-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #e2e8f0;
    font-size: 1rem;
}

.feature-list li i {
    color: #2563eb;
    width: 20px;
}

/* ========================================= */
/* ===== CARRUSEL ========================== */
/* ========================================= */
.split-image {
    flex: 1;
    position: relative;
}

.carousel-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active { opacity: 1; }

/* ========================================= */
/* ===== FOOTER ============================ */
/* ========================================= */
footer {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #000000;
}

/* Animaciones y Mobile */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    header { padding: 15px 20px; }
    .container-split {
        flex-direction: column;
        text-align: center;
    }
    .split-content { text-align: center; }
    .feature-list li { justify-content: center; }
}