@font-face {
    font-family: "Almarai";
    src: url("../fonts/almarai/Almarai-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: "Almarai";
    src: url("../fonts/almarai/Almarai-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #0d2a4c;
    --navy-deep: #081d36;
    --navy-light: #152a45;
    --navy-muted: #1e3a5f;
    --orange: #f45612;
    --orange-hover: #e04d10;
    --white: #ffffff;
    --ink: #06294c;
    --ink-muted: rgba(6, 41, 76, 0.62);
    --surface: #ffffff;
    --surface-alt: #f4f7fb;
    --border: rgba(6, 41, 76, 0.1);
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(6, 41, 76, 0.06);
    --shadow-md: 0 10px 30px rgba(6, 41, 76, 0.1);
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Almarai", "Segoe UI", sans-serif;
    background: var(--surface);
    color: var(--ink);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.section {
    padding-block: 4.5rem;
}

.section--alt {
    background: var(--surface-alt);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

.section-head h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.4;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
    margin: 0.85rem auto 0;
}

.section-head p {
    margin-top: 1rem;
    color: var(--ink-muted);
    font-size: 1rem;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-block: 0.6rem;
}

.topbar-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.topbar-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.topbar-list svg {
    width: 15px;
    height: 15px;
    color: var(--orange);
    flex-shrink: 0;
}

.topbar a:hover {
    color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(6, 41, 76, 0.25);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.85rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.site-logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    border-inline-start: 3px solid var(--orange);
    padding-inline-start: 0.75rem;
    line-height: 1.25;
}

.site-logo__ar {
    font-size: 1.35rem;
    font-weight: 800;
}

.site-logo__en {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--orange-hover);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn--outline {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}

.btn--outline:hover {
    background: rgba(244, 86, 18, 0.08);
}

.btn--sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

/* Google Play button */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    background: var(--orange);
    color: var(--white);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 10px 24px rgba(244, 86, 18, 0.3);
}

.store-btn:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

.store-btn svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.store-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.store-btn__label {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.store-btn__store {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    overflow: hidden;
    padding-block: 4.5rem 5rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 49.5%, rgba(30, 58, 95, 0.55) 50%, transparent 50.5%),
        linear-gradient(45deg, transparent 49.5%, rgba(30, 58, 95, 0.35) 50%, transparent 50.5%);
    background-size: 80px 80px;
    opacity: 0.55;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -35%;
    inset-inline-start: -10%;
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(244, 86, 18, 0.22) 0%, transparent 65%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(244, 86, 18, 0.5);
    background: rgba(244, 86, 18, 0.12);
    color: #ffb48a;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.45;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    margin-top: 1.25rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 44ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta div {
    line-height: 1.4;
}

.hero-meta strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--orange);
}

.hero-meta span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Phone mock */
.phone-mock {
    position: relative;
    width: min(260px, 80%);
    margin-inline: auto;
    aspect-ratio: 9 / 18;
    border-radius: 38px;
    background: var(--navy-light);
    border: 8px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.phone-mock::before {
    content: "";
    position: absolute;
    top: 12px;
    inset-inline: 0;
    margin-inline: auto;
    width: 60px;
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
}

.phone-mock img {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.phone-mock__name {
    font-size: 1.05rem;
    font-weight: 800;
}

.phone-mock__sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.phone-mock__pill {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    border: 1px dashed rgba(244, 86, 18, 0.6);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.phone-mock__pill:hover {
    background: rgba(244, 86, 18, 0.15);
    border-color: var(--orange);
    color: #ffb48a;
}

/* ---------- Notice ---------- */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 900px;
    margin-inline: auto;
    padding: 1.35rem 1.5rem;
    background: rgba(244, 86, 18, 0.08);
    border: 1px solid rgba(244, 86, 18, 0.28);
    border-inline-start: 4px solid var(--orange);
    border-radius: var(--radius);
    font-size: 1.02rem;
    line-height: 1.85;
}

.notice svg {
    width: 26px;
    height: 26px;
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.notice strong {
    color: var(--orange);
    font-weight: 800;
}

/* ---------- Features ---------- */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(244, 86, 18, 0.35);
}

.feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(13, 42, 76, 0.07);
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.feature__icon svg {
    width: 26px;
    height: 26px;
}

.feature h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--ink-muted);
}

/* ---------- Steps ---------- */
.steps {
    counter-reset: step;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 920px;
    margin-inline: auto;
}

.steps li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-sm);
}

.steps li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.steps p {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-muted) 100%);
    color: var(--white);
    text-align: center;
    padding-block: 3.75rem;
}

.cta h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.5;
}

.cta p {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.68);
    padding-block: 3.25rem 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
}

.site-footer h3 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.site-footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.site-footer li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-footer svg {
    width: 16px;
    height: 16px;
    color: var(--orange);
    flex-shrink: 0;
}

.site-footer a:hover {
    color: var(--orange);
}

.footer-bottom {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 1.25rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .phone-mock {
        order: -1;
        width: min(220px, 70%);
    }
}

@media (max-width: 680px) {
    .section {
        padding-block: 3.25rem;
    }

    .site-nav {
        gap: 0.75rem;
    }

    .site-nav .nav-hide {
        display: none;
    }

    .grid--4,
    .grid--3,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .topbar .container {
        justify-content: center;
    }

    .topbar-list {
        gap: 1rem;
        justify-content: center;
    }
}
