﻿/* ============================================================
   DOWNLOAD PAGE — نگین گستران محاسب
============================================================ */

:root {
    --dl-red: #C81D25;
    --dl-red-2: #9B1219;
    --dl-blue: #1A6CA0;
    --dl-blue-2: #0B3954;
    --dl-teal: #087E8B;
    --dl-amber: #D4860A;
    --dl-green: #1A8C5B;
    --dl-purple: #7B52AB;
    --dl-bg: #F3FAFF;
    --dl-card-bg: #fff;
    --dl-card-radius: 28px;
    --dl-card-shadow: 0 8px 32px rgba(11,57,84,.08), 0 2px 8px rgba(11,57,84,.05), inset 0 1px 0 rgba(255,255,255,.90);
    --dl-card-shadow-hover: 0 24px 48px rgba(11,57,84,.14), 0 6px 16px rgba(11,57,84,.08);
    --dl-ease: cubic-bezier(.34,1.56,.64,1);
}

/* ============================================================
   HERO BANNER
============================================================ */
.dl-hero {
    width: 100%;
    background: linear-gradient(160deg, #0B3954 0%, #0E2F44 55%, #0A2233 100%);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

    .dl-hero::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(200,29,37,.14) 0%, transparent 70%);
        top: -180px;
        left: -100px;
        pointer-events: none;
    }

    .dl-hero::after {
        content: '';
        position: absolute;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(8,126,139,.12) 0%, transparent 70%);
        bottom: -100px;
        right: -60px;
        pointer-events: none;
    }

.dl-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 72px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: dlFadeUp .7s ease both;
}

.dl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(200,29,37,.95);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 6px 20px;
    border-radius: 999px;
    background: rgba(200,29,37,.12);
    border: 1px solid rgba(200,29,37,.28);
}

    .dl-hero-eyebrow::before,
    .dl-hero-eyebrow::after {
        content: '';
        display: inline-block;
        width: 18px;
        height: 1.5px;
        background: #C81D25;
        border-radius: 1px;
        opacity: .7;
    }

.dl-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.3;
    letter-spacing: -.3px;
}

    .dl-hero-title span {
        color: #C81D25;
    }

.dl-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.62);
    line-height: 1.9;
    max-width: 560px;
    margin: 0 0 36px;
}

.dl-hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.dl-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    animation: dlFadeUp .6s ease both;
}

    .dl-hero-stat:nth-child(1) {
        animation-delay: .15s
    }

    .dl-hero-stat:nth-child(2) {
        animation-delay: .25s
    }

    .dl-hero-stat:nth-child(3) {
        animation-delay: .35s
    }

.dl-hero-stat-num {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

    .dl-hero-stat-num sup {
        font-size: 14px;
        color: #C81D25;
        vertical-align: super;
        margin-right: 2px;
    }

.dl-hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    letter-spacing: .5px;
}

.dl-hero-stat-sep {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent);
}

/* ============================================================
   INTRO SECTION
============================================================ */
.dl-intro-section {
    width: 100%;
    padding: 72px 0 60px;
    background: var(--dl-bg);
    direction: rtl;
}

.dl-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 72px;
    box-sizing: border-box;
}

.dl-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

.dl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #C81D25;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(200,29,37,.07);
    border: 1px solid rgba(200,29,37,.16);
}

    .dl-eyebrow::before,
    .dl-eyebrow::after {
        content: '';
        display: inline-block;
        width: 18px;
        height: 1.5px;
        background: #C81D25;
        border-radius: 1px;
        opacity: .6;
    }

.dl-section-title {
    font-size: 34px;
    font-weight: 700;
    color: #0B3954;
    margin: 0 0 14px;
    line-height: 1.3;
    letter-spacing: -.2px;
}

    .dl-section-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 2px;
        background: #C81D25;
        border-radius: 0;
        margin: 14px auto 0;
        opacity: .9;
    }

.dl-section-sub {
    font-size: 15.5px;
    color: #5a7a8e;
    line-height: 1.85;
    max-width: 640px;
    margin: 0;
}

