* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #080808;
    color: white;
}

/* =========================
   MENÚ
========================= */
header {
    background-color: #080808;
    padding: 20px 60px;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

   .logo {
    color: white;
    font-family: 'Righteous', cursive; /* Esta es la nueva letra */
    font-size: 46px;
    letter-spacing: 2px;
    /* Sombras que mezclan azul y violeta para un efecto de neón más moderno */
    text-shadow: 0 0 8px #00aaff, 0 0 18px #7c3aed, 0 0 30px rgba(124, 58, 237, 0.7);
    transition: 0.3s ease;
    cursor: pointer;
}

/* Efecto al pasar el mouse por encima del logo */
.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 12px #00aaff, 0 0 25px #a855f7, 0 0 40px rgba(124, 58, 237, 0.9);
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.menu a:hover {
    color: #7c3aed;
}

/* =========================
   INICIO Y PORTADA (CORREGIDO)
========================= */
.inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 30px 80px;
    background-color: #080808;
}

/* TAMAÑO DE LA FOTO FAMILIAR */
.imagen-portada {
    width: 100%;
    max-width: 850px; /* Esto evita que la imagen se vea gigante */
    margin-bottom: 40px;
}

.imagen-portada img {
    width: 100%;
    height: auto;
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4); /* Sombra violeta de fondo */
    border: 2px solid #292929;
}

.contenido-inicio {
    max-width: 800px;
    z-index: 2;
}

