/* ============================================================
   وب تینوس — وب‌پروژه | لندینگ خدمات (داخل قالب تم وب تینوس)
   RTL / فارسی / لایت
   فونت: Kalameh (از style.css قالب وب تینوس لود می‌شود)
   ============================================================ */

/* ==================== Base ==================== */
.wp-page, .webproject-body {
    font-family: "Kalameh", "Vazirmatn", Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
}

:root {
    --wpr-primary: #3b6ef6;
    --wpr-primary-dark: #2c56d6;
    --wpr-green: #22c55e;
    --wpr-dark: #1e2a44;
    --wpr-text: #1f2937;
    --wpr-gray: #6b7280;
    --wpr-light: #9ca3af;
    --wpr-bg: #f4f5f7;
    --wpr-white: #ffffff;
    --wpr-border: #eef0f3;
    --wpr-radius: 16px;
    --wpr-shadow: 0 10px 30px rgba(30, 42, 68, 0.06);
    --wpr-shadow-lg: 0 20px 50px rgba(30, 42, 68, 0.1);
    --wpr-font: "Kalameh", "Vazirmatn", Tahoma, sans-serif;
}

/* ==================== HERO ==================== */
.hero {
    background: #ededf0;
    position: relative;
    overflow: hidden;
    padding: 40px 0 60px;
}
.hero-bg-circles {
    position: absolute;
    left: -200px;
    top: -100px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 30%, rgba(0, 0, 0, 0.02) 30% 31%, transparent 31%),
        repeating-radial-gradient(circle, transparent 0 40px, rgba(0, 0, 0, 0.015) 40px 41px);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    text-align: right;
}
.hero-content { text-align: right; }
.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 26px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--wpr-shadow);
}
.hero-badge.green { background: var(--wpr-green); color: #fff; }
.hero-badge .dot { color: var(--wpr-green); }

.hero h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--wpr-dark);
    margin-bottom: 18px;
    text-align: right;
}
.hero p.lead {
    color: var(--wpr-gray);
    font-size: 15px;
    margin-bottom: 34px;
    max-width: 480px;
    margin-left: auto;
    text-align: right;
}
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
    max-width: 520px;
    margin-right: auto;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wpr-text);
    text-align: right;
}
.hero-feature .fdot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    order: -1;
}
.hero-image { position: relative; text-align: center; }
.hero-image img {
    max-width: 100%;
    width: 100%;
    max-width: 540px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: var(--wpr-shadow-lg);
}
.hero-image-fallback {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1.05;
    margin: 0 auto;
    border-radius: 20px;
    background: linear-gradient(160deg, #d9dbe0, #c3c6cd);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}
.hero-image-fallback .person { font-size: 120px; }

/* ==================== Section shared ==================== */
section { position: relative; }
.sec-pad { padding: 80px 0; }
.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wpr-primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}
.sec-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wpr-primary);
}
.sec-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    text-align: right;
}
.sec-title.underline::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 100%;
    height: 12px;
    background: rgba(251, 191, 36, 0.45);
    z-index: -1;
}
.sec-desc {
    color: var(--wpr-gray);
    max-width: 620px;
    text-align: right;
}

/* ==================== Buttons ==================== */
.btn-order {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--wpr-primary);
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--wpr-font);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
}
.btn-order:hover { background: var(--wpr-primary-dark); color: #fff; transform: translateY(-2px); }
/* ==================== STORY (Code window) ==================== */
.story { background: var(--wpr-bg); }
.story-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 50px;
    direction: rtl;
}
.story-content { text-align: right; }
.story-content .sec-title.underline::after { background: rgba(251, 191, 36, 0.5); }

.code-visual { position: relative; min-height: 360px; }
.code-window {
    background: var(--wpr-dark);
    border-radius: 14px;
    box-shadow: var(--wpr-shadow-lg);
    overflow: hidden;
}
.code-window.main {
    position: relative;
    z-index: 3;
    width: 78%;
    margin-right: auto;
}
.code-window.behind {
    position: absolute;
    top: 40px;
    left: 0;
    width: 60%;
    z-index: 1;
    opacity: 0.9;
}
.code-titlebar {
    display: flex;
    gap: 7px;
    padding: 13px 16px;
    background: #232f4b;
}
.code-titlebar span { width: 12px; height: 12px; border-radius: 50%; }
.cdot-red { background: #ff5f56; }
.cdot-yellow { background: #ffbd2e; }
.cdot-green { background: #27c93f; }
.code-body { padding: 20px; min-height: 120px; }
.code-body pre {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 12px;
    line-height: 1.9;
    color: #cbd5e1;
    direction: ltr;
    text-align: left;
}
.code-body .cm { color: #64748b; }
.code-body .kw { color: #f472b6; }
.code-body .fn { color: #60a5fa; }
.code-body .st { color: #fbbf24; }

.code-sidebar {
    position: absolute;
    left: 40px;
    top: 90px;
    z-index: 4;
    background: var(--wpr-primary);
    border-radius: 16px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: var(--wpr-shadow-lg);
}
.code-sidebar .ci {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.code-sidebar .ci svg { width: 20px; height: 20px; }

/* ==================== STEPS ==================== */
.steps { text-align: center; }
.steps-head { text-align: center; margin-bottom: 40px; }
.steps-head .sec-eyebrow { justify-content: center; }
.rocket-icon {
    font-size: 40px;
    display: block;
    margin: 0 auto 14px;
    text-align: center;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    direction: rtl;
}
.step-card {
    background: #fff;
    border-radius: var(--wpr-radius);
    padding: 26px 20px;
    text-align: right;
    box-shadow: var(--wpr-shadow);
    border: 1px solid var(--wpr-border);
    transition: all 0.3s ease;
    position: relative;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wpr-shadow-lg);
}
.step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.step-num {
    font-size: 40px;
    font-weight: 800;
    color: #eceef2;
    line-height: 1;
}
.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eef3ff;
    color: var(--wpr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-icon svg { width: 20px; height: 20px; }
.step-tag {
    position: absolute;
    top: 22px;
    left: 20px;
    background: var(--wpr-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.step-tag.dark { background: var(--wpr-dark); }
.step-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin-bottom: 10px;
    text-align: right;
}
.step-card p {
    color: var(--wpr-gray);
    font-size: 13px;
    margin-bottom: 0;
    min-height: 46px;
    text-align: right;
}
/* ==================== PRICING ==================== */
.pricing { background: var(--wpr-bg); }
.pricing-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
    direction: rtl;
}
.pricing-left { text-align: right; }
.discount-icon {
    color: var(--wpr-primary);
    margin-bottom: 20px;
    font-size: 34px;
}
.pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin: 28px 0 30px;
}
.pfeat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--wpr-text);
    font-weight: 600;
    text-align: right;
}
.pfeat svg {
    width: 20px;
    height: 20px;
    color: var(--wpr-primary);
    flex-shrink: 0;
    margin-top: 2px;
    order: -1;
}

.price-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--wpr-shadow-lg);
    overflow: hidden;
}
.price-header {
    background: var(--wpr-primary);
    color: #fff;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-header .off {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}
.price-header h3 { font-size: 18px; font-weight: 800; }
.price-list { padding: 12px 28px; }
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--wpr-border);
}
.price-row:last-child { border-bottom: none; }
.price-row .label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--wpr-text);
    text-align: right;
}
.check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--wpr-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: -1;
}
.check svg { width: 13px; height: 13px; }
.price-row .amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--wpr-gray);
}
.plan-tags { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: flex-start; }
.ptag {
    background: #eef3ff;
    color: var(--wpr-primary);
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.plan-scope {
    color: var(--wpr-gray);
    font-size: 12px;
    font-weight: 700;
}

.price-summary { background: #f8f9fb; padding: 20px 28px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--wpr-gray);
}
.summary-row.total {
    border-top: 1px solid var(--wpr-border);
    margin-top: 8px;
    padding-top: 15px;
}
.summary-row.total .k { color: var(--wpr-dark); font-weight: 800; font-size: 15px; }
.summary-row.total .v { color: var(--wpr-primary); font-weight: 800; font-size: 18px; }
.summary-row .old { text-decoration: line-through; color: var(--wpr-light); font-size: 12px; }

/* ==================== FAQ ==================== */
.faq { text-align: center; }
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-head .folder-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fef3c7;
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--wpr-border);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: right;
}
.faq-item.open { box-shadow: var(--wpr-shadow); }
.faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: var(--wpr-dark);
    text-align: right;
}
.faq-q .q-mark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef3ff;
    color: var(--wpr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.faq-q .q-text { flex: 1; }
.faq-q .chevron {
    transition: transform 0.3s ease;
    color: var(--wpr-light);
}
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}
.faq-item.open .faq-a {
    max-height: 320px;
    padding: 0 62px 22px 24px;
}
.faq-a p {
    color: var(--wpr-gray);
    font-size: 13.5px;
    text-align: right;
}
/* ==================== STAGE 1 — صفحه مرحله ==================== */
.wstage { padding: 30px 0 70px; direction: rtl; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wpr-primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 26px;
    border: 1px solid rgba(59, 110, 246, 0.2);
    background: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: var(--wpr-shadow);
    transition: all 0.2s ease;
}
.back-link:hover { color: var(--wpr-primary-dark); background: #f2f6ff; }

.stage-page { text-align: right; }
.stage-page__head { margin-bottom: 22px; }
.stage-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eef3ff;
    color: var(--wpr-primary);
    border-radius: 30px;
    padding: 6px 15px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 16px;
}
.stage-page__title {
    font-size: 30px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin-bottom: 6px;
}
.stage-page__desc { color: var(--wpr-gray); font-size: 14.5px; }