/* ---- Info cards: 2×2 grid ---- */
.dl-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dl-info-card {
    background: var(--dl-card-bg);
    border-radius: var(--dl-card-radius);
    border-top-right-radius: 0;
    border: 1px solid rgba(11,57,84,.10);
    box-shadow: var(--dl-card-shadow);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: transform .4s var(--dl-ease), box-shadow .4s ease;
    direction: rtl;
    animation: dlFadeUp .55s ease both;
}

    .dl-info-card:nth-child(1) {
        animation-delay: .08s
    }

    .dl-info-card:nth-child(2) {
        animation-delay: .16s
    }

    .dl-info-card:nth-child(3) {
        animation-delay: .24s
    }

    .dl-info-card:nth-child(4) {
        animation-delay: .32s
    }

    .dl-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--ic-accent, linear-gradient(90deg, #C81D25, #9B1219));
    }

    .dl-info-card::after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: -50px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: var(--ic-glow, rgba(200,29,37,.04));
        pointer-events: none;
        transition: transform .5s var(--dl-ease);
    }

    .dl-info-card:hover {
        transform: translateY(-7px) scale(1.012);
        box-shadow: var(--dl-card-shadow-hover);
    }

        .dl-info-card:hover::after {
            transform: scale(1.2);
        }

    .dl-info-card.ic-red {
        --ic-accent: linear-gradient(90deg,#C81D25,#9B1219);
        --ic-glow: rgba(200,29,37,.05);
        --ic-icon: #C81D25;
    }

    .dl-info-card.ic-green {
        --ic-accent: linear-gradient(90deg,#1A8C5B,#0e6040);
        --ic-glow: rgba(26,140,91,.05);
        --ic-icon: #1A8C5B;
    }

    .dl-info-card.ic-blue {
        --ic-accent: linear-gradient(90deg,#0B3954,#1A6CA0);
        --ic-glow: rgba(11,57,84,.05);
        --ic-icon: #1A6CA0;
    }

    .dl-info-card.ic-teal {
        --ic-accent: linear-gradient(90deg,#087E8B,#065E69);
        --ic-glow: rgba(8,126,139,.05);
        --ic-icon: #087E8B;
    }

.dl-info-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,.70) 0%, rgba(243,250,255,.50) 100%);
    border: 1px solid rgba(11,57,84,.12);
    box-shadow: 0 4px 16px rgba(11,57,84,.08), inset 0 1px 0 rgba(255,255,255,.90);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform .4s var(--dl-ease);
}

    .dl-info-icon-wrap svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: var(--ic-icon, #C81D25);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.dl-info-card:hover .dl-info-icon-wrap {
    transform: translateY(-3px) scale(1.07);
}

.dl-info-title {
    font-size: 15px;
    font-weight: 800;
    color: #0B3954;
    margin: 0 0 5px;
    line-height: 1.35;
    position: relative;
    z-index: 1;
}

.dl-info-text {
    font-size: 12.5px;
    color: #5a7a8e;
    line-height: 1.85;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ============================================================
   INSTALL GUIDE
============================================================ */
.dl-guide-section {
    width: 100%;
    padding: 0 0 72px;
    background: var(--dl-bg);
    direction: rtl;
}

.dl-guide-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 72px;
    box-sizing: border-box;
}

.dl-guide-wrap {
    background: var(--dl-card-bg);
    border-radius: var(--dl-card-radius);
    border: 1px solid rgba(11,57,84,.10);
    box-shadow: var(--dl-card-shadow);
    padding: 40px 44px;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

    .dl-guide-wrap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #C81D25 0%, #1A6CA0 50%, #087E8B 100%);
    }

.dl-guide-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    direction: rtl;
}

.dl-guide-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.70) 0%, rgba(243,250,255,.50) 100%);
    border: 1px solid rgba(11,57,84,.12);
    box-shadow: 0 4px 16px rgba(11,57,84,.08), inset 0 1px 0 rgba(255,255,255,.90);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .dl-guide-icon svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: #C81D25;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.dl-guide-header-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0B3954;
    margin: 0 0 4px;
    line-height: 1.3;
}

