@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb.woff2') format('woff2'), url('../fonts/IRANSansWeb.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_Medium.woff2') format('woff2'), url('../fonts/IRANSansWeb_Medium.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2'), url('../fonts/IRANSansWeb_Bold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #026e91;
    --primary-dark: #053e58;
    --primary-soft: #e7f6f9;
    --secondary: #48c2d2;
    --accent: #0b8fb4;
    --ink: #102a3a;
    --muted: #5d6f7a;
    --line: #dbeaf0;
    --bg: #f5fbfd;
    --white: #ffffff;
    --danger-soft: #fff7ed;
    --shadow: 0 18px 50px rgba(3, 64, 88, .10);
    --shadow-soft: 0 10px 30px rgba(3, 64, 88, .07);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    text-align: right;
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.95;
    font-size: 15.5px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 234, 240, .85);
    box-shadow: 0 8px 24px rgba(3, 64, 88, .04);
}

.header-grid {
    display: grid;
    grid-template-columns: 190px 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    display: block;
    width: 162px;
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 13px;
    border-radius: 999px;
    transition: .2s ease;
}

.nav a:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    letter-spacing: -.1px;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 14px 28px rgba(2, 110, 145, .22);
}

.btn-secondary {
    color: var(--primary-dark);
    background: var(--primary-soft);
    border-color: #b9e5ec;
}

.btn-outline {
    color: var(--primary-dark);
    background: var(--white);
    border-color: #b7dfe7;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(3, 64, 88, .12);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 78px;
    background:
        radial-gradient(circle at 82% 10%, rgba(72, 194, 210, .18), transparent 27%),
        radial-gradient(circle at 12% 30%, rgba(2, 110, 145, .11), transparent 32%),
        linear-gradient(180deg, #f5fcfe 0%, #ffffff 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero::before {
    inset-inline-start: -120px;
    top: 60px;
    width: 280px;
    height: 280px;
    background: rgba(2, 110, 145, .08);
}

.hero::after {
    inset-inline-end: 8%;
    bottom: -90px;
    width: 210px;
    height: 210px;
    background: rgba(72, 194, 210, .13);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.24fr .76fr;
    gap: 44px;
    align-items: center;
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 18px;
    border: 1px solid #c7e9ef;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 5px rgba(72, 194, 210, .15);
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.28;
    margin: 0 0 18px;
    letter-spacing: -1.4px;
    color: var(--primary-dark);
}

.hero p,
.section-title p,
.card p,
.trust-card p,
.not-bank p,
.legal {
    color: var(--muted);
}

.hero p {
    max-width: 760px;
    font-size: 17px;
    margin: 0 0 30px;
}

.hero-actions,
.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.section {
    padding: 78px 0;
}

.section-muted {
    background:
        radial-gradient(circle at 90% 8%, rgba(72, 194, 210, .12), transparent 22%),
        var(--bg);
    border-block: 1px solid var(--line);
}

.section-title {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-title.right {
    text-align: right;
    margin-inline: 0;
}

.section-title span {
    display: inline-flex;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 3px;
}

.section-title h2 {
    margin: 8px 0 8px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.35;
    color: var(--primary-dark);
    letter-spacing: -.8px;
}

.section-title p {
    margin: 0;
}

.cards {
    display: grid;
    gap: 18px;
}

.cards.four {
    grid-template-columns: repeat(4, 1fr);
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.card,
.not-bank,
.address-box,
.download-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.card {
    transition: .2s ease;
}

.card:hover,
.download-card:hover {
    transform: translateY(-3px);
    border-color: #b7dfe7;
    box-shadow: var(--shadow);
}

.card.soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fdfe 100%);
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e5f7fa, #d6f1f6);
    color: var(--primary-dark);
    font-weight: 900;
    margin-bottom: 16px;
    border: 1px solid #c5e9ef;
}

.card h3,
.not-bank h3,
.address-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--primary-dark);
}

.card p {
    margin: 0;
    font-size: 15px;
}

.split,
.docs-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.not-bank {
    border-color: #bddfe8;
    background: linear-gradient(135deg, #ffffff, #ecf9fb);
    position: relative;
}

.not-bank::before {
    content: "";
    position: absolute;
    inset-inline-start: 24px;
    top: 24px;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: rgba(2, 110, 145, .08);
}

.download-cards {
    display: grid;
    gap: 16px;
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--ink);
    min-height: 96px;
}

.download-card strong {
    font-size: 18px;
    color: var(--primary-dark);
}

.download-card span {
    min-width: 58px;
    text-align: center;
    border-radius: 14px;
    padding: 8px 10px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 900;
    border: 1px solid #c8e8ee;
}

.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f6fbfd 100%);
}

.address-box p {
    color: var(--muted);
    margin: 10px 0;
}