.review-status {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 22px;
}
.review-status__icon { font-size: 20px; color: #f59e0b; }
.review-status__title { font-weight: 800; color: #a16207; font-size: 14.5px; display: block; }
.review-status__note { font-size: 13px; color: #a16207; margin-top: 2px; display: block; }

/* وضعیت «در حال ایجاد و راه‌اندازی سایت» */
.review-status--setup {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.review-status--setup .review-status__icon { color: #3b82f6; }
.review-status--setup .review-status__title { color: #1d4ed8; }
.review-status--setup .review-status__note { color: #1e40af; }
.review-status--setup .review-status__prog {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.review-status--setup .review-status__prog span {
    background: #dbeafe;
    color: #1e40af;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 11.5px;
    font-weight: 700;
}

.stage-edit-note {
    display: block;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    color: #c2410c;
    font-size: 13.5px;
    font-weight: 700;
}

/* ===== آرشیو «همه پروژه‌های من» ===== */
.wmine .mp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
}
.mp-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 28px;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--wpr-white);
    border: 1px solid var(--wpr-border);
    border-radius: 18px;
    padding: 22px 24px;
    text-decoration: none;
    box-shadow: var(--wpr-shadow);
    transition: all 0.2s ease;
}
.mp-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wpr-primary), #22c55e);
}
.mp-card:hover {
    border-color: var(--wpr-primary);
    box-shadow: 0 14px 34px rgba(30, 42, 68, 0.12);
    transform: translateY(-2px);
}
.mp-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    grid-column: 1;
}
.mp-card__key {
    font-size: 12.5px;
    color: var(--wpr-gray);
    display: inline-block;
}
.mp-card__key code {
    direction: ltr;
    display: inline-block;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2px 9px;
    font-weight: 800;
    color: #111827;
}
.mp-chip {
    display: inline-block;
    background: #f3f4f6;
    color: var(--wpr-gray);
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}
.mp-chip--approved {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}
.mp-chip--pending {
    background: #fef3c7;
    color: #a16207;
    border-color: #fde68a;
}
.mp-chip--rejected {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}
.mp-chip--empty {
    background: #f3f4f6;
    color: var(--wpr-gray);
    border-color: #e5e7eb;
}
.mp-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    grid-column: 1;
}
.mp-card__meta span {
    font-size: 13px;
    color: #4b5563;
}
.mp-card__meta b {
    color: #111827;
    font-weight: 800;
}
.mp-card__go {
    display: inline-block;
    color: var(--wpr-primary);
    font-weight: 800;
    font-size: 13.5px;
}

.stage-page__help { margin-bottom: 22px; }
.training-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 14px;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: var(--wpr-shadow);
    font-family: var(--wpr-font);
    text-align: right;
    transition: all 0.2s ease;
}
.training-box:hover { border-color: var(--wpr-primary); }
.training-box__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--wpr-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.training-box__content { display: flex; flex-direction: column; text-align: right; }
.training-box__title { font-weight: 800; color: var(--wpr-dark); font-size: 14px; }
.training-box__desc { font-size: 12.5px; color: var(--wpr-gray); }
.stage-help-text {
    background: #f8f9fb;
    border-right: 3px solid var(--wpr-primary);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: var(--wpr-gray);
    margin-top: 10px;
}

.stage-form__card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--wpr-border);
    box-shadow: var(--wpr-shadow);
    padding: 26px 28px;
    margin-bottom: 20px;
}
.stage-form__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin-bottom: 10px;
}
.stage-form__title .fi { color: var(--wpr-primary); }