.dl-guide-header-text p {
    font-size: 13px;
    color: #5a7a8e;
    margin: 0;
    line-height: 1.6;
}

.dl-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dl-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    direction: rtl;
}

    .dl-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20px;
        left: -10px;
        width: 20px;
        height: 2px;
        background: linear-gradient(to left, rgba(200,29,37,.3), transparent);
    }

.dl-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C81D25, #9B1219);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(200,29,37,.30);
    flex-shrink: 0;
    letter-spacing: -.5px;
}

.dl-step-title {
    font-size: 14px;
    font-weight: 800;
    color: #0B3954;
    margin: 0 0 5px;
    line-height: 1.3;
}

.dl-step-text {
    font-size: 12.5px;
    color: #5a7a8e;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   DOWNLOADS SECTION
============================================================ */
.dl-downloads-section {
    width: 100%;
    padding: 72px 0;
    background: linear-gradient(180deg, #0E2F44 0%, #0A2233 50%, #0E2F44 100%);
    direction: rtl;
    position: relative;
    overflow: hidden;
}

    .dl-downloads-section::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(200,29,37,.08) 0%, transparent 70%);
        top: -200px;
        left: -150px;
        pointer-events: none;
    }

    .dl-downloads-section::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(8,126,139,.10) 0%, transparent 70%);
        bottom: -100px;
        right: -80px;
        pointer-events: none;
    }

.dl-downloads-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 72px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.dl-downloads-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

    .dl-downloads-head .dl-eyebrow {
        background: rgba(200,29,37,.15);
        border-color: rgba(200,29,37,.30);
        color: rgba(200,29,37,.95);
    }

    .dl-downloads-head .dl-section-title {
        color: #fff;
    }

/* ---- Grid: 2×2 ---- */
.dl-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

/* ---- کارت پایه ---- */
.dl-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--dl-ease), box-shadow .4s ease, background .3s ease, border-color .3s ease;
    animation: dlFadeUp .55s ease both;
    direction: rtl;
}

    .dl-card:nth-child(1) {
        animation-delay: .10s
    }

    .dl-card:nth-child(2) {
        animation-delay: .20s
    }

    .dl-card:nth-child(3) {
        animation-delay: .30s
    }

    .dl-card:nth-child(4) {
        animation-delay: .40s
    }

    .dl-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--dc-accent, linear-gradient(90deg, #C81D25, #9B1219));
        border-radius: 26px 26px 0 0;
        opacity: 0;
        transform: scaleX(0);
        transform-origin: right;
        transition: opacity .3s ease, transform .4s var(--dl-ease);
    }

    .dl-card:hover {
        transform: translateY(-8px) scale(1.013);
        background: rgba(255,255,255,.10);
        border-color: var(--dc-border, rgba(200,29,37,.45));
        box-shadow: 0 24px 48px rgba(0,0,0,.30);
    }

        .dl-card:hover::before {
            opacity: 1;
            transform: scaleX(1);
        }

/* Banner */
.dl-card-banner {
    height: 110px;
    background: var(--dc-banner-bg, rgba(200,29,37,.12));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .dl-card-banner::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 40%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
        transform: translateX(-100%) skewX(-15deg);
    }

.dl-card:hover .dl-card-banner::after {
    animation: dlShimmer .7s ease forwards;
}

.dl-card-banner-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s var(--dl-ease);
    position: relative;
    z-index: 1;
}

.dl-card:hover .dl-card-banner-icon {
    transform: scale(1.10) translateY(-3px);
}

.dl-card-banner-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--dc-icon, #fff);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Body */
.dl-card-body {
    padding: 22px 22px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--dc-badge-bg, rgba(200,29,37,.12));
}

.dl-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dc-accent-solid, #C81D25);
}

.dl-card-badge-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dc-accent-solid, #C81D25);
}

.dl-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.35;
}

