/* Innovation Stars — Landing Page (self-contained, no Bootstrap) */

:root {
    --lp-navy: #0F2D5C;
    --lp-blue: #1A4A94;
    --lp-sky: #5DA9E9;
    --lp-light: #E8F4FD;
    --lp-white: #ffffff;
    --lp-text: #1E3A5F;
    --lp-muted: #2a4a63;
    --lp-gradient: linear-gradient(135deg, #5DA9E9 0%, #1A4A94 55%, #0F2D5C 100%);
    --lp-danger-soft: #fff5f5;
    --lp-danger-border: #fecaca;
}

* { box-sizing: border-box; }

/* Lightweight grid (replaces Bootstrap on landing) */
.container {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -0.75rem;
}

.row > [class*="col"] {
    padding-inline: 0.75rem;
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
}

.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
}

.row.g-3 { row-gap: 1rem; }
.row.g-4 { row-gap: 1.5rem; }
.row.g-5 { row-gap: 3rem; }
.align-items-center { align-items: center; }
.d-none { display: none !important; }

@media (min-width: 768px) {
    .d-md-inline-flex { display: inline-flex !important; }
}

.me-1 { margin-inline-end: 0.25rem; }
.ms-auto { margin-inline-start: auto; }
.mb-1 { margin-bottom: 0.25rem; }

.lp-skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: 0.5rem 1rem;
    background: var(--lp-blue);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.lp-skip-link:focus {
    top: 1rem;
}

.landing-page {
    font-family: 'Segoe UI', Tahoma, 'Noto Sans Arabic', Arial, sans-serif;
    color: var(--lp-text);
    background: var(--lp-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* شريط تنقل شفاف فوق الهيرو */
.lp-nav:not(.is-scrolled) .lp-nav__links a,
.lp-nav:not(.is-scrolled) .lp-nav__brand-text .en,
.lp-nav:not(.is-scrolled) .lp-nav__brand-text .ar {
    color: #fff;
}

.lp-nav:not(.is-scrolled) .lp-nav__links a:hover {
    color: rgba(255, 255, 255, 0.96);
}

.lp-nav:not(.is-scrolled) .lp-lang-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.lp-nav:not(.is-scrolled) .lp-lang-btn.active {
    background: #fff;
    color: var(--lp-blue);
    border-color: #fff;
}

.lp-nav:not(.is-scrolled) .lp-theme-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.lp-nav:not(.is-scrolled) .lp-theme-btn:hover {
    background: #fff;
    color: var(--lp-blue);
}

.lp-nav:not(.is-scrolled) .lp-nav__toggle {
    color: #fff;
}

.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    transition: background 0.3s, box-shadow 0.3s;
}

.lp-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(26, 74, 148, 0.08);
    padding: 0.55rem 0;
}

.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.lp-nav__brand img { height: 42px; width: auto; }

.lp-nav__brand-text .en {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--lp-blue);
    line-height: 1.1;
}

.lp-nav__brand-text .ar { font-size: 0.72rem; color: var(--lp-muted); }

.lp-nav__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-nav__links a {
    text-decoration: none;
    color: var(--lp-text);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.lp-nav__links a:hover { color: var(--lp-sky); }

.lp-nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.lp-lang-btn {
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--lp-light);
    background: var(--lp-white);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--lp-muted);
}

.lp-lang-btn.active {
    background: var(--lp-blue);
    color: white;
    border-color: var(--lp-blue);
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
    white-space: nowrap;
    line-height: 1.2;
}

.lp-btn:hover { box-shadow: 0 10px 28px rgba(26, 74, 148, 0.22); color: inherit; }

.lp-btn--primary {
    background: var(--lp-gradient);
    color: white !important;
    box-shadow: 0 8px 24px rgba(26, 74, 148, 0.3);
}

.lp-btn--outline {
    background: transparent;
    color: var(--lp-blue) !important;
    border: 2px solid var(--lp-blue);
}

.lp-btn--white {
    background: white;
    color: var(--lp-blue) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.lp-btn--lg { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 14px; }

.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    background: var(--lp-gradient);
    color: white;
    overflow: hidden;
}

