/* ================================================================== */
/* 🎨 ESTILOS FACEBOOK APP PARA PLANES DE PAGO */
/* ================================================================== */

:root {
    --fb-blue: #1877F2;
    --fb-blue-hover: #166fe5;
    --fb-bg-gray: #F0F2F5;
    --fb-card-bg: #FFFFFF;
    --fb-text-primary: #050505;
    --fb-text-secondary: #65676B;
    --fb-border: #DADDE1;
    --fb-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
    --fb-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.1);
    --fb-radius: 8px;
    --fb-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Contenedor Principal */
.fb-pricing-section {
    background-color: var(--fb-bg-gray);
    padding: 60px 20px;
    font-family: var(--fb-font-family);
}

.fb-pricing-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Encabezado */
.fb-pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.fb-pricing-title {
    color: var(--fb-text-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.fb-pricing-subtitle {
    color: var(--fb-text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Grid de Tarjetas */
.fb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

/* Tarjeta Estilo Facebook */
.fb-card {
    background: var(--fb-card-bg);
    border-radius: var(--fb-radius);
    padding: 24px;
    box-shadow: var(--fb-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.fb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fb-shadow-hover);
}

/* Plan Destacado (Maestro) */
.fb-card.featured {
    border: 2px solid var(--fb-blue);
    position: relative;
    z-index: 2; /* Elevar un poco sobre los otros */
}

.fb-badge {
    background-color: var(--fb-blue);
    color: white;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.3);
}

/* Contenido Tarjeta */
.fb-plan-name {
    color: var(--fb-text-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.fb-plan-price {
    display: flex;
    align-items: baseline;
    margin: 16px 0;
}

.fb-amount {
    color: var(--fb-text-primary);
    font-size: 32px;
    font-weight: 800;
}

.fb-currency {
    color: var(--fb-text-secondary);
    font-size: 14px;
    margin-left: 4px;
    font-weight: 500;
}

.fb-plan-desc {
    color: var(--fb-text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    min-height: 42px; /* Altura mínima para alineación */
}

.fb-divider {
    height: 1px;
    background-color: var(--fb-border);
    margin: 16px 0;
    opacity: 0.6;
}

/* Lista de Características */
.fb-features {
    margin-bottom: 24px;
    flex-grow: 1; /* Empuja el botón hacia abajo */
}

.fb-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--fb-text-primary);
    line-height: 1.4;
}

.fb-icon-check {
    color: var(--fb-blue);
    margin-right: 10px;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    margin-top: 2px; /* Alineación óptica */
}

/* Botón Estilo FB */
.fb-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s;
    cursor: pointer;
    border: none;
}

.fb-btn-primary {
    background-color: var(--fb-blue);
    color: white !important;
}

.fb-btn-primary:hover {
    background-color: var(--fb-blue-hover);
    color: white !important;
}

.fb-btn-secondary {
    background-color: #E4E6EB;
    color: var(--fb-text-primary) !important;
}

.fb-btn-secondary:hover {
    background-color: #D8DADF;
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .fb-pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .fb-card.featured {
        transform: none;
    }
    
    .fb-pricing-title {
        font-size: 24px;
    }
}