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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
}

/* ===== CONTENEDOR PRINCIPAL CON IMAGEN DE FONDO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* ⚠️ AQUÍ PUEDES CAMBIAR LA FOTO ⚠️ */
    background-image: url('../baul/img/fondo2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
}

/* Overlay para mejorar legibilidad del texto sobre la imagen */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

/* ===== MENÚ LATERAL VIDRIO TRANSLÚCIDO ===== */
.menu-lateral {
    position: relative;
    z-index: 10;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.2); /* TRANSPARENTE */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.menu-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    text-align: center;  /* ← ESTA LÍNEA CENTRA EL TEXTO */
}

.logo-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
/* Estilos para el logo */
.logo-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-img {
    width: 90px;        /* Ajusta este tamaño según necesites */
    height: auto;       /* Mantiene la proporción */
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Si quieres que el logo sea más grande o pequeño, ajusta el width */
/* Opciones: 60px, 80px, 100px, 120px, etc. */

/* Para versión responsive (móvil) */
@media (max-width: 768px) {
    .logo-img {
        width: 50px;     /* Logo más pequeño en móvil */
    }
}
/* Contenedor que agrupa logo y título */
.logo-contenedor {
    display: flex;
    align-items: center;  /* Centra verticalmente */
    gap: 20px;            /* Espacio entre logo y título */
    margin-bottom: 1rem;
}

.logo-contenedor .logo-img {
    width: 70px;
    height: auto;
    display: block;
}

.logo-contenedor h1 {
    margin: 0;
    font-size: 2rem;
    color: #000000;
}

/* El párrafo sigue debajo */
.descripcion {
    margin-top: 0.5rem;
}

.menu-header h2 {
    color: #000000; /* NEGRO */
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5); /* Sombra para mejor legibilidad */
}

.menu-botones {
    list-style: none;
    padding: 0 1rem;
    flex: 1;
}

.menu-botones li {
    margin-bottom: 0.8rem;
}

/* Botón vidrio translúcido con efecto hundimiento */
.btn-vidrio {
    width: 100%;
    padding: 1rem 1rem;
    background: rgba(255, 255, 255, 0.15); /* TRANSPARENTE */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: #000000; /* NEGRO */
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.1s ease;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

.btn-vidrio .icono {
    font-size: 1.3rem;
    min-width: 32px;
    color: #f97316; /* Naranja */
}

.btn-vidrio .texto {
    flex: 1;
}

/* Efecto hover */
.btn-vidrio:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(5px);
}

/* EFECTO HUNDIMIENTO (al hacer clic) */
.btn-vidrio:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Botón activo/seleccionado */
.btn-vidrio.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.version {
    color: #000000; /* NEGRO */
    font-size: 0.75rem;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

/* ===== CONTENIDO PRINCIPAL ===== */
.contenido-principal {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* Scroll personalizado */
.contenido-principal::-webkit-scrollbar {
    width: 8px;
}

.contenido-principal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.contenido-principal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* ===== TARJETAS DE CONTENIDO ===== */
.card-vidrio {
    background: rgba(255, 255, 255, 0.15); /* TRANSPARENTE */
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #000000; /* NEGRO */
    margin-bottom: 1.5rem;
}

.card-vidrio h1, 
.card-vidrio h2, 
.card-vidrio h3 {
    color: #000000; /* NEGRO */
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

.card-vidrio p {
    color: #000000; /* NEGRO */
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 1px 1px rgba(255,255,255,0.2);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.beneficio-item {
    background: rgba(255, 255, 255, 0.15); /* TRANSPARENTE */
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.beneficio-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.beneficio-icono {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

/* ===== FORMULARIO DE INGRESO ===== */
.formulario-ingreso {
    max-width: 450px;
}

.campo {
    margin-bottom: 1.5rem;
}

.campo label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000000; /* NEGRO */
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

.campo input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15); /* TRANSPARENTE */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #000000; /* NEGRO */
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.campo input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
}

.campo input::placeholder {
    color: rgba(0, 0, 0, 0.6); /* Placeholder negro semitransparente */
}

/* BOTÓN INGRESAR CON TUS COLORES */
.btn-ingresar {
    width: 100%;
    padding: 1rem;
    background: #0a0a2e; /* Color que pediste */
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ingresar:hover {
    background: #2a2a2e; /* Color al pasar el mouse */
    transform: translateY(-2px);
}

.btn-ingresar:active {
    background: #2a2a2e; /* Color al presionar */
    transform: translateY(1px);
}

/* ===== VIDEOS ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.video-item {
    background: rgba(255, 255, 255, 0.15); /* TRANSPARENTE */
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.2);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000; /* NEGRO */
    font-size: 3rem;
}

.video-item p {
    padding: 1rem;
    text-align: center;
    color: #000000; /* NEGRO */
}

/* ===== CONTACTO ===== */
.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-contacto {
    background: rgba(255, 255, 255, 0.15); /* TRANSPARENTE */
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

.info-contacto h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000; /* NEGRO */
}

.info-contacto p {
    color: #000000; /* NEGRO */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }
    
    .menu-lateral {
        width: 100%;
        height: auto;
        min-height: auto;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(20px);
    }
    
    .menu-header {
        display: none;
    }
    
    .menu-botones {
        display: flex;
        justify-content: space-around;
        padding: 0.5rem;
        margin: 0;
    }
    
    .menu-botones li {
        margin: 0;
        flex: 1;
    }
    
    .btn-vidrio {
        justify-content: center;
        padding: 0.8rem 0.2rem;
    }
    
    .btn-vidrio .texto {
        display: none;
    }
    
    .btn-vidrio .icono {
        font-size: 1.5rem;
        min-width: auto;
    }
    
    .menu-footer {
        display: none;
    }
    
    .contenido-principal {
        padding: 1rem;
        margin-bottom: 70px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .card-vidrio {
        padding: 1rem;
    }
    
    .video-placeholder {
        height: 150px;
    }
}

/* ===== ESTILOS DE PLANES Y VALORES (SAAS PRICING) ===== */
.planes-contenedor-inicio {
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    margin: 1.5rem 0 2rem 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.planes-header-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 1.6rem auto;
}

.planes-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0a0a2e;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(10, 10, 46, 0.25);
}

.planes-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    max-width: 980px;
    margin: 0 auto;
}

.plan-card-item {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 1.6rem 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border-width: 2px;
    border-style: solid;
}

.plan-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.96);
}