.lp-hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.lp-hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.lp-hero__shape--1 { width: 500px; height: 500px; top: -120px; right: -100px; }
.lp-hero__shape--2 { width: 300px; height: 300px; bottom: -80px; left: -60px; }
.lp-hero__shape--3 { width: 180px; height: 180px; top: 40%; left: 30%; opacity: 0.5; }

.lp-hero__content { position: relative; z-index: 2; max-width: 680px; }

.lp-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.lp-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.lp-hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 2rem;
}

.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lp-hero__trust {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-btn--hero-outline {
    border-color: rgba(255, 255, 255, 0.75) !important;
    color: #fff !important;
}

.lp-hero__visual { position: relative; z-index: 2; }

.lp-hero__mockup {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.lp-mockup-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 0.65rem;
}

.lp-mockup-row:last-child { margin-bottom: 0; }

.lp-mockup-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.lp-mockup-label { font-weight: 700; font-size: 0.9rem; }
.lp-mockup-value { font-size: 0.78rem; color: rgba(255, 255, 255, 0.92); }
.lp-mockup-check { color: rgba(255, 255, 255, 0.88); }

.lp-stats {
    background: white;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26, 74, 148, 0.12);
    padding: 2rem;
    min-height: 140px;
}

.lp-stats-wrap {
    padding-bottom: 4rem;
    margin-top: -3rem;
}

.lp-stat { text-align: center; padding: 0.5rem; }

.lp-stat__value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--lp-blue);
    line-height: 1;
}

.lp-stat__label {
    font-size: 0.85rem;
    color: var(--lp-muted);
    margin-top: 0.35rem;
    font-weight: 600;
}

.lp-section { padding: 5rem 0; }
.lp-section--light { background: var(--lp-light); }
#problems.lp-section { padding-top: 2rem; }

.lp-section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.lp-section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.lp-section__subtitle {
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.lp-problem-card {
    background: var(--lp-danger-soft);
    border: 1px solid var(--lp-danger-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.25s;
}

.lp-problem-card:hover { box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12); }

.lp-problem-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.lp-problem-card__title {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #991b1b;
}

.lp-problem-card__text {
    color: #6b1d1d;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.lp-bridge {
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--lp-gradient);
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 50px rgba(26, 74, 148, 0.25);
}

.lp-bridge__title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.lp-bridge__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.96);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.lp-solution-card {
    background: white;
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid #e2eef8;
    box-shadow: 0 8px 30px rgba(26, 74, 148, 0.06);
    transition: box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.lp-solution-card:hover {
    box-shadow: 0 20px 50px rgba(26, 74, 148, 0.12);
}

.lp-solution-card__tag {
    display: inline-block;
    background: var(--lp-light);
    color: var(--lp-blue);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.lp-solution-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--lp-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.lp-solution-card__problem {
    font-size: 0.82rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.lp-solution-card__solution {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--lp-text);
    margin: 0;
    padding-top: 0.75rem;
    border-top: 2px dashed var(--lp-light);
    color: #166534;
    font-weight: 600;
}

.lp-step { text-align: center; padding: 2rem 1.5rem; }

.lp-step__number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.lp-step__title { font-weight: 800; font-size: 1.15rem; margin-bottom: 0.65rem; }

.lp-step__text {
    color: var(--lp-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.lp-highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: white;
    border-radius: 14px;
    border: 1px solid #e2eef8;
    height: 100%;
}

.lp-highlight__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 11px;
    background: var(--lp-light);
    color: var(--lp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lp-highlight__title { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.25rem; }

.lp-highlight__text {
    font-size: 0.85rem;
    color: var(--lp-muted);
    margin: 0;
    line-height: 1.6;
}

.lp-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--lp-gradient);
    border-radius: 24px;
    color: white;
}

.lp-cta__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.lp-cta__subtitle {
    color: rgba(255, 255, 255, 0.96);
    max-width: 560px;
    margin: 0 auto 1.75rem;
    line-height: 1.75;
}

.lp-cta__contact { margin-top: 1.25rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.96); }

.lp-footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--lp-muted);
    font-size: 0.85rem;
    border-top: 1px solid #e2eef8;
}

.lp-footer img {
    height: 36px;
    width: 37px;
    margin-bottom: 0.75rem;
    object-fit: contain;
}

.lp-nav__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--lp-blue);
    cursor: pointer;
}

