@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600;700;800;900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #071E2B;
    --navy-2: #0B3954;
    --navy-3: #0d2f47;
    --red: #C81D25;
    --red-2: #9B1219;
    --ghost: #F6F9FC;
    --border: rgba(11,57,84,.10);
    --white: #ffffff;
    --slider-bg: #1a3a52;
    --card-bg: #ffffff;
    --card-border: rgba(0,0,0,.08);
    --card-text: #1a2e3b;
    --card-sub: #5a7080;
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --ease-smooth: cubic-bezier(.22,1,.36,1);
    --r: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background: var(--navy);
    color: var(--white);
    direction: rtl;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.pp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}

    .pp-btn-primary:hover {
        color: #fff;
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(200,29,37,.4);
    }

.pp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.85);
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: all .3s ease;
}

    .pp-btn-ghost:hover {
        color: #fff;
        border-color: rgba(255,255,255,.35);
        background: rgba(255,255,255,.12);
        transform: translateY(-2px);
    }

.mod-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(200,29,37,.08);
    border: 1px solid rgba(200,29,37,.18);
    margin-bottom: 20px;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mod-hero {
    position: relative;
    background: linear-gradient(160deg, #122a3d 0%, #0d1f2d 55%, #08141d 100%);
    overflow: hidden;
}


.mod-nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 60px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.mod-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

    .mod-nav__logo svg {
        width: 28px;
        height: 28px;
        fill: var(--red);
    }

.mod-nav__cta {
    padding: 9px 22px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 600;
    transition: all .3s ease;
}

    .mod-nav__cta:hover {
        background: rgba(255,255,255,.13);
        color: #fff;
    }

.mod-hero__center {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 40px 56px;
    text-align: center;
    animation: fadeUp .7s var(--ease-smooth) both;
}

.mod-hero__glow-a, .mod-hero__glow-b {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    z-index: 1;
}

.mod-hero__glow-a {
    width: 460px;
    height: 460px;
    background: rgba(200,29,37,.20);
    top: -200px;
    right: -140px;
}

.mod-hero__glow-b {
    width: 380px;
    height: 380px;
    background: rgba(8,126,139,.14);
    bottom: -220px;
    left: -120px;
}

.mod-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff7378;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(200,29,37,.12);
    border: 1px solid rgba(200,29,37,.28);
    margin-bottom: 24px;
}

.mod-hero__title {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    line-height: 1.65;
    letter-spacing: -.6px;
    margin-bottom: 16px;
}

    .mod-hero__title span {
        color: var(--red);
    }

.mod-hero__subtitle {
    font-size: 15px;
    color: rgba(255,255,255,.55);
    line-height: 1.95;
    max-width: 620px;
    margin: 0 auto 30px;
}

.mod-hero__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    margin-bottom: 52px;
    transition: all .3s var(--ease-spring);
}

    .mod-hero__cta-btn:hover {
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 16px 32px rgba(200,29,37,.4);
    }

    .mod-hero__cta-btn svg {
        width: 15px;
        height: 15px;
        stroke: #fff;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-hero__features-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.mod-hero__feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 150px;
    transition: transform .3s ease;
}

    .mod-hero__feat:hover {
        transform: translateY(-4px);
    }

.mod-hero__feat-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    transition: all .3s ease;
}

.mod-hero__feat:nth-child(1) .mod-hero__feat-icon {
    background: rgba(8,126,139,.16);
    border-color: rgba(8,126,139,.32);
}

    .mod-hero__feat:nth-child(1) .mod-hero__feat-icon svg {
        stroke: #5fc4d1;
    }

.mod-hero__feat:nth-child(2) .mod-hero__feat-icon {
    background: rgba(212,134,10,.16);
    border-color: rgba(212,134,10,.32);
}

    .mod-hero__feat:nth-child(2) .mod-hero__feat-icon svg {
        stroke: #e7a23f;
    }

.mod-hero__feat:nth-child(3) .mod-hero__feat-icon {
    background: rgba(200,29,37,.16);
    border-color: rgba(200,29,37,.32);
}

    .mod-hero__feat:nth-child(3) .mod-hero__feat-icon svg {
        stroke: #e8636a;
    }

.mod-hero__feat:nth-child(4) .mod-hero__feat-icon {
    background: rgba(123,82,171,.16);
    border-color: rgba(123,82,171,.32);
}

    .mod-hero__feat:nth-child(4) .mod-hero__feat-icon svg {
        stroke: #a98bd0;
    }

.mod-hero__feat-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mod-hero__feat span {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    text-align: center;
    line-height: 1.6;
}


.mod-categories {
    padding: 60px 0 120px;
    background: linear-gradient(180deg, #e8eff5 0%, #d8e8f2 100%);
}

.mod-section-title {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.mod-section-title__label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 900;
    color: #1a2e3b;
    letter-spacing: -.3px;
}

    .mod-section-title__label::before,
    .mod-section-title__label::after {
        content: '';
        display: block;
        width: 36px;
        height: 3px;
        background: var(--red);
        border-radius: 2px;
    }

.mod-section-title__sub {
    font-size: 13px;
    color: #5a7080;
    margin-top: 8px;
}

.mod-category {
    padding: 0 0 56px;
    position: relative;
}

.mod-category__header {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 60px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.mod-category__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cat-accent, var(--red));
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(var(--cat-accent-rgb, 200,29,37),.10);
    border: 1px solid rgba(var(--cat-accent-rgb, 200,29,37),.25);
    margin-bottom: 10px;
}