.dl-card-desc {
    font-size: 12.5px;
    color: rgba(255,255,255,.52);
    line-height: 1.8;
    margin: 0;
}

.dl-card-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.dl-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.65);
}

    .dl-chip svg {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: rgba(255,255,255,.50);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Footer — دکمه(ها) */
.dl-card-footer {
    padding: 18px 22px 22px;
    margin-top: auto;
}

    /* حالت عادی: یک دکمه */
    .dl-card-footer .dl-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 13px 20px;
        border-radius: 14px;
        background: var(--dc-btn-bg, linear-gradient(135deg, #C81D25, #9B1219));
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .2px;
        position: relative;
        overflow: hidden;
        transition: transform .3s var(--dl-ease), box-shadow .3s ease;
        box-shadow: var(--dc-btn-shadow, 0 8px 24px rgba(200,29,37,.35));
        cursor: pointer;
        border: none;
        box-sizing: border-box;
    }

        .dl-card-footer .dl-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -110%;
            width: 70px;
            height: 100%;
            background: rgba(255,255,255,.22);
            transform: skewX(-25deg);
            transition: .6s;
        }

        .dl-card-footer .dl-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--dc-btn-shadow-h, 0 14px 36px rgba(200,29,37,.45));
        }

            .dl-card-footer .dl-btn:hover::before {
                left: 140%;
            }

        .dl-card-footer .dl-btn:active {
            transform: translateY(-1px) scale(.98);
        }

        .dl-card-footer .dl-btn svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: #fff;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
            transition: transform .3s var(--dl-ease);
        }

        .dl-card-footer .dl-btn:hover svg {
            transform: translateY(2px);
        }

        .dl-card-footer .dl-btn.disabled {
            opacity: .45;
            cursor: not-allowed;
            pointer-events: none;
        }

