
/* ==================================================================
   نسخه دوئل — بازطراحی به سبک صفحات مقایسه حرفه‌ای محصولات دیجیتال
   میدان سرمه‌ای + رنگ طرفین (لبینو = نارنجی، رقیب = آبی) + حلقه امتیاز
   ================================================================== */

.cmp-main {
    --cmp-navy: #0A192F;
    --cmp-navy-soft: #10254a;
    --cmp-orange: #ff7b26;
    --cmp-blue: #00477a;
    --cmp-arena-text: #e7edf5;
    --cmp-arena-muted: #b9c6d8;
}

body:has(.cmp-main) {
    overflow-x: clip;
}

.cmp-main:has(.cmp-breadcrumb--arena) {
    margin-top: 0;
}

.cmp-main ::selection {
    background: rgba(255, 123, 38, 0.28);
}

.cmp-main :is(a, button, input, [tabindex]):focus-visible {
    outline: 2px solid var(--cmp-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.cmp-table {
    font-variant-numeric: tabular-nums;
}

.cmp-table-wrap::-webkit-scrollbar {
    height: 10px;
}

.cmp-table-wrap::-webkit-scrollbar-track {
    background: rgba(48, 71, 94, 0.06);
    border-radius: 999px;
}

.cmp-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(48, 71, 94, 0.25);
    border-radius: 999px;
}

/* ------------------- باند آرنا (بردکرامب + هرو + دوئل) ------------------- */

.cmp-breadcrumb--arena,
.cmp-hero--arena,
.cmp-duel {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    box-sizing: border-box;
}

.cmp-breadcrumb--arena {
    background: var(--cmp-navy);
    color: #a9b7c9;
    padding-top: 96px;
    margin-top: 0;
    margin-bottom: -40px;
}

.cmp-breadcrumb--arena a {
    color: #9fc2e8;
}

.cmp-breadcrumb--arena a:hover,
.cmp-breadcrumb--arena a:focus-visible {
    color: #fff;
}

.cmp-breadcrumb--arena [aria-current="page"] {
    color: var(--cmp-arena-text);
}

/* بخش بالای صفحه دو به دو — هم‌رنگ هیرو صفحات فیچر: میدان سرمه‌ای؛ تاکید فقط نارنجی */
.cmp-breadcrumb--duel a {
    color: #ffb47e;
}

.cmp-breadcrumb--duel a:hover,
.cmp-breadcrumb--duel a:focus-visible {
    color: #ffffff;
}

.cmp-hero--arena {
    background: var(--cmp-navy);
    padding-block: 14px 30px;
    margin-bottom: -40px;
    gap: 12px;
}

.cmp-hero--arena .cmp-title {
    color: #fff;
}

.cmp-hero--arena .cmp-lede {
    color: var(--cmp-arena-muted);
}

.cmp-hero--arena .cmp-updated {
    color: #8fa1b8;
}

.cmp-hero--arena .cmp-updated a,
.cmp-hero--arena .cmp-hero-context {
    color: #ffb47e;
}

.cmp-hero--arena .cmp-jump a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: #dbe6f2;
}