.site-footer {
    background: linear-gradient(135deg, #052b3c, #063e56);
    color: var(--white);
    padding: 36px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

.site-footer p {
    margin: 4px 0 0;
}

.legal {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 2;
}

@media (max-width: 980px) {
    .header-grid,
    .hero-grid,
    .split,
    .docs-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-grid {
        gap: 12px;
        padding: 12px 0;
    }

    .nav {
        order: 3;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .cards.four,
    .cards.three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14.5px;
    }

    .cards.four,
    .cards.three {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: static;
    }

    .hero {
        padding-top: 46px;
    }

    .section {
        padding: 54px 0;
    }

    .btn {
        width: 100%;
    }

    .brand img {
        width: 142px;
    }
}

.trust-card {
    background: linear-gradient(145deg, #ffffff 0%, #f4fbff 100%);
    border: 1px solid rgba(0, 137, 172, 0.18);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(0, 65, 90, 0.12);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: "";
    position: absolute;
    inset-inline-start: -80px;
    top: -80px;
    width: 180px;
    height: 180px;
    background: rgba(0, 174, 216, 0.12);
    border-radius: 50%;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.trust-logos img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.trust-divider {
    width: 1px;
    height: 42px;
    background: rgba(0, 65, 90, 0.18);
    display: inline-block;
}

.trust-card h2 {
    font-size: 26px;
    line-height: 1.7;
    color: #063b5c;
    margin: 0 0 14px;
    position: relative;
    z-index: 1;
}

.trust-card p {
    color: #3f5f70;
    font-size: 15px;
    line-height: 2.1;
    margin: 0 0 18px;
    position: relative;
    z-index: 1;
}

.trust-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.trust-points li {
    color: #163f54;
    font-size: 14px;
    line-height: 1.9;
    padding-inline-start: 28px;
    position: relative;
}

.trust-points li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    color: #00a6c8;
    font-weight: 900;
}

.partners-section {
    background: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid rgba(0, 137, 172, 0.16);
    border-radius: 22px;
    padding: 22px 18px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 14px 40px rgba(0, 65, 90, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(0, 65, 90, 0.11);
    border-color: rgba(0, 137, 172, 0.32);
}

.partner-card img {
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
    filter: grayscale(8%);
}

.partner-card span {
    color: #163f54;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.9;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.icon-svg {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.10), rgba(0, 170, 255, 0.14));
    color: #0b63b6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: inset 0 0 0 1px rgba(11, 99, 182, 0.08);
}

.icon-svg svg {
    width: 32px;
    height: 32px;
    display: block;
}

.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-top: 0;
}
body {
    background:
        radial-gradient(circle at 8% 4%, rgba(72, 194, 210, .08), transparent 28%),
        radial-gradient(circle at 92% 16%, rgba(2, 110, 145, .07), transparent 24%),
        #ffffff;
}

.site-header {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(20px);
}

.hero {
    background:
        radial-gradient(circle at 85% 16%, rgba(72, 194, 210, .22), transparent 28%),
        radial-gradient(circle at 14% 20%, rgba(2, 110, 145, .13), transparent 32%),
        linear-gradient(180deg, #f3fbfd 0%, #ffffff 88%);
}

.hero-grid {
    align-items: stretch;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 8px;
}

.hero-content h1 {
    max-width: 720px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(2, 110, 145, .14);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(3, 64, 88, .06);
}

.trust-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96) 0%, rgba(240, 251, 254, .96) 100%);
    border: 1px solid rgba(2, 110, 145, .16);
    box-shadow: 0 26px 74px rgba(3, 64, 88, .13);
}

.trust-card::after {
    content: "";
    position: absolute;
    inset-inline-end: -55px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border-radius: 48px;
    transform: rotate(18deg);
    background: rgba(72, 194, 210, .10);
}

.trust-logos,
.trust-card h2,
.trust-card p,
.trust-points {
    position: relative;
    z-index: 1;
}

.section-title span {
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(231, 246, 249, .86);
    border: 1px solid rgba(2, 110, 145, .10);
}

.card,
.not-bank,
.address-box,
.download-card,
.partner-card {
    border-color: rgba(2, 110, 145, .13);
}

.card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
}

.card::before {
    content: "";
    position: absolute;
    inset-inline: 24px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    opacity: .75;
}

.card::after {
    content: "";
    position: absolute;
    inset-inline-end: -48px;
    top: -48px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(72, 194, 210, .07);
    transition: .25s ease;
}

.card:hover::after {
    background: rgba(72, 194, 210, .14);
}

.card > * {
    position: relative;
    z-index: 1;
}

.icon-svg {
    background: linear-gradient(135deg, rgba(2, 110, 145, .12), rgba(72, 194, 210, .18));
    color: var(--primary);
    border: 1px solid rgba(2, 110, 145, .11);
}

.section-muted {
    background:
        radial-gradient(circle at 88% 12%, rgba(72, 194, 210, .12), transparent 24%),
        radial-gradient(circle at 12% 72%, rgba(2, 110, 145, .07), transparent 26%),
        #f5fbfd;
}

.not-bank {
    background: linear-gradient(135deg, #ffffff 0%, #eefafd 100%);
}

.partners-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fdfe 100%);
}

.partner-card {
    min-height: 168px;
    background: rgba(255, 255, 255, .92);
}

.partner-card img {
    filter: none;
}

.download-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f3fbfd 100%);
}

.download-card::before {
    content: "";
    position: absolute;
    inset-inline-start: -34px;
    bottom: -34px;
    width: 92px;
    height: 92px;
    border-radius: 28px;
    background: rgba(72, 194, 210, .10);
    transform: rotate(18deg);
}

.download-card strong,
.download-card span {
    position: relative;
    z-index: 1;
}

.contact-section {
    background:
        radial-gradient(circle at 18% 18%, rgba(72, 194, 210, .14), transparent 25%),
        linear-gradient(135deg, #ffffff 0%, #f5fbfd 100%);
}

.address-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fdfe 100%);
}

.site-footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(72, 194, 210, .15), transparent 28%),
        linear-gradient(135deg, #052b3c, #063e56);
}

@media (max-width: 980px) {
    .hero-grid {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .hero-highlights span {
        width: 100%;
        justify-content: center;
    }
}

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

.footer-brand img {
    width: 96px;
    max-height: 96px;
    object-fit: contain;
    /* background: #ffffff; */
    border-radius: 14px;
    padding: 8px 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.footer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
}

.footer-brand p {
    margin: 4px 0 0;
	width: max-content;
}
