/* --- WRAP: پنل جدا از پس‌زمینه سفید سایت --- */
.pricing-compare-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4px;
    border-radius: 24px;
    background: linear-gradient(160deg, #eaf1ff 0%, #f7faff 55%, #ffffff 100%);
    border: 1px solid rgba(0, 51, 153, 0.12);
  
}

.pricing-compare-scroll {
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 20px;
    background: #fff;
}

.pricing-compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    font-size: 0.92rem;
}

/* --- HEADER --- */
.pricing-compare-table thead th {
    padding: 0;
    border-bottom: 2px solid #eef3ff;
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.feature-col {
    text-align: right !important;
    padding: 16px 24px !important;
    font-weight: 600;
    color: #2b2f38;
    background: #f2f6ff;
}

.plan-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 16px 22px;
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #003399;
}

.plan-tag {
    font-size: 0.78rem;
    color: #8a93a6;
    font-weight: 500;
}

/* --- POPULAR PLAN --- */
.plan-col.popular {
    position: relative;
    background: linear-gradient(180deg, #e3ecff 0%, #ffffff 100%);
    box-shadow: inset 0 0 0 2px #003399;
}

.popular-cell {
    background: #eef4ff;
    box-shadow: inset 2px 0 0 #003399, inset -2px 0 0 #003399;
}

.popular-badge {
    display: inline-block;
    background: linear-gradient(135deg, #003399, #1d4ed8);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 51, 153, 0.3);
    white-space: nowrap;
}

.plan-col.popular .plan-name { color: #003399; font-size: 1.25rem; }

/* --- BODY --- */
.pricing-compare-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f2f7;
}

.pricing-compare-table tbody tr:hover td:not(.popular-cell) {
    background: #f7faff;
}

.pricing-compare-table tbody tr:hover .popular-cell {
    background: #e6edff;
}

.check-yes, .check-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.check-yes {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.check-no {
    background: rgba(148, 163, 184, 0.12);
    color: #b6bdc9;
}

/* --- CTA ROW --- */
.cta-row td {
    border-bottom: none;
    padding: 24px 12px 28px;
}

.cta-row .pricing-card.is-featured {
    display: block;
}