.cmp-hero--arena .cmp-jump a:hover,
.cmp-hero--arena .cmp-jump a:focus-visible {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

/* ------------------- بنتو گرید هاب مقایسه (نسخه بازطراحی‌شده) ------------------- */

.cmp-breadcrumb--arena .cmp-breadcrumb-sep {
    opacity: 0.35;
    margin-inline: 4px;
}

.cmp-bento-hero {
    display: flex;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.cmp-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

/* کارت عمومی بنتو */
.cmp-bento-card {
    background: #0e2342;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/* کارت اصلی لید (۲ ستونه) */
.cmp-bento-card--lead {
    grid-column: span 2;
    gap: 16px;
    justify-content: flex-start;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-inline: 0;
}

.cmp-bento-card--lead:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.cmp-bento-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: fit-content;
}

.cmp-bento-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.cmp-bento-status-text {
    font-size: var(--type-caption);
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0;
}

.cmp-bento-card--lead .hero-eyebrow {
    font-size: var(--type-body-sm);
    font-weight: 700;
    line-height: 1.6;
    color: var(--primary-cta, #ff7b26);
    margin: 0;
    letter-spacing: 0;
}

.cmp-bento-card--lead .cmp-title {
    font-size: var(--type-heading);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0;
}

.cmp-bento-card--lead .cmp-lede {
    font-size: var(--type-lede);
    line-height: 1.85;
    color: #94a3b8;
    margin: 0;
    max-width: 62ch;
    text-wrap: pretty;
}

.cmp-bento-card--lead .cmp-lede strong {
    color: #f1f5f9;
    font-weight: 700;
}

/* کارت اعتبار و شفافیت (Audit Bento) */
.cmpb-tk-pager-bar {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cmpb-tk-pg-btn {
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #e7edf5;
    font-family: Vazirmatn, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    transition: background 0.18s ease;
}

.cmpb-tk-pg-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
}

.cmpb-tk-pg-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.cmpb-tk-pg-status {
    color: #b9c6d8;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cmp-bento-card--audit {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    grid-column: span 1;
    align-self: end;
    gap: 12px;
    padding: 18px;
    background: #0e2342;
}

.cmp-bento-audit-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmp-bento-icon-box {
    width: 37px;
    height: 37px;
    border-radius: 9px;
    background: rgba(255, 123, 38, 0.14);
    border: 1px solid rgba(255, 123, 38, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cmp-bento-svg {
    width: 20px;
    height: 20px;
}

.cmp-bento-badge-title {
    display: block;
    font-size: var(--type-body-sm);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.cmp-bento-badge-sub {
    display: block;
    font-size: var(--type-caption);
    font-weight: 600;
    color: #fed7aa;
}

.cmp-bento-audit-desc {
    font-size: var(--type-body-sm);
    line-height: 1.68;
    color: #94a3b8;
    margin: 0;
    max-width: 60ch;
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cmp-bento-audit-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: var(--type-body-sm);
    font-weight: 700;
    color: #ff9550;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: transform 0.18s ease, color 0.18s ease;
    width: fit-content;
}

.cmp-bento-audit-link:hover {
    color: #ffffff;
    transform: translateX(-3px);
}

.cmp-bento-audit-link:focus-visible {
    color: #ffffff;
    outline: 3px solid #ff7b26;
    outline-offset: 3px;
    border-radius: 4px;
}

.cmp-arrow-icon {
    font-size: 1.1rem;
    transition: transform 0.18s ease;
}

/* کارت‌های آماری سه‌گانه */
.cmp-bento-card--stat {
    grid-column: span 1;
    gap: 10px;
    padding: 20px 22px;
}

.cmp-bento-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cmp-bento-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.cmp-bento-stat-pill {
    font-size: var(--type-caption);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f3f4f6;
}

.cmp-bento-stat-pill--orange {
    background: rgba(255, 123, 38, 0.15);
    border-color: rgba(255, 123, 38, 0.35);
    color: #ffe7d8;
}

.cmp-bento-stat-label {
    font-size: var(--type-title-sm);
    font-weight: 700;
    color: #ffffff;
    margin-top: 4px;
}

.cmp-bento-stat-hint {
    font-size: var(--type-caption);
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.6;
}

/* کارت داک ناوبری و پرش سریع (۳ ستونه تمام‌عرض) */
.cmp-bento-card--dock {
    grid-column: span 3;
    gap: 14px;
    padding: 20px 24px;
}

.cmp-bento-dock-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.cmp-bento-dock-title {
    font-size: var(--type-title-sm);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.cmp-bento-dock-sub {
    font-size: var(--type-caption);
    font-weight: 500;
    color: #94a3b8;
}

.cmp-bento-dock-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cmp-bento-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: var(--type-body-sm);
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmp-bento-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cmp-orange);
    opacity: 0.75;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cmp-bento-chip:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 123, 38, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

.cmp-bento-chip:hover .cmp-bento-chip-dot {
    opacity: 1;
    transform: scale(1.4);
}

.cmp-bento-chip:focus-visible {
    outline: 3px solid #ff7b26;
    outline-offset: 3px;
    color: #ffffff;
}

/* واکنش‌گرایی بنتو */
@media (max-width: 992px) {
    .cmp-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cmp-bento-card--lead {
        grid-column: span 2;
    }

    .cmp-bento-card--audit {
        grid-column: span 2;
    }

    .cmp-bento-card--stat {
        grid-column: span 1;
    }

    .cmp-bento-card--stat:last-of-type {
        grid-column: span 2;
    }

    .cmp-bento-card--dock {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .cmp-bento-hero {
        padding-bottom: 44px;
    }

    .cmp-bento-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cmp-bento-card {
        padding: 18px;
    }

    .cmp-bento-card--lead,
    .cmp-bento-card--audit,
    .cmp-bento-card--stat,
    .cmp-bento-card--stat:last-of-type,
    .cmp-bento-card--dock {
        grid-column: span 1;
    }

    .cmp-bento-stat-num {
        font-size: var(--type-feature);
    }

    .cmp-bento-chip {
        padding: 7px 14px;
        font-size: var(--type-caption);
    }
}

/* ------------------- دوئل ------------------- */

.cmp-duel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: linear-gradient(180deg, var(--cmp-navy) 0%, var(--cmp-navy-soft) 100%);
    padding-top: 24px;
    padding-bottom: 28px;
}

.cmp-duel-card {
    --side: var(--cmp-blue);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 40px -18px rgba(2, 10, 24, 0.55);
}

.cmp-duel-card--lebino {
    --side: var(--cmp-orange);
}

.cmp-duel-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmp-duel-name {
    font-size: var(--type-title-lg);
    font-weight: 800;
    color: var(--primary-dark-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cmp-duel-name::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--side);
    flex: none;
}

/* حلقه امتیاز */

.cmp-ring {
    position: relative;
    width: 150px;
    aspect-ratio: 1;
    margin-inline: auto;
    flex: none;
}

.cmp-ring svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotate(-90deg);
}

.cmp-ring-track,
.cmp-ring-fill {
    fill: none;
    stroke-width: 9;
}

.cmp-ring-track {
    stroke: rgba(48, 71, 94, 0.10);
}

.cmp-ring-fill {
    stroke: var(--side, var(--cmp-blue));
    stroke-linecap: round;
    stroke-dasharray: var(--p, 0) 100;
    animation: cmpRingIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes cmpRingIn {
    from {
        stroke-dasharray: 0 100;
    }
}

.cmp-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
}

.cmp-ring-value strong {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark-text);
    line-height: 1;
}

.cmp-ring-value span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 8.5em;
}

.cmp-ring--sm {
    width: 78px;
}

.cmp-ring--sm .cmp-ring-value strong {
    font-size: 1.25rem;
}

.cmp-ring--sm .cmp-ring-value span {
    display: none;
}

/* میله‌های دسته — سه دسته برتر پررنگ */

.cmp-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cmp-bar {
    display: grid;
    gap: 4px;
}

.cmp-bar-label {
    font-size: var(--type-caption);
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.cmp-bar--top .cmp-bar-label {
    color: var(--primary-dark-text);
    font-weight: 700;
}

.cmp-bar-track {
    height: 8px;
    background: rgba(48, 71, 94, 0.08);
    border-radius: 999px;
    overflow: hidden;
    display: block;
}

.cmp-bar-fill {
    height: 100%;
    background: var(--side, var(--cmp-blue));
    border-radius: 999px;
    display: block;
    min-width: 2px;
    animation: cmpBarIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes cmpBarIn {
    from {
        width: 0;
    }
}

.cmp-bar-value {
    font-size: var(--type-micro);
    color: var(--primary-gray-text);
}

.cmp-duel-site {
    margin-top: auto;
    align-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--side, var(--cmp-blue));
    color: var(--side, var(--cmp-blue));
    border-radius: 999px;
    padding: 7px 16px;
    font-size: var(--type-body-sm);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.cmp-duel-site:hover,
.cmp-duel-site:focus-visible {
    background: var(--side, var(--cmp-blue));
    color: #fff;
}

/* مدالیون VS */

.cmp-vs {
    position: absolute;
    top: 42%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--cmp-navy);
    border: 2px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffb47e;
    z-index: 2;
    animation: cmpVsIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
}

@keyframes cmpVsIn {
    from {
        opacity: 0;
        transform: translate(50%, -50%) scale(0.6);
    }
}

/* نوار برد دسته‌ای */

.cmp-scoreboard {
    grid-column: 1 / -1;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 22px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 10px 24px;
    color: #cdd9e8;
    font-size: var(--type-body-sm);
}

.cmp-scoreboard-side strong {
    font-size: 1.2rem;
    font-weight: 800;
    margin-inline-end: 4px;
}

.cmp-side--lebino strong {
    color: #e05f10;
}

.cmp-side--rival strong {
    color: #0A192F;
}

.cmp-scoreboard-tie {
    color: #8fa1b8;
}

/* ------------------- نوار چسبان دوئل ------------------- */

.cmp-duelbar {
    position: sticky;
    top: 84px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.97);
    color: #30475e;
    border: 1px solid #dbe2f9;
    border-radius: 14px;
    padding: 9px 16px;
    margin: 16px 0 0;
    font-size: var(--type-body-sm);
    box-shadow: 0 12px 26px -14px rgba(10, 25, 47, 0.35);
}

.cmp-duelbar-side {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.cmp-duelbar-side b {
    font-weight: 800;
    font-size: 1.05rem;
    color: #040d12;
    font-variant-numeric: tabular-nums;
}

.cmp-duelbar-vs {
    font-weight: 800;
    font-size: 0.78rem;
    color: #e05f10;
    letter-spacing: 0.04em;
}

.cmp-duelbar-jump {
    background: var(--cmp-orange);
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.cmp-duelbar-jump:hover,
.cmp-duelbar-jump:focus-visible {
    background: #ff9252;
    color: #fff;
}

.cmp-duelbar-demo {
    margin-inline-start: auto;
    background: #00477a;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.cmp-duelbar-demo:hover,
.cmp-duelbar-demo:focus-visible {
    background: #003359;
    color: #ffffff !important;
}

/* ------------------- ابزار جدول: فقط تفاوت‌ها ------------------- */

.cmp-table-tools {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0 4px;
}

.cmp-diff-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: var(--type-body-sm);
    font-weight: 600;
    color: var(--primary-dark-text);
    user-select: none;
}

.cmp-diff-toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.cmp-diff-toggle span {
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: rgba(48, 71, 94, 0.25);
    position: relative;
    transition: background 0.2s ease;
    flex: none;
}

.cmp-diff-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.cmp-diff-toggle input:checked + span {
    background: var(--cmp-orange);
}

.cmp-diff-toggle input:checked + span::after {
    transform: translateX(-18px);
}

.cmp-diff-toggle input:focus-visible + span {
    outline: 2px solid var(--cmp-orange);
    outline-offset: 2px;
}

.cmp-pair-table.cmp-diff-only tbody tr:not(.cmp-row-diff):not(.cmp-cat-row):not(.cmp-total-row) {
    display: none;
}

/* ستون معیار چسبان در جدول مقایسه رودررو */

.cmp-pair-table th[scope="row"] {
    position: sticky;
    inset-inline-start: 0;
    background: #fff;
    z-index: 1;
    box-shadow: -6px 0 8px -6px rgba(48, 71, 94, 0.18);
}

.cmp-pair-table .cmp-cat-row th[scope="rowgroup"] {
    position: static;
}

/* ------------------- سکوی سه محصول برتر (هاب — بازطراحی ویژوال) ------------------- */

.cmp-podium-section {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 56px;
    padding-top: 10px;
}

.cmp-podium-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.cmp-podium-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 123, 38, 0.08);
    border: 1px solid rgba(255, 123, 38, 0.28);
    color: var(--cmp-orange);
    font-size: var(--type-caption);
    font-weight: 700;
}

.cmp-podium-kicker-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cmp-podium-title {
    font-size: var(--type-feature-title);
    font-weight: 800;
    color: var(--primary-dark-text);
    margin: 0;
    line-height: 1.35;
}

.cmp-podium-desc {
    font-size: var(--type-body-sm);
    color: var(--text-muted);
    margin: 0;
    max-width: 62ch;
    line-height: 1.75;
}

/* استیج سه‌گانه سکو */
.cmp-podium-stage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: flex-end;
    width: 100%;
}

/* ترتیب المپیکی دسکتاپ در راست‌به‌چپ: نقره (راست) -> طلا (وسط و مرتفع) -> برنز (چپ) */
.cmp-order-silver {
    order: 1;
}

.cmp-order-gold {
    order: 2;
}

.cmp-order-bronze {
    order: 3;
}

.cmp-podium-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* کارت محصول روی سکو */
.cmp-podium-card {
    background: #ffffff;
    border: 1px solid rgba(48, 71, 94, 0.12);
    border-radius: 12px 12px 0 0;
    padding: 24px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 28px -12px rgba(2, 10, 24, 0.12);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}

.cmp-podium-col--gold .cmp-podium-card {
    border: 1.5px solid rgba(255, 123, 38, 0.55);
    background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
    box-shadow: 0 18px 44px -14px rgba(255, 123, 38, 0.25), 0 8px 24px -10px rgba(0, 0, 0, 0.08);
    padding-top: 28px;
    padding-bottom: 24px;
}

.cmp-podium-col--silver .cmp-podium-card {
    border-color: rgba(148, 163, 184, 0.45);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cmp-podium-col--bronze .cmp-podium-card {
    border-color: rgba(217, 119, 6, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}

.cmp-podium-col:hover .cmp-podium-card {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px -14px rgba(2, 10, 24, 0.22);
}

.cmp-podium-col--gold:hover .cmp-podium-card {
    box-shadow: 0 24px 56px -14px rgba(255, 123, 38, 0.35);
}

/* نشان‌های مقام و مدال */
.cmp-podium-crown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cmp-podium-medal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: var(--type-micro);
    font-weight: 700;
}

.cmp-podium-medal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cmp-podium-col--gold .cmp-podium-medal-badge {
    background: rgba(255, 123, 38, 0.12);
    border: 1px solid rgba(255, 123, 38, 0.35);
    color: #c2410c;
}

.cmp-podium-col--gold .cmp-podium-medal-dot {
    background: #ff7b26;
    box-shadow: 0 0 0 2px rgba(255, 123, 38, 0.25);
}

.cmp-podium-col--silver .cmp-podium-medal-badge {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #334155;
}

.cmp-podium-col--silver .cmp-podium-medal-dot {
    background: #94a3b8;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.25);
}

.cmp-podium-col--bronze .cmp-podium-medal-badge {
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: #92400e;
}

.cmp-podium-col--bronze .cmp-podium-medal-dot {
    background: #d97706;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25);
}

.cmp-podium-lebino-chip {
    background: var(--cmp-navy);
    color: #ffffff;
    font-size: var(--type-micro);
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0;
}

/* هویت محصول */
.cmp-podium-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cmp-podium-name {
    font-size: var(--type-title);
    font-weight: 800;
    margin: 0;
    color: var(--primary-dark-text);
    line-height: 1.3;
}

.cmp-podium-col--gold .cmp-podium-name {
    font-size: var(--type-title-lg);
}

.cmp-podium-sub {
    font-size: var(--type-caption);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* جعبه امتیاز دایره‌ای */
.cmp-podium-score-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(48, 71, 94, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
}

.cmp-podium-col--gold .cmp-podium-score-box {
    background: rgba(255, 123, 38, 0.04);
    border-color: rgba(255, 123, 38, 0.18);
}

.cmp-ring--hero {
    width: 80px;
    height: 80px;
}

.cmp-ring--hero .cmp-ring-value strong {
    font-size: var(--type-title);
}

.cmp-ring--hero .cmp-ring-value small {
    font-size: var(--type-micro);
    opacity: 0.8;
}

.cmp-podium-score-labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cmp-podium-score-title {
    font-size: var(--type-body-sm);
    font-weight: 700;
    color: var(--primary-dark-text);
}

.cmp-podium-market {
    font-size: var(--type-micro);
    color: var(--primary-gray-text);
}

.cmp-podium-market strong {
    color: var(--primary-dark-text);
    font-weight: 700;
}

/* ویژگی‌های کلیدی */
.cmp-podium-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 60px;
}

.cmp-podium-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--type-caption);
    color: var(--text-main);
    line-height: 1.5;
}

.cmp-podium-check {
    font-weight: 800;
    color: #16a34a;
    flex-shrink: 0;
    line-height: 1.4;
}

/* دکمه‌های اکشن */
.cmp-podium-action {
    margin-top: auto;
}

.cmp-podium-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    text-decoration: none;
    font-size: var(--type-body-sm);
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
}

