/* Landing-page CSS bundle.
   Single render-blocking stylesheet that concatenates every file under
   wwwroot/css/landing-pages/ to keep the public landing-page critical
   path to one HTTP round-trip. The individual files remain authoritative;
   the bundle is mirrored from them and regenerated when any of them
   changes — always edit the individual files and copy the result here.

   Source files (in order):
     base.css text.css features.css faq.css cta.css gallery.css cards.css responsive.css
*/

/* ── base.css ───────────────────────────────────────────────────────── */
body[data-preview] {
    background: var(--bg-page);
    color: var(--text-2);
    font-family: var(--font-en);
    line-height: var(--lh-normal);
    margin: 0;
}
html[lang="ar"] body[data-preview] {
    font-family: var(--font-ar);
}

.lp-preview-banner {
    background: var(--accent-cream) !important;
    border-block-end: 1px solid var(--accent-gold) !important;
    color: var(--text-1) !important;
    font-family: inherit !important;
    font-weight: var(--fw-semi);
    padding-block: var(--sp-3);
    padding-inline: var(--sp-4);
    text-align: center;
}

.lp-hero {
    background: var(--grad-brand);
    color: var(--text-inv);
    padding-block: clamp(var(--sp-20), 14vw, var(--sp-32));
    padding-inline: var(--sp-4);
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: clamp(420px, 62vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-hero--media {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: lp-hero-zoom 18s ease-in-out infinite alternate;
}
@keyframes lp-hero-zoom {
    from { background-size: 105% auto; }
    to   { background-size: 118% auto; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-hero--media { animation: none; background-size: cover; }
}
.lp-hero--media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(1,0,76,0.45) 100%),
        linear-gradient(180deg, rgba(1,0,76,0.0) 55%, rgba(1,0,76,0.55) 100%);
    pointer-events: none;
    z-index: 0;
}
.lp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin-inline: auto;
    padding-inline: var(--sp-3);
}
.lp-hero h1 {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-5xl, 56px));
    line-height: var(--lh-tight);
    font-weight: var(--fw-black);
    letter-spacing: -0.01em;
    margin-block: 0 var(--sp-5);
    margin-inline: auto;
    max-width: 900px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.lp-hero h1::after {
    content: "";
    display: block;
    inline-size: 72px;
    block-size: 4px;
    margin-block: var(--sp-5) 0;
    margin-inline: auto;
    border-radius: var(--r-pill);
    background: var(--grad-wave-cool, var(--accent-gold));
    box-shadow: 0 0 24px rgba(255, 200, 87, 0.45);
}
.lp-hero p {
    font-size: clamp(var(--text-base), 1.6vw, var(--text-xl, 20px));
    line-height: var(--lh-snug);
    margin-block: 0 var(--sp-8);
    margin-inline: auto;
    max-width: 720px;
    opacity: 0.95;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.lp-hero__cta {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--navy-dark);
    font-weight: var(--fw-bold);
    font-size: var(--text-md);
    padding-block: var(--sp-4);
    padding-inline: var(--sp-10);
    border-radius: var(--r-pill);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.lp-hero__cta:hover,
.lp-hero__cta:focus {
    background: var(--accent-cream);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--navy-dark);
}

.lp-section {
    padding-block: var(--sp-20);
    padding-inline: 0;
}
.lp-section:nth-of-type(even) {
    background: var(--bg-alt);
}
.lp-section .container {
    max-width: 1140px;
}

.lp-section-title {
    color: var(--text-1);
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    margin-block: 0 var(--sp-10);
    text-align: center;
    position: relative;
    padding-block-end: var(--sp-5);
}
.lp-section-title::after {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    inline-size: 64px;
    block-size: 4px;
    background: var(--grad-wave-cool);
    border-radius: var(--r-pill);
}
html[dir="rtl"] .lp-section-title::after {
    transform: translateX(50%);
}
.lp-section-subtitle {
    color: var(--text-3);
    font-size: var(--text-lg);
    line-height: var(--lh-snug);
    text-align: center;
    margin-block: 0 var(--sp-8);
    margin-inline: auto;
    max-width: 760px;
}

[data-i18n-missing] {
    outline: 2px dashed var(--warning);
    outline-offset: 2px;
}

/* ── text.css ───────────────────────────────────────────────────────── */
.lp-section-text .lp-section-body {
    color: var(--text-2);
    font-size: var(--text-base);
    line-height: var(--lh-relaxed);
    max-width: 800px;
    margin-inline: auto;
    text-align: start;
}
.lp-section-text .lp-section-body p {
    margin-block: 0 var(--sp-4);
}
.lp-section-text .lp-section-body a {
    color: var(--blue);
}

