:root {
    --navy: #07225f;
    --navy-deep: #081a4d;
    --navy-soft: #172d72;
    --pink: #e4087b;
    --pink-soft: #ff4ca7;
    --text: #181d35;
    --muted: #7e849c;
    --paper: #f3f4f8;
    --surface: #ffffff;
    --line: rgba(7, 34, 95, 0.08);
    --shadow: 0 24px 60px rgba(18, 28, 68, 0.12);
    --radius-xl: 2rem;
    --radius-lg: 1.6rem;
    --radius-md: 1.2rem;
}

html,
body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Vazirmatn", "Plus Jakarta Sans", sans-serif;
    background: var(--paper);
    color: var(--text);
}

body[data-lang="en"] {
    font-family: "Plus Jakarta Sans", "Vazirmatn", sans-serif;
}

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

.section-space {
    padding-block: 6rem;
}

.layout-ltr {
    direction: ltr;
}

.layout-ltr > * {
    direction: rtl;
}

[dir="ltr"] .layout-ltr {
    direction: rtl;
}

[dir="ltr"] .layout-ltr > * {
    direction: ltr;
}

.section-title {
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    line-height: 1.18;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--text);
}

.section-title.light {
    color: #fff;
}

.muted {
    color: var(--muted);
}

.soft-surface {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.btn-brand {
    background: linear-gradient(135deg, var(--pink-soft), var(--pink));
    border: 0;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(228, 8, 123, 0.28);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    background: linear-gradient(135deg, #ff62b4, #d50773);
}

.topbar {
    background: var(--navy);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    min-height: 4.2rem;
}

.brand-wrap {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.brand-wrap:hover,
.brand-wrap:focus {
    color: #fff;
}

.brand-logo {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: .8rem;
    object-fit: cover;
}

.topbar-nav {
    gap: 1.9rem;
}

.topbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    padding: 0;
}

.topbar-nav .nav-link:hover,
.topbar-nav .nav-link:focus {
    color: #fff;
}

.lang-switch {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: .24rem;
    display: inline-flex;
    gap: .35rem;
}

.lang-btn {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.topbar-cta {
    min-width: 9.25rem;
}

.navbar-toggler {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: .95rem;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 1.1rem;
    height: .85rem;
    display: inline-block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: "";
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon span {
    top: calc(50% - 1px);
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.mobile-menu {
    background: rgba(7, 34, 95, 0.98);
    border-radius: 1.25rem;
    margin-top: 1rem;
    padding: 1rem;
}

.mobile-menu .nav-link {
    color: #fff;
    font-weight: 600;
    padding-block: .55rem;
}

.hero-section {
    color: #fff;
    background:
        radial-gradient(circle at 18% 28%, rgba(164, 61, 255, 0.96) 0%, rgba(164, 61, 255, 0.62) 18%, transparent 44%),
        radial-gradient(circle at 68% 70%, rgba(255, 0, 144, 0.78) 0%, rgba(255, 0, 144, 0.32) 18%, transparent 42%),
        radial-gradient(circle at 82% 16%, rgba(64, 54, 212, 0.54) 0%, rgba(64, 54, 212, 0.2) 20%, transparent 34%),
        linear-gradient(135deg, #27346a 0%, #28167d 28%, #1e0e72 54%, #1a1f6d 75%, #2e336b 100%);
    padding-top: 6rem;
    padding-bottom: 8.4rem;
    overflow: hidden;
}

.hero-copy {
    max-width: 33rem;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .wallet-copy,
[dir="rtl"] .feature-copy,
[dir="rtl"] .security-copy,
[dir="rtl"] .reward-copy {
    text-align: right;
}

[dir="ltr"] .hero-copy,
[dir="ltr"] .wallet-copy,
[dir="ltr"] .feature-copy,
[dir="ltr"] .security-copy,
[dir="ltr"] .reward-copy {
    text-align: left !important;
}

.hero-kicker {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 1.02rem;
}

.hero-title {
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.18rem;
    font-weight: 500;
}

.hero-image {
    width: min(100%, 35rem);
    object-fit: contain;
}

.hero-cta {
    min-width: 10.8rem;
}

.promo-strip {
    margin-top: -4.8rem;
    position: relative;
    z-index: 2;
}

.promo-card {
    min-height: 8.4rem;
    padding: 1.8rem 1.7rem;
    background: linear-gradient(180deg, #ffffff, #fff9fc);
    display: flex;
    align-items: center;
    justify-content: normal;
    gap: 1rem;
}

.promo-icon {
    width: 6rem;
    min-width: 6rem;
    height: 6rem;
    display: grid;
    place-items: center;
    border-radius: 1.65rem;
    border: 1px solid rgba(228, 8, 123, 0.16);
    background: linear-gradient(180deg, #fff, #fff6fb);
}

.promo-icon svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--pink);
    fill: none;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.box-copy,
.security-card {
    text-align: start;
}

[dir="ltr"] .box-copy,
[dir="ltr"] .security-card {
    text-align: start;
}

.promo-card h3 {
    font-size: .96rem;
    font-weight: 800;
    margin-bottom: .45rem;
    color: var(--text);
}

.promo-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.75;
}

.services-section .section-title {
    margin-bottom: 3.25rem;
}

.service-card {
    min-height: 16.3rem;
    padding: 2rem 1.55rem 1.8rem;
    text-align: center;
}

.service-icon {
    width: 5.2rem;
    height: 5.2rem;
    margin-inline: auto;
    margin-bottom: 1.5rem;
    display: grid;
    place-items: center;
}

.service-icon img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.20rem;
    font-weight: 600;
    margin-bottom: .9rem;
}

.service-card p {
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.85;
    margin: 0;
}

.wallet-section,
.reward-section,
.footer-shell {
    background: var(--navy);
    color: #fff;
}

.wallet-copy {
    max-width: 40rem;
    margin-inline-start: auto;
}

.wallet-text {
    color: rgba(255, 255, 255, 0.56);
    font-size: 1rem;
}

.wallet-image {
    width: min(100%, 30rem);
    object-fit: contain;
}

.feature-section {
    overflow: hidden;
}

.feature-copy {
    max-width: 43rem;
}

.feature-image {
    width: min(100%, 26rem);
    object-fit: contain;
}

.feature-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

[dir="rtl"] .feature-list {
    text-align: right;
}

[dir="ltr"] .feature-list {
    text-align: left;
}

.feature-list li {
    position: relative;
    padding-right: 1.2rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
}

[dir="ltr"] .feature-list li {
    padding-right: 0;
    padding-left: 1.2rem;
}

[dir="ltr"] .feature-list li::before {
    right: auto;
    left: 0;
}

.feature-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .72rem;
    width: .42rem;
    height: .42rem;
    border-radius: 999px;
    background: var(--pink);
}

.guide-pill {
    min-height: 4rem;
    padding: .4rem;
    border-radius: 999px;
    background: #2d2f59;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 20px 40px rgba(15, 22, 52, 0.14);
}

.guide-pill:hover,
.guide-pill:focus {
    color: #fff;
}

.guide-pill strong,
.guide-pill span {
    white-space: nowrap;
}

.guide-pill .guide-link {
    color: rgba(255, 255, 255, 0.86);
    font-size: .88rem;
}

.guide-pill .guide-title {
    font-size: 1.06rem;
    font-weight: 700;
}

.security-copy {
    max-width: 34rem;
}

.security-title {
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.18;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.security-image {
    width: min(100%, 19rem);
    display: block;
    margin-inline: auto;
    object-fit: contain;
}

.security-card {
    min-height: 10.4rem;
    padding: 1.7rem 2rem;
    background: #fbfbfe;
}

.security-card h3 {
    font-size: .96rem;
    font-weight: 800;
    margin-bottom: .8rem;
}

.security-card p {
    margin: 0;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.95;
}

.reward-copy {
    max-width: 45rem;
    margin-inline-start: auto;
}

.reward-image {
    width: min(100%, 16rem);
    object-fit: contain;
}

.reward-line {
    width: 100%;
    min-height: 3.65rem;
}

.help-title {
    font-size: clamp(2.05rem, 3.8vw, 3.35rem);
    line-height: 1.18;
    letter-spacing: -0.05em;
    font-weight: 800;
}

[dir="rtl"] .help-title {
    text-align: right;
}

[dir="ltr"] .help-title {
    text-align: left !important;
}

.help-card {
    min-height: 12rem;
    padding: 1.8rem 1.7rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 1rem;
}

.help-icon {
    width: 3.3rem;
    min-width: 3.3rem;
    height: 3.3rem;
    border-radius: 999px;
    border: 1px solid rgba(7, 34, 95, 0.14);
    display: grid;
    place-items: center;
    color: var(--navy);
    background: #fbfbff;
}

.help-card h3 {
    font-size: .96rem;
    font-weight: 800;
    margin-bottom: .7rem;
}

.help-card p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.9;
    margin-bottom: .75rem;
}

.help-card a {
    color: #5675e2;
    text-decoration: none;
    font-weight: 700;
}

.footer-shell a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-shell a:hover {
    color: #fff;
}

.social-circle {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--pink-soft), var(--pink));
    color: #fff;
    font-size: .9rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .55s ease,
        transform .55s ease;
    will-change: opacity, transform;
}

[data-reveal="left"] {
    transform: translateX(-24px);
}

[data-reveal="right"] {
    transform: translateX(24px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

[data-reveal-delay="1"] {
    transition-delay: .06s;
}

[data-reveal-delay="2"] {
    transition-delay: .12s;
}

[data-reveal-delay="3"] {
    transition-delay: .18s;
}

[data-reveal-delay="4"] {
    transition-delay: .24s;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1199.98px) {
    .topbar-nav {
        gap: 1.2rem;
    }

    .hero-title,
    .section-title,
    .security-title,
    .help-title {
        letter-spacing: -0.04em;
    }
}

@media (max-width: 991.98px) {
    .section-space {
        padding-block: 4.5rem;
    }

    .hero-section,
    .wallet-section,
    .reward-section {
        text-align: center;
    }

    .hero-copy,
    .wallet-copy,
    .feature-copy,
    .security-copy,
    .reward-copy {
        max-width: none;
        margin-inline: auto;
        text-align: center !important;
    }

    .promo-strip {
        margin-top: -1.75rem;
    }

    .layout-ltr {
        direction: rtl;
    }

    .guide-pill {
        width: 100%;
    }

    .help-title {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .container {
        --bs-gutter-x: 1.25rem;
    }

    .topbar-inner {
        min-height: 4.55rem;
    }

    .brand-logo {
        width: 2.5rem;
        height: 2.5rem;
    }

    .hero-section {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .hero-section .layout-ltr {
        flex-direction: column-reverse;
    }

    .hero-copy {
        text-align: center !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-image {
        width: min(100%, 24rem);
    }

    .promo-strip {
        margin-top: -4rem;
    }

    .promo-card,
    .help-card {
        min-height: auto;
    }

    .promo-card {
        flex-direction: row;
        padding: 1.4rem 1.25rem;
    }

    .promo-icon {
        width: 5rem;
        min-width: 5rem;
        height: 5rem;
    }

    .service-card {
        min-height: auto;
    }

    .guide-pill {
        min-height: 3.5rem;
        padding: .3rem;
        width: 100%;
        max-width: 22rem;
    }

    .guide-pill .guide-title {
        font-size: .95rem;
    }

    .guide-pill .guide-link {
        font-size: .82rem;
    }

    .wallet-section .wallet-copy,
    .wallet-section .wallet-copy .section-title,
    .wallet-section .wallet-text,
    .reward-section .reward-copy,
    .reward-section .reward-copy .section-title,
    .feature-section .feature-copy,
    .feature-section .feature-copy .section-title,
    .help-title {
        text-align: center !important;
    }

    .feature-section .layout-ltr {
        flex-direction: column-reverse;
    }

    #support .layout-ltr {
        flex-direction: column-reverse;
    }

    [dir="rtl"] .feature-section .feature-list {
        text-align: right;
    }

    [dir="ltr"] .feature-section .feature-list {
        text-align: left;
    }

    .feature-image {
        width: min(100%, 21rem);
    }
}
