/* =========================================
   WiMap Landing Page
   Mobile First / Arabic RTL
   ========================================= */

:root {
    --primary: #ff5c5c;
    --primary-dark: #e84949;

    --text: #171717;
    --muted: #666666;

    --background: #ffffff;
    --surface: #f7f7f7;
    --border: #eeeeee;

    --radius: 22px;

    --container: 1120px;
}


/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);

    direction: rtl;

    line-height: 1.7;

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(
        calc(100% - 32px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================
   HEADER
   ========================================= */

.header {
    position: relative;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);
}


.header-inner {
    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;
}


.brand {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    font-weight: 800;

    font-size: 20px;
}


.logo {
    width: 38px;
    height: 38px;

    object-fit: contain;
}


.brand-name {
    letter-spacing: -0.3px;
}


.header-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 8px 17px;

    background: var(--primary);

    color: #ffffff;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.header-button:hover {
    background: var(--primary-dark);

    transform: translateY(-1px);
}


/* =========================================
   HERO
   ========================================= */

.hero {
    padding: 54px 0 64px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 92, 92, 0.10),
            transparent 35%
        );
}


.hero-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 42px;

    align-items: center;
}


.hero-content {
    text-align: center;
}


.eyebrow {
    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 17px;

    background: #fff1f1;

    color: var(--primary-dark);

    border-radius: 999px;

    font-size: 13px;

    font-weight: 700;
}


.hero h1 {
    max-width: 700px;

    margin-inline: auto;

    font-size: clamp(
        34px,
        8vw,
        64px
    );

    line-height: 1.18;

    letter-spacing: -1.8px;

    font-weight: 850;
}


.hero h1 span {
    color: var(--primary);
}


.hero-text {
    max-width: 620px;

    margin: 22px auto 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.9;
}


.primary-button,
.cta-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-height: 56px;

    margin-top: 27px;

    padding: 13px 26px;

    border-radius: 15px;

    background: var(--primary);

    color: #ffffff;

    font-size: 16px;

    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(255, 92, 92, 0.20);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.primary-button:hover,
.cta-button:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(255, 92, 92, 0.27);
}


.primary-button span,
.cta-button span {
    font-size: 19px;

    transition:
        transform 0.2s ease;
}


.primary-button:hover span,
.cta-button:hover span {
    transform: translateX(-3px);
}


.small-note {
    margin-top: 10px;

    color: #888888;

    font-size: 12px;
}


.hero-image {
    display: flex;

    justify-content: center;
}


.phone-frame {
    width: min(
        78vw,
        310px
    );

    padding: 9px;

    border-radius: 34px;

    background: #111111;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.18);
}


.phone-frame img {
    width: 100%;

    aspect-ratio: 9 / 18;

    object-fit: cover;

    border-radius: 27px;

    background: #eeeeee;
}


/* =========================================
   SECTION HEADING
   ========================================= */

.section-heading {
    max-width: 680px;

    margin-inline: auto;

    text-align: center;
}


.section-label {
    display: inline-block;

    color: var(--primary);

    font-size: 13px;

    font-weight: 800;

    margin-bottom: 7px;
}


.section-heading h2 {
    font-size: clamp(
        27px,
        6vw,
        40px
    );

    line-height: 1.25;

    letter-spacing: -0.8px;
}


.section-heading p {
    margin-top: 13px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================
   FEATURES
   ========================================= */

.features {
    padding: 72px 0;

    background: var(--surface);
}


.feature-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 15px;

    margin-top: 34px;
}


.feature-card {
    padding: 26px 22px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    text-align: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.035);
}


.feature-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 17px;

    background: #fff1f1;

    font-size: 25px;
}


.feature-card h3 {
    font-size: 18px;

    margin-bottom: 8px;
}


.feature-card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   KEEP SECTION
   ========================================= */

.keep-section {
    padding: 72px 0;
}


.keep-card {
    position: relative;

    overflow: hidden;

    padding: 38px 24px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #171717,
            #292929
        );

    color: #ffffff;
}


