﻿:root {
    --bg-page: #eef7ee;
    --bg-card: #ffffff;
    --bg-soft: #f2faf1;
    --bg-panel: #eaf6ea;
    --line: #cfe8d0;
    --line-soft: #dcefdc;
    --text-1: #16281b;
    --text-2: #43604a;
    --text-3: #7c9782;
    --green-deep: #2f7d3c;
    --green: #3fa852;
    --green-light: #e3f4e4;
    --crimson: #c8352b;
    --crimson-dark: #9c2620;
    --crimson-light: #e2564a;
    --crimson-tint: #fbe9e7;
    --gold: #b8862f;
    --gold-tint: #faf1de;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 9px;
}


.stage {
    width: 100%;
    max-width: 920px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 18px;
}

    .breadcrumb .sep {
        opacity: .6;
    }

    .breadcrumb .current {
        color: var(--text-2);
    }

.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 50px -24px rgba(47,125,60,.28), 0 2px 8px rgba(22,40,27,.04);
    opacity: 0;
    transform: translateY(14px);
    animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* top identity strip */
.id-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 26px;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(90deg, var(--green-light), transparent 65%);
}

.doc-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .doc-mark .ico {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--crimson-light), var(--crimson-dark));
        flex: none;
        box-shadow: 0 8px 16px -6px rgba(200,53,43,.45);
    }

        .doc-mark .ico svg {
            width: 20px;
            height: 20px;
        }

    .doc-mark .meta-t {
        font-size: 12px;
        color: var(--text-3);
    }

    .doc-mark .meta-name {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-1);
    }

.format-pill {
    font-size: 11px;
    color: var(--green-deep);
    background: #e1f3e2;
    border: 1px solid #bfe3c2;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .format-pill .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--green);
    }

/* body */
.body {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0;
}

@media (max-width:760px) {
    .body {
        grid-template-columns: 1fr;
    }
}

.left {
    padding: 30px 26px 30px 24px;
    border-left: 1px solid var(--line-soft);
}

@media (max-width:760px) {
    .left {
        border-left: none;
        border-bottom: 1px solid var(--line-soft);
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--green-deep);
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 14px;
}

    .eyebrow::before {
        content: '';
        width: 16px;
        height: 1px;
        background: var(--green-deep);
    }

h2 {
    font-size: 23px;
    line-height: 1.6;
    margin: 0 0 10px;
    font-weight: 800;
    color: var(--crimson);
}

.sub {
    font-size: 14px;
    color: var(--text-2);
    line-height: 2;
    margin: 0 0 22px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 7px;
    margin-bottom: 24px;
}

.stat {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    text-align: center;
}

    .stat .num {
        font-size: 18px;
        font-weight: 800;
        color: var(--green-deep);
        font-variant-numeric: tabular-nums;
    }

    .stat .lbl {
        font-size: 11px;
        color: var(--text-3);
        margin-top: 4px;
    }

.accuracy-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--gold-tint);
    border: 1px solid #ecd9a6;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
}

    .accuracy-note .ico-wrap {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        flex: none;
        background: #f3e2b3;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .accuracy-note svg {
        width: 16px;
        height: 16px;
    }

    .accuracy-note .t {
        font-size: 13px;
        line-height: 1.9;
        color: var(--text-2);
    }

    .accuracy-note b {
        color: var(--gold);
        font-weight: 700;
    }

.guarantee-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--green-light);
    border: 1px solid #bfe3c2;
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

    .guarantee-row .ico-wrap {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        flex: none;
        background: #d3ecd5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .guarantee-row svg {
        width: 16px;
        height: 16px;
    }

    .guarantee-row .t {
        font-size: 13px;
        line-height: 1.9;
        color: var(--text-2);
    }

    .guarantee-row b {
        color: var(--green-deep);
        font-weight: 700;
    }

/* right / purchase panel */
.right {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--crimson-tint) 0%, transparent 45%);
}

.price-label {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 6px;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.price-num {
    font-size: 34px;
    font-weight: 900;
    color: var(--crimson);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.5px;
}

.price-unit {
    font-size: 14px;
    color: var(--text-2);
    font-weight: 600;
}

.price-toman-note {
    font-size: 11.5px;
    color: var(--text-3);
    margin-bottom: 20px;
}

.divider {
    height: 1px;
    background: var(--line-soft);
    margin: 18px 0;
}

.balance-box {
    border: 1px solid var(--line);
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 18px;
}

.balance-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .balance-top .lbl {
        font-size: 12px;
        color: var(--text-3);
    }

.balance-status {
    font-size: 11px;
    font-weight: 700;
    color: var(--green-deep);
    display: flex;
    align-items: center;
    gap: 5px;
}
 .balance-status svg {
        width: 13px;
        height: 13px;
    }
.balance-status-fail {
    font-size: 11px;
    font-weight: 700;
    color: var(--crimson);
    display: flex;
    align-items: center;
    gap: 5px;
}

    .balance-status-fail svg {
        width: 13px;
        height: 13px;
    }
.balance-num {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-1);
    font-variant-numeric: tabular-nums;
    margin-bottom: 10px;
}

.balance-bar {
    height: 6px;
    border-radius: 99px;
    background: #dcefdd;
    overflow: hidden;
    margin-bottom: 8px;
}

.balance-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green), var(--green-deep));
    border-radius: 99px;
    animation: fillbar 1.1s .4s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes fillbar {
    to {
        width: 100%;
    }
}

.balance-sub {
    font-size: 12px;
    color: var(--text-3);
    text-align:justify;
}

.cta {
    appearance: none;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--crimson-light), var(--crimson) 55%, var(--crimson-dark));
    color: #fff6f5;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 14px 28px -12px rgba(200,53,43,.5);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    .cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px -12px rgba(200,53,43,.6);
        filter: brightness(1.03);
    }

    .cta:active {
        transform: translateY(0);
    }

    .cta svg {
        width: 18px;
        height: 18px;
    }

.secure-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 11.5px;
    color: var(--text-3);
}

    .secure-line svg {
        width: 13px;
        height: 13px;
    }

.footer-strip {
    border-top: 1px solid var(--line-soft);
    padding: 14px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-3);
    background: var(--bg-soft);
}

    .footer-strip .items {
        display: flex;
        gap: 18px;
        flex-wrap: wrap;
    }

    .footer-strip .item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .footer-strip svg {
        width: 14px;
        height: 14px;
        opacity: .8;
    }
.guest-hint {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f3f6fb;
    border: 1px solid #d9e3f1;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    color: #4b5d75;
    font-size: 13px;
    line-height: 1.9;
    text-align: justify;
}

    .guest-hint svg {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin-top: 4px;
    }

/* دکمه‌ی لینکی با همان ظاهر .cta */
.cta.cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #fff6f5;
}

    .cta.cta-link:hover {
        color: #fff;
        filter: brightness(1.06);
    }

    .cta.cta-link svg {
        width: 20px;
        height: 20px;
    }

.guest-alt a {
    color: #c0392b;
    font-weight: 700;
    text-decoration: none;
}

    .guest-alt a:hover {
        text-decoration: underline;
    }