/**
 * Landing — نفس ألوان عِيدها (AppTheme)
 */
:root {
    --navy: #0b132b;
    --navy-light: #1c2541;
    --yellow: #ffd700;
    --muted: #94a3b8;
    --bg: #f8fafc;
    --dark: #050a18;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body.eidha-landing {
    margin: 0;
    font-family: "Noto Sans Arabic", system-ui, sans-serif;
    background: var(--bg);
    color: var(--navy);
    direction: rtl;
}

@keyframes lpFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lpGlow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.35);
    }
    50% {
        box-shadow: 0 20px 60px rgba(255, 215, 0, 0.18);
    }
}

.eidha-lp-fade {
    animation: lpFadeUp 0.65s var(--ease) both;
}

.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(20px, 4vw, 48px);
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}

.lp-header__start {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.lp-locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.lp-locale-switch form {
    margin: 0;
}

.lp-locale-switch__btn {
    appearance: none;
    border: none;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.lp-locale-switch__btn.is-active {
    background: var(--navy, #0f172a);
    color: #fff;
}

.lp-locale-switch__btn:hover:not(.is-active) {
    background: #f1f5f9;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 900;
}

.lp-brand__logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.lp-brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--yellow);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    animation: lpGlow 4s ease-in-out infinite;
}

.lp-brand__name {
    font-size: 1.15rem;
}

.lp-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.lp-menu-btn {
    display: none;
    border: none;
    background: var(--navy);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.05rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease);
}

.lp-menu-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 860px) {
    .lp-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .lp-nav {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px 16px 20px;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 20px 44px rgba(11, 19, 43, 0.14);
    }

    .lp-nav.is-open {
        display: flex;
        animation: lpFadeUp 0.3s var(--ease) both;
    }

    .lp-nav a:not(.lp-btn) {
        padding: 10px 8px;
        text-align: center;
    }

    .lp-nav .lp-btn {
        width: 100%;
    }
}

.lp-nav a:not(.lp-btn) {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    opacity: 0.85;
    transition: opacity 0.2s, color 0.2s;
}

.lp-nav a:not(.lp-btn):hover {
    opacity: 1;
    color: var(--navy-light);
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.lp-btn--primary {
    background: var(--navy);
    color: #fff;
}

.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(11, 19, 43, 0.28);
}

.lp-btn--outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid rgba(11, 19, 43, 0.14);
}

.lp-btn--outline:hover {
    border-color: var(--yellow);
    background: rgba(255, 215, 0, 0.12);
}

.lp-btn--ghost {
    background: #fff;
    color: var(--navy);
    border: 2px solid #e2e8f0;
}

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

.lp-btn--pulse {
    animation: lpGlow 3s ease-in-out infinite;
}

.lp-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    padding: clamp(32px, 8vw, 80px) clamp(20px, 4vw, 48px) clamp(32px, 7vw, 56px);
    background: radial-gradient(900px 480px at 80% -20%, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(700px 400px at -10% 40%, rgba(28, 37, 65, 0.12), transparent),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

@media (max-width: 900px) {
    .lp-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .lp-hero__cta {
        justify-content: center;
    }
    .lp-hero__visual {
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .lp-header {
        padding: 12px 16px;
        gap: 10px;
    }
    .lp-brand__logo,
    .lp-brand__mark {
        width: 36px;
        height: 36px;
    }
    .lp-brand__name {
        font-size: 1rem;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .lp-nav {
        gap: 8px 10px;
    }
    .lp-btn {
        padding: 9px 14px;
        font-size: 0.82rem;
    }
    .lp-hero {
        padding: 24px 16px 28px;
    }
    .lp-hero__lead {
        margin-bottom: 20px;
    }
    .lp-section {
        padding: 36px 16px 44px;
    }
    .lp-band {
        padding: 36px 16px;
    }
    .lp-footer-note {
        gap: 6px;
    }
    .lp-contact-actions,
    .lp-store-badges {
        gap: 10px;
        margin-bottom: 20px;
    }
}

.lp-pill {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.22);
    color: var(--navy);
    font-weight: 800;
    font-size: 0.82rem;
}

.lp-hero__title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 900;
    line-height: 1.25;
    color: var(--navy);
}

.lp-hero__lead {
    margin: 0 0 28px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 600;
    max-width: 520px;
}

@media (max-width: 900px) {
    .lp-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }
}

.lp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lp-hero__visual {
    position: relative;
    min-height: 240px;
}

.lp-hero__visual--image {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: auto;
    max-height: none;
    margin-left: 0;
}

.lp-hero__visual--align-start {
    justify-content: flex-start;
}

.lp-hero__visual--align-center {
    justify-content: center;
}

.lp-hero__visual--align-end {
    justify-content: flex-end;
}

.lp-hero__visual--align-start .lp-hero__image-wrap {
    margin-inline: 0 auto;
}

.lp-hero__visual--align-end .lp-hero__image-wrap {
    margin-inline: auto 0;
}

