:root {
    --lp-bg: #f3f3f3;
    --lp-white: #ffffff;
    --lp-black: #333333;
    --lp-purple: #5856d6;
    --lp-purple-2: #8250ff;
    --lp-yellow: #ffdd00;
    --lp-dark: #2f3135;
    --lp-h1-size: clamp(42px, 4.2vw, 56px);
    --lp-h2-size: clamp(34px, 3.8vw, 48px);
    --lp-body-size: clamp(16px, 1.55vw, 22px);
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("/assets/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Bold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body.landing-page {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-black);
    font-family: "Noto Sans", sans-serif;
}

html[dir="rtl"] body.landing-page,
html[dir="rtl"] .lp-lang-switch,
html[dir="rtl"] .lp-hero-copy p,
html[dir="rtl"] .lp-download-copy p,
html[dir="rtl"] .lp-feature-copy p,
html[dir="rtl"] .lp-partner-copy p,
html[dir="rtl"] .lp-benefit-card p,
html[dir="rtl"] .lp-footer-contact a {
    font-family: "Noto Sans", sans-serif;
}

html[dir="rtl"] .lp-hero-copy h1,
html[dir="rtl"] .lp-download-copy h2,
html[dir="rtl"] .lp-partner-copy h2,
html[dir="rtl"] .lp-how h2,
html[dir="rtl"] .lp-benefits h2,
html[dir="rtl"] .lp-feature-copy h3,
html[dir="rtl"] .lp-benefit-card h3,
html[dir="rtl"] .lp-partner-kicker,
html[dir="rtl"] .lp-footer-contact h3,
html[dir="rtl"] .lp-footer-copyright,
html[dir="rtl"] .lp-btn-primary {
    font-family: "IBM Plex Sans Arabic", "Noto Sans", sans-serif;
}

html[dir="rtl"] .lp-benefit-card h3 {
    font-weight: 500;
}

.lp-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--lp-white);
    border-bottom: 1px solid #ececec;
}

.lp-header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.lp-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--lp-black);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lp-lang-switch:hover {
    background: #f3efff;
    color: var(--lp-purple-2);
    transform: translateY(-1px);
}

.lp-lang-switch:focus-visible {
    outline: 2px solid var(--lp-purple-2);
    outline-offset: 2px;
}

.lp-lang-switch img {
    width: 18px;
    height: 18px;
}

.lp-hero {
    background-image: url("/img/home-page/background.png");
    background-size: cover;
    background-position: center;
    padding: 64px 0 84px;
}

.lp-hero-inner,
.lp-download-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 48px;
}

.lp-hero-copy h1,
.lp-download-copy h2,
.lp-partner-copy h2 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    line-height: 1.08;
}

.lp-hero-copy h1 {
    max-width: 535px;
    font-size: var(--lp-h1-size);
}

.lp-hero-copy p,
.lp-download-copy p,
.lp-feature-copy p,
.lp-partner-copy p,
.lp-benefit-card p {
    margin: 24px 0 0;
    line-height: 1.55;
}

.lp-hero-copy p,
.lp-download-copy p {
    font-size: var(--lp-body-size);
    max-width: 520px;
}

.lp-store-block {
    margin-top: 90px;
}

.lp-store-block > span {
    font-size: 24px;
}

