/* ═══════════════════════════════════════════════════════════════
   BEM Platform Pro — Pricing Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* Font loaded globally via theme — no @import needed */

.bem-pricing-wrap {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    background: linear-gradient(160deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    min-height: 100vh;
    padding: 60px 16px 80px;
    box-sizing: border-box;
    color: #fff;
}

/* ── Header ── */
.bem-pricing-header {
    text-align: center;
    margin-bottom: 56px;
}
.bem-pricing-badge {
    display: inline-block;
    background: rgba(124,58,237,.25);
    border: 1px solid rgba(124,58,237,.5);
    color: #c4b5fd;
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: .5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.bem-pricing-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    margin: 0 0 14px;
    line-height: 1.2;
}
.bem-pricing-title span {
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bem-pricing-sub {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Cards Grid ── */
.bem-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto 70px;
}

/* ── Card ── */
.bem-plan-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    padding: 36px 28px;
    position: relative;
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}
.bem-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.bem-plan-card.popular {
    border-color: #7c3aed;
    background: rgba(124,58,237,.15);
    box-shadow: 0 0 0 1px #7c3aed, 0 20px 60px rgba(124,58,237,.3);
}

.bem-plan-popular-badge {
    position: absolute;
    top: -14px;
    right: 28px;
    background: linear-gradient(90deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 50px;
    letter-spacing: .3px;
}

.bem-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c4b5fd;
    margin: 0 0 8px;
}
.bem-plan-price {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 0 0 4px;
}
.bem-plan-price sup {
    font-size: 1.1rem;
    font-weight: 700;
    vertical-align: super;
}
.bem-plan-period {
    color: #64748b;
    font-size: .85rem;
    margin: 0 0 24px;
}
.bem-plan-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 0 0 22px;
}

.bem-plan-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.bem-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
    font-size: .93rem;
    margin-bottom: 12px;
    line-height: 1.5;
}
.bem-plan-features li .ico {
    color: #4ade80;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.bem-plan-features li .ico.x {
    color: #f87171;
}

.bem-plan-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.bem-plan-btn.outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,.2);
    color: #fff;
}
.bem-plan-btn.outline:hover {
    border-color: #7c3aed;
    background: rgba(124,58,237,.15);
}
.bem-plan-btn.primary {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    box-shadow: 0 8px 24px rgba(124,58,237,.4);
}
.bem-plan-btn.primary:hover {
    box-shadow: 0 12px 32px rgba(124,58,237,.6);
    transform: translateY(-1px);
}

/* ── Compare table ── */
.bem-pricing-compare {
    max-width: 780px;
    margin: 0 auto 70px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    overflow: hidden;
}
.bem-pricing-compare table {
    width: 100%;
    border-collapse: collapse;
    font-size: .93rem;
}
.bem-pricing-compare th {
    padding: 18px 20px;
    text-align: center;
    font-weight: 700;
    color: #c4b5fd;
    background: rgba(124,58,237,.12);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.bem-pricing-compare th:first-child { text-align: right; }
.bem-th-price {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    margin-top: 4px;
}
.bem-pricing-compare td {
    padding: 14px 20px;
    text-align: center;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.bem-pricing-compare td:first-child { text-align: right; color: #e2e8f0; }
.bem-pricing-compare tr:last-child td { border-bottom: none; }
.bem-pricing-compare tr:hover td { background: rgba(255,255,255,.03); }

/* ── Recharge Section ── */
.bem-recharge-section {
    max-width: 780px;
    margin: 0 auto 70px;
    text-align: center;
}
.bem-recharge-header { margin-bottom: 32px; }
.bem-recharge-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.bem-recharge-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
}
.bem-recharge-header p {
    color: #94a3b8;
    font-size: .95rem;
    margin: 0;
}
.bem-recharge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.bem-recharge-card {
    background: rgba(245,158,11,.06);
    border: 1px solid rgba(245,158,11,.2);
    border-radius: 20px;
    padding: 28px 18px;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
    position: relative;
}
.bem-recharge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(245,158,11,.2);
}
.bem-recharge-card.popular {
    border-color: #f59e0b;
    background: rgba(245,158,11,.12);
    box-shadow: 0 0 0 1px #f59e0b, 0 12px 40px rgba(245,158,11,.2);
}
.bem-recharge-save {
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    white-space: nowrap;
}
.bem-recharge-amount {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
}
.bem-recharge-label {
    font-size: .85rem;
    color: #fbbf24;
    font-weight: 700;
    margin-bottom: 12px;
}
.bem-recharge-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.bem-recharge-per {
    font-size: .78rem;
    color: #94a3b8;
}

@media (max-width: 600px) {
    .bem-recharge-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
}

/* ── Form Section ── */
.bem-subscribe-section {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    padding: 48px 40px;
    text-align: center;
}
.bem-subscribe-section h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0 0 10px;
}
.bem-subscribe-section p {
    color: #94a3b8;
    margin: 0 0 32px;
    line-height: 1.7;
}

.bem-subscribe-form .form-row {
    margin-bottom: 16px;
    text-align: right;
}
.bem-subscribe-form label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 7px;
}
.bem-subscribe-form input,
.bem-subscribe-form select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.15);
    border-radius: 12px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: .97rem;
    box-sizing: border-box;
    transition: border-color .2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.bem-subscribe-form input::placeholder { color: #64748b; }
.bem-subscribe-form select option { background: #302b63; color: #fff; }
.bem-subscribe-form input:focus,
.bem-subscribe-form select:focus {
    border-color: #7c3aed;
    background: rgba(124,58,237,.1);
}

.bem-subscribe-form .select-wrap {
    position: relative;
}
.bem-subscribe-form .select-wrap::after {
    content: '▾';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c3aed;
    pointer-events: none;
    font-size: 1.1rem;
}

.bem-subscribe-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    margin-top: 8px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.bem-subscribe-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37,211,102,.45);
}
.bem-subscribe-submit svg {
    width: 22px; height: 22px; flex-shrink: 0;
}

.bem-form-note {
    color: #64748b;
    font-size: .8rem;
    margin-top: 14px;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .bem-pricing-wrap { padding: 40px 12px 60px; }
    .bem-subscribe-section { padding: 32px 20px; }
    .bem-pricing-compare { overflow-x: auto; }
}
