@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Black.ttf") format("truetype");
    font-weight: 900;
    font-display: swap;
}

:root {
    --hamrahak-font: Vazirmatn, Tahoma, sans-serif;
}

body,
body *:not(.mdi):not(.fea):not([data-feather]) {
    font-family: var(--hamrahak-font) !important;
}

body {
    direction: rtl;
    text-align: right;
}

.mdi,
[data-feather] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    line-height: 1;
}

.mdi::before,
[data-feather]::before {
    content: "";
}

.mdi-bus::before { content: "H"; font-weight: 900; }
.mdi-cellphone::before,
.mdi-smartphone::before { content: "▯"; }
.mdi-arrow-down::before { content: "↓"; }
.mdi-shield-check-outline::before,
.mdi-shield::before { content: "✓"; }
.mdi-bell-check-outline::before,
.mdi-bell::before { content: "!"; }
.mdi-account-group-outline::before,
.mdi-message-circle::before { content: "•"; }
.mdi-map-pin::before { content: "⌖"; }
.mdi-check-circle-outline::before,
[data-feather="check-circle"]::before { content: "✓"; }
.mdi-chevron-left::before { content: "‹"; }
.mdi-chevron-down::before { content: "⌄"; }
.mdi-chevron-double-right::before { content: "»"; }
.mdi-email-outline::before { content: "@"; }
.mdi-phone-outline::before { content: "☎"; }
.mdi-map-marker-outline::before { content: "⌖"; }
[data-feather="bell"]::before { content: "!"; }
[data-feather="message-circle"]::before { content: "•"; }
[data-feather="map-pin"]::before { content: "⌖"; }
[data-feather="shield"]::before { content: "✓"; }
[data-feather="smartphone"]::before { content: "▯"; }
[data-feather="arrow-up"]::before { content: "↑"; }

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body.rules-page {
    min-height: auto;
    overflow-y: visible !important;
}

.btn-primary {
    border: 0;
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, .28);
}

.section-title .title {
    position: relative;
    display: inline-block;
}

.section-title .title::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -14px;
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, rgba(56, 189, 248, .35));
    transform: translateX(50%);
}

.hamrahak-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #172033;
    font-weight: 900;
    font-size: 22px;
}

.hamrahak-logo .mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    box-shadow: 0 14px 35px rgba(29, 78, 216, .28);
}

.navigation-menu,
.navigation-menu a,
.sub-menu-item,
.btn,
.badge,
p,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
}

#home .title-heading .badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    background: rgba(239, 246, 255, .86) !important;
    color: #1e40af !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .08);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.8;
}

.hero-slider-wrap {
    position: relative;
    isolation: isolate;
    padding: 20px;
    border-radius: 38px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(232, 240, 255, .72));
    box-shadow: 0 30px 90px rgba(15, 23, 42, .16);
    overflow: hidden;
}

.hero-slider-wrap::before {
    content: "";
    position: absolute;
    inset: 12% auto auto 8%;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .12);
    filter: blur(8px);
    z-index: -1;
}

.hero-slider-wrap::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 190px;
    height: 190px;
    border-radius: 46px;
    background: rgba(15, 23, 42, .08);
    transform: rotate(18deg);
    z-index: -1;
}

.hero-slide {
    text-align: center;
    padding: 6px 8px 18px;
}

.tiny-single-item .hero-slide:not(:first-child) {
    display: none;
}

.hero-shot {
    width: auto !important;
    height: auto !important;
    max-height: 520px;
    object-fit: contain;
    border-radius: 34px;
    box-shadow: 0 28px 75px rgba(15, 23, 42, .18);
    border: 10px solid #fff;
    background: #fff;
}

.hero-slide__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: #172033;
    font-weight: 700;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .1);
}

.hero-slide__label img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-proof-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 999px;
    color: #334155;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    font-size: 13px;
    font-weight: 800;
}

.hero-proof-list i {
    color: #2563eb;
    font-size: 18px;
}

.app-shot {
    width: auto !important;
    height: auto !important;
    max-height: 520px;
    object-fit: contain;
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
    border: 8px solid #fff;
    background: #fff;
}

.app-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, .12);
}

.feature-card-clean {
    min-height: 100%;
    padding-right: 18px !important;
    padding-left: 18px !important;
    border: 1px solid transparent;
    border-radius: 24px;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.feature-card-clean:hover {
    border-color: rgba(37, 99, 235, .14);
    background: rgba(255, 255, 255, .76);
    transform: translateY(-4px);
}

.workflow-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(37, 99, 235, .08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.workflow-card {
    position: relative;
    height: 100%;
    padding: 34px 30px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 28px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 22px 58px rgba(15, 23, 42, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    isolation: isolate;
}

.workflow-card::after {
    content: "";
    position: absolute;
    inset: auto 30px 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, .88), rgba(56, 189, 248, .18));
    opacity: .72;
    z-index: -1;
}

.workflow-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 30px 76px rgba(15, 23, 42, .12);
}

.workflow-card__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 38px;
    margin-bottom: 22px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .1);
    font-weight: 900;
}

.workflow-card h5 {
    margin-bottom: 14px;
    color: #172033;
    font-weight: 900;
}

.workflow-card p {
    margin-bottom: 0;
    color: #536175;
    line-height: 2;
}

.app-tabs-progress {
    height: 4px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(37, 99, 235, .12);
}

.app-tabs-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8);
}

.app-tabs-progress.is-running span {
    animation: app-tab-progress 5s linear forwards;
}

.app-pane-list {
    margin-top: 18px;
}

.app-pane-list li {
    margin-bottom: 10px;
    line-height: 1.9;
}

#value .pricing-rates {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .16) !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