.plan-card-item.plan-destacado {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.plan-card-item.plan-destacado:hover {
    box-shadow: 0 18px 36px rgba(124, 58, 237, 0.3);
}

.badge-plan-flotante {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    z-index: 2;
}

.plan-top-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.plan-icono-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.plan-capacidad-tag {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    color: #ffffff;
}

.plan-titulo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.plan-descripcion-corta {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.4;
    min-height: 2.5rem;
    margin-bottom: 0.8rem;
}

.plan-precio-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 1rem;
    text-align: center;
}

.plan-precio-cifra {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    color: #0f172a;
    line-height: 1;
}

.plan-moneda {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.plan-valor-num {
    font-size: 1.95rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #0f172a;
    font-family: 'Inter', system-ui, sans-serif;
}

.plan-unidad-tiempo {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    margin-left: 2px;
}

.plan-precio-leyenda {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
}

.plan-cuentas-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 8px;
    margin-bottom: 0.9rem;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: #334155;
    text-align: left;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.35;
}

.plan-features-list li i {
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.plan-btn-accion {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.plan-btn-accion:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.planes-descuentos-banner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 14px 18px;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.descuento-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
}

@media (max-width: 820px) {
    .planes-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* ========================================================
   Botones de Pago Transbank Webpay y QR en Tarjetas de Planes
   ======================================================== */
.plan-botones-grupo {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.plan-btn-transbank {
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff !important;
    text-decoration: none;
    border: none;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28);
    transition: all 0.2s ease;
    box-sizing: border-box;
    letter-spacing: 0.2px;
}

.plan-btn-transbank:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4);
    color: #ffffff !important;
}

.plan-btn-qr {
    width: 100%;
    padding: 7px 12px;
    background: #f8fafc;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.plan-btn-qr:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
    transform: translateY(-1px);
}

/* ===== BANNER GARANTÍA & PRUEBA OPERATIVA 24 HORAS ===== */
.banner-garantia-24h {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.96) 100%);
    border: 1.5px solid rgba(0, 210, 255, 0.35);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 20px 0 28px 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 210, 255, 0.12);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-align: left;
}

.banner-garantia-24h::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.banner-garantia-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.banner-garantia-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.banner-garantia-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
    flex-shrink: 0;
}

.banner-garantia-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.banner-garantia-text p {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.banner-garantia-text strong {
    color: #ffffff;
}

.banner-garantia-puntos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-garantia-puntos span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #94a3b8;
}

.banner-garantia-puntos span i {
    color: #10b981;
    font-size: 14px;
}

.banner-garantia-cta {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-banner-probar {
    background: linear-gradient(135deg, #00d2ff 0%, #0284c7 100%);
    color: #04101e !important;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-banner-probar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
    background: linear-gradient(135deg, #38bdf8 0%, #00d2ff 100%);
}

/* ANIMACIÓN BANNER DE COOKIES */
@keyframes slideUpCookies {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}