.keep-card::before {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    top: -100px;
    left: -70px;

    border-radius: 50%;

    background: rgba(255, 92, 92, 0.22);

    filter: blur(10px);
}


.keep-content {
    position: relative;

    max-width: 650px;
}


.keep-content .section-label {
    color: #ff8989;
}


.keep-content h2 {
    font-size: clamp(
        28px,
        6vw,
        42px
    );

    line-height: 1.25;

    letter-spacing: -0.8px;
}


.keep-content p {
    margin-top: 15px;

    color: #d3d3d3;

    font-size: 15px;

    line-height: 1.9;
}


.keep-content .strong-text {
    color: #ffffff;

    font-weight: 800;
}


.keep-content .primary-button {
    margin-top: 22px;
}


/* =========================================
   SCREENSHOTS
   ========================================= */

.screenshots {
    padding: 72px 0;

    background: var(--surface);
}


.screenshots-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;

    margin-top: 34px;
}


.screenshot-card {
    overflow: hidden;

    border-radius: 22px;

    background: #ffffff;

    border: 1px solid var(--border);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);
}


.screenshot-card img {
    width: 100%;

    height: auto;

    object-fit: cover;
}


/* =========================================
   FINAL CTA
   ========================================= */

.final-cta {
    padding: 72px 0;
}


.cta-box {
    padding: 42px 22px;

    text-align: center;

    border-radius: 28px;

    background: #fff1f1;

    border: 1px solid #ffe0e0;
}


.cta-icon {
    display: block;

    font-size: 40px;

    margin-bottom: 8px;
}


.cta-box h2 {
    font-size: clamp(
        29px,
        6vw,
        44px
    );

    line-height: 1.25;

    letter-spacing: -1px;
}


.cta-box p {
    max-width: 580px;

    margin: 14px auto 0;

    color: var(--muted);

    font-size: 15px;
}


.cta-button {
    margin-top: 24px;
}


.cta-note {
    font-size: 12px !important;

    color: #888888 !important;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    padding: 28px 0;

    border-top: 1px solid var(--border);

    text-align: center;

    color: #777777;

    font-size: 12px;
}


.footer-note {
    margin-top: 3px;

    color: #999999;
}


/* =========================================
   TABLET
   ========================================= */

@media (min-width: 700px) {

    .container {
        width: min(
            calc(100% - 48px),
            var(--container)
        );
    }


    .hero {
        padding: 80px 0 90px;
    }


    .hero-grid {
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(280px, 0.9fr);

        gap: 60px;

        direction: ltr;
    }


    .hero-content,
    .hero-image {
        direction: rtl;
    }


    .hero-content {
        text-align: right;
    }


    .hero h1 {
        margin-inline: 0;
    }


    .hero-text {
        margin-inline: 0;
    }


    .feature-grid {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 18px;
    }


    .screenshots-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .keep-card {
        padding: 55px 55px;
    }


    .cta-box {
        padding: 60px 30px;
    }
}


/* =========================================
   DESKTOP
   ========================================= */

@media (min-width: 1000px) {

    .header-inner {
        min-height: 74px;
    }


    .hero h1 {
        font-size: 58px;
    }


    .hero-text {
        font-size: 18px;
    }


    .phone-frame {
        width: 330px;
    }


    .features,
    .keep-section,
    .screenshots,
    .final-cta {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}


/* =========================================
   ACCESSIBILITY
   ========================================= */

a:focus-visible {
    outline: 3px solid rgba(255, 92, 92, 0.35);

    outline-offset: 4px;
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

.app-visual {
    width: min(78vw, 310px);
    aspect-ratio: 1 / 1.25;
    border-radius: 32px;
    background: linear-gradient(145deg, #ff5c5c, #e84949);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.wifi-symbol {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    margin-bottom: 22px;
}

.app-visual strong {
    font-size: 32px;
    margin-bottom: 8px;
}

.app-visual span {
    font-size: 15px;
    opacity: .9;
}