* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.4;
    overflow-x: hidden;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* PLANES - TARJETAS Y BOTONES CORREGIDOS */
.planes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.planes-titulo {
    text-align: center;
    margin-bottom: 4rem;
}

.planes-titulo h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #0078d7, #005a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
}

.planes-titulo p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* TARJETA BASE - ESTRUCTURA MEJORADA */
.plan-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    height: fit-content;
    min-height: 650px;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* ICONOS CORREGIDOS - NO SE SUPERPOSICIONAN */
.plan-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    opacity: 0.8;
    z-index: 1;
}

.plan-fundador .plan-icon { content: '🚀'; }
.plan-basico .plan-icon { content: '📦'; }
.plan-premium .plan-icon { content: '⭐'; }



.plan-header {
    margin-bottom: 0;
    padding-right: 60px; /* Espacio para el icono */
}

.plan-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.plan-precio {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0;
}

.plan-precio .moneda {
    font-size: 1.2rem;
    font-weight: 700;
}

.plan-descripcion {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0.95;
}

.plan-beneficios {
    margin-bottom: 0;
    flex: 1;
}

.plan-beneficios h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.beneficios-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beneficios-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.beneficios-list li::before {
    content: '✓';
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* CONTENIDO DE LA TARJETA - ESTRUCTURA FLEXIBLE CORREGIDA */
.plan-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* BOTÓN CORREGIDO - CENTRADO COMPLETO */
.plan-cta {
    text-align: center;
    margin-top: auto;
    padding-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-plan {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    min-width: 200px;
    text-align: center;
}

.btn-plan:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* PLAN FUNDADOR - Violeta Llamativo */
.plan-fundador {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    border-color: #A78BFA;
    color: white;
}

.plan-fundador .badge-fundador {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.plan-fundador .beneficios-list li::before {
    color: #C4B5FD;
}

/* PLAN BÁSICO - Azul */
.plan-basico {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    border-color: #60A5FA;
    color: white;
}

.plan-basico .beneficios-list li::before {
    color: #93C5FD;
}

/* PLAN PREMIUM - Dorado */
.plan-premium {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-color: #FBBF24;
    color: white;
}

.plan-premium .badge-premium {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.plan-premium .beneficios-list li::before {
    color: #FDE68A;
}

/* Responsive */
@media (max-width: 768px) {
    .planes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plan-card {
        padding: 2rem;
        min-height: 600px;
    }
    
    .planes-titulo h1 {
        font-size: 2.2rem;
    }
    
    .planes-container {
        padding: 3rem 20px;
    }
    
    .plan-precio {
        font-size: 2.5rem;
    }
    
    .plan-header {
        padding-right: 50px;
    }
    
    .plan-icon {
        font-size: 2rem;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .plan-card {
        padding: 1.5rem;
        min-height: 550px;
    }
    
    .planes-titulo h1 {
        font-size: 1.8rem;
    }
    
    .plan-header h2 {
        font-size: 1.6rem;
    }
    
    .btn-plan {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .plan-header {
        padding-right: 45px;
    }
    
    .plan-icon {
        font-size: 1.8rem;
    }
}

/* Estilos para plan seleccionado */
.plan-seleccionado-mensaje {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.plan-seleccionado-mensaje .btn-ir-registro {
    color: white;
    text-decoration: underline;
    font-weight: bold;
    margin-left: 10px;
}

.plan-seleccionado-mensaje .btn-ir-registro:hover {
    color: #e0e0e0;
}

.btn-plan-seleccionado {
    background: #28a745 !important;
    color: white !important;
    transform: scale(1.05);
}

.btn-plan-seleccionado:hover {
    background: #218838 !important;
    transform: scale(1.08);
}

.continuar-registro {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.btn-continuar {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-continuar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #764ba2;
}

.texto-ayuda {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 0.9em;
}
.instruccion-rapida {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-size: 0.9em;
}

.info-rapida {
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
    border-left: 4px solid #28a745;
}

.info-rapida p {
    margin: 0;
    color: #495057;
}

/* Efectos de hover mejorados */
.plan-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.plan-fundador:hover {
    box-shadow: 0 10px 25px rgba(148, 0, 211, 0.3);
}

.plan-basico:hover {
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.plan-premium:hover {
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}
/* Modal de Bienvenida para Planes */
.modal-bienvenida-planes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-bienvenida-planes.oculto {
    display: none;
}

.modal-contenido-planes {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalEntradaPlanes 0.5s ease-out;
}

@keyframes modalEntradaPlanes {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.btn-cerrar-modal-planes {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-cerrar-modal-planes:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-header-planes {
    text-align: center;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-logo-planes {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 3px solid white;
}

.modal-header-planes h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.subtitulo-planes {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.modal-body-planes {
    padding: 25px 30px;
}

.beneficio-item-planes {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.beneficio-item-planes:hover {
    transform: translateX(5px);
    background: #f0f2ff;
}

.beneficio-icono-planes {
    font-size: 1.8rem;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
}

.beneficio-texto-planes h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.beneficio-texto-planes p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

.beneficio-texto-planes strong {
    color: #667eea;
}

.cta-final-planes {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.cta-texto-planes h4 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 1.2rem;
}

.cta-texto-planes p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.modal-footer-planes {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    border-top: 1px solid #eee;
}

.btn-primario-planes {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-primario-planes:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secundario-planes {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 23px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.btn-secundario-planes:hover {
    background: #667eea;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-contenido-planes {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header-planes {
        padding: 20px 20px 15px;
    }
    
    .modal-header-planes h2 {
        font-size: 1.5rem;
    }
    
    .modal-body-planes {
        padding: 20px;
    }
    
    .beneficio-item-planes {
        flex-direction: column;
        text-align: center;
    }
    
    .beneficio-icono-planes {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .modal-footer-planes {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primario-planes,
    .btn-secundario-planes {
        width: 100%;
        min-width: auto;
    }
}
.periodo-prueba-especial {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53, #ffd93d);
    color: white;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse-gold 2s infinite;
    border: 2px solid #ffd93d;
}

.subtexto-prueba {
    font-size: 13px;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.95;
    font-style: italic;
}

.precio-despues {
    margin-top: 10px;
}

@keyframes pulse-gold {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.nota-precio {
    font-size: 12px;
    color: yellow;
    font-style: italic;
    margin-top: 5px;
}
.periodo-prueba-basico {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}