.mod-category__h2 {
    font-size: 26px;
    font-weight: 900;
    color: #1a2e3b;
    letter-spacing: -.5px;
}

    .mod-category__h2 span {
        color: var(--cat-accent, var(--red));
    }

.mod-category__desc {
    font-size: 13px;
    color: #5a7080;
    max-width: 420px;
    line-height: 1.8;
    text-align: left;
}

.mod-slider-shell {
    position: relative;
    overflow: hidden;
    margin: 0 200px;
    border-radius: 16px;
}


    .mod-slider-shell::before,
    .mod-slider-shell::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 160px;
        z-index: 10;
        pointer-events: none;
    }

    .mod-slider-shell::before {
        right: 0;
        background: linear-gradient(to left, #d8e8f2 0%, transparent 100%);
    }

    .mod-slider-shell::after {
        left: 0;
        background: linear-gradient(to right, #d8e8f2 0%, transparent 100%);
    }

.mod-slider-track-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 12px 0 20px;
}
.mod-slider-track-wrap--scroll {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 26px;
    scrollbar-width: thin;
    scrollbar-color: var(--cat-accent, var(--red)) rgba(11,57,84,.10);
}

    .mod-slider-track-wrap--scroll::-webkit-scrollbar {
        height: 8px;
    }

    .mod-slider-track-wrap--scroll::-webkit-scrollbar-track {
        background: rgba(11,57,84,.08);
        border-radius: 999px;
    }

    .mod-slider-track-wrap--scroll::-webkit-scrollbar-thumb {
        background: var(--cat-accent, var(--red));
        border-radius: 999px;
    }

.mod-slider-track--scroll {
    justify-content: flex-start;
}
@keyframes sliderLoop {

    from {
        transform: translateX(calc(-0.5 * var(--set-width)));
    }

    to {
        transform: translateX(calc(-1.5 * var(--set-width)));
    }
}

.mod-slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
    justify-content: center;
    align-items: stretch;
    will-change: transform;
    /* حرکت خودکار اکنون توسط جاوااسکریپت کنترل می‌شود (رجوع کنید به مدیریت اسلایدر در پایین فایل)
       تا امکان توقف، پرش قدم‌به‌قدم با دکمه‌های ناوبری و ازسرگیری نرم پس از ۵ ثانیه فراهم شود.
       این قوانین به عنوان بازگشت (fallback) در صورت غیرفعال بودن جاوااسکریپت حفظ شده‌اند. */
    animation: sliderLoop var(--loop-dur,60s) linear infinite;
    transform: translateX(calc(-0.5 * var(--set-width)));
}

    .mod-slider-track:hover {
        animation-play-state: paused;
    }

.mod-slider-track--rev {
    animation-direction: reverse;
}

.mod-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 18px;
    padding: 22px 20px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 260px;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .4s var(--ease-spring), box-shadow .3s ease, border-color .3s ease;
}

.mod-card--wide {
    width: 340px;
}

.mod-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 0%, rgba(var(--accent-rgb),.08) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.mod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12), 0 0 0 1.5px rgba(var(--accent-rgb),.25);
    border-color: rgba(var(--accent-rgb),.3);
}

    .mod-card:hover::before {
        opacity: 1;
    }


.mod-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.mod-card__icon-wrap {
    position: relative;
    width: 48px;
    height: 48px;
}

.mod-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--accent-rgb), .10);
    border: 1px solid rgba(var(--accent-rgb), .18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s var(--ease-spring), background .3s ease;
    position: relative;
    z-index: 1;
}

    .mod-card__icon svg {
        width: 22px;
        height: 22px;
        stroke: var(--accent);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: stroke .3s ease;
    }

.mod-card:hover .mod-card__icon {
    transform: scale(1.1) rotate(-6deg);
    background: var(--accent);
}

    .mod-card:hover .mod-card__icon svg {
        stroke: #fff;
    }

.mod-card__icon-ring {
    position: absolute;
    inset: -5px;
    border-radius: 20px;
    border: 1px dashed rgba(var(--accent-rgb), .3);
    opacity: 0;
    transition: opacity .4s ease;
}

.mod-card:hover .mod-card__icon-ring {
    opacity: 1;
    animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mod-card__badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(200,29,37,.10);
    border: 1px solid rgba(200,29,37,.20);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--red);
    text-transform: uppercase;
}

.mod-card__badge--teal {
    background: rgba(8,126,139,.10);
    border-color: rgba(8,126,139,.22);
    color: #087E8B;
}

.mod-card__badge--purple {
    background: rgba(123,82,171,.10);
    border-color: rgba(123,82,171,.22);
    color: #7B52AB;
}

.mod-card__badge--gold {
    background: rgba(212,134,10,.10);
    border-color: rgba(212,134,10,.22);
    color: #b8720a;
}


.mod-card__body {
    flex: 1;
}

.mod-card__title {
    font-size: 15px;
    font-weight: 800;
    color: #1a2e3b;
    margin-bottom: 6px;
    letter-spacing: -.2px;
}