.stage-list {
    margin-bottom: 22px;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 12px 16px;
    list-style: none;
}
.stage-list li {
    position: relative;
    padding-right: 18px;
    font-size: 13px;
    color: var(--wpr-gray);
    line-height: 1.8;
    text-align: right;
}
.stage-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--wpr-green);
    font-weight: 800;
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 700; color: var(--wpr-text); }
.form-control, .form-select, .form-textarea {
    width: 100%;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    padding: 11px 14px;
    font-family: var(--wpr-font);
    font-size: 14px;
    color: var(--wpr-text);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--wpr-primary);
    box-shadow: 0 0 0 3px rgba(59, 110, 246, 0.12);
}
.form-textarea { resize: vertical; min-height: 96px; }
.form-hint { font-size: 12px; color: var(--wpr-light); }
.stage-submit {
    width: 100%;
    background: var(--wpr-primary);
    color: #fff;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--wpr-font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}
.stage-submit:hover { background: var(--wpr-primary-dark); transform: translateY(-2px); }
.stage-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.stage-error, .stage-success { margin-bottom: 16px; border-radius: 12px; padding: 12px 16px; font-size: 13.5px; }
.stage-error { background: #fdeeee; color: #b91c1c; border: 1px solid #fca5a5; text-align: right; }
.stage-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #86efac;
    text-align: center;
    padding: 30px 20px;
}
.stage-success__icon { font-size: 40px; display: block; margin-bottom: 8px; }
.stage-success h3 { font-size: 20px; font-weight: 800; color: #14532d; margin-bottom: 6px; }
.stage-success p { font-size: 14px; margin-bottom: 14px; }
.go-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wpr-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-family: var(--wpr-font);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
}
.go-back:hover { background: var(--wpr-primary-dark); color: #fff; }

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    .hero-inner, .story-inner, .pricing-inner { grid-template-columns: 1fr; }
    .hero-image { order: 1; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .code-sidebar { display: none; }
    .hero-features, .pricing-features { max-width: 100%; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: 26px; }
    .sec-title { font-size: 24px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .hero-features { grid-template-columns: 1fr; }
    .pricing-features { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .stage-form__card { padding: 20px 18px; }
    .price-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    .price-row .label { font-size: 12.5px; }
}
/* ==================== وضعیت‌های بررسی ==================== */
.review-status--approved {
    background: #ecfdf3;
    border-color: #86efac;
}
.review-status--approved .review-status__icon,
.review-status--approved .review-status__title,
.review-status--approved .review-status__note { color: #166534; }

.review-status--rejected {
    background: #fef2f2;
    border-color: #fecaca;
}
.review-status--rejected .review-status__icon { color: #ef4444; }
.review-status--rejected .review-status__title { color: #b91c1c; }
.review-status--rejected .review-status__note { color: #b91c1c; }

.review-status .review-status__body { display: flex; flex-direction: column; }
.review-status .review-status__note { font-weight: 500; }

.stage-error[hidden], .stage-success[hidden], .stage-help-text[hidden] { display: none; }

/* ==================== صفحه پیگیری پروژه ==================== */
.pp-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0 30px;
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--wpr-shadow);
}
.pp-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8f9fb;
    border: 1px solid var(--wpr-border);
}
.pp-step__num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}
.pp-step__body { display: flex; flex-direction: column; }
.pp-step__title { font-size: 13px; font-weight: 700; color: var(--wpr-dark); }
.pp-step__status { font-size: 11.5px; color: var(--wpr-gray); }

.pp-step--approved { background: #ecfdf3; border-color: #bbf7d0; }
.pp-step--approved .pp-step__num { background: #22c55e; color: #fff; }
.pp-step--approved .pp-step__status { color: #15803d; }

.pp-step--pending { background: #fffbeb; border-color: #fde68a; }
.pp-step--pending .pp-step__num { background: #f59e0b; color: #fff; }
.pp-step--pending .pp-step__status { color: #a16207; }

.pp-step--rejected { background: #fef2f2; border-color: #fecaca; }
.pp-step--rejected .pp-step__num { background: #ef4444; color: #fff; }
.pp-step--rejected .pp-step__status { color: #b91c1c; }

.pp-note {
    margin-top: 14px;
    color: var(--wpr-gray);
    font-size: 13.5px;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 10px 16px;
}
.pp-step { cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.pp-step:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30, 42, 68, 0.1); }
.pp-step--active { outline: 2px solid var(--wpr-primary); }
.pp-step-detail { margin: 14px 0 22px; }
pp-note { }

.pp-pay { margin-top: 10px; }
.wstage__alt { margin-top: 22px; font-size: 13.5px; color: var(--wpr-gray); }
.wstage__altlink { color: var(--wpr-primary); font-weight: 700; }

.wstage__continue { margin-top: 20px; text-align: left; }

/* ==================== اطلاعات قفل‌شده مراحل ==================== */
.stage-readonly {
    background: #f8f9fb;
    border: 1px solid var(--wpr-border);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
}
.stage-readonly h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.lock-tag {
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 3px 12px;
    border-radius: 20px;
}
.ro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 18px;
}
.ro-item {
    display: flex;
    gap: 8px;
    font-size: 13px;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 6px;
}
.ro-key { color: var(--wpr-gray); font-weight: 600; flex-shrink: 0; }
.ro-val { color: var(--wpr-dark); font-weight: 700; overflow-wrap: anywhere; }
.ro-empty { color: var(--wpr-light); font-size: 13px; }
.stage-readonly .req { display: none; }
.form-label .req { color: #dc2626; }

@media (max-width: 640px) {
    .pp-timeline { grid-template-columns: 1fr; }
    .ro-grid { grid-template-columns: 1fr; }
}
/* ==================== صفحه انتخاب خدمات (اسلایدرها) ==================== */
.wselect .stage-page__desc strong { color: var(--wpr-primary); }

.wselect__login-note {
    background: #eef3ff;
    border: 1px dashed var(--wpr-primary);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 13.5px;
    color: var(--wpr-text);
}
.wselect__login-btn {
    display: inline-block;
    margin-top: 8px;
    background: var(--wpr-primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
}
.wselect__login-btn:hover { background: var(--wpr-primary-dark); color: #fff; }

.wselect-item { margin-bottom: 26px; }
.wselect-item__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.wselect-item__icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: #eef3ff;
    color: var(--wpr-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.wselect-item__head h3 { font-size: 16px; font-weight: 800; color: var(--wpr-dark); margin-bottom: 4px; }
.wselect-item__head p { font-size: 13px; color: var(--wpr-gray); margin: 0; }

.wselect-slider { padding: 6px 4px 0; }
.wselect-slider input[type='range'] {
    width: 100%;
    accent-color: var(--wpr-primary);
    height: 30px;
    cursor: pointer;
}
.wselect-slider__labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--wpr-light);
}
.wselect-slider__val {
    font-size: 20px;
    font-weight: 800;
    color: var(--wpr-primary);
    background: #eef3ff;
    border-radius: 10px;
    padding: 2px 16px;
    min-width: 90px;
    text-align: center;
    direction: ltr;
}

.wselect-summary .sum-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed var(--wpr-border);
    font-size: 14px;
    color: var(--wpr-text);
}
.wselect-summary .sum-line b { color: var(--wpr-dark); font-weight: 700; }
.wselect-summary .sum-line.total {
    border-bottom: 0;
    border-top: 2px solid var(--wpr-primary);
    margin-top: 8px;
    padding-top: 14px;
    font-size: 15px;
    font-weight: 800;
    color: var(--wpr-dark);
}
.wselect-summary .sum-line.total strong { color: var(--wpr-primary); font-size: 20px; }
.wselect-note { font-size: 12.5px; color: var(--wpr-light); margin-top: 12px; }

.wselect-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1.8;
}
.wselect-terms input { margin-top: 4px; }
.wselect-terms span { display: inline-block; }

#terms-notice { display: block; margin-bottom: 18px; }
#pay-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ==================== پنل پروژه‌های من (نسخه ۲.۱) ==================== */
.wmine .wselect__login-note { margin-bottom: 18px; }
.wmine-keycard { margin-bottom: 12px; }
.wmine-keycard .stage-form__title { font-size: 15px; }

/* بالای صفحات — دسترسی سریع به پروژه‌ها */
.wstage__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.wstage__topbar .back-link { margin-bottom: 0; }
.wstage__toplink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(59, 110, 246, 0.2);
    color: var(--wpr-primary);
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: var(--wpr-shadow);
    transition: all 0.2s ease;
    text-decoration: none;
}
.wstage__toplink:hover { color: var(--wpr-primary-dark); background: #f2f6ff; }

.wmine .mp-card__actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: stretch;
    min-width: 240px;
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}
.wmine .mp-card__actions .mp-card__btn { justify-content: center; }

/* کارت‌های پروژه — دکمه‌های عملیات */
.mp-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px dashed var(--wpr-border);
}
.mp-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    color: var(--wpr-primary);
    border: 1px solid rgba(59, 110, 246, 0.35);
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 800;
    font-family: var(--wpr-font);
    text-decoration: none;
    transition: all 0.2s ease;
}
.mp-card__btn:hover { background: #f2f6ff; border-color: var(--wpr-primary); }
.mp-card__btn--primary {
    background: var(--wpr-primary);
    border-color: var(--wpr-primary);
    color: #fff;
}
.mp-card__btn--primary:hover { background: var(--wpr-primary-dark); color: #fff; }

/* لیست سریع پروژه‌ها (صفحه مرحله ۱ بدون کد / ثبت‌نام) */
.wmine-quick {
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 18px;
    box-shadow: var(--wpr-shadow);
    padding: 20px 22px;
    margin-bottom: 22px;
}
.wmine-quick__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin-bottom: 14px;
}
.wmine-quick__item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border: 1px solid var(--wpr-border);
    border-radius: 12px;
    background: #fafbfc;
    margin-bottom: 10px;
}
.wmine-quick__key {
    direction: ltr;
    display: inline-block;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2px 9px;
    font-weight: 800;
    color: #111827;
    font-size: 12.5px;
}
.wmine-quick__item .mp-card__btn { padding: 7px 14px; font-size: 12.5px; }

/* نوار دسترسی سریع لندینگ */
.wpr-quickbar {
    background: linear-gradient(180deg, #ededf0, #f4f5f7);
    padding: 18px 0 0;
}
.wpr-quickbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.wpr-quickbar__links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.wpr-quickbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--wpr-primary);
    border: 1px solid rgba(59, 110, 246, 0.25);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--wpr-font);
    text-decoration: none;
    box-shadow: var(--wpr-shadow);
    transition: all 0.2s ease;
}
.wpr-quickbar__btn:hover { background: #f2f6ff; border-color: var(--wpr-primary); }
.wpr-quickbar__btn--primary { background: var(--wpr-primary); border-color: var(--wpr-primary); color: #fff; }
.wpr-quickbar__btn--primary:hover { background: var(--wpr-primary-dark); color: #fff; }
.wpr-quickbar__continue {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #fff7ed;
    border: 1px dashed #fdba74;
    border-radius: 30px;
}
.wpr-quickbar__note { font-size: 13px; font-weight: 800; color: #c2410c; }
.wpr-quickbar__continue[hidden] { display: none; }

/* ==================== انتخاب دوره پرداخت ==================== */
.wselect-periods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.wperiod {
    position: relative;
    display: block;
    cursor: pointer;
}
.wperiod input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.wperiod__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 2px solid var(--wpr-border);
    border-radius: 14px;
    padding: 14px 10px;
    font-family: var(--wpr-font);
    transition: all 0.2s ease;
}
.wperiod__body strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--wpr-dark);
}
.wperiod__body small {
    font-size: 11.5px;
    color: var(--wpr-gray);
    background: #eef3ff;
    color: var(--wpr-primary);
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: 700;
}
.wperiod input:checked + .wperiod__body {
    border-color: var(--wpr-primary);
    box-shadow: 0 6px 18px rgba(59, 110, 246, 0.18);
    background: #f4f7ff;
}
.wperiod input:checked + .wperiod__body small {
    background: var(--wpr-primary);
    color: #fff;
}
.wselect-item--disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.6);
}
.wselect-summary .sum-line.final {
    border-bottom: 0;
    border-top: 2px solid var(--wpr-green);
    margin-top: 8px;
    padding-top: 14px;
    font-size: 15px;
    font-weight: 800;
    color: var(--wpr-dark);
}
.wselect-summary .sum-line.final strong {
    color: var(--wpr-green);
    font-size: 20px;
}
.wselect-summary #sum-discount b { color: #16a34a; }

/* ==================== انتخاب هاست ==================== */
.wselect-hosts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.whost { position: relative; display: block; cursor: pointer; }
.whost input { position: absolute; opacity: 0; pointer-events: none; }
.whost__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    align-items: center;
    background: #fff;
    border: 2px solid var(--wpr-border);
    border-radius: 14px;
    padding: 14px 12px;
    font-family: var(--wpr-font);
    transition: all 0.2s ease;
}
.whost__body strong { font-size: 14px; font-weight: 800; color: var(--wpr-dark); }
.whost__body small { font-size: 12px; color: var(--wpr-gray); line-height: 1.6; }
.whost input:checked + .whost__body {
    border-color: var(--wpr-primary);
    background: #f4f7ff;
    box-shadow: 0 6px 18px rgba(59, 110, 246, 0.15);
}
.whost-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f8f9fb;
    border: 1px dashed var(--wpr-border);
    border-radius: 14px;
    padding: 14px;
}
.whost-plan { position: relative; display: block; cursor: pointer; }
.whost-plan input { position: absolute; opacity: 0; pointer-events: none; }
.whost-plan__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
    background: #fff;
    border: 2px solid var(--wpr-border);
    border-radius: 14px;
    padding: 14px 16px;
    font-family: var(--wpr-font);
    transition: all 0.2s ease;
}
.whost-plan__body strong { font-size: 14px; font-weight: 800; color: var(--wpr-dark); }
.whost-plan__body span { font-size: 12px; color: var(--wpr-gray); line-height: 1.7; }
.whost-plan__body b { font-size: 13px; color: var(--wpr-primary); font-weight: 800; }
.whost-plan input:checked + .whost-plan__body { border-color: var(--wpr-primary); background: #f4f7ff; }
@media (max-width: 480px) {
    .wselect-periods { grid-template-columns: 1fr; }
    .wselect-hosts, .whost-plans { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .wstage__topbar { justify-content: center; }
    .wpr-quickbar__inner { flex-direction: column; align-items: stretch; }
    .wpr-quickbar__links,
    .wpr-quickbar__continue { justify-content: center; }
    .mp-card__actions { flex-direction: column; align-items: stretch; }
    .mp-card__btn { width: 100%; }
    .wmine .mp-card { grid-template-columns: 1fr; }
    .wmine .mp-card__actions { grid-column: 1; grid-row: auto; min-width: 0; }
}

/* ==================== نسخه ۲ — مالات‌بندی مراحل مستقل و تایم‌لاین ==================== */
.pp-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0 30px;
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--wpr-shadow);
}
.pp-timeline::before {
    content: '';
    position: absolute;
    right: 39px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ccd9f4 0%, #ccd9f4 100%);
    z-index: 0;
}
.pp-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(248, 249, 251, 0.8);
    border: 1px solid var(--wpr-border);
    cursor: pointer;
}
.pp-step__num {
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
}
.pp-step__body { flex: 1; }
.pp-step--active { border-color: var(--wpr-primary); background: #eef3ff; }
.pp-step--active .pp-step__title { color: var(--wpr-primary); }

/* مراحل مستقل — تکمیل همه مراحل در صفحه پروژه */
.pp-details { margin-top: 8px; }
.pp-stages-title { font-size: 20px; font-weight: 800; color: var(--wpr-dark); margin: 0 0 6px; }
.pp-details .stage-page__head { margin-bottom: 22px; }

/* باکس‌های دانلود فایل نمونه (تکرار باکس آموزش) */
.stage-page__samples {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.stage-page__samples .training-box {
    display: flex;
    width: 100%;
    text-decoration: none;
    align-items: center;
}
.training-box--download .training-box__icon { background: var(--wpr-green); }
.training-box--download:hover {
    border-color: var(--wpr-primary);
    background: #f5f9ff;
    box-shadow: 0 8px 20px rgba(30, 42, 68, 0.08);
}
.training-box--download:focus-visible { outline: 2px solid var(--wpr-primary); outline-offset: 2px; }

/* فیلد بارگذاری فایل */
.form-file {
    width: 100%;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: var(--wpr-font);
    font-size: 13.5px;
    color: var(--wpr-text);
    background: #fbfbfd;
}
.form-file::file-selector-button {
    background: #fff;
    color: var(--wpr-primary);
    border: 1px solid var(--wpr-border);
    border-radius: 8px;
    padding: 7px 14px;
    font-family: var(--wpr-font);
    font-weight: 700;
    cursor: pointer;
}
.form-file__current {
    display: inline-block;
    font-size: 12.5px;
    color: var(--wpr-primary);
    font-weight: 700;
    background: #eef3ff;
    border-radius: 8px;
    padding: 4px 12px;
    margin-bottom: 4px;
}

/* یادداشت اطلاعاتی (مثلاً سرچ کنسول) */
.stage-info {
    background: #eef3ff;
    border: 1px solid #d4e2fc;
    border-right: 4px solid var(--wpr-primary);
    border-radius: 12px;
    padding: 13px 16px;
    margin: 0;
    font-size: 13.5px;
    color: #1e3a6e;
    line-height: 1.9;
    text-align: right;
}

/* پیام موفقیت درون صفحه */
.stage-success--inline {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 15px 18px;
    margin-top: 12px;
}
.stage-success--inline .stage-success__icon { font-size: 20px; }
.stage-success--inline h3 { font-size: 15px; color: #166534; margin: 0 0 4px; }
.stage-success--inline p { font-size: 13px; color: #15803d; margin: 0; line-height: 1.9; }

/* هایلایت مرحله بعدی (ادامه اتوماتیک) */
.pp-stage--highlight { animation: ppHighlight 1.4s ease 2; }
@keyframes ppHighlight {
    0%   { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0.35); }
    50%  { box-shadow: 0 0 0 10px rgba(59, 110, 246, 0.18); }
    100% { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0); }
}

/* ۳ — تایم‌لاین افقی (کلیک روی هر مرحله → همان مرحله نمایش داده شود) */
.pp-timeline {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
    overflow-x: auto;
    margin: 20px 0 30px;
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--wpr-shadow);
}
.pp-timeline::before {
    content: '';
    position: absolute;
    right: 28px;
    left: 28px;
    top: 22px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ccd9f4 0%, #ccd9f4 100%);
    z-index: 0;
}
.pp-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 124px;
    padding: 36px 10px 12px;
    border-radius: 12px;
    background: rgba(248, 249, 251, 0.85);
    border: 1px solid var(--wpr-border);
    cursor: pointer;
}
.pp-step__num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
}
.pp-step__body { display: flex; flex-direction: column; text-align: center; }
.pp-step--active { border-color: var(--wpr-primary); background: #eef3ff; }
.pp-step--active .pp-step__title { font-weight: 800; }

/* ۴ — باکس‌های دانلود فایل نمونه: کنار هم */
.stage-page__samples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.stage-page__samples .training-box {
    flex: 1 1 235px;
    display: flex;
    width: auto;
    text-decoration: none;
    align-items: center;
    padding: 11px 14px;
}
.stage-page__samples .training-box__icon { width: 34px; height: 34px; }
.stage-page__samples .training-box__title { font-size: 13px; }
.stage-page__samples .training-box__desc { font-size: 11.5px; }

/* ۵ — گزارش‌های سئو و عملکرد (بعد از تکمیل) */
.pp-reports { margin-top: 10px; }
.pp-reports__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.pp-report-card {
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 16px;
    box-shadow: var(--wpr-shadow);
    padding: 16px 18px;
    margin-bottom: 16px;
}
.pp-report__title { font-size: 15px; font-weight: 800; color: var(--wpr-dark); margin: 0 0 4px; }
.pp-report__date { font-size: 12px; color: var(--wpr-gray); display: inline-block; }
.pp-report__text {
    font-size: 13px;
    color: var(--wpr-text);
    line-height: 1.9;
    white-space: pre-wrap;
    margin-top: 10px;
    background: #f8f9fb;
    border-right: 3px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 14px;
}
.pp-report__img { display: inline-block; margin-top: 10px; }
.pp-report__img img {
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--wpr-border);
    display: block;
}