.lp-store-buttons {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-store-buttons a {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-store-buttons a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.lp-store-buttons img {
    height: 34px;
    width: auto;
    display: block;
}

.lp-hero-image img,
.lp-download-image img,
.lp-feature-image img,
.lp-partner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.lp-how,
.lp-benefits,
.lp-download,
.lp-partner {
    padding: 80px 0;
}

.lp-how {
    padding: 136px 0 112px;
}

.lp-benefits {
    padding: 92px 0 116px;
}

.lp-download {
    padding: 112px 0 132px;
}

.lp-partner {
    padding: 32px 0 124px;
}

.lp-how h2,
.lp-benefits h2 {
    margin: 0;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: var(--lp-h2-size);
    line-height: 1.12;
}

.lp-feature-card {
    margin-top: 46px;
    background: var(--lp-bg);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.lp-feature-card--reverse .lp-feature-copy {
    order: 2;
}

.lp-feature-card--reverse .lp-feature-image {
    order: 1;
}

.lp-feature-copy {
    padding: 24px 8px;
}

.lp-feature-icon {
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.lp-feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.lp-feature-copy h3 {
    margin: 14px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(22px, 2.1vw, 32px);
    line-height: 1.25;
}

.lp-feature-copy p {
    margin-top: 10px;
    font-size: clamp(15px, 1.2vw, 19px);
}

.lp-feature-image img {
    border-radius: 12px;
}

.lp-benefits-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lp-benefit-card {
    background: #ededed;
    border-radius: 20px;
    min-height: 407px;
    padding: 76px 24px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.lp-benefit-icon {
    font-size: 83px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 83px;
    height: 83px;
}

.lp-benefit-icon img {
    width: 83px;
    height: 83px;
    object-fit: contain;
    display: block;
}

.lp-benefit-card h3 {
    margin: 16px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
}

.lp-benefit-card p {
    margin-top: 7px;
    font-size: clamp(16px, 1.35vw, 21px);
}

.lp-download-copy h2 {
    font-size: var(--lp-h1-size);
    max-width: 520px;
}

.lp-partner-card {
    background: var(--lp-dark);
    border-radius: 40px;
    min-height: 727px;
    padding: 52px 52px 48px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    color: var(--lp-white);
}

.lp-partner-image {
    max-width: 428px;
    justify-self: end;
}

.lp-partner-image img {
    max-height: 471px;
    object-fit: contain;
}

.lp-partner-kicker {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--lp-yellow);
}

.lp-partner-copy h2 {
    margin-top: 24px;
    font-size: var(--lp-h1-size);
    max-width: 520px;
}

.lp-partner-copy p {
    font-size: clamp(17px, 1.5vw, 21px);
    margin-top: 26px;
    line-height: 1.45;
}

.lp-btn-primary {
    margin-top: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 245px;
    padding: 20px 60px;
    border-radius: 50px;
    background: var(--lp-purple-2);
    color: var(--lp-white);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lp-btn-primary:hover {
    background: var(--lp-purple);
    transform: translateY(-1px);
}

.lp-footer {
    background: #8250FF;
    color: var(--lp-white);
    min-height: 455px;
    padding: 68px 0 46px;
    border-radius: 40px 40px 0px 0px;
}

.lp-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "brand social"
        "contact copyright";
    row-gap: 76px;
    column-gap: 112px;
    align-items: start;
}

.lp-footer-brand {
    grid-area: brand;
}

.lp-footer-brand img {
    width: 189px;
    height: 61px;
}

.lp-footer-contact {
    grid-area: contact;
}

.lp-footer-contact h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.2;
}

.lp-footer-contact a {
    margin-top: 18px;
    display: inline-block;
    color: #e7dbff;
    text-decoration: none;
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.3;
}

.lp-footer-contact .lp-footer-whatsapp {
    display: block;
    margin-top: 10px;
}

.lp-footer-social {
    grid-area: social;
    display: flex;
    gap: 28px;
    align-self: end;
}

.lp-footer-social a {
    display: inline-flex;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.lp-footer-social a:hover {
    opacity: 1;
}

.lp-footer-social img {
    width: 28px;
    height: 28px;
}

.lp-footer-copyright {
    grid-area: copyright;
    align-self: end;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 991px) {
    .lp-container {
        padding: 0 28px;
    }

    .lp-hero-inner,
    .lp-download-inner,
    .lp-feature-card,
    .lp-partner-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .lp-feature-card {
        background: var(--lp-bg);
        border-radius: 12px;
    }

    .lp-feature-card--reverse .lp-feature-copy {
        order: 2;
    }

    .lp-feature-card--reverse .lp-feature-image {
        order: 1;
    }

    .lp-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .lp-benefit-card {
        min-height: 340px;
        padding: 48px 16px 28px;
    }

    .lp-partner-card {
        min-height: auto;
        border-radius: 32px;
        padding: 40px 34px;
    }

    .lp-partner-image {
        max-width: 330px;
    }

    .lp-footer-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand social"
            "contact copyright";
        row-gap: 52px;
        column-gap: 38px;
    }
}

@media (max-width: 767px) {
    .lp-hero-inner,
    .lp-download-inner,
    .lp-feature-card,
    .lp-partner-card,
    .lp-footer-inner {
        grid-template-columns: 1fr;
    }

    .lp-feature-card--reverse .lp-feature-copy,
    .lp-feature-card--reverse .lp-feature-image {
        order: initial;
    }

    .lp-hero,
    .lp-how,
    .lp-benefits,
    .lp-download,
    .lp-partner {
        padding: 48px 0;
    }

    .lp-how {
        padding: 88px 0 76px;
    }

    .lp-benefits {
        padding: 72px 0 84px;
    }

    .lp-download {
        padding: 80px 0 96px;
    }

    .lp-partner {
        padding: 16px 0 80px;
    }

    .lp-hero-copy,
    .lp-download-copy {
        text-align: left;
    }

    .lp-footer-inner {
        grid-template-areas:
            "brand"
            "contact"
            "social"
            "copyright";
        row-gap: 24px;
    }

    .lp-benefits-grid {
        grid-template-columns: 1fr;
    }

    .lp-partner-card {
        border-radius: 24px;
        min-height: auto;
        padding: 32px 28px;
        gap: 24px;
    }

    .lp-partner-kicker {
        font-size: 14px;
    }

    .lp-partner-copy h2 {
        margin-top: 12px;
        font-size: 42px;
    }

    .lp-partner-copy p {
        margin-top: 16px;
        font-size: 16px;
    }

    .lp-partner-image {
        max-width: 320px;
        justify-self: start;
    }

    .lp-btn-primary {
        min-width: 190px;
        padding: 14px 32px;
        font-size: 16px;
        margin-top: 20px;
    }

    .lp-footer {
        min-height: auto;
        padding: 44px 0 36px;
        border-radius: 26px 26px 0 0;
    }

    .lp-footer-brand img {
        width: 140px;
    }

    .lp-footer-contact h3 {
        font-size: 18px;
    }

    .lp-footer-contact a {
        margin-top: 10px;
        font-size: 14px;
    }

    .lp-footer-social {
        justify-content: flex-start;
        gap: 20px;
        align-self: start;
    }

    .lp-footer-social img {
        width: 20px;
        height: 20px;
    }

    .lp-footer-copyright {
        font-size: 14px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .lp-container {
        padding: 0 16px;
    }

    .lp-header-inner {
        height: 70px;
    }

    .lp-logo img {
        height: 37px;
    }

    .lp-lang-switch {
        font-size: 13px;
    }

    .lp-hero {
        padding: 91px 0 0;
        background-size: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .lp-hero-inner,
    .lp-download-inner {
        grid-template-columns: 1fr;
        gap: 0;
        align-items: start;
    }

    .lp-hero-copy h1 {
        max-width: 358px;
        font-size: 40px;
        line-height: 1.14;
        margin-inline: auto;
    }

    .lp-hero-copy p,
    .lp-download-copy p {
        max-width: 358px;
        font-size: 17px;
        margin-top: 16px;
        line-height: 1.38;
        margin-inline: auto;
    }

    .lp-store-block {
        margin-top: 34px;
    }

    .lp-store-block > span {
        display: block;
        text-align: center;
        font-size: 20px;
    }

    .lp-store-buttons {
        margin-top: 16px;
        justify-content: center;
        gap: 12px;
    }

    .lp-store-buttons img {
        height: 32px;
    }

    .lp-hero-image {
        margin-top: 68px;
    }

    .lp-how {
        padding: 87px 0 0;
    }

    .lp-benefits {
        padding: 137px 0 0;
    }

    .lp-download {
        padding: 143px 0 119px;
    }

    .lp-partner {
        padding: 119px 0 76px;
    }

    .lp-how h2,
    .lp-benefits h2 {
        font-size: 36px;
        line-height: 1.18;
        max-width: 358px;
        margin-inline: auto;
    }

    .lp-feature-card {
        margin-top: 18px;
        grid-template-columns: 1fr;
        gap: 0;
        background: transparent;
        border-radius: 0;
    }

    .lp-feature-card .lp-feature-image {
        order: 1;
    }

    .lp-feature-card .lp-feature-copy {
        order: 2;
    }

    .lp-feature-image {
        margin-top: 22px;
        width: 100%;
    }

    .lp-feature-image img {
        width: 100%;
        max-width: 358px;
        height: auto;
        margin-inline: auto;
        display: block;
        border-radius: 20px;
    }

    .lp-feature-copy {
        padding: 20px 0 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lp-feature-icon {
        width: 40px;
        height: 40px;
        text-align: center;
        margin-inline: auto;
    }

    .lp-feature-icon img {
        width: 40px;
        height: 40px;
    }

    .lp-feature-copy h3 {
        margin-top: 22px;
        font-size: 34px;
        line-height: 1.16;
        text-align: center;
    }

    .lp-feature-copy p {
        margin-top: 20px;
        font-size: 17px;
        line-height: 1.45;
        text-align: center;
        max-width: 358px;
        margin-inline: auto;
    }

    .lp-benefits-grid {
        margin-top: 32px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lp-benefit-card {
        min-height: 407px;
        border-radius: 20px;
        padding: 96px 18px 42px;
    }

    .lp-benefit-icon {
        width: 83px;
        height: 83px;
    }

    .lp-benefit-icon img {
        width: 83px;
        height: 83px;
    }

    .lp-benefit-card h3 {
        font-size: 22px;
        margin-top: 18px;
    }

    .lp-benefit-card p {
        font-size: 18px;
        margin-top: 10px;
    }

    .lp-download-copy h2 {
        max-width: 358px;
        font-size: 40px;
        line-height: 1.06;
    }

    .lp-download-copy .lp-store-buttons {
        justify-content: center;
        margin-top: 29px;
    }

    .lp-download-image {
        margin-top: 68px;
    }

    .lp-partner-card {
        min-height: 892px;
        border-radius: 20px;
        grid-template-columns: 1fr;
        padding: 36px 20px 56px;
        gap: 0;
    }

    .lp-partner-kicker {
        font-size: 20px;
    }

    .lp-partner-copy h2 {
        margin-top: 18px;
        max-width: 318px;
        font-size: 40px;
        line-height: 1.06;
    }

    .lp-partner-copy p {
        margin-top: 20px;
        max-width: 316px;
        font-size: 17px;
        line-height: 1.45;
    }

    .lp-btn-primary {
        margin-top: 30px;
        min-width: 251px;
        padding: 20px 60px;
        font-size: 20px;
    }

    .lp-partner-image {
        max-width: 279px;
        justify-self: center;
        margin-top: 76px;
    }

    .lp-footer {
        min-height: 696px;
        padding: 79px 0 62px;
        border-radius: 0;
    }

    .lp-footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "contact"
            "social"
            "copyright";
        row-gap: 56px;
        align-items: center;
        justify-items: center;
    }

    .lp-footer-brand img {
        width: 189px;
        height: auto;
    }

    .lp-footer-contact {
        text-align: center;
    }

    .lp-footer-contact h3 {
        font-size: 28px;
    }

    .lp-footer-contact a {
        font-size: 20px;
        margin-top: 12px;
    }

    .lp-footer-social {
        justify-content: center;
        gap: 32px;
        align-self: center;
    }

    .lp-footer-social img {
        width: 28px;
        height: 28px;
    }

    .lp-footer-copyright {
        font-size: 17px;
        text-align: center;
        white-space: normal;
    }

    .lp-hero-copy,
    .lp-download-copy {
        text-align: center;
    }

    .lp-hero-copy .lp-store-buttons,
    .lp-download-copy .lp-store-buttons {
        justify-content: center;
    }
}

.lp-reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: opacity 0.65s ease, transform 0.65s ease;
    will-change: transform, opacity;
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .lp-reveal,
    .lp-store-buttons a,
    .lp-btn-primary,
    .lp-footer-social a {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}
