:root {
    --ink: #12241e;
    --muted: #66756e;
    --line: #e7e1d5;
    --paper: #faf7ef;
    --paper-2: #f3eee3;
    --white: #ffffff;
    --emerald: #043b2d;
    --emerald-2: #087052;
    --mint: #dff5eb;
    --gold: #d2ad56;
    --gold-soft: #fff0ba;
    --danger: #b85a4d;
    --shadow: 0 18px 45px rgba(23, 35, 31, .10);
    --shadow-strong: 0 30px 80px rgba(5, 35, 28, .24);
    --radius: 8px;
    --transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body.landing-body {
    margin: 0;
    font-family: "Cairo", sans-serif;
    direction: rtl;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.8;
    overflow-x: hidden;
}

.landing-body main,
.landing-body section,
.nav-inner,
.section-container {
    max-width: 100%;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.landing-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    background: rgba(4, 40, 31, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(18px);
    transition: background var(--transition), box-shadow var(--transition);
}

.landing-nav.scrolled {
    background: rgba(4, 40, 31, .94);
    box-shadow: 0 12px 34px rgba(5, 35, 28, .18);
}

.nav-inner {
    max-width: 1220px;
    height: 76px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #12b886;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.brand-icon svg {
    width: 21px;
    height: 21px;
}

.brand-text {
    font-size: 20px;
    color: #ffffff;
}

.brand-text b {
    color: var(--gold-soft);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, .70);
    font-size: 14px;
    font-weight: 800;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn,
.btn {
    min-height: 44px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.nav-btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .08);
}

.nav-btn-primary,
.btn-primary {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(16, 185, 129, .25);
}

.btn-primary:hover,
.nav-btn-primary:hover,
.btn-soft:hover {
    transform: translateY(-2px);
}

.btn-soft {
    color: #f8f1df;
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .24);
}

.btn svg,
.nav-btn svg {
    width: 18px;
    height: 18px;
}

.btn-wide {
    width: 100%;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--emerald);
    font-size: 20px;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 118px 22px 54px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #03281f;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
    filter: saturate(1.05) contrast(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 34, 26, .24) 0%, rgba(4, 40, 31, .56) 42%, rgba(3, 32, 25, .96) 100%),
        linear-gradient(180deg, rgba(3, 32, 25, .20) 0%, rgba(3, 32, 25, .46) 55%, rgba(3, 32, 25, .88) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(3, 32, 25, .72));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1220px, 100%);
    margin: 0 auto;
    color: #fff8e8;
    padding-top: 28px;
}

