/* ============================================================
   العنقاء — Public Landing Page
   Self-contained, CDN-free. Dark brand theme (RTL).
   ============================================================ */
:root {
    --lp-bg: #0b0f22;
    --lp-bg-2: #10152e;
    --lp-card: #141a33;
    --lp-line: rgba(130, 138, 190, 0.20);
    --lp-text: #e9ecf8;
    --lp-muted: #98a0c8;
    --lp-primary: #6366f1;
    --lp-secondary: #8b5cf6;
    --lp-accent: #ec4899;
    --lp-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #ec4899 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
    background: var(--lp-bg);
    color: var(--lp-text);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; gap: .5rem; border: 0; cursor: pointer; font-family: inherit;
    font-weight: 700; font-size: .95rem; padding: .7rem 1.4rem; border-radius: 999px; transition: transform .15s, filter .15s, background .15s; }
.lp-btn-primary { background: var(--lp-grad); color: #fff; box-shadow: 0 8px 24px rgba(99, 102, 241, .35); }
.lp-btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.lp-btn-ghost { background: rgba(255, 255, 255, .04); color: var(--lp-text); border: 1px solid var(--lp-line); }
.lp-btn-ghost:hover { border-color: var(--lp-primary); background: rgba(99, 102, 241, .12); }

/* Nav */
.lp-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
    background: rgba(11, 15, 34, .72); border-bottom: 1px solid var(--lp-line); }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.lp-brand { display: flex; align-items: center; gap: .6rem; }
.lp-brand img { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(139, 92, 246, .4)); }
.lp-brand .name { font-weight: 900; font-size: 1.3rem; background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-nav-links { display: flex; align-items: center; gap: 1.4rem; }
.lp-nav-links a.link { color: var(--lp-muted); font-weight: 600; font-size: .92rem; transition: color .15s; }
.lp-nav-links a.link:hover { color: var(--lp-text); }
@media (max-width: 767px) { .lp-nav-links a.link { display: none; } }

/* Hero */
.lp-hero { position: relative; overflow: hidden; padding: 4.5rem 0 4rem; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(60% 60% at 85% 20%, rgba(139, 92, 246, .22), transparent 70%),
        radial-gradient(50% 50% at 10% 90%, rgba(236, 72, 153, .16), transparent 70%),
        linear-gradient(180deg, var(--lp-bg) 0%, var(--lp-bg-2) 100%); }
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .lp-hero-grid { grid-template-columns: 1fr; text-align: center; } }
.lp-kicker { display: inline-flex; align-items: center; gap: .45rem; background: rgba(139, 92, 246, .14);
    border: 1px solid rgba(139, 92, 246, .3); color: #c4b5fd; border-radius: 999px; padding: .3rem .9rem; font-size: .82rem; font-weight: 700; margin-bottom: 1.1rem; }
.lp-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin: 0 0 1rem; }
.lp-hero h1 .grad { background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-hero .lead { color: var(--lp-muted); font-size: 1.12rem; max-width: 560px; margin: 0 0 1.8rem; }
@media (max-width: 900px) { .lp-hero .lead { margin-inline: auto; } }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 900px) { .lp-hero-cta { justify-content: center; } }
.lp-hero-art { position: relative; }
.lp-hero-art img { width: 100%; border-radius: 24px; border: 1px solid var(--lp-line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lp-hero-art::after { content: ""; position: absolute; inset: -2px; border-radius: 26px;
    background: var(--lp-grad); opacity: .25; filter: blur(28px); z-index: -1; }

/* Section shell */
.lp-section { padding: 4rem 0; }
.lp-section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.lp-section-head .tag { color: var(--lp-secondary); font-weight: 800; font-size: .85rem; letter-spacing: .5px; }
.lp-section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; margin: .3rem 0 .6rem; letter-spacing: -.5px; }
.lp-section-head p { color: var(--lp-muted); margin: 0; }

/* Feature grid */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-card { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 16px; padding: 1.5rem;
    transition: transform .18s, border-color .18s, box-shadow .18s; }
.lp-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ac, #6366f1) 55%, var(--lp-line)); box-shadow: 0 16px 36px rgba(0, 0, 0, .38); }
.lp-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem;
    background: color-mix(in srgb, var(--ac, #6366f1) 16%, transparent); color: var(--ac, #6366f1); margin-bottom: 1rem; }
.lp-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .4rem; }
.lp-card p { color: var(--lp-muted); font-size: .92rem; margin: 0; }

/* Pillars */
.lp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 767px) { .lp-pillars { grid-template-columns: 1fr; } }
.lp-pillar { display: flex; gap: .9rem; align-items: flex-start; background: rgba(255,255,255,.02);
    border: 1px solid var(--lp-line); border-radius: 14px; padding: 1.2rem; }
.lp-pillar i { color: var(--lp-secondary); font-size: 1.5rem; flex: 0 0 auto; }
.lp-pillar h4 { margin: 0 0 .25rem; font-weight: 800; }
.lp-pillar p { margin: 0; color: var(--lp-muted); font-size: .9rem; }

/* CTA band */
.lp-cta { position: relative; overflow: hidden; border-radius: 24px; padding: 3rem 2rem; text-align: center;
    background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(139,92,246,.12) 45%, rgba(236,72,153,.18));
    border: 1px solid var(--lp-line); }
.lp-cta h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; margin: 0 0 .6rem; letter-spacing: -.5px; }
.lp-cta p { color: var(--lp-muted); margin: 0 auto 1.6rem; max-width: 560px; }
.lp-cta .lp-hero-cta { justify-content: center; }

/* Footer */
.lp-footer { border-top: 1px solid var(--lp-line); padding: 2rem 0; margin-top: 3rem; }
.lp-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; color: var(--lp-muted); font-size: .88rem; }
.lp-footer a { color: var(--lp-muted); } .lp-footer a:hover { color: var(--lp-text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Social / follow (lives in the footer, centered, with a divider) */
.lp-follow { text-align: center; margin: 0 0 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--lp-line); }
.lp-follow h3 { font-weight: 800; font-size: 1.1rem; margin: 0 0 1.1rem; color: var(--lp-text); }
.lp-social { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 640px; margin: 0 auto; }
.lp-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--lp-line); color: var(--lp-muted); transition: all .18s; }
.lp-social a:hover { color: #fff; background: var(--sc); border-color: var(--sc); transform: translateY(-3px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--sc) 45%, transparent); }