.mod-card__short {
    font-size: 11px;
    color: #6080a0;
    line-height: 1.7;
}


.mod-card--core .mod-card__title {
    font-size: 17px;
}

.mod-card--core .mod-card__sub-modules {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mod-card__sub-tag {
    font-size: 10px;
    font-weight: 600;
    color: #5a7088;
    padding: 3px 10px;
    border-radius: 7px;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.07);
    transition: all .3s ease;
}

.mod-card:hover .mod-card__sub-tag {
    background: rgba(var(--accent-rgb),.08);
    border-color: rgba(var(--accent-rgb),.18);
    color: var(--accent);
}

.mod-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(0,0,0,.05);
    padding-top: 12px;
    margin-top: 4px;
}

.mod-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    transition: gap .3s ease;
}

    .mod-card__cta svg {
        width: 13px;
        height: 13px;
        stroke: var(--accent);
        fill: none;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .3s ease;
    }

.mod-card:hover .mod-card__cta {
    gap: 10px;
}

    .mod-card:hover .mod-card__cta svg {
        transform: translateX(-4px);
    }

.mod-card__arrow {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(var(--accent-rgb), .08);
    border: 1px solid rgba(var(--accent-rgb), .15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .3s var(--ease-spring);
}

    .mod-card__arrow svg {
        width: 13px;
        height: 13px;
        stroke: var(--accent);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .3s ease;
    }

.mod-card:hover .mod-card__arrow {
    background: var(--accent);
    border-color: var(--accent);
}

    .mod-card:hover .mod-card__arrow svg {
        stroke: #fff;
        transform: translateX(-4px);
    }

.mod-card__progress {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: rgba(var(--accent-rgb), .08);
    overflow: hidden;
}

.mod-card__progress-bar {
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease-smooth);
}

.mod-card:hover .mod-card__progress-bar {
    transform: scaleX(1);
}


.mod-category-divider {
    max-width: 1360px;
    margin: 0 auto 48px;
    padding: 0 60px;
}

.mod-category-divider__line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.10) 30%, rgba(0,0,0,.10) 70%, transparent);
}


.mod-card--core {
    width: 380px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb),.06) 0%, #fff 60%);
    border-color: rgba(var(--accent-rgb),.20);
}

.mod-detail {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

    .mod-detail.is-open {
        display: block;
    }

.mod-detail__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7,30,43,.75);
    backdrop-filter: blur(6px);
    animation: overlayIn .3s ease both;
}

@keyframes overlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mod-detail__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(540px, 100vw);
    height: 100%;
    background: #fff;
    border-right: 1px solid rgba(0,0,0,.08);
    box-shadow: 32px 0 80px rgba(0,0,0,.2);
    padding: 48px 40px;
    overflow-y: auto;
    animation: panelIn .4s var(--ease-spring) both;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

@keyframes panelIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mod-detail__close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}

    .mod-detail__close:hover {
        background: rgba(0,0,0,.10);
    }

    .mod-detail__close svg {
        width: 15px;
        height: 15px;
        stroke: #5a7080;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
    }

.mod-detail__head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
}

.mod-detail__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mod-detail__icon svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-detail__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8aa0b0;
    margin-bottom: 5px;
}

.mod-detail__title {
    font-size: 26px;
    font-weight: 900;
    color: #1a2e3b;
    letter-spacing: -.5px;
}

.mod-detail__desc {
    font-size: 14px;
    color: #5a7080;
    line-height: 2;
    border-right: 3px solid var(--detail-accent, var(--red));
    padding-right: 16px;
}

.mod-detail__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mod-detail__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f7f9fb;
    border: 1px solid rgba(0,0,0,.06);
    transition: all .3s ease;
}

    .mod-detail__feature:hover {
        background: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,.08);
        border-color: rgba(var(--detail-accent-rgb, 200,29,37),.2);
    }

.mod-detail__feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(var(--detail-accent-rgb, 200,29,37),.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mod-detail__feature-icon svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-detail__feature-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a2e3b;
    margin-bottom: 2px;
}

.mod-detail__feature-text span {
    font-size: 11px;
    color: #7090a0;
    line-height: 1.5;
}

.mod-detail__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mod-detail__metric {
    text-align: center;
    padding: 16px 10px;
    border-radius: 12px;
    background: #f7f9fb;
    border: 1px solid rgba(0,0,0,.06);
}

.mod-detail__metric-val {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--detail-accent, var(--red));
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.mod-detail__metric-label {
    font-size: 11px;
    color: #8aa0b0;
    font-weight: 600;
}

.mod-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.mod-detail__btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: var(--detail-accent, var(--red));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all .3s var(--ease-spring);
}

    .mod-detail__btn-primary:hover {
        color: #fff;
        opacity: .9;
        transform: translateY(-2px);
    }

.mod-detail__btn-ghost {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(0,0,0,.03);
    color: #5a7080;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

    .mod-detail__btn-ghost:hover {
        background: rgba(0,0,0,.06);
        color: #1a2e3b;
    }


.mod-features-strip {
    background: #f0f6fa;
    padding: 50px 0;
}

.mod-features-strip__inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mod-feature-badge {
    padding: 24px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .mod-feature-badge:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,.10);
        transform: translateY(-4px);
    }