.eyebrow,
.section-kicker,
.pricing-label {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(46px, 7vw, 96px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 span {
    display: inline-block;
}

.hero-lead {
    width: min(610px, 100%);
    margin: 22px 0 0;
    color: rgba(255, 248, 232, .86);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.9;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-actions .btn-primary {
    background: #10b981;
    color: #ffffff;
}

.hero-actions .btn-soft {
    background: rgba(255, 255, 255, .12);
    color: #fff8e8;
    border-color: rgba(255, 255, 255, .26);
}

.hero-trust {
    width: min(720px, 100%);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 248, 232, .82);
    font-size: 13px;
    font-weight: 800;
}

.hero-trust svg {
    width: 16px;
    height: 16px;
    color: var(--gold-soft);
}

.hero-metrics {
    width: min(760px, 100%);
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-metrics div {
    min-height: 84px;
    padding: 16px 20px;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.hero-metrics div:last-child {
    border-left: 0;
}

.hero-metrics span {
    display: block;
    color: rgba(255, 248, 232, .62);
    font-size: 13px;
    font-weight: 800;
}

.hero-metrics strong {
    display: block;
    margin-top: 4px;
    color: #fff8e8;
    font-size: 18px;
}

.section {
    padding: 82px 22px;
}

.section-container {
    width: min(1220px, 100%);
    margin: 0 auto;
}

.section-heading {
    width: min(760px, 100%);
    margin-bottom: 34px;
}

.section-heading h2,
.intro-copy h2,
.workflow-copy h2,
.platform-heading h2,
.pricing-copy h2,
.final-cta h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.35;
    letter-spacing: 0;
}

.section-heading p,
.workflow-copy p,
.pricing-copy p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.intro-strip {
    padding-top: 58px;
    background: var(--paper);
}

.intro-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 42px;
    align-items: start;
}

.intro-points {
    display: grid;
    gap: 12px;
}

.intro-point {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.intro-point svg,
.module-card svg {
    width: 24px;
    height: 24px;
    color: var(--emerald-2);
    flex: 0 0 auto;
}

.intro-point span {
    font-weight: 800;
    color: #2d3b35;
}

.modules-section {
    background: #fffdf8;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.module-card {
    min-height: 230px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(23, 35, 31, .04);
}

.module-card h3 {
    margin: 18px 0 8px;
    color: var(--ink);
    font-size: 20px;
}

.module-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.workflow-section {
    background: var(--emerald);
    color: #fff8e8;
}

.workflow-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.workflow-copy h2,
.workflow-copy p {
    color: #fff8e8;
}

.workflow-copy p {
    color: rgba(255, 248, 232, .72);
}

.workflow-list {
    display: grid;
    gap: 14px;
}

.workflow-step {
    min-height: 128px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}

.workflow-step span {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--gold);
    color: #10231d;
    font-weight: 900;
}

.workflow-step h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.workflow-step p {
    margin: 0;
    color: rgba(255, 248, 232, .72);
}

.platform-section {
    background: var(--paper);
}

.platform-heading {
    width: min(720px, 100%);
    margin-bottom: 28px;
}

.platform-shot {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-strong);
}

.platform-shot img {
    display: block;
    width: 100%;
}

.pricing-section {
    background: #fffdf8;
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 42px;
    align-items: center;
}

.pricing-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 5px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 22px;
}

.pricing-price strong {
    font-size: 52px;
    line-height: 1;
    color: var(--emerald);
}

.pricing-price span {
    color: var(--muted);
    font-weight: 800;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.pricing-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #34413b;
    font-weight: 800;
}

.pricing-card li svg {
    width: 20px;
    height: 20px;
    color: var(--emerald-2);
}

.final-cta {
    padding-top: 54px;
    background: var(--paper);
}

.cta-layout {
    min-height: 210px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff8e8;
}

.cta-layout h2 {
    color: #fff8e8;
}

.landing-footer {
    padding: 42px 22px;
    background: #10231d;
    color: rgba(255, 248, 232, .74);
}

.footer-container {
    width: min(1220px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-footer .footer-brand {
    color: #fff8e8;
}

.landing-footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 248, 232, .74);
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

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

    .intro-grid,
    .workflow-layout,
    .pricing-layout {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }

    .nav-actions.open {
        position: absolute;
        top: 76px;
        right: 16px;
        left: 16px;
        display: grid;
        gap: 10px;
        padding: 14px;
        background: rgba(4, 40, 31, .98);
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: 100vh;
        padding: 104px 18px 34px;
        align-items: flex-end;
    }

    .hero-bg {
        object-position: 24% center;
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(3, 32, 25, .24), rgba(3, 32, 25, .94)),
            linear-gradient(90deg, rgba(3, 32, 25, .12), rgba(3, 32, 25, .70));
    }

    .hero h1 {
        max-width: 100%;
        font-size: 48px;
        line-height: 1.12;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .hero-metrics div {
        min-height: 70px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .hero-metrics div:first-child {
        border-top: 0;
    }

    .section {
        padding: 62px 18px;
    }

    .platform-shot {
        margin-inline: -6px;
    }

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

    .workflow-step {
        grid-template-columns: 1fr;
    }

    .cta-layout,
    .footer-container {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .brand-text {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-lead {
        font-size: 15.5px;
        line-height: 1.9;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-metrics strong {
        font-size: 17px;
    }

    .intro-point,
    .module-card,
    .workflow-step,
    .pricing-card,
    .cta-layout {
        padding: 18px;
    }

    .pricing-price strong {
        font-size: 42px;
    }
}