/* ---- دکمه‌های دوتایی (کارت آپدیت) — همیشه کنار هم ---- */
.dl-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    /* دکمه اصلی — پُر */
    .dl-btn-group .dl-btn.dl-btn-primary {
        background: var(--dc-btn-bg, linear-gradient(135deg, #087E8B, #065E69));
        box-shadow: var(--dc-btn-shadow, 0 8px 24px rgba(8,126,139,.35));
        width: 100%;
        padding: 13px 10px;
        font-size: 12.5px;
    }

        .dl-btn-group .dl-btn.dl-btn-primary:hover {
            box-shadow: var(--dc-btn-shadow-h, 0 14px 36px rgba(8,126,139,.48));
        }

    /* دکمه ثانوی — outline */
    .dl-btn-group .dl-btn.dl-btn-secondary {
        background: transparent;
        box-shadow: none;
        border: 1.5px solid rgba(255,255,255,.25);
        color: rgba(255,255,255,.80);
    }

        .dl-btn-group .dl-btn.dl-btn-secondary svg {
            stroke: rgba(255,255,255,.75);
        }

        .dl-btn-group .dl-btn.dl-btn-secondary:hover {
            background: rgba(255,255,255,.08);
            border-color: rgba(255,255,255,.45);
            box-shadow: none;
            color: #fff;
        }

            .dl-btn-group .dl-btn.dl-btn-secondary:hover svg {
                stroke: #fff;
            }

/* برچسب روی دکمه */
.dl-btn-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(255,255,255,.18);
    margin-right: 4px;
    vertical-align: middle;
    line-height: 1.4;
}

/* Color variants */
.dl-card.dc-red {
    --dc-accent: linear-gradient(90deg, #C81D25, #9B1219);
    --dc-accent-solid: #C81D25;
    --dc-banner-bg: rgba(200,29,37,.14);
    --dc-border: rgba(200,29,37,.45);
    --dc-badge-bg: rgba(200,29,37,.14);
    --dc-btn-bg: linear-gradient(135deg, #C81D25, #9B1219);
    --dc-btn-shadow: 0 8px 24px rgba(200,29,37,.35);
    --dc-btn-shadow-h: 0 14px 36px rgba(200,29,37,.48);
}

.dl-card.dc-green {
    --dc-accent: linear-gradient(90deg, #1A8C5B, #0e6040);
    --dc-accent-solid: #1A8C5B;
    --dc-banner-bg: rgba(26,140,91,.14);
    --dc-border: rgba(26,140,91,.45);
    --dc-badge-bg: rgba(26,140,91,.14);
    --dc-btn-bg: linear-gradient(135deg, #1A8C5B, #0e6040);
    --dc-btn-shadow: 0 8px 24px rgba(26,140,91,.35);
    --dc-btn-shadow-h: 0 14px 36px rgba(26,140,91,.48);
}

.dl-card.dc-blue {
    --dc-accent: linear-gradient(90deg, #0B3954, #1A6CA0);
    --dc-accent-solid: #1A6CA0;
    --dc-banner-bg: rgba(26,108,160,.14);
    --dc-border: rgba(26,108,160,.45);
    --dc-badge-bg: rgba(26,108,160,.14);
    --dc-btn-bg: linear-gradient(135deg, #1A6CA0, #0B3954);
    --dc-btn-shadow: 0 8px 24px rgba(26,108,160,.35);
    --dc-btn-shadow-h: 0 14px 36px rgba(26,108,160,.48);
}

.dl-card.dc-teal {
    --dc-accent: linear-gradient(90deg, #087E8B, #065E69);
    --dc-accent-solid: #087E8B;
    --dc-banner-bg: rgba(8,126,139,.14);
    --dc-border: rgba(8,126,139,.45);
    --dc-badge-bg: rgba(8,126,139,.14);
    --dc-btn-bg: linear-gradient(135deg, #087E8B, #065E69);
    --dc-btn-shadow: 0 8px 24px rgba(8,126,139,.35);
    --dc-btn-shadow-h: 0 14px 36px rgba(8,126,139,.48);
}

/* ============================================================
   NOTICE BAR
============================================================ */
.dl-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
    border-radius: 16px;
    background: rgba(212,134,10,.10);
    border: 1px solid rgba(212,134,10,.25);
    direction: rtl;
}

.dl-notice-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212,134,10,.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dl-notice-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #D4860A;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.dl-notice-text {
    font-size: 13px;
    color: rgba(255,255,255,.70);
    line-height: 1.75;
    margin: 0;
}

    .dl-notice-text strong {
        color: #D4860A;
        font-weight: 700;
    }

/* ============================================================
   KEYFRAMES
============================================================ */
@keyframes dlFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dlShimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(300%) skewX(-15deg);
    }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .dl-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .dl-hero-inner,
    .dl-intro-inner,
    .dl-guide-inner,
    .dl-downloads-inner {
        padding: 0 32px;
    }

    .dl-hero-title {
        font-size: 32px;
    }

    .dl-steps {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .dl-step:not(:last-child)::after {
        display: none;
    }

    .dl-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .dl-guide-wrap {
        padding: 28px 24px;
    }
}

@media (max-width: 767px) {
    .dl-hero {
        padding: 52px 0 60px;
    }

    .dl-hero-inner,
    .dl-intro-inner,
    .dl-guide-inner,
    .dl-downloads-inner {
        padding: 0 16px;
    }

    .dl-hero-title {
        font-size: 24px;
    }

    .dl-hero-subtitle {
        font-size: 14px;
    }

    .dl-hero-stat-sep {
        display: none;
    }

    .dl-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dl-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dl-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* دکمه‌های آپدیت در موبایل هم کنار هم بمانند */
    .dl-btn-group {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

        .dl-btn-group .dl-btn.dl-btn-primary {
            font-size: 11px;
            padding: 11px 6px;
        }

    .dl-section-title {
        font-size: 24px;
    }

    .dl-guide-wrap {
        padding: 22px 18px;
    }

    .dl-intro-section,
    .dl-guide-section,
    .dl-downloads-section {
        padding: 48px 0;
    }

    .dl-notice {
        flex-direction: column;
        align-items: flex-start;
    }
}