/* ==================== نسخه ۵ — اصلاح‌ها ==================== */
.pp-timeline .pp-step { flex: 1 1 0; min-width: 96px; }
.pp-timeline .pp-step__num { margin-top: 0; }
.pp-timeline .pp-step:first-child { padding-right: 26px; }
.pp-timeline .pp-step:last-child { padding-left: 14px; }

.stage-page__samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.stage-page__samples .training-box { padding: 10px 12px; }
.stage-page__samples .training-box__icon { width: 32px; height: 32px; }

.wselect__termslink { color: var(--wpr-primary); font-weight: 700; display: inline-block; margin-top: 6px; text-decoration: underline; }
.wselect__termslink:hover { color: var(--wpr-primary-dark); }

.wselect-summary .sum-line.period { border-bottom: 0; border-top: 2px solid var(--wpr-primary); margin-top: 8px; padding-top: 14px; font-size: 15px; font-weight: 800; color: var(--wpr-dark); }
.wselect-summary .sum-line.period strong { color: var(--wpr-primary); font-size: 20px; }
.wselect-summary .sum-line.period b { color: var(--wpr-dark); font-weight: 700; }

/* برگه قوانین و مقررات */
.pp-terms { background: #fff; border: 1px solid var(--wpr-border); border-radius: 18px; box-shadow: var(--wpr-shadow); padding: 26px 30px; }
.pp-terms__title { font-size: 24px; font-weight: 800; color: var(--wpr-dark); margin: 0 0 16px; }
.pp-terms__content { font-size: 14.5px; line-height: 2.1; color: var(--wpr-text); text-align: right; }
.pp-terms__content h2, .pp-terms__content h3, .pp-terms__content h4 { color: var(--wpr-dark); font-weight: 700; }

/* ۶ — دیزاین سربرگ هر مرحله (pp-stage__head) */
.pp-stage__head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(90deg, #eef3ff, #f8f9fb);
    border-right: 4px solid var(--wpr-primary);
    margin-bottom: 12px;
}
.pp-stage__head .pp-step__num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--wpr-primary);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    border: 3px solid #fff;
}
.pp-stage__head .pp-stage__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin: 0;
    flex: 1;
}

/* یادگیری بصری مهم (stage-page__desc) */
.stage-page .stage-page__desc {
    background: #eef3ff;
    border: 1px solid #d4e2fc;
    border-right: 4px solid var(--wpr-primary);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #1e3a6e;
    line-height: 1.9;
    display: block;
    margin-top: 2px;
}

/* کارت گزارش ماهانه در لندینگ */
.step-card--report {
    border: 2px dashed var(--wpr-primary);
    background: linear-gradient(180deg, #eef3ff 0%, #ffffff 100%);
    position: relative;
}
.step-card--report .step-icon {
    font-size: 26px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--wpr-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.step-card--report h3 { color: var(--wpr-primary); }

/* لودینگ بارگذاری مرحله در تایم‌لاین */
.pp-step-detail__loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wpr-gray);
    font-size: 13px;
    background: #f8f9fb;
    border: 1px solid var(--wpr-border);
    border-radius: 12px;
    padding: 14px 16px;
}
.pp-step-detail__loading .spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--wpr-border);
    border-top-color: var(--wpr-primary);
    display: inline-block;
    animation: wprSpin 0.8s linear infinite;
}
@keyframes wprSpin {
    to { transform: rotate(360deg); }
}

/* پیام خطای زیر فیلد */
.field-error {
    display: block;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    line-height: 1.8;
}
.form-field { position: relative; }

/* ریپیتر (عنوان + عکس + فیلدهای قیمت محصول) */
.wpr-repeat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.wpr-repeat__row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px dashed #c9d8f2;
    border-radius: 10px;
    background: #fafbfd;
}
.wpr-repeat__max {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.wpr-prod-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px;
    margin-top: 6px;
    background: #f0f6ff;
    border: 1px solid #dbe7fb;
    border-radius: 10px;
}
.wpr-prod-meta__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.wpr-prod-meta__field--full {
    grid-column: 1 / -1;
}
.wpr-prod-meta__label {
    font-size: 11.5px;
    font-weight: 800;
    color: #1e2a44;
}
.wpr-prod-meta__input {
    width: 100%;
    min-width: 0;
}
.wpr-repeat__del {
    border: 0;
    background: #fee2e2;
    color: #b91c1c;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    font-weight: 800;
}
.wpr-repeat__add {
    display: inline-block;
    align-self: flex-start;
    background: #eef3ff;
    color: var(--wpr-primary);
    border: 1px dashed var(--wpr-primary);
    border-radius: 10px;
    padding: 7px 16px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
}
@media (max-width: 640px) {
    .wpr-prod-meta { grid-template-columns: 1fr; }
    .wpr-repeat__row { grid-template-columns: 1fr auto; }
    .wpr-repeat__title, .wpr-repeat__max { grid-column: 1 / -1; }
}

/* باکس‌های راهنمای مرحله ۲ */
.stage-help-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.stage-help-boxes .training-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none;
}
.training-box--video .training-box__icon { background: #ef4444; }
.training-box--note { border-style: dashed; }

/* دیزاین بهتر ریپیتر */
.wpr-repeat__row {
    grid-template-columns: 1fr 2fr auto;
    align-items: start;
}
.wpr-repeat__del {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}
.wpr-repeat__del:hover { background: #fee2e2; }
.wpr-repeat__add {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 8px;
}
.wpr-repeat__currents {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.wpr-repeat__current {
    position: relative;
    display: inline-block;
}
.wpr-repeat__current img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--wpr-border);
}
.wpr-repeat__imagedel {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    border: 0;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

/* تامبنیل مقادیر (readonly و پنل مدیریت) */
.wpr-val-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--wpr-border);
    vertical-align: middle;
    margin: 2px;
}
.ro-grid .wpr-val-thumb { width: 40px; height: 40px; }

/* ==================== هدایای اشتراک در select-plan — دیزاین جذاب و حرفه‌ای ==================== */
.stage-form__card.wselect-gifts {
    position: relative;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf0 0%, #fff7ec 30%, #ffffff 100%);
    box-shadow:
        0 16px 34px rgba(245, 158, 11, 0.12),
        0 2px 10px rgba(30, 42, 68, 0.06);
    overflow: hidden;
}
.stage-form__card.wselect-gifts::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f97316, #f59e0b);
    pointer-events: none;
}
.stage-form__card.wselect-gifts::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(251, 191, 36, 0.12) 0, transparent 42%),
        radial-gradient(circle at 88% 92%, rgba(249, 115, 22, 0.08) 0, transparent 46%);
    pointer-events: none;
}
.wselect-gifts .stage-form__title {
    position: relative;
    font-size: 16.5px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 14px;
}
.wselect-gifts .stage-form__title .wselect-gifts__badge {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 10px;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
    animation: wgift-bounce 2.6s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes wgift-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12) rotate(6deg); }
}
.wselect-gifts__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    z-index: 1;
}
.wselect-gifts__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 8px;
    background: #fff;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.09);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    font-family: var(--wpr-font);
}
.wselect-gifts__item:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.65);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.16);
}
.wselect-gifts__item .wselect-gifts__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    line-height: 1;
}
.wselect-gifts__item .wselect-gifts__txt {
    font-size: 13px;
    font-weight: 700;
    color: var(--wpr-dark);
    line-height: 1.55;
}
.wselect-gifts__item .wselect-gifts__val {
    align-self: stretch;
    text-align: center;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 20px;
    padding: 4px 0;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.22);
}
@media (max-width: 720px) {
    .wselect-gifts__list { grid-template-columns: 1fr; }
    .wselect-gifts__item { flex-direction: row; justify-content: flex-start; text-align: right; }
    .wselect-gifts__item .wselect-gifts__val { margin-right: auto; width: auto; padding: 4px 14px; }
}
.wselect-gifts__item:focus-within { outline: 2px solid rgba(245, 158, 11, 0.6); outline-offset: 2px; }