.lp-theme-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--lp-white);
    border: 1px solid var(--lp-light);
    color: var(--lp-text);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.lp-theme-btn:hover {
    background: var(--lp-blue);
    color: white;
    border-color: var(--lp-blue);
}

.bi::before,
[class*=" bi-"]::before,
[class^="bi-"]::before {
    display: inline-block;
    width: 1em;
    min-width: 1em;
    min-height: 1em;
    text-align: center;
}

@media (max-width: 991.98px) {
    .lp-nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .lp-nav__links.is-open { display: flex; }
    .lp-nav__toggle { display: block; }
    .lp-hero { min-height: auto; padding-top: 6rem; padding-bottom: 5rem; }
    .lp-hero__visual { margin-top: 2.5rem; }
    .lp-stats-wrap { margin-top: -2rem; padding-bottom: 4rem; }
}

@media (max-width: 575.98px) {
    .lp-hero__actions { flex-direction: column; }
    .lp-hero__actions .lp-btn { width: 100%; justify-content: center; }
}

/* ── Dark Mode ── */
[data-theme="dark"] .lp-nav:not(.is-scrolled) .lp-nav__links a,
[data-theme="dark"] .lp-nav:not(.is-scrolled) .lp-nav__brand-text .en,
[data-theme="dark"] .lp-nav:not(.is-scrolled) .lp-nav__brand-text .ar {
    color: #fff;
}

[data-theme="dark"] .lp-stats-wrap { background: transparent; }

[data-theme="dark"] .landing-page {
    --lp-navy: #0a1628;
    --lp-blue: #7EC0F0;
    --lp-sky: #5DA9E9;
    --lp-light: #1a2332;
    --lp-white: #121a26;
    --lp-text: #e8eef5;
    --lp-muted: #8fa8be;
    --lp-danger-soft: #2a1a1a;
    --lp-danger-border: #5c2d2d;
    background: #0d1420;
    color: var(--lp-text);
}

[data-theme="dark"] .lp-nav.is-scrolled {
    background: rgba(18, 26, 38, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .lp-nav__links a { color: var(--lp-text); }
[data-theme="dark"] .lp-nav__links a:hover { color: var(--lp-sky); }
[data-theme="dark"] .lp-nav__brand-text .en { color: var(--lp-blue); }
[data-theme="dark"] .lp-nav__brand-text .ar { color: var(--lp-muted); }

[data-theme="dark"] .lp-lang-btn {
    background: var(--lp-light);
    border-color: #2d4158;
    color: var(--lp-muted);
}

[data-theme="dark"] .lp-theme-btn {
    background: var(--lp-light);
    border-color: #2d4158;
    color: var(--lp-text);
}

[data-theme="dark"] .lp-theme-btn:hover {
    background: var(--lp-sky);
    border-color: var(--lp-sky);
    color: white;
}

[data-theme="dark"] .lp-stats {
    background: #1a2332;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .lp-section--light { background: #121a26; }

[data-theme="dark"] .lp-problem-card {
    background: #2a1a1a;
    border-color: #5c2d2d;
}

[data-theme="dark"] .lp-problem-card__icon {
    background: #3d2020;
    color: #f87171;
}

[data-theme="dark"] .lp-problem-card__title { color: #fca5a5; }
[data-theme="dark"] .lp-problem-card__text { color: #d4a0a0; }

[data-theme="dark"] .lp-solution-card {
    background: #1a2332;
    border-color: #2d4158;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .lp-solution-card__tag {
    background: #1e2d42;
    color: var(--lp-blue);
}

[data-theme="dark"] .lp-solution-card__solution {
    color: #86efac;
    border-top-color: #2d4158;
}

[data-theme="dark"] .lp-highlight {
    background: #1a2332;
    border-color: #2d4158;
}

[data-theme="dark"] .lp-highlight__icon {
    background: #1e2d42;
    color: var(--lp-blue);
}

[data-theme="dark"] .lp-footer {
    border-top-color: #2d4158;
    color: var(--lp-muted);
}

[data-theme="dark"] .lp-btn--outline {
    border-color: var(--lp-blue);
    color: var(--lp-blue) !important;
}

@media (max-width: 991.98px) {
    [data-theme="dark"] .lp-nav__links {
        background: #1a2332;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
}
