/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Sección de los precios */
.pricing-section {
    background-color: #f0f4f8;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
}

.pricing-section h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 5px;
    color: #333;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Grid de precios */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

/* Tarjetas de precios */
.pricing-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #e0e0e0;
}

/* Tarjeta recomendada */
.pricing-card.recommended {
    transform: translateY(-10px);
    border: 2px solid #4c7dff;
    z-index: 1;
}

/* Ribbon de recomendado */
.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.ribbon-text {
    position: absolute;
    display: block;
    width: 225px;
    padding: 5px 0;
    background-color: #4c7dff;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    transform: rotate(45deg);
    top: 30px;
    right: -65px;
}

/* Encabezado de tarjeta */
.card-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.card-header h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.amount {
    font-size: 24px;
    font-weight: bold;
    color: #4c7dff;
}

.period {
    color: #888;
    font-size: 14px;
    margin-left: 2px;
}

/* Cuerpo de tarjeta */
.card-body {
    padding: 20px;
    flex-grow: 1;
}

.features {
    list-style-type: none;
}

.features li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

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

.check {
    color: #4c7dff;
    margin-right: 8px;
    font-weight: bold;
}

.check.disabled {
    color: #ccc;
}

.disabled {
    color: #aaa;
    text-decoration: line-through;
}

/* Pie de tarjeta */
.card-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.plan-btn {
    background-color: white;
    color: #4c7dff;
    border: 2px solid #4c7dff;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-btn:hover {
    background-color: #4c7dff;
    color: white;
}

/* Media queries para tener responsividad */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-card.recommended {
        transform: none;
    }
}