/* ── features.css ───────────────────────────────────────────────────── */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-8);
}
.lp-feature {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding-block: var(--sp-8);
    padding-inline: var(--sp-6);
    text-align: center;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.lp-feature-icon {
    inline-size: 64px;
    block-size: 64px;
    margin-block: 0 var(--sp-5);
    margin-inline: auto;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.lp-feature-title {
    color: var(--text-1);
    font-size: var(--text-lg);
    font-weight: var(--fw-semi);
    margin-block: 0 var(--sp-3);
}
.lp-feature-desc {
    color: var(--text-2);
    font-size: var(--text-base);
    line-height: var(--lh-normal);
}

/* ── faq.css ────────────────────────────────────────────────────────── */
.lp-faq-accordion {
    max-width: 820px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.lp-faq-item {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding-block: var(--sp-2);
    padding-inline: var(--sp-5);
    transition: box-shadow var(--t-base);
}
.lp-faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--blue-light);
}
.lp-faq-question {
    color: var(--text-1);
    font-size: var(--text-md);
    font-weight: var(--fw-semi);
    padding-block: var(--sp-4);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-inline-end: var(--sp-8);
    text-align: start;
}
.lp-faq-question::-webkit-details-marker { display: none; }
.lp-faq-question::after {
    content: "+";
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 1;
    color: var(--blue);
    transition: transform var(--t-base);
}
.lp-faq-item[open] .lp-faq-question::after {
    content: "−";
    color: var(--accent-red);
}
.lp-faq-answer {
    color: var(--text-2);
    font-size: var(--text-base);
    line-height: var(--lh-relaxed);
    padding-block: 0 var(--sp-4);
    text-align: start;
}

/* ── cta.css ────────────────────────────────────────────────────────── */
.lp-section-cta {
    background: var(--grad-brand-r);
    background-size: cover;
    background-position: center;
    color: var(--text-inv);
    text-align: center;
    padding-block: var(--sp-20);
    padding-inline: var(--sp-4);
    position: relative;
}
.lp-section-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 0, 76, 0.55);
    pointer-events: none;
}
.lp-section-cta .container {
    position: relative;
    z-index: 1;
}
.lp-cta-title {
    color: var(--text-inv);
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    line-height: var(--lh-tight);
    margin-block: 0 var(--sp-5);
}
.lp-cta-desc {
    color: var(--text-inv);
    font-size: var(--text-md);
    line-height: var(--lh-snug);
    margin-block: 0 var(--sp-8);
    margin-inline: auto;
    max-width: 680px;
    opacity: 0.92;
}
.lp-cta-button.btn.btn-primary,
.lp-cta-button {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--navy-dark);
    font-weight: var(--fw-bold);
    font-size: var(--text-md);
    padding-block: var(--sp-4);
    padding-inline: var(--sp-10);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow);
    transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.lp-cta-button.btn.btn-primary:hover,
.lp-cta-button:hover,
.lp-cta-button:focus {
    background: var(--accent-cream);
    border-color: var(--accent-cream);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ── gallery.css ────────────────────────────────────────────────────── */
.lp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-3);
}
.lp-gallery-item {
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-muted);
}
.lp-gallery-item img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow);
}
.lp-gallery-item:hover img {
    transform: scale(1.05);
}

/* ── cards.css ──────────────────────────────────────────────────────── */
.lp-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-8);
}
.lp-card {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.lp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.lp-card-media {
    margin: 0;
    aspect-ratio: 16 / 10;
    background: var(--bg-muted);
    overflow: hidden;
}
.lp-card-media img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow);
}
.lp-card:hover .lp-card-media img {
    transform: scale(1.05);
}
.lp-card-body {
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    flex: 1;
    text-align: start;
}
.lp-card-title {
    color: var(--text-1);
    font-size: var(--text-lg);
    font-weight: var(--fw-semi);
    margin: 0;
}
.lp-card-desc {
    color: var(--text-2);
    font-size: var(--text-base);
    line-height: var(--lh-normal);
    flex: 1;
}
.lp-card-link {
    align-self: flex-start;
    color: var(--blue);
    font-weight: var(--fw-semi);
    text-decoration: none;
    margin-block-start: var(--sp-2);
}
.lp-card-link::after {
    content: " →";
    transition: transform var(--t-base);
    display: inline-block;
}
html[dir="rtl"] .lp-card-link::after {
    content: " ←";
}
.lp-card-link:hover {
    color: var(--navy);
    text-decoration: none;
}
.lp-card-link:hover::after {
    transform: translateX(4px);
}
html[dir="rtl"] .lp-card-link:hover::after {
    transform: translateX(-4px);
}

/* ── responsive.css ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .lp-features-grid,
    .lp-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lp-section {
        padding-block: var(--sp-16);
    }
}

@media (max-width: 768px) {
    .lp-hero {
        padding-block: var(--sp-16) var(--sp-12);
        padding-inline: var(--sp-4);
    }
    .lp-hero h1 { font-size: var(--text-2xl); }
    .lp-hero p  { font-size: var(--text-base); }

    .lp-section { padding-block: var(--sp-12); }
    .lp-section-title { font-size: var(--text-xl); }
    .lp-cta-title { font-size: var(--text-2xl); }

    .lp-features-grid,
    .lp-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--sp-5);
    }
    .lp-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .lp-hero {
        min-height: clamp(360px, 56vh, 560px);
    }
    .lp-hero h1 { font-size: var(--text-xl); }

    .lp-features-grid,
    .lp-cards-grid,
    .lp-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .lp-faq-item {
        padding-inline: var(--sp-3);
    }
    .lp-feature {
        padding-block: var(--sp-6);
        padding-inline: var(--sp-4);
    }
    .lp-cta-title { font-size: var(--text-xl); }
    .lp-cta-button.btn.btn-primary,
    .lp-cta-button {
        padding-inline: var(--sp-6);
    }
}