.lp-hero__image-wrap {
    width: 100%;
    max-width: min(520px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-hero__image {
    width: 100%;
    height: auto;
    max-height: min(var(--hero-image-max-height, 420px), 62vh);
    object-fit: contain;
    object-position: center center;
    display: block;
}

@media (min-width: 901px) {
    .lp-hero__visual--image {
        justify-content: flex-start;
    }

    .lp-hero__image-wrap {
        max-width: 100%;
        margin-inline: 0;
    }

    .lp-hero__image {
        max-height: min(var(--hero-image-max-height, 420px), 68vh);
        object-position: left center;
    }
}

@media (max-width: 900px) {
    .lp-hero__visual {
        min-height: auto;
        width: 100%;
    }

    .lp-hero__image {
        max-height: min(var(--hero-image-max-height, 420px), 48vh);
    }
}

.lp-phone {
    width: min(280px, 86vw);
    margin-inline: auto;
    border-radius: 36px;
    padding: 14px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
    box-shadow: 0 30px 70px rgba(11, 19, 43, 0.35);
    border: 6px solid rgba(255, 215, 0, 0.35);
    transition: transform 0.35s var(--ease);
}

.lp-phone:hover {
    transform: translateY(-6px) scale(1.02);
}

.lp-phone__bar {
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.lp-phone__content {
    background: rgba(5, 10, 24, 0.55);
    border-radius: 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-card-mini {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 14px;
}

.lp-card-mini__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--yellow);
    margin-bottom: 10px;
}

.lp-card-mini__line {
    display: block;
    height: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 8px;
}

.lp-card-mini__line--short {
    width: 62%;
}

.lp-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 14px;
}

.lp-progress__fill {
    height: 100%;
    width: 58%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yellow), #ffe066);
    animation: lpBar 2.4s var(--ease) infinite alternate;
}

@keyframes lpBar {
    from {
        width: 42%;
    }
    to {
        width: 78%;
    }
}

.lp-row-mini {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lp-chip {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(255, 215, 0, 0.2);
    color: var(--yellow);
}

.lp-chip--muted {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.lp-section {
    padding: 56px clamp(20px, 4vw, 48px) 72px;
}

.lp-section--tight {
    padding-top: 32px;
}

.lp-section__title {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 900;
    text-align: center;
}

.lp-section__sub {
    margin: 0 auto 40px;
    max-width: 560px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.65;
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-feature-card {
    background: #fff;
    border-radius: 28px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 40px rgba(11, 19, 43, 0.06);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.lp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(11, 19, 43, 0.12);
}

.lp-feature-card__icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.lp-feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 900;
}

.lp-feature-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.55;
}

.lp-band {
    padding: 56px clamp(20px, 4vw, 48px);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
}

.lp-band__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.lp-band h2 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
}

.lp-band p {
    margin: 0 0 26px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.75;
}

.lp-band .lp-btn--primary {
    background: var(--yellow);
    color: var(--navy);
}

.lp-band .lp-btn--primary:hover {
    box-shadow: 0 14px 40px rgba(255, 215, 0, 0.35);
}

.lp-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 0 auto 24px;
    max-width: 720px;
}

.lp-plan-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 18px 16px;
    text-align: center;
}

.lp-plan-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #fff;
}

.lp-plan-card__price {
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
    direction: rtl;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1.1;
}

.lp-plan-card__price-amount {
    font-size: clamp(1.65rem, 4vw, 2rem);
    direction: ltr;
    unicode-bidi: isolate;
}

.lp-plan-card__price-slash {
    font-size: clamp(1.35rem, 3.2vw, 1.65rem);
    opacity: 0.92;
    font-weight: 900;
}

.lp-plan-card__price-period {
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}

.lp-plan-card__hint {
    margin: 8px 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
}

.lp-muted {
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    margin: 0 auto 24px;
    max-width: 520px;
    line-height: 1.65;
}

.lp-footer-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted);
}

.lp-footer-note a {
    color: var(--navy);
    text-decoration: none;
}

.lp-footer-note a:hover {
    text-decoration: underline;
}

.lp-dot {
    opacity: 0.45;
}

.lp-contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 28px;
    max-width: 520px;
}

.lp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.lp-contact-btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.lp-contact-btn--email {
    background: var(--navy);
    color: #fff;
}

.lp-contact-btn:not(.is-disabled):hover {
    transform: translateY(-2px);
}

.lp-contact-btn.is-disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.lp-store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 28px;
}

.lp-store-badge {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.lp-store-badge:not(.is-disabled):hover {
    transform: translateY(-2px);
}

.lp-store-badge.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(100%);
}

.lp-store-badge__img {
    display: block;
    width: auto;
    height: 48px;
}

.lp-store-badge--apple .lp-store-badge__img {
    height: 40px;
}

/* زر الرجوع */
.lp-band .lp-btn--primary:hover {
    transform: translateY(-2px);
}

.lp-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 24px 0;
    max-width: 720px;
    margin-inline: auto;
}

.lp-plan-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 18px 16px;
    text-align: center;
}

.lp-plan-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #fff;
}

.lp-plan-card__price {
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
    direction: rtl;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1.1;
}

.lp-plan-card__price-amount {
    font-size: clamp(1.65rem, 4vw, 2rem);
    direction: ltr;
    unicode-bidi: isolate;
}

.lp-plan-card__price-slash {
    font-size: clamp(1.35rem, 3.2vw, 1.65rem);
    opacity: 0.92;
    font-weight: 900;
}

.lp-plan-card__price-period {
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}

.lp-plan-card__hint {
    margin: 8px 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.eidha-web-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(11, 19, 43, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.eidha-web-back:hover {
    background: rgba(255, 215, 0, 0.14);
    border-color: rgba(255, 215, 0, 0.55);
    transform: translateY(-1px);
}

.eidha-web-back__glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: var(--navy);
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
}