.contenido-inicio h1 {
    font-size: 65px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.contenido-inicio h1 span {
    display: block;
    color: #a855f7;
}

/* BOTONES DE INICIO */
.botones-inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.boton {
    display: inline-block;
    background-color: #7c3aed;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.boton:hover {
    background-color: #9333ea;
    transform: translateY(-2px);
}

.boton-principal {
    font-size: 17px;
    padding: 17px 35px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.boton-secundario {
    background-color: transparent;
    border: 1px solid #7c3aed;
}

.boton-secundario:hover {
    background-color: #7c3aed;
}

/* =========================
   APLICACIONES (NUEVA SECCIÓN)
========================= */
.apps-compatibles {
    background-color: #0f0f0f;
    padding: 80px 30px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.apps-compatibles h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.contenedor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contenedor-logos img {
    width: 110px; 
    height: 110px;
    object-fit: cover;
    border-radius: 25px; /* Hace que los .jpeg cuadrados se vean como íconos de App */
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.contenedor-logos img:hover {
    transform: scale(1.1);
}

/* =========================
   BENEFICIOS
========================= */
.beneficios {
    background-color: #0b0b0b;
    padding: 100px 50px;
    text-align: center;
}

.beneficios h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.subtitulo {
    color: #aaa;
    font-size: 18px;
    margin-bottom: 55px;
}

.contenedor-beneficios {
    max-width: 1100px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.beneficio {
    background-color: #151515;
    padding: 35px 25px;
    border-radius: 15px;
    border: 1px solid #292929;
    transition: 0.3s;
}

.beneficio:hover {
    transform: translateY(-8px);
    border-color: #7c3aed;
}

.beneficio-icono {
    font-size: 45px;
    margin-bottom: 20px;
}

.beneficio h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.beneficio p {
    color: #aaa;
    line-height: 1.6;
}

/* =========================
   PLANES
========================= */
.planes {
    background-color: #080808;
    padding: 100px 30px;
    text-align: center;
}

.planes h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.contenedor-planes {
    max-width: 1100px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

.plan {
    position: relative;
    background-color: #151515;
    padding: 40px 35px;
    border-radius: 18px;
    border: 1px solid #292929;
    text-align: left;
    transition: 0.3s;
}

.plan:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
}

.plan h3 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 15px;
}

.descripcion-plan {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 25px;
}

.lista-plan {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.lista-plan li {
    color: #ddd;
    line-height: 1.6;
    padding: 12px 0;
    border-bottom: 1px solid #292929;
}

.plan .boton {
    display: block;
    text-align: center;
}

.destacado {
    border: 2px solid #7c3aed;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
}

.etiqueta {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #7c3aed;
    color: white;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

@media (min-width: 801px) {
    .contenedor-planes .plan:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 15px);
    }
}

/* =========================
   PRUEBA GRATIS
========================= */
.prueba-gratis {
    text-align: center;
    margin: 50px auto 20px;
    padding: 35px 20px;
    max-width: 700px;
    background: linear-gradient(135deg, #151515, #241044);
    border: 1px solid #7c3aed;
    border-radius: 18px;
}

.prueba-gratis h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.prueba-gratis p {
    color: #ccc;
    margin-bottom: 25px;
}

.boton-prueba {
    background: #25D366;
    font-size: 20px;
    padding: 18px 35px;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.35);
}

.boton-prueba:hover {
    background: #1ebe5d;
    transform: scale(1.04);
}

/* =========================
   PREGUNTAS FRECUENTES
========================= */
.preguntas {
    background-color: #0f0f0f;
    padding: 100px 30px;
}

.preguntas h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
}

.contenedor-preguntas {
    max-width: 850px;
    margin: auto;
}

.contenedor-preguntas details {
    background-color: #171717;
    border: 1px solid #292929;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.contenedor-preguntas summary {
    cursor: pointer;
    padding: 22px 25px;
    font-size: 18px;
    font-weight: bold;
    list-style: none;
}

.contenedor-preguntas summary:hover {
    color: #a855f7;
}

.contenedor-preguntas p {
    color: #aaa;
    padding: 0 25px 22px;
    line-height: 1.6;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */
.whatsapp-flotante {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 65px;
    height: 65px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-flotante img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.whatsapp-flotante:hover img {
    transform: scale(1.1);
}

/* =========================
   FOOTER
========================= */
footer {
    position: relative;
    background-color: #050505;
    border-top: 1px solid #222;
    padding: 50px 30px;
    text-align: center;
}

/* VOLVER ARRIBA */
.volver-arriba {
    position: absolute;
    right: 40px;
    top: 40px; 
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transform: scale(0.3) translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.volver-arriba.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.volver-arriba:hover {
    color: #128c7e;
}

/* =========================
   CELULARES Y TABLETS
========================= */
@media (min-width: 801px) {
    .contenido-inicio h1 {
        font-size: 58px;
    }
}

@media (max-width: 800px) {
    .contenedor-beneficios {
        grid-template-columns: repeat(2, 1fr);
    }
    
    header {
        padding: 20px;
    }

    .contenido-inicio h1 {
        font-size: 40px;
    }

    .contenedor-planes {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .plan {
        padding: 30px 20px; 
        border-radius: 12px;
    }
    
    /* MENÚ MÓVIL */
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 6px;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: white;
        border-radius: 5px;
        transition: all .8s ease-in-out;
    }

    nav {
        position: relative;
    }

    .menu {
        position: absolute;
        top: -500px;
        left: 0;
        width: 100%;
        background-color: #080808;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        border-bottom: 2px solid #7c3aed;
        transition: top 1s ease-in-out;
        z-index: -1;
    }

    .menu.active {
        top: 100%;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) translateX(-6px) rotate(-45deg);
        width: 20px;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) translateX(6px) rotate(45deg);
        width: 20px;
    }
    
    .volver-arriba {
        right: auto;
        left: 20px;
        top: 25px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .contenedor-beneficios {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .beneficio {
        padding: 15px 10px;
        text-align: center;
    }
    .beneficio-icono {
        font-size: 32px;
        margin-bottom: 8px;
    }
    .beneficio h3 {
        font-size: 15px;
    }
    .whatsapp-flotante {
        width: 48px;
        height: 48px;
        right: 15px;
        bottom: 15px;
    }
    
    .contenedor-logos img {
        width: 80px;
        height: 80px;
    }
}
/* Corrección de tamaño para los iconos de las apps */
.icono-app-plan {
    width: 110px;
    height: 90px;
    object-fit: contain; /* Esto encaja el logo sin deformarlo ni cortarlo */
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    filter: drop-shadow(0 8px 10px rgba(0,0,0,0.5)); /* Sombra adaptada a la silueta */
}
/* Centrar el 5to beneficio en computadoras */
@media (min-width: 801px) {
    .contenedor-beneficios .beneficio:last-child:nth-child(5) {
        grid-column: 2 / span 2; /* Lo posiciona en el medio de las 4 columnas */
    }
}
/* =========================
   BOTONES DE PAGO Y COMPROBANTE
========================= */
.botones-plan {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.botones-plan .boton {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 14px 20px;
    box-sizing: border-box;
}

/* Botón de Pagar */
.boton-pago {
    background-color: #00aaff; 
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
}

.boton-pago:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
}

/* Botón de Comprobante */
.boton-comprobante {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.boton-comprobante:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

/* =========================
   VENTANA FLOTANTE (MODAL DE TRANSFERENCIA)
========================= */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fondo oscuro transparente */
    align-items: center;
    justify-content: center;
}

.modal-contenido {
    background-color: #151515;
    padding: 30px;
    border: 1px solid #7c3aed;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.5);
    animation: aparecer 0.3s ease-out;
}

@keyframes aparecer {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cerrar-modal {
    color: #888;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar-modal:hover {
    color: white;
}

.datos-bancarios {
    background-color: #080808;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    border: 1px solid #292929;
    text-align: left;
}

.datos-bancarios p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #ddd;
}

.datos-bancarios p:last-child {
    margin-bottom: 0;
}

.datos-bancarios strong {
    color: #a855f7;
}

.nota-modal {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}
/* =========================
   BOTÓN DE DESCARGAR APLICACIÓN EN PLANES
========================= */
.boton-descargar {
    background-color: #7c3aed;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.boton-descargar:hover {
    background-color: #9333ea;
    transform: translateY(-2px);
}

.cerrar-modal-descarga {
    color: #888;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar-modal-descarga:hover {
    color: white;
}
.plataformas-adicionales .boton:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}