/* Estilos para el sistema de precios */
.pricing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

/* Layout responsivo para los planes */
@media (min-width: 769px) {
    .pricing-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

@media (max-width: 768px) {
    .pricing-container {
        display: flex;
        flex-direction: column;
    }
    
    .annual-plan {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .monthly-plan {
        order: 2;
        margin-bottom: 1rem;
    }
}

.plan-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    background: #ffffff;
    height: fit-content;
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.plan-card.active {
    border-color: #007bff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.plan-card.annual-plan {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-color: #007bff;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;                    /* ✅ Centrar horizontalmente */
    transform: translateX(-50%);  /* ✅ Ajustar para centrado perfecto */
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-container {
    margin: 1rem 0;
}

.price-main {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
}

.price-period {
    font-size: 1.2rem;
    color: #6c757d;
}

.price-monthly-equivalent {
    margin-top: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    margin-right: 1rem;
}

.savings {
    color: #28a745;
    font-weight: bold;
}

.price-total {
    margin-top: 0.5rem;
}

.total-amount {
    color: #dc3545;
    font-weight: bold;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Responsive - ajustes adicionales */
@media (max-width: 768px) {
    .plan-card {
        padding: 10px;
    }
    
    .price-main {
        font-size: 2.5rem;
    }
    
    .plan-badge {
        right: 10px;
        font-size: 0.7rem;
    }
}

/* Botones */
.btn-primary {
    background: #007bff;
    border-color: #007bff;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
} 