.mod-feature-badge__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

    .mod-feature-badge__icon svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-feature-badge h4 {
    font-size: 14px;
    font-weight: 800;
    color: #1a2e3b;
    margin-bottom: 5px;
}

.mod-feature-badge p {
    font-size: 11px;
    color: #7090a0;
    line-height: 1.6;
}


.mod-integrate {
    padding: 80px 0;
    background: linear-gradient(180deg, #0d1f2d 0%, #071018 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .mod-integrate::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 50% 100%, rgba(200,29,37,.08) 0%, transparent 70%);
        pointer-events: none;
    }

.mod-integrate__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.mod-integrate__h2 {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin: 14px 0 12px;
}

    .mod-integrate__h2 span {
        color: var(--red);
    }

.mod-integrate p {
    font-size: 14px;
    color: rgba(255,255,255,.38);
    line-height: 2;
    margin-bottom: 48px;
}

.mod-flow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mod-flow__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mod-flow__dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
}

.mod-flow__node:nth-child(1) .mod-flow__dot {
    border: 2px solid #C81D25;
    background: rgba(200,29,37,.12);
}

.mod-flow__node:nth-child(3) .mod-flow__dot {
    border: 2px solid #087E8B;
    background: rgba(8,126,139,.12);
}

.mod-flow__node:nth-child(5) .mod-flow__dot {
    border: 2px solid #D4860A;
    background: rgba(212,134,10,.12);
}

.mod-flow__node:nth-child(7) .mod-flow__dot {
    border: 2px solid #7B52AB;
    background: rgba(123,82,171,.12);
}

.mod-flow__dot::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    opacity: .9;
    animation: dotPulse 2s ease-in-out infinite;
}

.mod-flow__node:nth-child(1) .mod-flow__dot::after {
    background: #C81D25;
}

.mod-flow__node:nth-child(3) .mod-flow__dot::after {
    background: #087E8B;
}

.mod-flow__node:nth-child(5) .mod-flow__dot::after {
    background: #D4860A;
}

.mod-flow__node:nth-child(7) .mod-flow__dot::after {
    background: #7B52AB;
}

@keyframes dotPulse {
    0%,100% {
        transform: scale(.85);
        opacity: .7;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.mod-flow__node span {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.55);
}

.mod-flow__line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.18), rgba(255,255,255,.06));
    position: relative;
    max-width: 80px;
    margin-bottom: 22px;
}

    .mod-flow__line::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -1px;
        transform: translateY(-50%);
        border: 5px solid transparent;
        border-left-color: rgba(255,255,255,.18);
    }


.mod-cta {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    background: #071018;
    text-align: center;
}

.mod-cta__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(200,29,37,.14) 0%, transparent 60%), radial-gradient(ellipse at 80% 50%, rgba(8,126,139,.09) 0%, transparent 60%);
    pointer-events: none;
}

.mod-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 60px;
}

.mod-cta__tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(200,29,37,.10);
    border: 1px solid rgba(200,29,37,.20);
    margin-bottom: 22px;
}

.mod-cta h2 {
    font-size: 46px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.25;
    margin-bottom: 14px;
}

    .mod-cta h2 em {
        font-style: normal;
        color: var(--red);
    }

.mod-cta p {
    font-size: 15px;
    color: rgba(255,255,255,.38);
    line-height: 1.9;
    margin-bottom: 36px;
}

.mod-cta__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .mod-features-strip__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .mod-hero__center {
        padding: 50px 24px 40px;
    }

    .mod-hero__title {
        font-size: 24px;
    }

    .mod-hero__features-row {
        gap: 22px;
    }

    .mod-hero__feat {
        width: 130px;
    }

    .mod-nav {
        padding: 18px 32px;
    }

    .mod-category__header {
        padding: 0 32px;
    }

    .mod-slider-track-wrap {
        padding: 10px 32px 16px;
    }

    .mod-category-divider {
        padding: 0 32px;
    }

    .mod-integrate__inner, .mod-cta__inner {
        padding: 0 32px;
    }

    .mod-features-strip__inner {
        padding: 0 32px;
    }

    .mod-integrate__h2 {
        font-size: 28px;
    }

    .mod-cta h2 {
        font-size: 32px;
    }

    .mod-category__h2 {
        font-size: 22px;
    }

    .mod-categories {
        padding-bottom: 90px;
    }
}