/* round۱۳ اصلاح‌ها */
.wpr-repeat__add {
    padding: 3px 10px;
    font-size: 11.5px;
    border-radius: 7px;
}
.wpr-repeat__del {
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    border: 1px solid #dc2626;
    border-radius: 50%;
    padding: 0;
}
.wpr-repeat__del:hover { background: #dc2626; }
.wpr-admin .wpr-val-thumb { width: 32px; height: 32px; }

/* دیزاین حرفه‌ای باکس فقط‌خواندنی (stage-readonly) */
.stage-readonly {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(30, 42, 68, 0.06);
}
.stage-readonly h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--wpr-dark);
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 10px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.stage-readonly .lock-tag {
    background: #eef3ff;
    color: var(--wpr-primary);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
}
.ro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px 16px;
}
.ro-item {
    background: #fafbfd;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ro-key { color: #6b7280; font-size: 11.5px; }
.ro-val { color: #1e2a44; font-weight: 700; font-size: 13px; overflow-wrap: anywhere; }

/* ارزش واقعی خدمات در کارت پلن */
.plan-value-note {
    margin: 12px 0 0;
    font-size: 12.5px;
    color: var(--wpr-primary);
    background: #eef3ff;
    border: 1px solid #d4e2fc;
    border-radius: 10px;
    padding: 10px 14px;
    line-height: 1.9;
}

/* round۱۵ — اصلاحات نهایی */
em, i { font-style: normal; }

/* حذف برچسب‌های مرحله‌ها (پس از حذف از قالب، هر مورد باقی‌مانده هم مخفی) */
.step-tag { display: none !important; }

/* دکمه‌های ریپیتر — کوچک و مرتب */
.wpr-repeat__add {
    padding: 2px 9px;
    font-size: 10.5px;
    border-radius: 6px;
    min-height: 24px;
}
.wpr-repeat__del {
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    border: 1px solid #dc2626;
    border-radius: 50%;
    padding: 0;
}
.wpr-repeat__del:hover { background: #dc2626; }

/* تامبنیل مدیریت خیلی کوچک */
.wpr-admin .wpr-val-thumb {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 5px;
}

/* ===== کارت پلن — نمایش شارپ «ارزش واقعی در برابر پرداخت» ===== */
.price-card {
    background: #ffffff;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    padding: 26px 26px 24px;
    box-shadow: 0 12px 34px rgba(28, 39, 78, .10);
    position: relative;
}
.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.price-header h3 { font-size: 17px; font-weight: 800; color: var(--wpr-dark); margin: 0; }
.price-header .off {
    background: #eff6ff;
    color: var(--wpr-primary);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
}
.price-list { margin-top: 6px; }
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 11px 2px;
    border-bottom: 1px dashed #e8ecf3;
}
.price-row:last-child { border-bottom: none; }
.price-row .label { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.price-row .label .check { color: var(--wpr-primary); font-weight: 800; }
.label-sub { color: #64748b; font-size: 11.5px; line-height: 1.8; }
.amount { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; flex-shrink: 0; }
.amt-real {
    color: #94a3b8;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.amt-real s { color: #b6c2d4; text-decoration-thickness: 1px; }
.amt-pay { font-size: 14px; font-weight: 800; color: #0f172a; white-space: nowrap; }
.amt-pay.paid { color: var(--wpr-primary); font-size: 15px; }
.ptag {
    font-size: 11.5px;
    background: #eef3ff;
    color: var(--wpr-primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
}
.ptag--gift { background: #ecfdf3; color: #059669; }
.price-row--base {
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 10px 0 4px;
}
.price-row--base .amt-pay { font-size: 17px; }
.price-row--gift {
    background: #f6fef9;
    border: 1px solid #d6f2e2;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 4px 0;
}
.plan-scope { color: #64748b; font-size: 11px; text-align: left; }

/* اعلان برگه قوانین */
.pp-terms__notice {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 12px;
    border-radius: 10px;
    padding: 8px 14px;
    margin: 0 0 14px;
    line-height: 1.9;
}

/* ============ round۱۶ — بازطراحی قطعی کارت پلن و دکمه‌ها ============ */
.price-card {
    background: #ffffff;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(28, 39, 78, .10);
    overflow: hidden;
    margin: 0;
}
.price-header {
    background: #fff;
    color: var(--wpr-dark);
    padding: 10px 24px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed #e8ecf3;
}
.price-header h3 { font-size: 17px; font-weight: 800; color: var(--wpr-dark); margin: 0; }
.price-header .off {
    background: #eff6ff;
    color: var(--wpr-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
.price-list { padding: 10px 24px 4px; margin: 0; }
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px dashed #eaedf3;
}
.price-row:last-child { border-bottom: none; }
.price-row .label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--wpr-text);
    text-align: right;
    align-items: flex-start;
}
.label-title { display: inline-flex; align-items: center; gap: 8px; }
.label-sub { color: #64748b; font-size: 11.5px; font-weight: 400; line-height: 1.8; padding-right: 28px; }
.check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--wpr-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 0;
    font-size: 12px;
    font-weight: 800;
}
.amount {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
    flex-shrink: 0;
}
.amt-real { color: #94a3b8; font-size: 11px; font-weight: 400; display: flex; align-items: center; gap: 4px; }
.amt-real s { color: #b6c2d4; text-decoration-thickness: 1.5px; }
.amt-pay { color: #0f172a; font-size: 14px; font-weight: 800; white-space: nowrap; }
.amt-pay.paid { color: var(--wpr-primary); font-size: 15px; }
.ptag {
    font-size: 11.5px;
    background: #eef3ff;
    color: var(--wpr-primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
}
.ptag--gift { background: #ecfdf3; color: #059669; }
.plan-scope { color: #64748b; font-size: 11px; font-weight: 400; text-align: left; }
.price-row--base {
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 8px 0 6px;
}
.price-row--base .amt-pay { font-size: 17px; }
.price-row--gift {
    background: #f6fef9;
    border: 1px solid #d6f2e2;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 6px 0;
}
/* جمع‌بندی ارزش در برابر پرداخت */
.price-total {
    margin: 14px 24px 6px;
    background: linear-gradient(180deg, #f8faff, #f1f5ff);
    border: 1px solid #dbe3fb;
    border-radius: 14px;
    padding: 14px 16px 12px;
}
.price-total__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 3px 0; }
.price-total__label { color: #475569; font-size: 12.5px; font-weight: 600; }
.price-total__val { color: #0f172a; font-size: 13px; font-weight: 800; white-space: nowrap; }
.price-total__val--real { color: #b91c1c; }
.price-total__row--pay .price-total__label { color: #065f46; }
.price-total__row--pay .price-total__val { color: var(--wpr-primary); font-size: 15px; }
.price-total__bar { height: 8px; background: #e2e8f0; border-radius: 20px; margin: 10px 0 6px; overflow: hidden; direction: ltr; }
.ptb__in { display: block; height: 100%; border-radius: 20px; background: linear-gradient(90deg, #10b981, #34d399); }
.price-total__save {
    text-align: center;
    color: #065f46;
    font-size: 12px;
    font-weight: 600;
    background: #ecfdf3;
    border-radius: 10px;
    padding: 7px 10px;
    line-height: 1.8;
}
.price-total__save b { color: #059669; font-size: 13px; }
.plan-value-note {
    margin: 10px 24px 20px;
    font-size: 12px;
    color: #64748b;
    background: transparent;
    border: 0;
    border-top: 1px dashed #e8ecf3;
    border-radius: 0;
    padding: 12px 0 0 0;
    line-height: 2;
}
/* دکمه‌های ریپیتر — نهایی با !important */
.wpr-repeat__del {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    background: #ef4444 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 10px !important;
    line-height: 1 !important;
    border: 1px solid #dc2626 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 2px 0 !important;
}
.wpr-repeat__del:hover { background: #dc2626 !important; }
.wpr-repeat__add {
    padding: 1px 8px !important;
    font-size: 10px !important;
    border-radius: 6px !important;
    min-height: 22px !important;
    line-height: 1.6 !important;
}
.wpr-admin .wpr-val-thumb { width: 20px !important; height: 20px !important; }

/* ============ round۱۷ — اصلاح الاین کارت پلن ============ */
.price-row {
    align-items: center;
    gap: 18px;
}
.price-row .label {
    flex: 1 1 0;
    min-width: 0;
}
.price-row .amount {
    flex: 0 0 auto;
    min-width: 178px;
    min-height: 42px;
    justify-content: center;
    align-items: flex-end;
}
.price-row--base .amount,
.price-row--gift .amount { min-height: 42px; }
.amt-real { white-space: nowrap; }
.label-title { line-height: 1.6; display: inline-flex; align-items: center; gap: 8px; }
.price-row:not(.price-row--base):not(.price-row--gift) { padding: 13px 4px; }

/* ============ دکمه حذف تصویر — دقیقاً مثل دکمه حذف ردیف ============ */
.wpr-repeat__imagedel {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    background: #ef4444 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 10px !important;
    line-height: 1 !important;
    border: 1px solid #dc2626 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    top: -6px;
    left: -6px;
    cursor: pointer;
}
.wpr-repeat__imagedel:hover { background: #dc2626 !important; }

/* ============ round۱۸ — سقف محصولات خریداری‌شده در ریپیتر ============ */
.wpr-repeat__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef3ff;
    color: var(--wpr-primary);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin: 2px 0 6px;
    align-self: flex-start;
}
.wpr-repeat__meta.is-full { background: #fef2f2; color: #b91c1c; }
.wpr-repeat__add:disabled { opacity: 0.45; cursor: not-allowed; }
/* ==================== فیلد بارگذاری فایل — رابط فارسی (بدون کلمات خارجی مثل Choose File) ==================== */
input[type="file"].form-file,
input[type="file"].wpr-repeat__file,
input[type="file"].wpr-images__file,
input[type="file"][data-file-limit] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
label.wpr-filepick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: #fff;
    border: 1.5px dashed rgba(59, 110, 246, 0.4);
    border-radius: 10px;
    color: var(--wpr-primary);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--wpr-font);
    transition: all 0.18s ease;
}
label.wpr-filepick:hover {
    background: #f2f6ff;
    border-color: var(--wpr-primary);
}
.wpr-filepick__ico { font-size: 16px; line-height: 1; }
.wpr-filepick__txt { white-space: nowrap; }
.wpr-filepick__name {
    font-size: 11.5px;
    color: var(--wpr-gray);
    font-weight: 500;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
}
label.wpr-filepick.has-file {
    border-color: rgba(34, 197, 94, 0.45);
    background: #ecfdf3;
    color: #15803d;
}
.wpr-repeat__row label.wpr-filepick { max-width: 100%; }

/* ==================== کارت‌های هاست — تاکید قیمت و حالت انتخابی ==================== */
.whost-plan__body b {
    display: inline-block;
    background: #eef3ff;
    border-radius: 20px;
    padding: 3px 14px;
    color: var(--wpr-primary);
    font-weight: 800;
    font-size: 13px;
}
.whost-plan input:checked + .whost-plan__body b {
    background: var(--wpr-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 110, 246, 0.2);
}

/* ==================== حذف فیلد «نام برند» در فرم‌های مرحله ==================== */
.form-field.wpr-brand-removed,
input[name="brand"].wpr-brand-removed {
    display: none !important;
}
/* ============================================================
   هدایای اشتراک V2 — دیزاین حرفه‌ای و چشم‌نواز
   ============================================================ */
.stage-form__card.wselect-gifts {
    position: relative;
    border: 0;
    border-radius: 20px;
    background:
        radial-gradient(circle at 6% 8%, rgba(251, 191, 36, 0.18) 0, transparent 40%),
        radial-gradient(circle at 94% 10%, rgba(249, 115, 22, 0.12) 0, transparent 42%),
        linear-gradient(168deg, #fff9ec 0%, #fff3db 22%, #ffffff 55%, #f8f4ff 100%);
    box-shadow:
        0 24px 52px rgba(245, 158, 11, 0.16),
        0 5px 18px rgba(30, 42, 68, 0.08);
    padding: 26px 26px 20px;
    overflow: hidden;
}
.stage-form__card.wselect-gifts::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f97316, #f59e0b);
    pointer-events: none;
}
.wselect-gifts .stage-form__title {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 16px;
}
.wselect-gifts .stage-form__title .wselect-gifts__badge {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    border-radius: 12px;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.14), 0 6px 14px rgba(245, 158, 11, 0.25);
    animation: wgift-bounce 2.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes wgift-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.14) rotate(8deg); }
}
.wselect-gifts__list {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 6px 0 2px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}
.wselect-gifts__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 8px 13px;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 16px;
    box-shadow:
        0 8px 18px rgba(245, 158, 11, 0.10),
        0 1px 4px rgba(30, 42, 68, 0.06);
    text-align: center;
    font-family: var(--wpr-font);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wselect-gifts__item:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow:
        0 16px 32px rgba(245, 158, 11, 0.18),
        0 2px 8px rgba(30, 42, 68, 0.1);
}
.wselect-gifts__item .wselect-gifts__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 14px;
    box-shadow:
        0 0 0 5px rgba(245, 158, 11, 0.12),
        0 6px 14px rgba(245, 158, 11, 0.2);
    line-height: 1;
}
.wselect-gifts__item .wselect-gifts__txt {
    font-size: 13px;
    font-weight: 700;
    color: var(--wpr-dark);
    line-height: 1.6;
}
.wselect-gifts__item .wselect-gifts__val {
    align-self: stretch;
    text-align: center;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 20px;
    padding: 4px 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.wselect-gifts__item .wselect-gifts__val,
.wselect-gifts__item .wselect-gifts__txt {
    min-width: 0;
}
/* کارت پیشنهاد ویژه — قالب نواتم */
.wselect-gifts__featured {
    position: relative;
    background: linear-gradient(180deg, #fff6e0 0%, #ffe9c2 100%);
    border: 2px solid #f59e0b;
    transform: scale(1.04);
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.35),
        0 14px 30px rgba(245, 158, 11, 0.22);
    z-index: 2;
}
.wselect-gifts__featured::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    pointer-events: none;
}
.wselect-gifts__featured .wselect-gifts__ribbon {
    position: absolute;
    top: -9px;
    left: -5px;
    transform: rotate(-7deg);
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 13px;
    border-radius: 2px 12px 12px 2px;
    box-shadow: 0 5px 12px rgba(239, 68, 68, 0.35);
    z-index: 3;
    white-space: nowrap;
}
.wselect-gifts__featured .wselect-gifts__icon {
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #fff;
    box-shadow:
        0 0 0 5px rgba(249, 115, 22, 0.18),
        0 8px 18px rgba(249, 115, 22, 0.3);
}
.wselect-gifts__featured .wselect-gifts__val {
    background: linear-gradient(90deg, #f97316, #ef4444);
    box-shadow: 0 5px 14px rgba(239, 68, 68, 0.3);
}
.wselect-gifts__featured:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 0 0 2px #f59e0b,
        0 22px 42px rgba(245, 158, 11, 0.3);
}
@media (max-width: 900px) {
    .wselect-gifts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .wselect-gifts__list { grid-template-columns: 1fr; }
    .wselect-gifts__item { flex-direction: row; justify-content: flex-start; text-align: right; }
    .wselect-gifts__featured .wselect-gifts__ribbon { top: -9px; right: -5px; left: auto; transform: rotate(7deg); border-radius: 12px 2px 2px 12px; }
    .wselect-gifts__item .wselect-gifts__val { margin-right: auto; width: auto; padding: 4px 14px; }
}

/* ============================================================
   قیمت‌های صفحه /projects/ — بزرگ‌تر کردن «ارزش واقعی» و برجسته‌سازی هدیه نواتم
   ============================================================ */
.price-row .amt-real {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.price-row .amt-real s { color: #94a3b8; text-decoration-thickness: 1.2px; }
.price-row .label-sub { font-size: 12px; line-height: 1.7; }
.price-row--gift {
    background: linear-gradient(90deg, #fef9ee 0%, #fdf3e1 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.38);
}
.price-row--gift .label-title { color: #92400e; }
.ptag--gift {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25);
}

/* ============================================================
   یادداشت‌های فیلدهای مرحله (برای فیلدهای تزریق‌شده با JS)
   ============================================================ */
.wpr-field-note {
    display: block;
    font-size: 12px;
    color: var(--wpr-gray);
    margin-top: 6px;
}
.wpr-field-note.wpr-field-note--warn {
    color: #b45309;
    font-weight: 700;
}
.wpr-expert-only {
    background: #fffbeb;
    border: 1px dashed #f59e0b;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: #92400e;
    font-weight: 700;
}
.wpr-expert-only[hidden] { display: none; }
/* ============================================================
   باکس ویژه معرفی و خرید «قالب نواتم (Nevatheme)» — داخل کارت پلن
   ============================================================ */
.neva-box-row {
    background: linear-gradient(150deg, #ecfdf5 0%, #d9f9ec 55%, #ecfdf5 100%);
    border: 1.5px solid #34d399;
    border-bottom: none;
    padding: 14px 16px;
    margin: 6px 0;
}
.neva-box { width: 100%; }
.neva-box__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.neva-box__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #065f46;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(6, 95, 70, 0.25);
}
.neva-box__one {
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.neva-box__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 8px;
}
.neva-box__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.16), 0 6px 14px rgba(16, 185, 129, 0.25);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.neva-box__title div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}
.neva-box__title strong {
    font-size: 14.5px;
    font-weight: 800;
    color: #065f46;
}
.neva-box__title span {
    font-size: 12px;
    color: #065f46;
    line-height: 1.8;
}
.neva-box__title a { color: var(--wpr-primary); font-weight: 700; }
.neva-box__feats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.neva-box__feats li {
    background: #d1fae5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.neva-box__feats li::before { content: "★"; color: #059669; font-size: 9px; }
.neva-box__foot {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.neva-box__foot p {
    margin: 0;
    font-size: 11.5px;
    color: #065f46;
    font-weight: 500;
    line-height: 1.95;
}
.neva-box__code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #eef3ff;
    color: var(--wpr-primary);
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 0;
    border-radius: 20px;
}
.neva-box__code b { color: #065f46; font-weight: 800; }
.neva-box__cta {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    padding: 11px 0;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.neva-box__cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #047857, #059669);
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.35);
}
.wselect-gifts__link {
    color: var(--wpr-primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(59, 110, 246, 0.55);
    line-height: 1.9;
}
.wselect-gifts__link:hover { color: var(--wpr-primary-dark); border-bottom-color: var(--wpr-primary); }
@media (max-width: 520px) {
    .neva-box__head { flex-direction: column; align-items: flex-start; }
    .neva-box__title { align-items: flex-start; }
}
/* ============================================================
   هدیه «۵ محصول/خدمت اول رایگان» — کارت هدایای اشتراک + جمع مبلغ
   ============================================================ */
.wselect-gifts__free {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow:
        0 8px 18px rgba(16, 185, 129, 0.12),
        0 1px 4px rgba(30, 42, 68, 0.06);
}
.wselect-gifts__free .wselect-gifts__icon {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #fff;
    box-shadow:
        0 0 0 5px rgba(16, 185, 129, 0.16),
        0 8px 18px rgba(16, 185, 129, 0.25);
}
.wselect-gifts__free .wselect-gifts__val {
    background: linear-gradient(90deg, #059669, #10b981);
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.28);
}
.wselect-gifts__free:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 0 0 2px #10b981,
        0 22px 42px rgba(16, 185, 129, 0.3);
}
.wselect-gifts__ribbon--free {
    position: absolute;
    top: -9px;
    right: -5px;
    transform: rotate(7deg);
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 11px;
    border-radius: 2px 12px 12px 2px;
    box-shadow: 0 5px 12px rgba(16, 185, 129, 0.35);
    z-index: 3;
    white-space: nowrap;
}
.sum-free {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 12px;
    line-height: 1.7;
    white-space: nowrap;
}
/* یادآوری انتشار رایگان و نامحدود توسط خود کاربر (صفحه انتخاب خدمات + جمع مبلغ) */
.wselect-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #1e3a8a;
    line-height: 1.9;
    margin-bottom: 12px;
}
.wselect-note strong { color: #1d4ed8; }
.wselect-gifts__note,
.wselect-summary__note {
    margin: 12px 0 0;
    font-size: 11.5px;
    color: #6b7280;
    background: #f8fafc;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    padding: 8px 12px;
    line-height: 1.9;
}
.wselect-summary__note { margin-top: 10px; }
/* ============================================================
   ارتقای حرفه‌ای کارت‌های فرم + باکس تیک قالب نواتم + خلوت باکس نواتم
   ============================================================ */
.stage-form__card {
    background: #fff;
    border: 1px solid #dfe6f1;
    border-radius: 16px;
    box-shadow:
        0 10px 26px rgba(30, 42, 68, 0.08),
        0 1px 4px rgba(30, 42, 68, 0.05);
}
.stage-form__title {
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e3e9f3;
    margin-bottom: 14px;
}
.wpr-field-note.wpr-field-note--warn {
    display: block;
    background: #fff7ed;
    border: 1px dashed #fdba74;
    color: #9a3412;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 10px;
    padding: 8px 14px;
    line-height: 1.9;
    margin-top: 6px;
}
/* باکس تیک قالب نواتم — دیزاین حرفه‌ای */
.wpr-nevathem {
    display: block;
    background: linear-gradient(135deg, #eef6ff 0%, #e3f0ff 100%);
    border: 1.5px solid #bcd9f8;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 6px 16px rgba(59, 110, 246, 0.14);
    transition: all 0.18s ease;
}
.check-pill.wpr-nevathem {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: var(--wpr-font);
    font-size: 14px;
    font-weight: 700;
    color: #1d4b8f;
}
.check-pill.wpr-nevathem input {
    width: 20px;
    height: 20px;
    accent-color: var(--wpr-primary);
    flex-shrink: 0;
}
.check-pill.wpr-nevathem:has(input:checked) {
    background: #d8ecff;
    border: 1.5px solid #4b9ef4;
    box-shadow: 0 0 0 3px rgba(75, 158, 244, 0.16);
}
.wpr-nevathem__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}
.wpr-nevathem__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2c6ef1, #4b9ef4);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(59, 110, 246, 0.28);
    transition: transform 0.15s ease;
}
.wpr-nevathem__cta:hover { transform: translateY(-1px); }
.wpr-nevathem__code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef3ff;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #d9e2f9;
}
.wpr-nevathem__code b { color: #1e2a44; font-weight: 900; }
/* نشان تیک قالب نواتم در باکس readonly */
.ro-badge {
    display: block;
    width: 100%;
    margin: 4px 0 8px;
    background: #ecfdf5;
    border: 1px solid #34d399;
    color: #047857;
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
    padding: 8px 12px;
    text-align: right;
}
/* باکس نواتم — خلوت‌تر و تمرکزشده روی نکات مهم */
.neva-box-row {
    padding: 18px 20px;
    margin: 8px 0;
    background: linear-gradient(150deg, #f0fdf6 0%, #e7faf0 60%, #f0fdf6 100%);
    border: 1.5px dashed rgba(52, 211, 153, 0.45);
    border-bottom: none;
}
.neva-box__head { margin-bottom: 10px; gap: 10px; }
.neva-box__title { gap: 12px; margin: 4px 0 10px; }
.neva-box__title span { line-height: 1.8; }
.neva-box__feats { gap: 8px; }
.neva-box__feats li { padding: 5px 12px; font-size: 11px; }
.neva-box__foot { gap: 9px; margin-top: 10px; }


/* ============================================================
   HERO — دکمه‌ها و اعتمادسازها + کوئیکبار + استوری + اینفوگرافی مراحل
   ============================================================ */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5ff;
    color: var(--wpr-primary);
    border: 1.5px solid #c9d9f7;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    font-family: var(--wpr-font);
    transition: all 0.2s ease;
}
.hero-btn:hover { background: #e4edff; transform: translateY(-1px); }
.hero-btn--primary {
    background: linear-gradient(135deg, #3b6ef6, #2456d6);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(59, 110, 246, 0.28);
}
.hero-btn--primary:hover { background: linear-gradient(135deg, #2c56d6, #1d42b8); transform: translateY(-2px); }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf6;
    color: #047857;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
}
.story-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}
.story-point {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f6f8ff;
    border: 1px solid #dbe3f7;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e2a44;
    line-height: 1.6;
}
.story-point span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b6ef6, #5b8bf9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.story-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: linear-gradient(135deg, #3b6ef6, #2456d6);
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    font-family: var(--wpr-font);
    box-shadow: 0 8px 20px rgba(59, 110, 246, 0.25);
}
.story-cta:hover { background: linear-gradient(135deg, #2c56d6, #1d42b8); transform: translateY(-1px); }
.wpr-quickbar__btn--primary {
    background: linear-gradient(135deg, #3b6ef6, #2456d6);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 110, 246, 0.25);
}

/* اینفوگرافی مسیر پروژه */
.steps-flow {
    margin-top: 28px;
    background: linear-gradient(180deg, #f6f8ff 0%, #eef3ff 100%);
    border: 1px solid #dbe3f7;
    border-radius: 18px;
    padding: 26px 24px 20px;
    box-shadow: 0 10px 24px rgba(30, 42, 68, 0.08);
}
.steps-flow__track {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: stretch;
}
.steps-flow__track::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 15px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3b6ef6 0%, #2456d6 45%, #10b981 100%);
    z-index: 0;
}
.sf-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sf-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3b6ef6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 0 0 6px rgba(59, 110, 246, 0.16);
    z-index: 1;
}
.sf-dot--loop {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.16);
}
.sf-card {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d5e0f5;
    border-radius: 12px;
    padding: 10px 10px 9px;
    box-shadow: 0 6px 14px rgba(59, 110, 246, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    margin-top: 12px;
}
.sf-card .sf-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b6ef6, #5b8bf9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.sf-card strong { font-size: 12.5px; font-weight: 800; color: #1e2a44; line-height: 1.5; }
.sf-card small { font-size: 10.5px; color: #64748b; line-height: 1.6; }
.sf-card--loop { border-color: #b7e6cc; }
.sf-card--loop .sf-ico { background: linear-gradient(135deg, #10b981, #059669); }
.steps-flow__cta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.steps-flow__cta span {
    font-size: 12.5px;
    color: #475569;
    font-weight: 600;
    line-height: 1.8;
}
.steps-flow__cta .btn-order { margin: 0; }
@media (max-width: 760px) {
    .steps-flow__track { overflow-x: auto; padding-bottom: 6px; }
    .steps-flow__track::before { display: none; }
    .sf-col { min-width: 150px; }
    .steps-flow__cta { flex-direction: column; align-items: stretch; text-align: right; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .story-points { grid-template-columns: 1fr; }
}

/* ============================================================
   راست‌چین هیرو + فیلد شناسه خرید قالب + پاپ‌آپ ویدیو آموزشی
   ============================================================ */
.hero-content { text-align: right; direction: rtl; }
.hero-content h1, .hero-content .lead, .hero-content .hero-trust { text-align: right; }
.wpr-nevathem__order {
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e3e9f2;
    border-radius: 12px;
    padding: 12px 14px;
}
.wpr-nevathem__order .form-label { color: #1d4b8f; font-weight: 800; }
/* پاپ‌آپ ویدیو */
.wpr-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 18, 40, 0.82);
    padding: 6vh 4vw;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.wpr-video-modal.open { display: flex; }
.wpr-video-modal__box {
    position: relative;
    width: min(980px, 94vw);
    background: #0a1228;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.wpr-video-modal__close {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #0a1228;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.wpr-video-modal__frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 12px;
    background: #000;
}
.wpr-video-modal__link {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #e11d48, #ef4444);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
}
body.wpr-modal-open { overflow: hidden; }
a.training-box.training-box--note { text-decoration: none; color: inherit; display: flex; }
@media (max-width: 640px) {
    .wpr-video-modal { padding: 3vh 3vw; }
    .wpr-video-modal__box { width: 96vw; }
}

/* ============================================================
   Q) چهار اصلاح: هیرو + هدایا بدون فضای خالی + چیدمان مراحل
   ============================================================ */
/* هیرو — تراز شروع از راست */
.hero-content {
    justify-content: flex-start;
}
/* کارت هدایای اشتراک — بدون فضای خالی (۵ آیتم در یک ردیف) */
.stage-form__card.wselect-gifts {
    padding: 20px 18px 16px;
}
.wselect-gifts__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.wselect-gifts__item {
    justify-content: center;
    min-height: 0;
}
@media (max-width: 1100px) and (min-width: 561px) {
    .wselect-gifts__list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(175px, 1fr);
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .wselect-gifts__item { flex: 1 0 175px; }
}
/* چیدمان مرتب مراحل انجام پروژه */
.steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
.step-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
}
.step-card p { min-height: 0; margin-top: auto; }
.step-card--report {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(135deg, #eef3ff 0%, #ffffff 100%);
    border: 1.5px dashed var(--wpr-primary);
    padding: 14px 20px;
    margin-top: 2px;
}
.step-card--report .step-top { margin: 0; }
.step-card--report h3 { margin: 0; }
.step-card--report p { margin: 0; flex: 1; text-align: right; }
.step-card--report .step-tag { position: static; order: -1; flex-shrink: 0; }
@media (max-width: 992px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .steps-grid { grid-template-columns: 1fr; }
    .step-card--report { flex-direction: column; align-items: flex-start; }
}/* ============================================================
   هدایای اشتراک — یک‌پارچه‌سازی آیتم‌ها و حذف فضای خالی
   ============================================================ */
.stage-form__card.wselect-gifts .wselect-gifts__item {
    height: 100%;
    min-height: 132px;
}
.stage-form__card.wselect-gifts .wselect-gifts__item .wselect-gifts__val {
    margin-top: auto;
    align-self: stretch;
}
.stage-form__card.wselect-gifts .wselect-gifts__item .wselect-gifts__txt {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stage-form__card.wselect-gifts .wselect-gifts__featured {
    transform: none;
}
@media (max-width: 900px) {
    .stage-form__card.wselect-gifts .wselect-gifts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stage-form__card.wselect-gifts .wselect-gifts__item { min-height: 120px; }
}
@media (max-width: 560px) {
    .stage-form__card.wselect-gifts .wselect-gifts__list { grid-template-columns: 1fr; }
    .stage-form__card.wselect-gifts .wselect-gifts__item { min-height: 0; }
    .stage-form__card.wselect-gifts .wselect-gifts__item .wselect-gifts__txt { min-height: 0; text-align: right; }
}

/* ============================================================
   کد معرف (رفرال) در صفحه انتخاب خدمات
   ============================================================ */
.wselect-refcard {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border: 1.5px solid #bfdbfe;
}
.wselect-refcard .stage-form__title {

    color: #1d4ed8;
}
.wselect-refcard__hint {
    font-size: 13px;
    color: #374151;
    line-height: 1.9;
    margin: 0 0 10px;
}

/* ============================================================
   پروفایل کاربر — رفرال و کیف پول
   ============================================================ */
.wprofile .wprofile__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.wprofile-card {
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(30, 42, 68, 0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wprofile-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wprofile-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #eef3ff;
    border-radius: 12px;
}
.wprofile-card__head h3 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #1e2a44;
}
.wprofile-card--wallet .wprofile-card__icon { background: #ecfdf3; }
.wprofile-card--referral .wprofile-card__icon { background: #eff6ff; }
.wprofile-card--invites .wprofile-card__icon { background: #fef3c7; }
.wprofile-wallet__amount {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: #047857;
}
.wprofile-wallet__hint {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.9;
}
.wprofile-referral__code {
    background: #f3f6fd;
    border: 1px dashed #93b4f0;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #1e40af;
    direction: ltr;
}
.wprofile-referral__actions {
    display: flex;
    gap: 8px;
}
.wprofile-referral__actions .btn-order {
    flex: 1;
    text-align: center;
    font-size: 12.5px;
}
.wprofile-referral__link {
    font-size: 11.5px;
    color: #6b7280;
    direction: ltr;
    text-align: center;
    margin: 0;
    overflow-wrap: anywhere;
}
.wprofile-invites strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #92400e;
}
.wprofile-invites span {
    font-size: 12px;
    color: #6b7280;
}
.wprofile-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 18px;
    font-size: 13px;
    color: #78350f;
    line-height: 2;
}
.wprofile-note em {
    font-size: 12px;
    color: #b45309;
}
@media (max-width: 800px) {
    .wprofile .wprofile__grid { grid-template-columns: 1fr; }
}
/* ============================================================
   دیزاین حرفه‌ای هدایای اشتراک — یک‌پارچه و بدون فضای خالی (نسخه نهایی)
   ============================================================ */
.stage-form__card.wselect-gifts .wselect-gifts__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}
.stage-form__card.wselect-gifts .wselect-gifts__item {
    height: 100%;
    min-height: 148px;
    padding: 16px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.10), 0 1px 3px rgba(30, 42, 68, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin: 0;
}
.stage-form__card.wselect-gifts .wselect-gifts__item:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.16);
}
.stage-form__card.wselect-gifts .wselect-gifts__item .wselect-gifts__icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.10);
}
.stage-form__card.wselect-gifts .wselect-gifts__item .wselect-gifts__txt {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    line-height: 1.6;
}
.stage-form__card.wselect-gifts .wselect-gifts__item .wselect-gifts__val {
    margin-top: auto;
    align-self: stretch;
    font-size: 11.5px;
    line-height: 1.35;
    padding: 5px 8px;
    border-radius: 999px;
}
.stage-form__card.wselect-gifts .wselect-gifts__featured {
    transform: none;
    background: linear-gradient(180deg, #fff7e6 0%, #ffe9c8 100%);
    border: 2px solid #f59e0b;
}
.stage-form__card.wselect-gifts .wselect-gifts__free {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border: 1.5px solid rgba(34, 197, 94, 0.35);
}
.stage-form__card.wselect-gifts .wselect-gifts__free .wselect-gifts__icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
}
.stage-form__card.wselect-gifts .wselect-gifts__free .wselect-gifts__val {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}
/* وضعیت کد معرف */
.wpr-ref-status {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.8;
    border-radius: 8px;
    padding: 7px 12px;
}
.wpr-ref-status--pending { background: #eff6ff; color: #1d4ed8; }
.wpr-ref-status--ok { background: #ecfdf3; color: #047857; }
.wpr-ref-status--err { background: #fef2f2; color: #b91c1c; }
.wpr-ref-status--warn { background: #fffbeb; color: #b45309; }
@media (max-width: 900px) {
    .stage-form__card.wselect-gifts .wselect-gifts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .stage-form__card.wselect-gifts .wselect-gifts__list { grid-template-columns: 1fr; }
    .stage-form__card.wselect-gifts .wselect-gifts__item { min-height: 0; }
    .stage-form__card.wselect-gifts .wselect-gifts__item .wselect-gifts__txt { min-height: 0; }
}
/* ============================================================
   چیدمان بهینه فیلدهای محصول در ریپیتر — بدون فضای خالی
   ============================================================ */
.wpr-repeat__row {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.4fr) auto;
    align-items: start;
}
.wpr-repeat__title {
    min-width: 0;
}
.wpr-repeat__max {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.wpr-repeat__max .wpr-filepick {
    align-self: flex-start;
}
.wpr-prod-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 12px 14px;
    gap: 10px;
}
.wpr-prod-meta__field {
    min-width: 0;
}
.wpr-prod-meta__input {
    width: 100%;
    min-width: 0;
}
.wpr-prod-meta__textarea {
    resize: vertical;
    min-height: 40px;
    line-height: 1.7;
}
@media (max-width: 640px) {
    .wpr-repeat__row { grid-template-columns: minmax(0, 1fr) auto; }
    .wpr-repeat__max { grid-column: 1 / -1; }
    .wpr-prod-meta { grid-template-columns: 1fr; }
}

/* ============================================================
   بهینه‌سازی چک‌باکس/رادیو — هم‌ترازی کامل input با متن
   ============================================================ */
.check-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: var(--wpr-font);
    line-height: 1.9;
    text-align: right;
    color: var(--wpr-text);
}
.check-pill input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--wpr-primary);
    cursor: pointer;
}
.check-pill input:focus-visible {
    outline: 2px solid var(--wpr-primary);
    outline-offset: 2px;
    border-radius: 4px;
}
.check-pill.wselect-terms span { display: inline-block; text-align: right; }
.check-pill.wselect-terms .wselect__termslink { font-weight: 700; }
.check-pill.wpr-nevathem { align-items: center; }

/* ============================================================
   کارت انتخاب قالب سایت (صفحه انتخاب خدمات — نواتم/دمو)
   ============================================================ */
.wselect-template__intro {
    font-size: 13px;
    color: var(--wpr-gray);
    line-height: 2;
    margin: 0 0 14px;
    background: #f4f7ff;
    border: 1px solid #dbe6fb;
    border-radius: 10px;
    padding: 11px 15px;
}
.wselect-template__intro a { color: var(--wpr-primary); font-weight: 800; }
.wselect-template__status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.wtpl { position: relative; display: block; cursor: pointer; }
.wtpl input { position: absolute; opacity: 0; pointer-events: none; }
.wtpl__body {
    display: block;
    border: 1.5px solid var(--wpr-border);
    border-radius: 12px;
    padding: 13px 15px;
    background: #fff;
    transition: all .18s ease;
    min-height: 100%;
}
.wtpl__body strong { display: block; font-size: 14px; font-weight: 800; color: var(--wpr-dark); }
.wtpl__body small { display: block; font-size: 12px; color: var(--wpr-gray); line-height: 1.8; margin-top: 3px; }
.wtpl input:checked + .wtpl__body {
    border-color: var(--wpr-primary);
    background: #f4f7ff;
    box-shadow: 0 0 0 3px rgba(59, 110, 246, .12);
}
.wselect-template__need {
    margin-top: 14px;
    background: #f8fafc;
    border: 1px dashed var(--wpr-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: grid;
    gap: 13px;
}
.wtpl-setup {
    border: 1.5px solid #bcd9f8;
    background: linear-gradient(135deg, #eef6ff 0%, #e3f0ff 100%);
    border-radius: 12px;
    padding: 12px 14px;
}
.wtpl-setup b { color: var(--wpr-primary); }
.wselect-template__demo { display: flex; flex-direction: column; gap: 7px; }
.wselect-template__demos-link { color: var(--wpr-primary); font-weight: 800; text-decoration: underline; }
.wselect-template__demo .form-hint { line-height: 1.9; }

/* ============================================================
   سکشن «چرا وب تینوس» — کارت‌های ارزش (چهارگانه)
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}
.why-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 18px;
    padding: 24px 22px 22px;
    box-shadow: var(--wpr-shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wpr-primary), #4b9ef4);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 110, 246, 0.35);
    box-shadow: var(--wpr-shadow-lg);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eaf1ff, #f4f8ff);
    border: 1px solid #dbe7ff;
    color: var(--wpr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 6px;
    transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.why-card:hover .why-card__icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--wpr-primary), #4b9ef4);
    color: #fff;
    border-color: transparent;
}
.why-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--wpr-dark);
    margin: 0;
}
.why-card__text {
    font-size: 13px;
    color: var(--wpr-gray);
    line-height: 2;
    margin: 0;
}
.why-foot {
    margin-top: 24px;
    background: linear-gradient(135deg, #eef6ff 0%, #f8fafc 100%);
    border: 1px solid #cfe0fb;
    border-right: 4px solid var(--wpr-primary);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--wpr-dark);
    line-height: 2;
}

/* ============================================================
   سکشن برنامه همکاری / کد رفرال (روی /projects/)
   ============================================================ */
.referral {
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
    border-top: 1px solid #e8eefb;
    border-bottom: 1px solid #e8eefb;
}
.referral-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.referral-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 26px;
    align-items: start;
}
.referral-steps { display: grid; gap: 14px; }
.referral-step {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--wpr-border);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: var(--wpr-shadow);
    text-align: right;
}
.referral-step__num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2c6ef1, #4b9ef4);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.referral-step__body h4 { font-size: 14.5px; font-weight: 800; color: var(--wpr-dark); margin: 0 0 5px; }
.referral-step__body p { font-size: 13px; color: var(--wpr-gray); line-height: 2; margin: 0; }
.referral-codecard {
    background: linear-gradient(135deg, #1e2a44 0%, #2c3a5e 100%);
    border-radius: 18px;
    padding: 24px 22px;
    color: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .28);
    position: sticky;
    top: 20px;
}
.referral-codecard__title { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.referral-codecard__desc { font-size: 12.5px; color: #c7d2e8; line-height: 2; margin: 0 0 16px; }
.referral-code {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px dashed rgba(255, 255, 255, .35);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: monospace;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.referral-copy {
    background: #fff;
    color: #1e2a44;
    border: none;
    border-radius: 9px;
    padding: 7px 14px;
    font-family: var(--wpr-font);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .15s ease;
}
.referral-copy:hover { transform: translateY(-1px); }
.referral-copy.copied { background: #34d399; color: #064e3b; }
.referral-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.referral-reward {
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
}
.referral-reward b { display: block; font-size: 17px; font-weight: 800; color: #7ce8be; margin-bottom: 3px; }
.referral-reward span { font-size: 11.5px; color: #c7d2e8; line-height: 1.8; }
.referral-note { font-size: 12px; color: #aab8d8; line-height: 2; margin-top: 12px; }
.referral-note strong { color: #fff; }
.referral-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1e2a44;
    border-radius: 12px;
    padding: 11px 22px;
    font-family: var(--wpr-font);
    font-size: 14px;
    font-weight: 800;
    margin-top: 16px;
    text-decoration: none;
    transition: transform .15s ease;
}
.referral-cta:hover { transform: translateY(-2px); }

@media (max-width: 992px) {
    .referral-grid { grid-template-columns: 1fr; }
    .referral-codecard { position: static; }
}
@media (max-width: 640px) {
    .wselect-template__status { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .referral-rewards { grid-template-columns: 1fr 1fr; }
}

/* فاصله زیر پاراگراف راهنمای مرحله ۱ — جلوگیری از چسبیدن به فرم */
.stage-form__card > p.stage-info {
    margin-bottom: 18px;
}

