.landing-redesign {
    --landing-primary: #7fa362;
    --landing-gray: #454655;
    --landing-secondary: #193f5a;
    --landing-accent: #cb6e37;
    --landing-text-main: #1d2a33;
    --landing-text-muted: #5a6771;
    --landing-surface: #ffffff;
    --landing-bg-soft: #f5f8f2;

    direction: rtl;
    font-family: "Cairo", sans-serif;
    background: linear-gradient(180deg, #f8fbf6 0%, #ffffff 35%, #f6f9fc 100%);
    color: var(--landing-text-main);
}

.landing-redesign .section-block {
    padding: 88px 0;
}

.landing-redesign .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(127, 163, 98, 0.15);
    color: var(--landing-secondary);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
}

.landing-redesign .headline {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 20px 0 16px;
    color: var(--landing-secondary);
}

.landing-redesign .headline .accent {
    color: var(--landing-accent);
}

.landing-redesign .subtext {
    color: var(--landing-text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 26px;
    max-width: 620px;
}

.landing-redesign .cta-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.landing-redesign .hero .cta-group {
    max-width: 520px;
}

.landing-redesign #download {
    scroll-margin-top: 100px;
}

.landing-redesign .cta-group .store-btn {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.landing-redesign .store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.landing-redesign .store-btn.primary {
    background: var(--landing-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(127, 163, 98, 0.28);
}

.landing-redesign .store-btn.secondary {
    background: var(--landing-surface);
    color: var(--landing-secondary);
    border: 1px solid rgba(25, 63, 90, 0.2);
    box-shadow: 0 8px 16px rgba(25, 63, 90, 0.08);
}

.landing-redesign .hero {
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 120px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    background: var(--landing-primary) !important;
    position: relative;
}

.landing-redesign .hero::before {
    content: none !important;
    background: none !important;
}

.landing-redesign .hero .eyebrow {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.landing-redesign .hero .headline {
    color: var(--landing-gray);
}

.landing-redesign .hero .subtext {
    color: rgba(255, 255, 255, 0.92);
}

.landing-redesign .hero .store-btn.primary {
    background: var(--landing-surface);
    color: var(--landing-secondary);
    border: 1px solid rgba(25, 63, 90, 0.2);
    box-shadow: 0 8px 16px rgba(25, 63, 90, 0.08);
}

.landing-redesign .hero .store-btn.primary:hover {
    background: #f7fafc;
}

.landing-redesign .cta-group.has-direct-download .store-btn.direct-download {
    grid-column: 1 / -1;
}

.landing-redesign .store-btn.direct-download {
    background: var(--landing-accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(203, 110, 55, 0.35);
}

.landing-redesign .store-btn.direct-download:hover {
    box-shadow: 0 14px 28px rgba(203, 110, 55, 0.42);
}

body.index-page .header,
body.index-page .scrolled .header {
    background: #7fa362 !important;
    box-shadow: none !important;
}

body.index-page .header .navmenu a,
body.index-page .header .navmenu a:focus,
body.index-page .header .navmenu a.active {
    color: #ffffff !important;
}

body.index-page .header .mobile-nav-toggle {
    color: #ffffff !important;
}

/* مسافة تحت الهيدر الثابت دون لون يغطي المحتوى */
.site-header-offset {
    height: 100px;
    pointer-events: none;
}

.landing-redesign .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.landing-redesign .visual-wrap {
    position: relative;
    min-height: 470px;
}

.landing-redesign .device-mockup {
    position: absolute;
    width: clamp(180px, 24vw, 240px);
    height: clamp(360px, 50vw, 470px);
    background: #0f1720;
    border-radius: 34px;
    padding: 10px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 18px 38px rgba(15, 23, 32, 0.35);
    z-index: 2;
}

.landing-redesign .device-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 42%;
    height: 18px;
    border-radius: 0 0 14px 14px;
    background: #0b1017;
    z-index: 3;
}

.landing-redesign .device-screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    object-fit: cover;
}

.landing-redesign .device-mockup.one {
    top: 24px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
}

.landing-redesign .section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.landing-redesign .section-heading h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--landing-secondary);
}

.landing-redesign .about-app-body {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.landing-redesign .about-app-body p {
    color: var(--landing-text-muted);
    font-size: 1.05rem;
    line-height: 1.95;
    margin-bottom: 1.25rem;
}

.landing-redesign .about-app-body p:last-child {
    margin-bottom: 0;
}

.landing-redesign .section-heading p {
    color: var(--landing-text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.9;
}

.landing-redesign .features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.landing-redesign .feature-card {
    background: var(--landing-surface);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(127, 163, 98, 0.24);
    box-shadow: 0 12px 24px rgba(25, 63, 90, 0.05);
    height: 100%;
}

.landing-redesign .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--landing-secondary);
    background: rgba(127, 163, 98, 0.2);
    margin-bottom: 16px;
}

.landing-redesign .feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--landing-secondary);
}

.landing-redesign .feature-card p {
    margin: 0;
    color: var(--landing-text-muted);
    line-height: 1.85;
}

.landing-redesign .screens-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-redesign .screens-grid img {
    width: 100%;
    height: 440px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid rgba(127, 163, 98, 0.3);
    box-shadow: 0 14px 26px rgba(25, 63, 90, 0.1);
}

.landing-redesign .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-redesign .step-card {
    background: var(--landing-surface);
    border-radius: 18px;
    padding: 26px;
    border: 1px solid rgba(127, 163, 98, 0.24);
}

.landing-redesign .step-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.landing-redesign .how-it-works,
.landing-redesign .about-app-section {
    background: linear-gradient(120deg, #eef4ea 0%, #f6efe9 100%);
}

.landing-redesign .how-it-works .step-num {
    background: var(--landing-gray);
    color: #fff;
}

.landing-redesign .technician-cta {
    background: linear-gradient(145deg, #193f5a 0%, #245575 100%);
    border-radius: 26px;
    padding: 44px 34px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(25, 63, 90, 0.2);
}

.landing-redesign .technician-cta-content {
    max-width: 760px;
}

.landing-redesign .technician-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.landing-redesign .technician-cta h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 14px;
    font-weight: 800;
}

.landing-redesign .technician-cta p {
    margin: 0;
    max-width: 700px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
}

.landing-redesign .technician-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.landing-redesign .technician-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
}

.landing-redesign .technician-btn.primary {
    background: #ffffff;
    color: #193f5a;
}

.landing-redesign .technician-btn.secondary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

@media (max-width: 480px) {
    .landing-redesign .cta-group {
        grid-template-columns: 1fr;
    }

    .landing-redesign .hero .cta-group {
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .landing-redesign .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .landing-redesign .hero-grid,
    .landing-redesign .steps-grid {
        grid-template-columns: 1fr;
    }

    .landing-redesign .screens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-redesign .visual-wrap {
        min-height: 420px;
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .landing-redesign .section-block {
        padding: 70px 0;
    }

    .landing-redesign .hero {
        padding-top: 108px;
        min-height: 100vh;
        min-height: 100svh;
    }

    .landing-redesign .features-grid,
    .landing-redesign .screens-grid {
        grid-template-columns: 1fr;
    }

    .landing-redesign .device-mockup.one {
        left: 50%;
        transform: translateX(-50%) rotate(-3deg);
    }

    .landing-redesign .technician-cta {
        padding: 34px 24px;
    }

    .landing-redesign .technician-actions {
        justify-content: center;
    }

    .landing-redesign .cta-group {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-redesign .hero-copy {
        text-align: center;
    }

    .landing-redesign .subtext {
        margin-right: auto;
        margin-left: auto;
    }
}