#value .pricing-rates::before {
    content: "";
    position: absolute;
    top: -70px;
    left: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .08);
}

#value .pricing-rates:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 82px rgba(15, 23, 42, .12);
}

#value .price {
    color: #172033;
    letter-spacing: -1px;
}

#download .card {
    height: 100%;
    border: 1px solid rgba(148, 163, 184, .16) !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 20px 58px rgba(15, 23, 42, .08) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#download .card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, .22) !important;
    box-shadow: 0 30px 78px rgba(15, 23, 42, .12) !important;
}

#download .card-body {
    padding: 30px 24px;
}

@keyframes app-tab-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.inner-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 55%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.inner-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 80px;
    background: rgba(37, 99, 235, .08);
    left: -120px;
    top: 70px;
    transform: rotate(18deg);
}

.legal-hero .container {
    z-index: 1;
}

.legal-section {
    padding: 72px 0 88px;
    background:
        radial-gradient(circle at 85% 12%, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.legal-card {
    position: relative;
    overflow: hidden;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 34px !important;
}

.legal-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, rgba(29, 78, 216, .12));
}

.legal-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .1);
    color: #1d4ed8;
    font-weight: 900;
}

.content-card {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    background: #fff;
    height: 100%;
}

.rules-page .content-card {
    height: auto;
}

.legal-list li,
.feature-list li {
    margin-bottom: 12px;
    color: #64748b;
    line-height: 2;
}

.seo-box-section {
    padding: 36px 0 70px;
    background: #fff;
}

.contact-cta-section {
    background: #fff;
}

.contact-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 38px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(239, 246, 255, .88)),
        radial-gradient(circle at 12% 30%, rgba(37, 99, 235, .12), transparent 26%);
    box-shadow: 0 28px 72px rgba(15, 23, 42, .1);
}

.contact-cta-panel__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .1);
    font-size: 13px;
    font-weight: 900;
}

.contact-cta-panel h4 {
    max-width: 720px;
    margin-bottom: 12px;
    color: #172033;
    font-weight: 900;
    line-height: 1.8;
}

.contact-cta-panel p {
    max-width: 680px;
    margin-bottom: 0;
    color: #536175;
    line-height: 2;
}

.contact-cta-panel__actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 12px;
}

.seo-text-box {
    position: relative;
    text-align: center;
}

.seo-text-box__content {
    position: relative;
    max-height: 126px;
    overflow: hidden;
    color: #8a95a6;
    transition: max-height .35s ease;
}

.seo-text-box__content::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.seo-text-box.is-open .seo-text-box__content {
    max-height: 900px;
}

.seo-text-box.is-open .seo-text-box__content::after {
    opacity: 0;
}

.seo-text-box h2 {
    margin-bottom: 18px;
    color: #7b8798;
    font-size: 18px;
    font-weight: 900;
    line-height: 2;
}

.seo-text-box p {
    max-width: 1180px;
    margin: 0 auto 18px;
    color: #9aa4b2;
    font-size: 16px;
    line-height: 2.35;
}

.seo-text-box__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: #0d6efd;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
}

.seo-text-box__toggle i {
    color: #9aa4b2;
    font-size: 22px;
    transition: transform .25s ease;
}

.seo-text-box.is-open .seo-text-box__toggle i {
    transform: rotate(180deg);
}

.footer .text-foot,
.footer p {
    color: rgba(255, 255, 255, .68) !important;
}

.footer-trust {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-trust__items {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.footer-trust__items a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 96px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.footer-trust__items img {
    display: block;
    max-width: 86px;
    max-height: 86px;
    object-fit: contain;
}

@media (max-width: 767px) {
    #topnav {
        min-height: 64px;
    }

    #topnav .container {
        width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }

    #topnav .buy-button .btn {
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 8px;
    }

    .hamrahak-logo {
        gap: 7px;
        font-size: 17px;
    }

    .hamrahak-logo .mark {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    #home.bg-half-170 {
        padding-top: 92px;
        padding-bottom: 34px;
    }

    #home .row.mt-5 {
        margin-top: 0 !important;
    }

    #home .title-heading {
        max-width: 100%;
        text-align: center;
    }

    #home .title-heading .badge {
        max-width: calc(100vw - 32px);
        white-space: normal;
        line-height: 1.8;
        padding: 8px 12px;
        font-size: 12px;
    }

    #home .title-heading .para-desc {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        font-size: 14px;
        line-height: 2;
    }

    #home .title-heading .mt-4 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px !important;
    }

    #home .title-heading .btn {
        width: 100%;
        margin: 0 !important;
        padding: 11px 14px;
        font-size: 13px;
    }

    .hero-proof-list {
        justify-content: center;
        margin-top: 18px;
    }

    .hero-proof-list span {
        width: 100%;
        justify-content: center;
        font-size: 12px;
    }

    #home .col-lg-6.col-md-5 {
        margin-top: 22px !important;
    }

    .hero-shot,
    .app-shot {
        max-height: 460px;
    }

    .hero-slider-wrap {
        max-width: calc(100vw - 28px);
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 12px;
        border-radius: 26px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
    }

    .hero-shot {
        max-height: 420px;
        border-width: 7px;
        border-radius: 24px;
    }

    .hero-slide {
        padding-bottom: 12px;
    }

    .hero-slide__label {
        margin-top: 12px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero-slide__label img {
        width: 28px;
        height: 28px;
    }

    .title-heading .heading {
        font-size: 27px !important;
        line-height: 1.65 !important;
        letter-spacing: -0.4px;
    }

    .workflow-card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .contact-cta-panel {
        display: block;
        padding: 26px 22px;
        border-radius: 24px;
        text-align: center;
    }

    .contact-cta-panel__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .contact-cta-panel__actions .btn {
        width: 100%;
    }
}