.cmp-podium-btn--primary {
    background: var(--cmp-orange);
    color: #ffffff;
    border: 1px solid rgba(255, 123, 38, 0.8);
    box-shadow: 0 4px 14px -3px rgba(255, 123, 38, 0.45);
}

.cmp-podium-btn--primary:hover,
.cmp-podium-btn--primary:focus-visible {
    background: #ea6918;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(255, 123, 38, 0.55);
}

.cmp-podium-btn--secondary {
    background: rgba(0, 71, 122, 0.05);
    color: var(--cmp-blue);
    border: 1px solid rgba(0, 71, 122, 0.18);
}

.cmp-podium-btn--secondary:hover,
.cmp-podium-btn--secondary:focus-visible {
    background: var(--cmp-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -4px rgba(0, 71, 122, 0.35);
}

.cmp-btn-arrow {
    transition: transform 0.2s ease;
}

.cmp-podium-btn:hover .cmp-btn-arrow {
    transform: translateX(-4px);
}

/* پایه‌های سکو (Pedestal Steps) */
.cmp-podium-pedestal {
    height: var(--pedestal-h);
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.cmp-podium-col--gold .cmp-podium-pedestal {
    background: linear-gradient(180deg, #10233f 0%, #081528 100%);
    border-top: 3px solid #ff7b26;
    box-shadow: 0 12px 28px -10px rgba(10, 25, 47, 0.55);
}

.cmp-podium-col--silver .cmp-podium-pedestal {
    background: linear-gradient(180deg, #172c47 0%, #0d1e34 100%);
    border-top: 3px solid #94a3b8;
    box-shadow: 0 10px 24px -10px rgba(10, 25, 47, 0.4);
}

.cmp-podium-col--bronze .cmp-podium-pedestal {
    background: linear-gradient(180deg, #172c47 0%, #0d1e34 100%);
    border-top: 3px solid #d97706;
    box-shadow: 0 8px 20px -10px rgba(10, 25, 47, 0.35);
}

.cmp-pedestal-rank {
    font-size: var(--type-feature);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cmp-podium-col--gold .cmp-pedestal-rank {
    font-size: var(--type-heading);
    color: #ffb47e;
    text-shadow: 0 2px 10px rgba(255, 123, 38, 0.5);
}

.cmp-pedestal-label {
    font-size: var(--type-caption);
    font-weight: 700;
    color: #dbe6f2;
    letter-spacing: 0;
}

.cmp-podium-col--gold .cmp-pedestal-label {
    color: #ffe7d8;
}

/* ریسپانسیو سکو در تبلت و موبایل */
@media (max-width: 960px) {
    .cmp-podium-stage {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-inline: auto;
        gap: 20px;
    }

    .cmp-order-gold {
        order: 1;
    }

    .cmp-order-silver {
        order: 2;
    }

    .cmp-order-bronze {
        order: 3;
    }

    .cmp-podium-pedestal {
        height: 38px !important;
    }

    .cmp-pedestal-rank {
        font-size: var(--type-title-lg) !important;
    }
}

/* ------------------- حرکت و دسترس‌پذیری ------------------- */

@media (prefers-reduced-motion: reduce) {
    .cmp-ring-fill,
    .cmp-bar-fill,
    .cmp-vs,
    .cmp-bento-card,
    .cmp-bento-chip,
    .cmp-bento-pulse,
    .cmp-bento-audit-link {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ------------------- واکنش‌گرایی نسخه دوئل ------------------- */

@media (max-width: 768px) {
    .cmp-breadcrumb--arena,
    .cmp-hero--arena,
    .cmp-duel {
        padding-inline: 12px;
    }

    .cmp-duel {
        grid-template-columns: 1fr;
        padding-top: 18px;
        padding-bottom: 22px;
        gap: 14px;
    }

    .cmp-vs {
        position: static;
        transform: none;
        justify-self: center;
        animation-name: cmpVsInMobile;
    }

    .cmp-ring {
        width: 126px;
    }

    .cmp-ring-value strong {
        font-size: 2rem;
    }

    .cmp-duelbar {
        top: 82px;
        gap: 8px;
        padding: 8px 12px;
    }

    .cmp-duelbar-side {
        font-size: var(--type-caption);
    }

    .cmp-table-tools {
        justify-content: flex-start;
    }
}

@keyframes cmpVsInMobile {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
}

/* ------------------- نوار تب پرش سریع (استیکی زیر هدر) ------------------- */
.cmp-dockbar {
    position: sticky;
    top: 80px;
    z-index: 900;
    background: rgba(8, 19, 38, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cmp-dockbar-row {
    display: flex;
    align-items: stretch;
    gap: 4px;
    width: calc(90% - 40px);
    max-width: 1160px;
    margin-inline: auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.cmp-dockbar-row::-webkit-scrollbar {
    display: none;
}

.cmp-dockbar-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 16px 13px;
    color: #b9c6d8;
    font-size: var(--type-body-sm);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.cmp-dockbar-tab::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--cmp-orange);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmp-dockbar-tab:hover {
    color: #ffffff;
}

.cmp-dockbar-tab:focus-visible {
    outline: 3px solid #ff7b26;
    outline-offset: -3px;
    border-radius: 8px;
}

.cmp-dockbar-tab.is-active {
    color: #ffffff;
}

.cmp-dockbar-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.cmp-dockbar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cmp-orange);
    opacity: 0.55;
    flex-shrink: 0;
}

.cmp-dockbar-tab.is-active .cmp-dockbar-dot {
    opacity: 1;
}

@media (max-width: 640px) {
    .cmp-dockbar-tab {
        padding: 11px 12px 9px;
        font-size: var(--type-caption);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cmp-dockbar-tab,
    .cmp-dockbar-tab::after {
        transition: none;
    }
}

/* حالت چسبیده: چسبیده کامل به هدر، هم‌عرض و هم‌رادیوس کانتینر هدر */
.cmp-dockbar-sentinel {
    display: block;
    height: 1px;
}

.cmp-dockbar.is-stuck {
    top: 85px;
    box-sizing: border-box;
    width: 88%;
    max-width: 1200px;
    margin-inline: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 12px;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.cmp-dockbar.is-stuck .cmp-dockbar-row {
    width: 100%;
    max-width: none;
    padding-inline: 6px;
}

/* جایگاه پرش انکر با احتساب هدر ثابت (۸۰px) و نوار چسبان */
#cmp-ranking-title, #cmp-matrix-title, #cmp-best-title,
#cmp-pairs-title, #cmp-methodology, #cmp-faq-title {
    scroll-margin-top: 140px;
}

/* ------------------- هدر تحلیلی مقایسه دونفره (Hero Duel V2) ------------------- */
.cmp-hero-duel-v2 {
    background: #0A192F;
    border: 1px solid #1e355b;
    border-right: 4px solid #ff7b26;
    border-radius: 18px;
    padding: clamp(24px, 4vw, 36px);
    margin: 0 0 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.cmp-hero-duel-v2 .v2-header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.cmp-hero-duel-v2 .v2-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cmp-hero-duel-v2 .v2-badge {
    background: #10254a;
    color: #8da2c0;
    border: 1px solid #233e6b;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}
.cmp-hero-duel-v2 .v2-badge--accent {
    background: rgba(255, 123, 38, 0.15);
    color: #ff9b57;
    border-color: rgba(255, 123, 38, 0.35);
}
.cmp-hero-duel-v2 .v1-updated {
    font-size: 0.8125rem;
    color: #8da2c0;
}
.cmp-hero-duel-v2 .v1-updated a {
    color: #ff9b57;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 155, 87, 0.5);
}
.cmp-hero-duel-v2 .v2-eyebrow {
    color: #8da2c0;
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.cmp-hero-duel-v2 .v2-title {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 900;
    margin: 0 0 14px;
    line-height: 1.35;
}
.cmp-hero-duel-v2 .v2-title span {
    color: #ff7b26;
}
.cmp-hero-duel-v2 .v2-lede {
    color: #b9c6d8;
    font-size: 1rem;
    line-height: 1.85;
    max-width: 64ch;
    margin: 0 0 22px;
    text-wrap: pretty;
}
.cmp-hero-duel-v2 .v2-metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #06101e;
    border: 1px solid #1a2e4c;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
}
@media (max-width: 640px) {
    .cmp-hero-duel-v2 .v2-metrics-bar {
        grid-template-columns: 1fr;
    }
}
.cmp-hero-duel-v2 .v2-metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cmp-hero-duel-v2 .v2-metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 123, 38, 0.1);
    color: #ff7b26;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 900;
    flex-shrink: 0;
}
.cmp-hero-duel-v2 .v2-metric-text {
    font-size: 0.82rem;
    color: #d1dced;
    line-height: 1.5;
}
.cmp-hero-duel-v2 .v2-metric-text strong {
    display: block;
    color: #ffffff;
    font-weight: 800;
}
.cmp-hero-duel-v2 .v2-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}
.cmp-hero-duel-v2 .v2-nav-link {
    color: #8da2c0;
    text-decoration: none;
    font-size: 0.835rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    background: #10254a;
    transition: all 0.2s;
}
.cmp-hero-duel-v2 .v2-nav-link:hover {
    color: #ffffff;
    background: #ff7b26;
}

/* ------------------- هیرو ترکیبی + تخته امتیاز دوئل (cmpdh) ------------------- */

.cmpdh {
    margin-inline: calc(50% - 50vw);
    padding: 44px calc(50vw - 50%) 40px;
    background: #0A192F;
    color: #e7edf5;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cmpdh-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.cmpdh-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cmpdh-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #dbe6f2;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 6px 14px;
}
.cmpdh-badge--accent {
    color: #ffb47e;
    border-color: rgba(255, 180, 126, 0.55);
}
.cmpdh-updated {
    margin: 0;
    font-size: 0.8125rem;
    color: #8fa1b8;
}
.cmpdh-updated a {
    color: #ffb47e;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 180, 126, 0.45);
    padding-bottom: 1px;
}
.cmpdh-title {
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.5;
}
.cmpdh-lede {
    margin: 0;
    max-width: 62ch;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.9;
    color: #b9c6d8;
}
/* سوئیچر درون‌هیرو صنف و مدل کسب‌وکار (cmpdh-profile-bar) */
.cmpdh-profile-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(16, 37, 74, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}
@media (min-width: 900px) {
    .cmpdh-profile-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.cmpdh-profile-bar-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
}
.cmpdh-profile-bar-title svg {
    color: var(--cmp-orange, #ff7b26);
    flex-shrink: 0;
}
.cmpdh-profile-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.cmpdh-profile-pill {
    appearance: none;
    background: rgba(10, 25, 47, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: inherit;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.cmpdh-profile-pill:hover {
    background: rgba(255, 123, 38, 0.15);
    color: #ffffff;
    border-color: rgba(255, 123, 38, 0.5);
    transform: translateY(-1px);
}
.cmpdh-profile-pill:focus-visible {
    outline: 2px solid var(--cmp-orange, #ff7b26);
    outline-offset: 2px;
}
.cmpdh-profile-pill.is-active {
    background: var(--cmp-orange, #ff7b26);
    color: #ffffff;
    border-color: var(--cmp-orange, #ff7b26);
    box-shadow: 0 4px 14px rgba(255, 123, 38, 0.4);
    font-weight: 700;
}
.cmpdh-board {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    padding-block: 22px;
    border-block: 2px solid rgba(255, 255, 255, 0.28);
}
.cmpdh-col {
    --tint: #b9c6d8;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cmpdh-col--a {
    --tint: #ff7b26;
}
.cmpdh-name {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
}
.cmpdh-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffb47e;
    background: rgba(255, 123, 38, 0.16);
    border-radius: 999px;
    padding: 3px 12px;
}
.cmpdh-scoreline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.cmpdh-digit {
    position: relative;
    font-size: var(--type-duel-digit);
    font-weight: 800;
    line-height: 1.05;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    padding-block-end: 12px;
}
.cmpdh-digit::after {
    content: "";
    position: absolute;
    inset-inline: 2px;
    bottom: 0;
    height: 6px;
    border-radius: 999px;
    background: var(--tint);
}
.cmpdh-digit-cap {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #8fa1b8;
}
.cmpdh-market {
    margin: 0;
    font-size: 0.875rem;
    color: #b9c6d8;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: baseline;
}
.cmpdh-market strong {
    font-size: 1.125rem;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}
.cmpdh-cellnote {
    flex-basis: 100%;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #8fa1b8;
    line-height: 1.7;
}
.cmpdh-mid {
    position: relative;
    display: grid;
    place-items: center;
    padding-inline: 20px;
}
.cmpdh-mid::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    inset-inline-start: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}
.cmpdh-vs {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #0A192F;
    font-size: 1.15rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px -10px rgba(2, 10, 24, 0.7);
}
.cmpdh-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cmpdh-bar {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cmpdh-barlabel {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #b9c6d8;
}
.cmpdh-barline {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cmpdh-bartrack {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
}
.cmpdh-barfill {
    display: block;
    height: 100%;
    background: var(--tint);
    border-radius: 999px;
    min-width: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: cmpBarIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.cmpdh-barvalue {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #e7edf5;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.cmpdh-site {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tint);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.cmpdh-site:hover {
    opacity: 0.85;
}
.cmpdh-winbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cmpdh-winseg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e7edf5;
}
.cmpdh-winseg strong {
    font-size: 1.25rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.cmpdh-winseg--a {
    background: rgba(255, 123, 38, 0.22);
    color: #ffb47e;
}
.cmpdh-winseg--b {
    background: rgba(255, 255, 255, 0.1);
}
.cmpdh-winseg--tie {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    color: #b9c6d8;
}
.cmpdh-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 18px;
}
.cmpdh-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.cmpdh-stat strong {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cmpdh-stat span {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #8fa1b8;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .cmpdh-board {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cmpdh-mid {
        min-height: 34px;
    }
    .cmpdh-mid::before {
        inset-inline: 0;
        inset-block-start: 50%;
        inset-block-end: auto;
        width: auto;
        height: 1px;
    }
    .cmpdh-stats {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cmpdh .cmpdh-barfill {
        animation: none !important;
        transition: none !important;
    }
}

/* ------------- بخش‌های زیر هیروی ترکیبی: جمع‌بندی، جدول، منابع، تکمیلی، مرتبط، CTA ------------- */

/* جداکننده افقی بین بخش‌های صفحه مقایسه — هم‌طراز با سبک صفحه اصلی */
.cmpv,
.cmpg,
.cmpm,
.cmpt,
.cmpsrc,
.cmpe,
.cmp-section {
    border-top: 1px solid #dbe2f9;
}

.cmp-section::before,
.cmp-h2::after {
    display: none;
}

.cmp-section > p {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: #30475e;
}
.cmp-section > p strong {
    color: #0A192F;
    font-weight: 700;
}

/* جمع‌بندی بی‌طرف — تخته داوری (cmpv) */
.cmpv {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cmpv-h2 {
    margin: 0;
}
.cmpv-board {
    border-block: 2px solid #0A192F;
    padding-block: 22px;
}
.cmpv-duo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}
.cmpv-side {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cmpv-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0A192F;
    line-height: 1.4;
}
.cmpv-name::after {
    content: "";
    width: 26px;
    height: 5px;
    border-radius: 999px;
    background: #00477a;
}
.cmpv-side--a .cmpv-name::after {
    background: #ff7b26;
}
.cmpv-leads {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.8;
    color: #30475e;
}
.cmpv-leads strong {
    color: #0A192F;
    font-weight: 700;
}
.cmpv-mid {
    position: relative;
    display: grid;
    place-items: center;
    padding-inline: 16px;
}
.cmpv-mid::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    inset-inline-start: 50%;
    width: 1px;
    background: rgba(48, 71, 94, 0.3);
}
.cmpv-vs {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0A192F;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.cmpv-facts {
    margin: 0;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid rgba(48, 71, 94, 0.14);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 36px;
}
.cmpv-facts li {
    position: relative;
    padding-inline-start: 18px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.9;
    color: #30475e;
}
.cmpv-facts li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #0A192F;
}
.cmpv-facts li strong {
    color: #0A192F;
    font-weight: 700;
}
@media (max-width: 768px) {
    .cmpv-duo {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .cmpv-mid {
        min-height: 30px;
    }
    .cmpv-mid::before {
        inset-inline: 0;
        top: 50%;
        bottom: auto;
        width: auto;
        height: 1px;
    }
    .cmpv-facts {
        grid-template-columns: 1fr;
    }
}

/* راهنمای انتخاب مدل کسب‌وکار (cmpg) */
.cmpg {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cmpg-h2 {
    margin: 0;
}
.cmpg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}
.cmpg-card {
    background: #ffffff;
    border: 1px solid rgba(48, 71, 94, 0.14);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cmpg-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0A192F;
}
.cmpg-card--weights h3::after {
    content: "";
    display: block;
    width: 30px;
    height: 4px;
    border-radius: 999px;
    background: #ff7b26;
    margin-top: 6px;
}
.cmpg-moves {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.7;
    font-variant-numeric: tabular-nums;
}
.cmpg-move--up {
    color: #30475e;
}
.cmpg-move--up strong {
    color: #e05f10;
    font-weight: 800;
}
.cmpg-move--down {
    color: #7a7979;
}
.cmpg-leaderline {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(48, 71, 94, 0.12);
    font-size: 0.8125rem;
    font-weight: 400;
    color: #30475e;
}
.cmpg-leaderline strong {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0A192F;
    font-variant-numeric: tabular-nums;
}
.cmpg-card--mistake {
    background: rgba(0, 71, 122, 0.05);
    border-color: rgba(0, 71, 122, 0.25);
}
.cmpg-card p {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.9;
    color: #30475e;
}
.cmpg-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cmpg-card ul li {
    position: relative;
    padding-inline-start: 22px;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.8;
    color: #30475e;
}
.cmpg-card ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 0.55em;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: rgba(255, 123, 38, 0.16);
    border: 2px solid #e05f10;
}
@media (max-width: 900px) {
    .cmpg-grid {
        grid-template-columns: 1fr;
    }
}

/* جدول معیار به معیار — ردیف‌های شناور (cmpt) */
.cmpt {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cmpt .cmp-table-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.cmpt .cmp-table {
    border-spacing: 0 5px;
}
.cmpt .cmp-table thead th:first-child {
    border-start-start-radius: 12px;
    border-end-start-radius: 12px;
}
.cmpt .cmp-table thead th:last-child {
    border-start-end-radius: 12px;
    border-end-end-radius: 12px;
}
.cmpt .cmp-table tbody th,
.cmpt .cmp-table tbody td {
    background: #ffffff;
    border-block: 1px solid rgba(48, 71, 94, 0.14);
    border-bottom: 1px solid rgba(48, 71, 94, 0.14);
}
.cmpt .cmp-table tbody th {
    border-inline-start: 1px solid rgba(48, 71, 94, 0.14);
    border-start-start-radius: 12px;
    border-end-start-radius: 12px;
}
.cmpt .cmp-table tbody td:last-child {
    border-inline-end: 1px solid rgba(48, 71, 94, 0.14);
    border-start-end-radius: 12px;
    border-end-end-radius: 12px;
}
.cmpt .cmp-table tbody tr.cmp-row-diff th,
.cmpt .cmp-table tbody tr.cmp-row-diff td {
    background: #fff8f3;
}
.cmpt .cmp-table .cmp-cat-row th {
    background: #10254a;
    color: #e7edf5;
    border: none;
    border-radius: 12px;
}
.cmpt .cmp-cell-note {
    display: block;
    margin-top: 6px;
    max-width: 46ch;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.7;
    color: #7a7979;
}

/* منابع رسمی دو محصول (cmpsrc) */
.cmpsrc {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cmpsrc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cmpsrc-card {
    --tint: #00477a;
    background: #ffffff;
    border: 1px solid rgba(48, 71, 94, 0.14);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cmpsrc-card--a {
    --tint: #ff7b26;
}
.cmpsrc-cardname {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0A192F;
}
.cmpsrc-cardname::after {
    content: "";
    width: 24px;
    height: 4px;
    border-radius: 999px;
    background: var(--tint);
}
.cmpsrc-verified {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0A192F;
    background: rgba(48, 71, 94, 0.06);
    border: 1px solid rgba(48, 71, 94, 0.16);
    border-radius: 999px;
    padding: 4px 12px;
}
.cmpsrc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}
.cmpsrc-list li {
    border-top: 1px solid rgba(48, 71, 94, 0.10);
}
.cmpsrc-list li:first-child {
    border-top: none;
}
.cmpsrc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 2px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #00477a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cmpsrc-link:hover {
    color: #e05f10;
}
.cmpsrc-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}
.cmpsrc-host {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7a7979;
    margin-inline-start: auto;
    direction: ltr;
}
@media (max-width: 900px) {
    .cmpsrc-grid {
        grid-template-columns: 1fr;
    }
}

/* اطلاعات تکمیلی — کارت پروفایل هر محصول (cmpe) */
.cmpe {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cmpe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}
.cmpe-card {
    --tint: #00477a;
    background: #ffffff;
    border: 1px solid rgba(48, 71, 94, 0.14);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cmpe-card--a {
    --tint: #ff7b26;
}
.cmpe-name {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 800;
    color: #0A192F;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cmpe-name::after {
    content: "";
    width: 28px;
    height: 5px;
    border-radius: 999px;
    background: var(--tint);
}
.cmpe-attrs {
    margin: 0;
    display: flex;
    flex-direction: column;
}
.cmpe-attr {
    padding-block: 10px;
    border-top: 1px solid rgba(48, 71, 94, 0.10);
}
.cmpe-attr:first-child {
    border-top: none;
}
.cmpe-attr dt {
    font-size: 0.75rem;
    font-weight: 700;
    color: #7a7979;
    margin-bottom: 3px;
}
.cmpe-attr dd {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.9;
    color: #30475e;
}
.cmpe-block h4 {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0A192F;
}
.cmpe-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cmpe-block li {
    position: relative;
    padding-inline-start: 20px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.8;
    color: #30475e;
}
.cmpe-block li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 0.6em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--tint);
}
.cmpe-block--limits li::before {
    background: #ffffff;
    border: 2px solid var(--tint);
}
@media (max-width: 900px) {
    .cmpe-grid {
        grid-template-columns: 1fr;
    }
}

/* متدولوژی: قوانین امتیازدهی (cmpm) */
.cmpm {
    padding: 36px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cmpm-intro-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cmpm-formula-panel {
    background: #fbfcfe;
    border: 1px solid rgba(48, 71, 94, 0.12);
    border-radius: 18px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(10, 25, 47, 0.03);
}
.cmpm-panel-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.cmpm-panel-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0A192F;
    margin: 0;
}
.cmpm-panel-subtitle {
    font-size: 0.8125rem;
    color: #515478;
}
.cmpm-lede {
    margin: 0;
    max-width: 70ch;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 2;
    color: #30475e;
}
.cmpm-states {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.cmpm-state {
    --tint: #7a7979;
    --fill: transparent;
    --line: rgba(48, 71, 94, 0.3);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cmpm-state strong {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--tint);
}
.cmpm-state em {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 400;
    color: #30475e;
    line-height: 1.7;
}
.cmpm-state b {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0A192F;
    font-variant-numeric: tabular-nums;
}
.cmpm-state--yes {
    --tint: #0A192F;
    --line: rgba(10, 25, 47, 0.45);
}
.cmpm-state--claim {
    --tint: #e05f10;
    --line: rgba(224, 95, 16, 0.5);
}
.cmpm-state--no {
    --tint: #7a7979;
}
.cmpm-state--unknown {
    --tint: #00477a;
    --line: rgba(0, 71, 122, 0.45);
}
.cmpm-weights {
    border-top: 1px dashed rgba(48, 71, 94, 0.14);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cmpm-weights-cap {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0A192F;
}
.cmpm-weightlist {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: default;
    user-select: none;
}
.cmpm-weight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}
.cmpm-weight::after {
    content: "·";
    color: #94a3b8;
    margin-inline-start: 8px;
    font-weight: 800;
}
.cmpm-weight:last-child::after {
    display: none;
}
.cmpm-weight b {
    font-size: 0.75rem;
    font-weight: 700;
    color: #00477a;
    background: #e0e7ff;
    padding: 1px 7px;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
}
.cmpm-note {
    margin: 0;
    max-width: 70ch;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.9;
    color: #7a7979;
}
.cmpm-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 10px;
}
.cmpm-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e1e7f5;
    border-radius: 12px;
    padding: 18px 16px;
    transition: all 0.2s ease;
}
.cmpm-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef3ff;
    color: #00477a;
    flex-shrink: 0;
}
.cmpm-trust-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #040d12;
    margin: 0 0 6px 0;
    line-height: 1.4;
}
.cmpm-trust-desc {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}
@media (max-width: 860px) {
    .cmpm-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .cmpm-states {
        grid-template-columns: 1fr 1fr;
    }
}

/* فهرست‌های داوری */
.cmp-verdict-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cmp-verdict-list li {
    position: relative;
    padding-inline-start: 18px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.9;
    color: #30475e;
}
.cmp-verdict-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #0A192F;
}
.cmp-verdict-list li strong {
    color: #0A192F;
    font-weight: 700;
}

/* جدول معیار به معیار و اطلاعات تکمیلی */
.cmp-table-wrap {
    background: #ffffff;
    border: 1px solid rgba(48, 71, 94, 0.14);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 18px 40px -30px rgba(2, 10, 24, 0.35);
}
.cmp-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    font-size: 0.875rem;
}
.cmp-table thead th {
    background: var(--cmp-navy);
    color: #e7edf5;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: start;
    padding: 14px 18px;
    white-space: nowrap;
}
.cmp-table tbody th,
.cmp-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(48, 71, 94, 0.10);
    text-align: start;
    vertical-align: top;
}
.cmp-table tbody td {
    color: #30475e;
    line-height: 1.8;
}
.cmp-table tbody th[scope="row"] {
    color: #0A192F;
    font-weight: 600;
    line-height: 1.7;
}
.cmp-pair-table .cmp-cat-row th[scope="rowgroup"] {
    background: #10254a;
    color: #e7edf5;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 10px 18px;
    border-bottom: none;
}
.cmp-cat-weight {
    margin-inline-start: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b9c6d8;
}
.cmp-criteria-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7a7979;
}
.cmp-pair-table tbody tr.cmp-row-diff td {
    background: rgba(255, 123, 38, 0.07);
}
.cmp-pair-table tbody tr.cmp-row-diff th[scope="row"] {
    background: #fff8f3;
}
.cmp-total-row th,
.cmp-total-row td {
    border-top: 2px solid #0A192F;
    border-bottom: none;
    font-weight: 800;
    color: #0A192F;
}
.cmp-score-badge {
    display: inline-block;
    background: var(--cmp-navy);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9375rem;
    padding: 7px 16px;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
}

/* منابع رسمی */
.cmp-sources {
    margin: 0;
    padding: 0;
    padding-inline-start: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #30475e;
    line-height: 1.9;
}
.cmp-sources li::marker {
    color: #0A192F;
    font-weight: 700;
}
.cmp-link {
    color: #00477a;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.cmp-link:hover {
    color: #e05f10;
}

/* قوت‌ها و محدودیت‌ها */
.cmp-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.cmp-pros-cons-card {
    background: #ffffff;
    border: 1px solid rgba(48, 71, 94, 0.14);
    border-radius: 16px;
    padding: 24px;
}
.cmp-pros-cons-card h3 {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A192F;
}
.cmp-pros-cons-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.cmp-pros-cons-card li {
    position: relative;
    padding-inline-start: 20px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.8;
    color: #30475e;
}
.cmp-pros-cons-card li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 0.65em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 2px solid #0A192F;
}
.cmp-pros-cons-card:first-child li::before {
    background: #0A192F;
}

/* مقایسه‌های مرتبط — تیکر دوئل، دقیقاً هم‌طراز هاب (cmpr) */
.cmpr-ticker {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: var(--landing-section-space, 56px) calc(50vw - 50%) 56px;
    background: var(--cmp-navy, #0A192F);
    box-sizing: border-box;
}

/* متن روشن برای پس‌زمینه سرمه‌ای — کنتراست حداقل ۱۰:۱ */
.cmpr-ticker .cmp-h2 {
    color: #ffffff;
}

.cmpr-ticker .cmp-section-note {
    color: #b9c6d8;
}

.cmpr-ticker .cmp-section-note a {
    color: #ff9550;
    font-weight: 700;
}
.cmpr-tickets {
    list-style: none;
    margin: 28px auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(calc(100% - (2 * var(--landing-gutter, 16px))), 1200px);
}
.cmpr-ticket a {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 4px;
    min-height: 64px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    color: #040d12;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.cmpr-ticket a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    border-inline-start: 2px dashed rgba(10, 25, 47, 0.25);
}
.cmpr-punch {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cmp-navy, #0A192F);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.68rem;
}
.cmpr-punch::before,
.cmpr-punch::after {
    content: "";
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cmp-navy, #0A192F);
}
.cmpr-punch::before {
    top: -36px;
}
.cmpr-punch::after {
    bottom: -36px;
}
.cmpr-ticket--lebino a {
    background: linear-gradient(180deg, #fff3e6, #ffe4c8);
}
.cmpr-side {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0A192F;
    text-align: center;
}
.cmpr-model {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #515478;
    background: rgba(10, 25, 47, 0.07);
    border-radius: 999px;
    padding: 3px 10px;
}
.cmpr-ticket--lebino .cmpr-model {
    color: #7c2d12;
    background: rgba(224, 95, 16, 0.12);
}
.cmpr-ticket--lebino .cmpr-side {
    color: #7c2d12;
}
.cmpr-ticket--lebino .cmpr-punch {
    background: var(--cmp-orange, #ff7b26);
}
.cmpr-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
.cmpr-ticket a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}
.cmpr-ticket a:focus-visible {
    outline: 3px solid var(--cmp-orange, #ff7b26);
    outline-offset: 3px;
}
@media (max-width: 860px) {
    .cmpr-tickets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .cmpr-tickets {
        grid-template-columns: 1fr;
    }
}

/* استریپ CTA پایانی — هم‌طراز CTA هاب */
.cmp-cta-strip {
    width: 100%;
    box-sizing: border-box;
    margin: var(--landing-section-space, 56px) 0 clamp(32px, 4vw, 48px);
    padding: clamp(48px, 5.5vw, 68px) clamp(20px, 4vw, 44px);
    background: var(--cmp-navy, #0A192F);
    border: 1px solid rgba(0, 71, 122, 0.6);
    border-radius: 24px;
    position: relative;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 25, 47, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.cmp-cta-halo {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse at center, rgba(0, 71, 122, 0.4) 0%, rgba(255, 123, 38, 0.12) 40%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}
.cmp-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cmp-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.cmp-cta-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: cmprPulseGreen 2s infinite;
}
@keyframes cmprPulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.cmp-cta-strip h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 18px;
    text-wrap: balance;
}
.cmp-cta-strip p {
    font-size: 1.05rem;
    font-weight: 400;
    color: #c4d2e4;
    line-height: 1.85;
    max-width: 62ch;
    margin: 0 0 32px;
}
.cmp-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.cmp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 38px;
    background: var(--cmp-orange, #ff7b26);
    color: #ffffff;
    font-size: 1.0625rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(255, 123, 38, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}
.cmp-cta-btn:hover {
    background: #e66a1a;
    transform: translateY(-2px);
    color: #ffffff;
}
.cmp-cta-btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cmp-cta-btn-phone:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}
.cmp-cta-trust-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.cmp-cta-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #c4d2e4;
    font-weight: 500;
}
.cmp-cta-trust-list li svg {
    color: #34d399;
    flex-shrink: 0;
}
.cmp-sticky-cta {
    display: none !important;
}
@media (max-width: 768px) {
    .cmp-sticky-cta,
    .mobile-sticky-cta {
        display: none !important;
    }
    .cmp-verdict,
    .cmp-pros-cons-card {
        padding: 20px;
    }
    .cmp-pros-cons {
        grid-template-columns: 1fr;
    }
    .cmp-table thead th,
    .cmp-table tbody th,
    .cmp-table tbody td {
        padding: 10px 12px;
    }
}