@media (max-width: 640px) {
    .mod-hero__title {
        font-size: 21px;
    }

    .mod-hero__features-row {
        gap: 16px 14px;
    }

    .mod-hero__feat {
        width: 45%;
    }

    .mod-flow {
        gap: 4px;
    }

    .mod-flow__line {
        max-width: 28px;
    }

    .mod-flow__node span {
        font-size: 10px;
    }

    .mod-cta h2 {
        font-size: 26px;
    }

    .mod-cta__btns {
        flex-direction: column;
        align-items: stretch;
    }

    .mod-detail__panel {
        padding: 28px 20px;
    }

    .mod-detail__metrics {
        grid-template-columns: 1fr 1fr;
    }

    .mod-features-strip__inner {
        grid-template-columns: 1fr 1fr;
    }

    .mod-card {
        width: 230px;
    }

    .mod-card--wide {
        width: 290px;
    }

    .mod-card--core {
        width: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ══════════════════════════════
   COMPLIANCE / TAX SHOWCASE SECTION
   (replaces the old dark mod-smart-banner / mod-tax-card,
   and the leftover broken markup that caused the ghost gap)
══════════════════════════════ */
.mod-compliance {
    background: linear-gradient(180deg, #d8e8f2 0%, #eef4f9 100%);
    padding: 10px 0 70px;
}

.mod-compliance__inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.mod-compliance__h2 {
    font-size: 30px;
    font-weight: 900;
    color: #1a2e3b;
    letter-spacing: -.5px;
    line-height: 1.4;
    margin-bottom: 14px;
}

    .mod-compliance__h2 span {
        color: var(--red);
    }

.mod-compliance__desc {
    font-size: 13.5px;
    color: #5a7080;
    line-height: 2;
    max-width: 480px;
    margin-bottom: 26px;
}

.mod-compliance__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
}

    .mod-compliance__list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 13px;
        font-weight: 600;
        color: #2a3f4f;
    }

.mod-compliance__list-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(200,29,37,.10);
    border: 1px solid rgba(200,29,37,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mod-compliance__list-icon svg {
        width: 13px;
        height: 13px;
        stroke: var(--red);
        fill: none;
        stroke-width: 2.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-compliance__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .mod-compliance__btns .pp-btn-primary,
    .mod-compliance__btns .pp-btn-ghost {
        padding: 13px 28px;
        font-size: 13px;
        border-radius: 12px;
    }

    .mod-compliance__btns .pp-btn-ghost {
        border-color: rgba(11,57,84,.16);
        background: rgba(11,57,84,.04);
        color: #3a5064;
    }

        .mod-compliance__btns .pp-btn-ghost:hover {
            background: rgba(11,57,84,.08);
            border-color: rgba(11,57,84,.26);
            color: #1a2e3b;
        }

/* ---- visual side ---- */
.mod-compliance__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.mod-compliance__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,29,37,.14) 0%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.mod-compliance__doc {
    position: relative;
    z-index: 1;
    width: 300px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 24px 60px rgba(11,57,84,.16);
    padding: 22px 22px 20px;
    transform: rotate(-2deg);
    transition: transform .4s var(--ease-spring);
}

    .mod-compliance__doc:hover {
        transform: rotate(0deg) translateY(-4px);
    }

.mod-compliance__doc-head {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

    .mod-compliance__doc-head span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0,0,0,.10);
    }

        .mod-compliance__doc-head span:first-child {
            background: var(--red);
        }

.mod-compliance__doc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.mod-compliance__doc-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(200,29,37,.10);
    border: 1px solid rgba(200,29,37,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mod-compliance__doc-icon svg {
        width: 16px;
        height: 16px;
        stroke: var(--red);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-compliance__doc-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mod-compliance__doc-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(11,57,84,.08);
    margin-bottom: 8px;
}

.mod-compliance__doc-line--title {
    width: 70%;
    background: rgba(11,57,84,.16);
}

.mod-compliance__doc-line--short {
    width: 45%;
}

.mod-compliance__doc-check {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(8,126,139,.08);
    border: 1px solid rgba(8,126,139,.20);
}

    .mod-compliance__doc-check svg {
        width: 16px;
        height: 16px;
        stroke: #087E8B;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .mod-compliance__doc-check span {
        font-size: 10.5px;
        font-weight: 700;
        color: #076b76;
    }

.mod-compliance__badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 10px 26px rgba(11,57,84,.14);
    font-size: 11px;
    font-weight: 700;
    color: #1a2e3b;
    animation: complianceFloat 4s ease-in-out infinite;
}

    .mod-compliance__badge svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-compliance__badge--1 {
    top: 6%;
    left: -4%;
    animation-delay: 0s;
}

    .mod-compliance__badge--1 svg {
        stroke: #D4860A;
    }

.mod-compliance__badge--2 {
    bottom: 8%;
    right: -6%;
    animation-delay: 1.4s;
}

    .mod-compliance__badge--2 svg {
        stroke: #087E8B;
    }

@keyframes complianceFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 1100px) {
    .mod-compliance__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .mod-compliance__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .mod-compliance__list {
        align-items: center;
    }

        .mod-compliance__list li {
            text-align: right;
        }

    .mod-compliance__btns {
        justify-content: center;
    }

    .mod-compliance__badge--1 {
        left: 4%;
    }

    .mod-compliance__badge--2 {
        right: 4%;
    }
}

