/* Estilos personalizados para precios atractivos */

/* Asegurar que todo el texto sea visible */
* {
    color: inherit;
}

/* Features Section Improvements */
.feature-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    transition: all 0.4s ease !important;
}

.feature-icon:hover {
    transform: scale(1.15) !important;
    transition: all 0.3s ease !important;
}

/* Ensure all feature text is visible */
.feature-card h4,
.feature-card p {
    color: #333 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Section spacing improvements */
#features {
    padding: 100px 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Better card styling */
.feature-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

/* Responsive improvements for features */
@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 2rem !important;
        min-height: 300px !important;
    }
    
    .feature-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 1.8rem !important;
    }
    
    #features {
        padding: 60px 0 !important;
    }
}

/* Precios tachados */
.old-price {
    text-decoration: line-through;
    color: #6c757d !important;
    font-size: 1rem;
    opacity: 0.8;
    display: block;
}

/* Badges mejorados */
.popular-badge {
    background: #28a745;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    white-space: nowrap;
}

.enterprise-badge {
    background: #fd7e14;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    white-space: nowrap;
}

/* Tarjetas de precios */
.pricing-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px 20px;
    background: white !important;
    position: relative;
    margin-top: 15px;
    height: auto;
    min-height: 500px;
}

.pricing-card.popular {
    border-color: #28a745;
    transform: scale(1.02);
}

.pricing-card.enterprise {
    border-color: #fd7e14;
}

/* Headers de precios */
.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-header h4 {
    color: #333 !important;
    font-weight: bold;
    margin-bottom: 5px;
}

.pricing-header small {
    color: #666 !important;
    display: block;
    margin: 5px 0;
}

.pricing-header .price {
    margin: 15px 0;
    line-height: 1.2;
}

.pricing-header .currency {
    font-size: 1.5rem;
    color: #007bff !important;
    font-weight: bold;
}

.pricing-header .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #007bff !important;
}

.pricing-card.popular .pricing-header .amount {
    color: #28a745 !important;
}

.pricing-card.enterprise .pricing-header .amount {
    color: #fd7e14 !important;
}

.pricing-header .period {
    font-size: 1.2rem;
    color: #666 !important;
    font-weight: normal;
}

/* Features */
.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-features ul li {
    padding: 8px 0;
    color: #333 !important;
    font-size: 0.95rem;
}

.pricing-features .fas {
    color: #28a745 !important;
    margin-right: 8px;
}

.pricing-features .fas.fa-star {
    color: #ffc107 !important;
}

/* Botones */
.btn {
    font-weight: bold;
    border-radius: 25px;
    padding: 12px 20px;
    margin: 10px 0;
}

.btn-outline-primary {
    color: #007bff !important;
    border-color: #007bff;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #007bff !important;
    color: white !important;
}

.btn-primary {
    background: #007bff !important;
    border-color: #007bff;
    color: white !important;
}

.btn-success {
    background: #28a745 !important;
    border-color: #28a745;
    color: white !important;
}

/* Comparación de ahorros */
.savings-comparison {
    background: #f8f9fa !important;
    border: 2px dashed #28a745;
    border-radius: 10px;
    margin: 20px 0;
}

.savings-comparison h5 {
    color: #333 !important;
    font-weight: bold;
}

.savings-item {
    padding: 15px;
    border-radius: 8px;
    margin: 10px;
    background: white !important;
    border: 1px solid #dee2e6;
}

.savings-item h6 {
    color: #333 !important;
    font-weight: bold;
    margin-bottom: 5px;
}

.savings-item span {
    display: block;
    margin: 5px 0;
}

.savings-item.border-success {
    border-color: #28a745 !important;
    background: rgba(40, 167, 69, 0.05) !important;
}

.savings-item.border-warning {
    border-color: #ffc107 !important;
    background: rgba(255, 193, 7, 0.05) !important;
}

/* Text colors forzados */
.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-muted {
    color: #6c757d !important;
}

.fw-bold {
    font-weight: bold !important;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    margin: 2px;
}

.bg-success {
    background-color: #28a745 !important;
    color: white !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #333 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: none;
        margin-top: 30px;
    }
    
    .pricing-header .amount {
        font-size: 2rem;
    }
    
    .popular-badge,
    .enterprise-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
