:root {
    --primary: #00b4d8;       /* Cian tecnológico como el de los bordes de tu app */
    --primary-hover: #0077b6;
    --dark-bg: #0b111e;       /* Fondo oscuro premium */
    --card-bg: #151f32;       /* Fondo de contenedores */
    --text-main: #f8fafc;     /* Blanco/Gris claro para lectura */
    --text-muted: #94a3b8;    /* Gris secundario */
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}



/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background-color: rgba(11, 17, 30, 0.8);
    backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}



.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}



.logo span {
    color: var(--primary);
}



.nav-buttons {
    display: flex;
    gap: 1rem;
}



.btn {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}



.btn-login {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}



.btn-login:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}



.btn-register {
    background: var(--primary);
    color: #000; /* Texto oscuro para contraste limpio sobre cian */
    border: none;
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.3);
}



.btn-register:hover {
    background: var(--primary-hover);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}



/* --- HERO SECTION --- */
.hero {
    padding: 7rem 5% 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    background: linear-gradient(90deg, #00b4d8, #90e0ef);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CONTROL & FEATURES GRID (IMÁGENES) --- */
.features-section {
    padding: 2rem 5% 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 180, 216, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101726;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .img-container img {
    transform: scale(1.03);
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- MODAL DE AUTENTICACIÓN --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transform: translateY(-30px);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.btn-close:hover {
    color: var(--text-main);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-hover);
    color: var(--text-main);
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero {
        padding-top: 9rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}





/* --- NUEVO: ESTILOS PARA EL BANNER HERO --- */
        .hero-banner {
            position: relative;
            width: 100%;
            max-width: 1100px;
            height: 280px;
            margin: 0 auto 3rem auto;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        .hero-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 30%; /* Enfoca la parte central superior de la foto */
        }

        /* Capa oscura degradada para que el banner se fusione suavemente con el fondo oscuro */
        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(11, 17, 30, 0.1), rgba(11, 17, 30, 0.4));
            pointer-events: none;
        }

        /* Ajuste para pantallas de celulares */
        @media (max-width: 768px) {
            .hero-banner {
                height: 200px;
                margin-bottom: 2rem;
            }
        }