@media (max-width: 900px) {
    .mod-compliance {
        padding-bottom: 50px;
    }

    .mod-compliance__inner {
        padding: 0 32px;
    }

    .mod-compliance__h2 {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .mod-compliance__doc {
        width: 260px;
    }

    .mod-compliance__badge {
        padding: 8px 11px;
        font-size: 10px;
    }

    .mod-compliance__badge--1,
    .mod-compliance__badge--2 {
        position: static;
        margin: 6px auto 0;
        animation: none;
    }

    .mod-compliance__visual {
        flex-direction: column;
        gap: 10px;
    }
}


/* ══════════════════════════════
   CONNECT SECTION  (replaces mod-integrate)
══════════════════════════════ */
.mod-connect {
    background: linear-gradient(180deg, #d8e8f2 0%, #e4eef6 100%);
    padding: 70px 0 80px;
    text-align: center;
}

.mod-connect__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

.mod-connect__h2 {
    font-size: 32px;
    font-weight: 900;
    color: #1a2e3b;
    letter-spacing: -.6px;
    margin: 14px 0 10px;
}

    .mod-connect__h2 span {
        color: var(--red);
    }

.mod-connect__sub {
    font-size: 13px;
    color: #6080a0;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 52px;
}

.mod-connect__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}

.mod-connect__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 148px;
    flex-shrink: 0;
    cursor: default;
    transition: transform .3s var(--ease-spring);
}

    .mod-connect__node:hover {
        transform: translateY(-5px);
    }

.mod-connect__node-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition: all .3s var(--ease-spring);
}

    .mod-connect__node-icon svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: stroke .3s ease;
    }

.mod-connect__node[data-color="red"] .mod-connect__node-icon svg {
    stroke: #C81D25;
}

.mod-connect__node[data-color="teal"] .mod-connect__node-icon svg {
    stroke: #087E8B;
}

.mod-connect__node[data-color="gold"] .mod-connect__node-icon svg {
    stroke: #D4860A;
}

.mod-connect__node[data-color="purple"] .mod-connect__node-icon svg {
    stroke: #7B52AB;
}

.mod-connect__node[data-color="red"]:hover .mod-connect__node-icon {
    background: #C81D25;
    border-color: #C81D25;
    box-shadow: 0 10px 28px rgba(200,29,37,.28);
}

.mod-connect__node[data-color="teal"]:hover .mod-connect__node-icon {
    background: #087E8B;
    border-color: #087E8B;
    box-shadow: 0 10px 28px rgba(8,126,139,.28);
}

.mod-connect__node[data-color="gold"]:hover .mod-connect__node-icon {
    background: #D4860A;
    border-color: #D4860A;
    box-shadow: 0 10px 28px rgba(212,134,10,.28);
}

.mod-connect__node[data-color="purple"]:hover .mod-connect__node-icon {
    background: #7B52AB;
    border-color: #7B52AB;
    box-shadow: 0 10px 28px rgba(123,82,171,.28);
}

.mod-connect__node:hover .mod-connect__node-icon svg {
    stroke: #fff;
}

.mod-connect__node-label {
    font-size: 13px;
    font-weight: 800;
    color: #1a2e3b;
    letter-spacing: -.2px;
}

.mod-connect__node-sub {
    font-size: 10.5px;
    color: #7090a8;
    font-weight: 500;
}

.mod-connect__arrow {
    flex: 1;
    max-width: 80px;
    min-width: 32px;
    margin-bottom: 28px;
}

.mod-connect__arrow-svg {
    width: 100%;
    height: 24px;
    overflow: visible;
}

    .mod-connect__arrow-svg line {
        stroke: #b0c8d8;
        stroke-width: 1.5;
        stroke-linecap: round;
        animation: dashMove 2s linear infinite;
    }

    .mod-connect__arrow-svg polyline {
        fill: none;
        stroke: #b0c8d8;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@keyframes dashMove {
    from {
        stroke-dashoffset: 18;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 900px) {
    .mod-connect__inner {
        padding: 0 32px;
    }

    .mod-connect__h2 {
        font-size: 24px;
    }

    .mod-connect__grid {
        gap: 4px;
    }

    .mod-connect__node {
        width: 110px;
    }

    .mod-connect__node-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .mod-connect__arrow {
        max-width: 32px;
        min-width: 16px;
    }
}

@media (max-width: 640px) {
    .mod-connect__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .mod-connect__arrow {
        display: none;
    }

    .mod-connect__node {
        width: 100%;
    }
}
/* ══════════════════════════════════════════════════
   DASHBOARD / ANALYTICS SHOWCASE  (بخش پایانی صفحه)
   جایگزین بخش قبلی mod-connect
   این استایل‌ها را به فایل modules.css اضافه کنید
══════════════════════════════════════════════════ */

.mod-dashboard {
    background: linear-gradient(180deg, #eef4f9 0%, #d8e8f2 100%);
    padding: 70px 0 90px;
}

.mod-dashboard__inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.mod-dashboard__h2 {
    font-size: 30px;
    font-weight: 900;
    color: #1a2e3b;
    letter-spacing: -.5px;
    line-height: 1.4;
    margin-bottom: 14px;
}

    .mod-dashboard__h2 span {
        color: #087E8B;
    }

.mod-dashboard__desc {
    font-size: 13.5px;
    color: #5a7080;
    line-height: 2;
    max-width: 480px;
    margin-bottom: 26px;
}

.mod-dashboard__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
}

    .mod-dashboard__list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 13px;
        font-weight: 600;
        color: #2a3f4f;
    }

.mod-dashboard__list-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(8,126,139,.10);
    border: 1px solid rgba(8,126,139,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mod-dashboard__list-icon svg {
        width: 13px;
        height: 13px;
        stroke: #087E8B;
        fill: none;
        stroke-width: 2.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-dashboard__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .mod-dashboard__btns .pp-btn-primary,
    .mod-dashboard__btns .pp-btn-ghost {
        padding: 13px 28px;
        font-size: 13px;
        border-radius: 12px;
    }

    .mod-dashboard__btns .pp-btn-primary {
        background: #087E8B;
    }

        .mod-dashboard__btns .pp-btn-primary:hover {
            box-shadow: 0 20px 40px rgba(8,126,139,.35);
        }

    .mod-dashboard__btns .pp-btn-ghost {
        border-color: rgba(11,57,84,.16);
        background: rgba(11,57,84,.04);
        color: #3a5064;
    }

        .mod-dashboard__btns .pp-btn-ghost:hover {
            background: rgba(11,57,84,.08);
            border-color: rgba(11,57,84,.26);
            color: #1a2e3b;
        }

/* ---- visual side ---- */
.mod-dashboard__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.mod-dashboard__glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8,126,139,.16) 0%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.mod-dashboard__card {
    position: relative;
    z-index: 1;
    width: 340px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 24px 60px rgba(11,57,84,.16);
    padding: 24px 24px 22px;
    transform: rotate(2deg);
    transition: transform .4s var(--ease-spring);
}

    .mod-dashboard__card:hover {
        transform: rotate(0deg) translateY(-4px);
    }

.mod-dashboard__card-head {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

    .mod-dashboard__card-head span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0,0,0,.10);
    }

        .mod-dashboard__card-head span:first-child {
            background: #087E8B;
        }

.mod-dashboard__card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mod-dashboard__card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(8,126,139,.10);
    border: 1px solid rgba(8,126,139,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mod-dashboard__card-icon svg {
        width: 18px;
        height: 18px;
        stroke: #087E8B;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-dashboard__card-title-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .mod-dashboard__card-title-text strong {
        font-size: 13.5px;
        font-weight: 800;
        color: #1a2e3b;
    }

    .mod-dashboard__card-title-text span {
        font-size: 10.5px;
        color: #8aa0b0;
        font-weight: 600;
    }

.mod-dashboard__live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    color: #087E8B;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(8,126,139,.10);
    border: 1px solid rgba(8,126,139,.22);
    flex-shrink: 0;
}

.mod-dashboard__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #087E8B;
    animation: dashLivePulse 1.6s ease-in-out infinite;
}

@keyframes dashLivePulse {
    0%, 100% {
        opacity: .4;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.mod-dashboard__chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 130px;
    margin-bottom: 16px;
    padding: 0 2px;
}

.mod-dashboard__bar {
    flex: 1;
    height: var(--h);
    position: relative;
    background: linear-gradient(180deg, rgba(123,82,171,.55), rgba(123,82,171,.85));
    border-radius: 7px 7px 3px 3px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform .3s var(--ease-spring);
}

    .mod-dashboard__bar:hover {
        transform: scaleY(1.04);
    }

    .mod-dashboard__bar span {
        position: absolute;
        bottom: -20px;
        font-size: 9.5px;
        font-weight: 700;
        color: #8aa0b0;
    }

.mod-dashboard__bar--hi {
    background: linear-gradient(180deg, #0aa0b0, #087E8B);
}

    .mod-dashboard__bar--hi em {
        position: absolute;
        top: -20px;
        font-style: normal;
        font-size: 10px;
        font-weight: 800;
        color: #087E8B;
    }

.mod-dashboard__summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(8,126,139,.08);
    border: 1px solid rgba(8,126,139,.20);
}

.mod-dashboard__summary-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mod-dashboard__summary-icon svg {
        width: 15px;
        height: 15px;
        stroke: #087E8B;
        fill: none;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-dashboard__summary span {
    font-size: 11.5px;
    font-weight: 700;
    color: #076b76;
}

.mod-dashboard__badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 10px 26px rgba(11,57,84,.14);
    font-size: 11px;
    font-weight: 700;
    color: #1a2e3b;
    animation: dashBadgeFloat 4s ease-in-out infinite;
}

    .mod-dashboard__badge svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.mod-dashboard__badge--1 {
    top: 2%;
    right: -6%;
    animation-delay: 0s;
}

    .mod-dashboard__badge--1 svg {
        stroke: #D4860A;
    }

.mod-dashboard__badge--2 {
    bottom: 6%;
    left: -8%;
    animation-delay: 1.4s;
}

    .mod-dashboard__badge--2 svg {
        stroke: #7B52AB;
    }

@keyframes dashBadgeFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 1100px) {
    .mod-dashboard__inner {
        grid-template-columns: 1fr;
        gap: 44px;
        text-align: center;
    }

    .mod-dashboard__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .mod-dashboard__list {
        align-items: center;
    }

        .mod-dashboard__list li {
            text-align: right;
        }

    .mod-dashboard__btns {
        justify-content: center;
    }

    .mod-dashboard__badge--1 {
        right: 4%;
    }

    .mod-dashboard__badge--2 {
        left: 4%;
    }
}

@media (max-width: 900px) {
    .mod-dashboard {
        padding-bottom: 60px;
    }

    .mod-dashboard__inner {
        padding: 0 32px;
    }

    .mod-dashboard__h2 {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .mod-dashboard__card {
        width: 280px;
        padding: 20px;
    }

    .mod-dashboard__chart {
        height: 110px;
    }

    .mod-dashboard__badge {
        padding: 8px 11px;
        font-size: 10px;
    }

    .mod-dashboard__badge--1,
    .mod-dashboard__badge--2 {
        position: static;
        margin: 6px auto 0;
        animation: none;
    }

    .mod-dashboard__visual {
        flex-direction: column;
        gap: 10px;
    }
}

/* ══════════════════════════════════════════════════
   SLIDER NAVIGATION (دکمه‌های بعدی/قبلی برای هر ردیف ماژول)
   - هر ردیف اسلایدر داخل یک wrapper با کلاس .mod-slider-wrap
     قرار می‌گیرد (توسط جاوااسکریپت به‌صورت خودکار ساخته می‌شود)
     تا دکمه‌ها بیرون از overflow:hidden شل قرار گیرند و بریده نشوند.
   - رنگ دکمه‌ها از رنگ اختصاصی هر دسته (--cat-accent) پیروی می‌کند.
══════════════════════════════════════════════════ */
.mod-slider-wrap {
    position: relative;
}

.mod-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(11,57,84,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    color: var(--cat-accent, var(--red));
    transition: transform .3s var(--ease-spring), box-shadow .3s ease, background .3s ease, color .3s ease;
}

    .mod-slider-nav svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.3;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
    }

    .mod-slider-nav:hover {
        background: var(--cat-accent, var(--red));
        color: #fff;
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 12px 30px rgba(0,0,0,.2);
    }

    .mod-slider-nav:active {
        transform: translateY(-50%) scale(.94);
    }

    .mod-slider-nav:focus-visible {
        outline: 2px solid var(--cat-accent, var(--red));
        outline-offset: 3px;
    }

.mod-slider-nav--right {
    right: 24px;
}

.mod-slider-nav--left {
    left: 24px;
}

@media (max-width: 900px) {
    .mod-slider-nav {
        width: 38px;
        height: 38px;
    }

        .mod-slider-nav svg {
            width: 15px;
            height: 15px;
        }

    .mod-slider-nav--right {
        right: 8px;
    }

    .mod-slider-nav--left {
        left: 8px;
    }
}

@media (max-width: 640px) {
    .mod-slider-nav {
        width: 34px;
        height: 34px;
    }
}
/* ══════════════════════════════════════════════════
   MOBILE / TABLET RESPONSIVE OVERRIDES
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .mod-slider-shell {
        margin: 0 60px;
    }

        .mod-slider-shell::before,
        .mod-slider-shell::after {
            width: 80px;
        }
}

@media (max-width: 900px) {
    .mod-slider-shell {
        margin: 0 16px;
        border-radius: 14px;
    }

        .mod-slider-shell::before,
        .mod-slider-shell::after {
            width: 28px;
        }

    .mod-section-title {
        padding: 0 20px;
        margin-bottom: 32px;
    }

    .mod-category__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mod-category__desc {
        text-align: right;
        max-width: 100%;
    }

    .mod-slider-track-wrap {
        padding: 10px 12px 16px;
    }

    .mod-slider-track-wrap--scroll {
        padding: 10px 12px 24px;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 12px;
        overscroll-behavior-x: contain;
    }

    .mod-slider-track--scroll .mod-card {
        scroll-snap-align: start;
    }

    .mod-compliance__visual,
    .mod-dashboard__visual {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .mod-nav {
        padding: 14px 20px;
    }

    .mod-hero__center {
        padding: 36px 20px 32px;
    }

    .mod-hero__subtitle {
        font-size: 13.5px;
        line-height: 1.9;
    }

    .mod-hero__cta-btn {
        margin-bottom: 36px;
    }

    .mod-section-title__label {
        font-size: 17px;
        gap: 10px;
    }

        .mod-section-title__label::before,
        .mod-section-title__label::after {
            width: 22px;
        }

    .mod-categories {
        padding-top: 40px;
    }

    .mod-category {
        padding-bottom: 36px;
    }

    .mod-category__header {
        padding: 0 20px;
    }

    .mod-category__h2 {
        font-size: 20px;
    }

    .mod-category-divider {
        padding: 0 20px;
        margin-bottom: 32px;
    }

    .mod-slider-shell {
        margin: 0 8px;
    }

    .mod-compliance__inner,
    .mod-dashboard__inner,
    .mod-features-strip__inner {
        padding: 0 20px;
    }

    .mod-compliance__h2,
    .mod-dashboard__h2 {
        font-size: 21px;
    }

    .mod-compliance__btns .pp-btn-primary,
    .mod-compliance__btns .pp-btn-ghost,
    .mod-dashboard__btns .pp-btn-primary,
    .mod-dashboard__btns .pp-btn-ghost {
        flex: 1 1 100%;
        justify-content: center;
    }

    .mod-features-strip {
        padding: 32px 0;
    }

    .mod-feature-badge {
        padding: 18px 12px;
    }

    .mod-detail__title {
        font-size: 21px;
    }

    .mod-detail__metric-val {
        font-size: 19px;
    }
}

@media (max-width: 400px) {
    .mod-features-strip__inner {
        grid-template-columns: 1fr;
    }

    .mod-card {
        width: 210px;
    }

    .mod-card--wide {
        width: 260px;
    }

    .mod-card--core {
        width: 260px;
    }
}