/* ==========================================================================
   Lexora landing page
   Layout responds to the width of .lp (container queries), not the viewport,
   so the same markup works full-bleed for guests and inside the app shell
   (sidebars) for signed-in users.
   ========================================================================== */

.lp,
.lp-header {
    --lp-ink: #0a0f1f;
    --lp-ink-2: #111a33;
    --lp-brand: #4f46e5;
    --lp-brand-2: #7c3aed;
    --lp-gold: #d4a73a;
    --lp-gold-2: #f1d27a;
    --lp-bg: #f6f8ff;
    --lp-card: #ffffff;
    --lp-line: #e3e8f6;
    --lp-text: #0f1628;
    --lp-muted: #5b6585;
    --lp-green: #10b981;
    --lp-red: #ef4444;
    --lp-radius: 20px;
    --lp-shadow: 0 1px 2px rgba(15, 22, 40, .05), 0 12px 32px -12px rgba(15, 22, 40, .14);
    font-family: 'Cairo', 'Inter', system-ui, sans-serif;
}

.lp { container-type: inline-size; container-name: lp; color: var(--lp-text); background: #fff; line-height: 1.7; overflow-x: clip; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
:where(.lp) :is(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
:where(.lp) :is(ul, ol) { list-style: none; }
:where(.lp) a { text-decoration: none; color: inherit; }
:where(.lp) img { max-width: 100%; display: block; }

.lp-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.lp-wrap--narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .7rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: .95rem; line-height: 1.2; font-family: inherit; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }
.lp-btn--brand { background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2)); color: #fff !important; box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .55); }
.lp-btn--dark { background: var(--lp-ink); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(10, 15, 31, .6); }
.lp-btn--gold { background: linear-gradient(135deg, var(--lp-gold-2), var(--lp-gold)); color: #1b1404 !important; box-shadow: 0 12px 28px -10px rgba(212, 167, 58, .7); }
.lp-btn--gold-solid { background: linear-gradient(135deg, var(--lp-gold-2), var(--lp-gold)); color: #1b1404 !important; }
.lp-btn--outline { background: #fff; color: var(--lp-text) !important; border-color: var(--lp-line); }
.lp-btn--outline:hover { border-color: var(--lp-brand); }
.lp-btn--outline-light { background: rgba(255, 255, 255, .06); color: #fff !important; border-color: rgba(255, 255, 255, .28); }
.lp-btn--outline-light:hover { background: rgba(255, 255, 255, .14); }
.lp-btn--ghost { background: transparent; color: var(--lp-text) !important; }
[dir="rtl"] .lp-arrow { transform: scaleX(-1); }

/* ---------- header (guests) ---------- */
.lp-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--lp-line); }
.lp-header-inner { max-width: 1180px; margin-inline: auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 1.5rem; }
.lp-logo img { height: 34px; width: auto; }
.lp-nav { display: flex; align-items: center; gap: 1.6rem; margin-inline-start: 1rem; flex: 1; }
.lp-nav > a { font-weight: 600; font-size: .93rem; color: var(--lp-muted); transition: color .2s; }
.lp-nav > a:hover { color: var(--lp-brand); }
.lp-nav-auth { display: flex; gap: .5rem; margin-inline-start: auto; }
.lp-header-tools { display: flex; align-items: center; gap: .6rem; }
.lp-lang { display: inline-flex; background: var(--lp-bg); border-radius: 999px; padding: 3px; }
.lp-lang .lang-btn { border: 0; background: transparent; font-weight: 700; font-size: .72rem; line-height: 1; font-family: inherit; padding: .42rem .7rem; border-radius: 999px; color: var(--lp-muted); cursor: pointer; }
.lp-lang .lang-btn.active { background: var(--lp-brand); color: #fff; }
.lp-burger { display: none; width: 42px; height: 42px; border: 0; background: var(--lp-bg); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.lp-burger span { width: 18px; height: 2px; background: var(--lp-text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.lp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .lp-burger { display: inline-flex; }
    .lp-nav { position: absolute; inset-inline: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem 20px 1rem; background: #fff; border-bottom: 1px solid var(--lp-line); box-shadow: 0 20px 40px -20px rgba(15, 22, 40, .25); display: none; }
    .lp-nav.is-open { display: flex; }
    .lp-nav > a { padding: .85rem 0; border-bottom: 1px solid var(--lp-line); font-size: 1rem; }
    .lp-nav-auth { margin: .9rem 0 0; }
    .lp-nav-auth .lp-btn { flex: 1; }
    .lp-header-inner { justify-content: space-between; }
    .lp-header-tools { margin-inline-start: auto; }
}

/* ---------- hero ---------- */
.lp-hero, .lp-end { position: relative; background: var(--lp-ink); color: #fff; overflow: hidden; isolation: isolate; }
.lp-hero { padding: 4rem 0 5rem; }
.lp-hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 55% at 85% 0%, rgba(124, 58, 237, .45), transparent 70%),
        radial-gradient(50% 50% at 5% 100%, rgba(79, 70, 229, .4), transparent 70%),
        radial-gradient(30% 30% at 50% 110%, rgba(212, 167, 58, .22), transparent 70%),
        linear-gradient(180deg, #0a0f1f, #0d1430);
}
.lp-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
    mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.lp-hero-grid { display: grid; gap: 3rem; align-items: center; }
.lp-hero-copy { min-width: 0; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .82rem; font-weight: 700; color: #e6e9ff; }
.lp-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-gold); box-shadow: 0 0 0 4px rgba(212, 167, 58, .25); }
.lp-h1 { margin-top: 1.25rem; font-size: clamp(2.2rem, 7.5cqi, 3.9rem); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; }
.lp-h1-line { display: block; }
.lp-h1-accent { background: linear-gradient(100deg, var(--lp-gold-2), var(--lp-gold) 40%, #fff 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-sub { margin-top: 1.25rem; max-width: 560px; font-size: clamp(1rem, 2.4cqi, 1.12rem); color: #c5cae6; }

.lp-pick { margin-top: 1.75rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.lp-pick-label { font-weight: 700; color: #aab1d6; font-size: .9rem; }
.lp-pick-tabs { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.lp-pick-tab { border: 0; background: transparent; color: #cfd4f2; font-weight: 700; font-size: .9rem; line-height: 1; font-family: inherit; padding: .6rem 1.15rem; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.lp-pick-tab:hover { color: #fff; }
.lp-pick-tab.is-active { background: #fff; color: var(--lp-ink); }
.lp-pick-panels { margin-top: 1.25rem; min-height: 7.4rem; }
.lp-pick-panel { display: none; }
.lp-pick-panel.is-active { display: block; animation: lp-fade .35s ease; }
.lp-pick-panel p { max-width: 520px; color: #e6e9ff; font-size: 1.02rem; margin-bottom: 1.1rem; }
.lp-hero-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.lp-hero-foot { margin-top: 1.4rem; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; font-size: .88rem; color: #aab1d6; }
.lp-link-light { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .35); }
.lp-dot-sep { width: 4px; height: 4px; border-radius: 50%; background: #66709a; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* product mock */
.lp-hero-visual { position: relative; min-width: 0; padding: 0 4px 24px; }
.lp-mock { border-radius: 20px; background: #0f1830; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow: hidden; direction: ltr; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
[dir="rtl"] .lp-mock { direction: rtl; transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4468; }
.lp-mock-bar i:nth-child(1) { background: #f87171; } .lp-mock-bar i:nth-child(2) { background: #fbbf24; } .lp-mock-bar i:nth-child(3) { background: #34d399; }
.lp-mock-badge { margin-inline-start: auto; font-size: .68rem; font-weight: 700; color: #aab1d6; padding: .15rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.lp-mock-body { display: grid; grid-template-columns: 46px 1fr; min-height: 300px; }
.lp-mock-side { padding: .9rem 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; background: rgba(0, 0, 0, .18); }
.lp-mock-side b { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .1); }
.lp-mock-side b.on { background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2)); }
.lp-mock-main { padding: .9rem; display: grid; gap: .8rem; min-width: 0; }
.lp-mock-stats { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: .6rem; }
.lp-mock-stat { padding: .6rem .7rem; border-radius: 12px; background: rgba(255, 255, 255, .06); display: grid; gap: .1rem; min-width: 0; }
.lp-mock-stat small { font-size: .62rem; color: #9aa3cc; line-height: 1.3; }
.lp-mock-stat strong { font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.2; }
.lp-mock-stat strong em { font-style: normal; font-size: .62rem; font-weight: 700; color: #aab1d6; }
.lp-mock-stat--gold { background: linear-gradient(135deg, rgba(212, 167, 58, .28), rgba(212, 167, 58, .08)); border: 1px solid rgba(212, 167, 58, .35); }
.lp-mock-chart { height: 84px; display: flex; align-items: flex-end; gap: 7px; padding: .6rem .7rem 0; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.lp-mock-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #6d63f0, #3b34b8); opacity: .8; transform-origin: bottom; animation: lp-grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.lp-mock-chart i.hl { background: linear-gradient(180deg, var(--lp-gold-2), var(--lp-gold)); opacity: 1; }
.lp-mock-chart i:nth-child(2) { animation-delay: .06s; } .lp-mock-chart i:nth-child(3) { animation-delay: .12s; } .lp-mock-chart i:nth-child(4) { animation-delay: .18s; } .lp-mock-chart i:nth-child(5) { animation-delay: .24s; } .lp-mock-chart i:nth-child(6) { animation-delay: .3s; } .lp-mock-chart i:nth-child(7) { animation-delay: .36s; }
@keyframes lp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lp-mock-list { display: grid; gap: .35rem; }
.lp-mock-list > small { font-size: .65rem; color: #9aa3cc; font-weight: 700; }
.lp-mock-row { display: flex; align-items: center; gap: .55rem; padding: .5rem .65rem; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: .74rem; color: #e6e9ff; }
.lp-mock-row b { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-mock-row em { font-style: normal; color: #9aa3cc; font-size: .66rem; white-space: nowrap; }
.lp-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-brand-2); flex-shrink: 0; }
.lp-mock-dot--b { background: #38bdf8; } .lp-mock-dot--g { background: var(--lp-gold); }

.lp-float { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; border-radius: 14px; background: #fff; color: var(--lp-text); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); font-size: .78rem; font-weight: 700; max-width: 250px; animation: lp-bob 5s ease-in-out infinite; }
.lp-float--a { inset-inline-start: -4px; bottom: 0; }
.lp-float--b { inset-inline-end: 6px; top: -14px; animation-delay: -2.2s; }
.lp-float-ic { width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(79, 70, 229, .12); color: var(--lp-brand); flex-shrink: 0; }
.lp-float-ic--lock { background: rgba(212, 167, 58, .18); color: #a47a12; }
.lp-float-t { display: grid; line-height: 1.35; }
.lp-float-t small { font-weight: 600; color: var(--lp-muted); font-size: .68rem; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@container lp (min-width: 920px) {
    .lp-hero { padding: 5.5rem 0 6.5rem; }
    .lp-hero-grid { grid-template-columns: 1.02fr 1fr; gap: 3.5rem; }
}
@container lp (max-width: 520px) {
    .lp-float--b { display: none; }
    .lp-mock { transform: none !important; }
    .lp-pick { flex-direction: column; align-items: flex-start; }
    .lp-pick-tabs { width: 100%; }
    .lp-pick-tab { flex: 1; padding-inline: .5rem; }
    .lp-hero-actions .lp-btn, .lp-pick-panel .lp-btn { width: 100%; }
    .lp-mock-stats { grid-template-columns: 1fr 1fr; }
    .lp-mock-stat--gold { grid-column: 1 / -1; }
}

/* ---------- trust strip ---------- */
.lp-trust { background: #fff; border-bottom: 1px solid var(--lp-line); padding: 1.6rem 0; }
.lp-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.5rem; }
.lp-trust-grid li { display: flex; align-items: center; gap: .8rem; }
.lp-trust-ic { width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--lp-bg); color: var(--lp-brand); flex-shrink: 0; }
.lp-trust-grid strong { display: block; font-size: .95rem; line-height: 1.35; }
.lp-trust-grid span:not(.lp-trust-ic) { font-size: .82rem; color: var(--lp-muted); }
.lp-counts { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px dashed var(--lp-line); display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 3.5rem; }
.lp-count { display: flex; align-items: baseline; gap: .6rem; }
.lp-count b { font-size: 2rem; font-weight: 800; color: var(--lp-brand); line-height: 1; font-variant-numeric: tabular-nums; }
.lp-count span { color: var(--lp-muted); font-weight: 600; font-size: .92rem; }

/* ---------- sections ---------- */
.lp-sec { padding: 5rem 0; position: relative; }
.lp-sec--tint { background: var(--lp-bg); }
.lp-sec--slim { padding: 3.5rem 0; }
.lp-sec--dark { background: var(--lp-ink); color: #fff; overflow: hidden; isolation: isolate; }
.lp-sec-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 80% 30%, rgba(124, 58, 237, .35), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(212, 167, 58, .16), transparent 70%); }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.lp-head--tight { margin-bottom: 2rem; }
.lp-head h2 { margin-top: .9rem; font-size: clamp(1.6rem, 5cqi, 2.4rem); font-weight: 800; line-height: 1.35; }
.lp-head p { margin-top: .8rem; color: var(--lp-muted); font-size: 1.04rem; }
.lp-badge { display: inline-block; padding: .3rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 800; background: rgba(79, 70, 229, .1); color: var(--lp-brand); }
.lp-badge--warn { background: rgba(239, 68, 68, .1); color: #c53030; }
.lp-badge--gold { background: rgba(212, 167, 58, .16); color: #8a6508; }
.lp-badge--dark { background: rgba(255, 255, 255, .1); color: #e6e9ff; }
.lp-center { display: flex; justify-content: center; margin-top: 2.6rem; }
.lp-actions { gap: .8rem; flex-wrap: wrap; }

.lp-checks { display: grid; gap: .55rem; }
.lp-checks li { position: relative; padding-inline-start: 1.7rem; font-size: .94rem; color: var(--lp-text); }
.lp-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: rgba(16, 185, 129, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ---------- paths ---------- */
.lp-paths { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.lp-path { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.8rem; border-radius: var(--lp-radius); background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.lp-path:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(15, 22, 40, .05), 0 26px 50px -18px rgba(15, 22, 40, .22); }
.lp-path::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; border-radius: var(--lp-radius) var(--lp-radius) 0 0; background: var(--c, var(--lp-brand)); }
.lp-path--office { --c: linear-gradient(90deg, #0a0f1f, #3b4a8a); }
.lp-path--consultant { --c: linear-gradient(90deg, var(--lp-brand), var(--lp-brand-2)); }
.lp-path--client { --c: linear-gradient(90deg, var(--lp-gold), var(--lp-gold-2)); }
.lp-path-tag { align-self: flex-start; font-size: .75rem; font-weight: 800; padding: .25rem .8rem; border-radius: 999px; background: var(--lp-bg); color: var(--lp-muted); }
.lp-path h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.4; }
.lp-path-desc { color: var(--lp-muted); font-size: .96rem; }
.lp-path .lp-checks { margin-top: .3rem; flex: 1; }
.lp-path-price { font-weight: 800; font-size: .92rem; padding: .7rem .9rem; border-radius: 12px; background: var(--lp-bg); }
.lp-path .lp-btn { width: 100%; }
.lp-path-link { text-align: center; font-size: .86rem; font-weight: 700; color: var(--lp-brand); text-decoration: underline; text-underline-offset: 3px; }

@container lp (min-width: 900px) {
    .lp-paths { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- problem explorer ---------- */
.lp-explorer { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.lp-ex-tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lp-ex-tabs::-webkit-scrollbar { display: none; }
.lp-ex-tab { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: 14px; border: 1.5px solid var(--lp-line); background: #fff; font-weight: 700; font-size: .9rem; line-height: 1.3; font-family: inherit; color: var(--lp-muted); cursor: pointer; text-align: start; overflow: hidden; transition: border-color .2s, color .2s, background-color .2s; }
.lp-ex-tab i { font-style: normal; font-size: .72rem; font-weight: 800; opacity: .55; font-variant-numeric: tabular-nums; }
.lp-ex-tab:hover { border-color: #c5cdea; color: var(--lp-text); }
.lp-ex-tab.is-active { border-color: var(--lp-brand); color: var(--lp-text); background: #f2f1ff; }
.lp-ex-tab u { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--lp-brand), var(--lp-brand-2)); transform: scaleX(0); transform-origin: left; text-decoration: none; }
[dir="rtl"] .lp-ex-tab u { transform-origin: right; }
.lp-ex-tab.is-active.is-playing u { animation: lp-progress var(--lp-ex-ms, 8000ms) linear forwards; }
@keyframes lp-progress { to { transform: scaleX(1); } }

.lp-ex-stage { min-width: 0; display: flex; }
.lp-ex-stage > .lp-ex-panel.is-active { flex: 1; }
.lp-ex-panel { display: none; gap: .9rem; grid-template-columns: 1fr; align-items: stretch; }
.lp-ex-panel.is-active { display: grid; animation: lp-fade .4s ease; }
.lp-ex-problem, .lp-ex-solution { padding: 1.7rem; border-radius: var(--lp-radius); display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.lp-ex-problem { background: linear-gradient(160deg, #fff5f5, #fff); border: 1px solid #fcd9d9; }
.lp-ex-solution { background: var(--lp-ink); color: #fff; align-items: flex-start; }
.lp-tag { align-self: flex-start; padding: .25rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.lp-tag--red { background: rgba(239, 68, 68, .12); color: #c53030; }
.lp-tag--green { background: rgba(52, 211, 153, .18); color: #7ee3bd; }
.lp-ex-quote { font-size: clamp(1.15rem, 3.4cqi, 1.5rem); font-weight: 800; line-height: 1.7; color: var(--lp-text); }
.lp-ex-quote::before { content: "“"; color: #e58a8a; margin-inline-end: .2rem; }
.lp-ex-quote::after { content: "”"; color: #e58a8a; margin-inline-start: .2rem; }
.lp-ex-link { display: none; }
.lp-ex-sol { font-size: 1.02rem; color: #dfe3fa; line-height: 1.85; }
.lp-ex-solution .lp-checks li { color: #e6e9ff; }
.lp-ex-solution .lp-btn { margin-top: .4rem; }

@container lp (min-width: 920px) {
    .lp-explorer { grid-template-columns: 270px 1fr; gap: 1.5rem; }
    .lp-ex-tabs { flex-direction: column; overflow: visible; padding: 0; }
    .lp-ex-tab { width: 100%; padding: .95rem 1.1rem; }
    .lp-ex-panel { grid-template-columns: 1fr 1.2fr; gap: 0; position: relative; }
    .lp-ex-problem { border-radius: var(--lp-radius) 0 0 var(--lp-radius); }
    .lp-ex-solution { border-radius: 0 var(--lp-radius) var(--lp-radius) 0; }
    [dir="rtl"] .lp-ex-problem { border-radius: 0 var(--lp-radius) var(--lp-radius) 0; }
    [dir="rtl"] .lp-ex-solution { border-radius: var(--lp-radius) 0 0 var(--lp-radius); }
    .lp-ex-link { display: flex; position: absolute; top: 50%; inset-inline-start: calc(45.45% - 20px); width: 40px; height: 40px; margin-top: -20px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--lp-brand); box-shadow: 0 8px 22px rgba(15, 22, 40, .22); z-index: 2; }
    .lp-ex-link svg { transform: rotate(-90deg); }
    [dir="rtl"] .lp-ex-link svg { transform: rotate(90deg); }
}

/* ---------- bento ---------- */
.lp-bento { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.lp-tile { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; border-radius: var(--lp-radius); background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.lp-tile:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 22, 40, .05), 0 24px 46px -18px rgba(15, 22, 40, .2); }
.lp-tile h3 { font-size: 1.12rem; font-weight: 800; }
.lp-tile p { color: var(--lp-muted); font-size: .93rem; }
.lp-tile-ic { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(79, 70, 229, .1); color: var(--lp-brand); }
.lp-tile-ic--gold { background: rgba(212, 167, 58, .16); color: #96700b; }
.lp-tile-ic--violet { background: rgba(124, 58, 237, .12); color: var(--lp-brand-2); }
.lp-tile--wide { gap: 1.2rem; }
.lp-tile-txt { display: flex; flex-direction: column; gap: .7rem; }
.lp-tile-viz { border-radius: 14px; background: var(--lp-bg); padding: .9rem; }
.lp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-content: center; }
.lp-cal i { aspect-ratio: 1; border-radius: 8px; background: #fff; border: 1px solid var(--lp-line); position: relative; }
.lp-cal i.on { background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2)); border-color: transparent; }
.lp-cal i.dot::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--lp-gold); }
.lp-bars { display: flex; align-items: flex-end; gap: 9px; height: 130px; }
.lp-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #8c84f5, var(--lp-brand)); }
.lp-bars i:last-child { background: linear-gradient(180deg, var(--lp-gold-2), var(--lp-gold)); }

@container lp (min-width: 640px) {
    .lp-bento { grid-template-columns: repeat(2, 1fr); }
    .lp-tile--wide { grid-column: span 2; flex-direction: row; align-items: center; }
    .lp-tile--wide .lp-tile-txt { flex: 1.1; }
    .lp-tile--wide .lp-tile-viz { flex: 1; }
}
@container lp (min-width: 980px) {
    .lp-bento { grid-template-columns: repeat(4, 1fr); }
    .lp-tile--wide { grid-column: span 2; }
}

/* ---------- security ---------- */
.lp-sec-grid { display: grid; gap: 3rem; align-items: center; }
.lp-sec-copy h2 { margin-top: .9rem; font-size: clamp(1.6rem, 5cqi, 2.4rem); font-weight: 800; line-height: 1.4; }
.lp-sec-lead { margin-top: .9rem; color: #c5cae6; font-size: 1.04rem; }
.lp-sec-list { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.lp-sec-list li { display: flex; gap: .9rem; align-items: flex-start; }
.lp-sec-ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(212, 167, 58, .16); color: var(--lp-gold-2); flex-shrink: 0; }
.lp-sec-list strong { display: block; font-size: 1rem; }
.lp-sec-list span:not(.lp-sec-ic) { color: #aab1d6; font-size: .9rem; }
.lp-sec-visual { display: flex; justify-content: center; }
.lp-lock { position: relative; width: 100%; max-width: 400px; padding: 1.2rem; border-radius: 22px; background: linear-gradient(160deg, #162044, #0f1830); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.lp-lock-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.lp-lock-title { font-weight: 800; }
.lp-lock-pill { font-size: .7rem; font-weight: 800; padding: .2rem .7rem; border-radius: 999px; background: rgba(212, 167, 58, .18); color: var(--lp-gold-2); }
.lp-lock-lines { display: grid; gap: .55rem; filter: blur(5px); opacity: .75; }
.lp-lock-lines i { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .22); }
.lp-lock-lines i:nth-child(2) { width: 78%; } .lp-lock-lines i:nth-child(3) { width: 55%; }
.lp-lock-gate { margin-top: -62px; position: relative; display: grid; justify-items: center; gap: .7rem; padding: 1.5rem 1rem 1.3rem; border-radius: 18px; background: rgba(10, 15, 31, .78); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); text-align: center; color: var(--lp-gold-2); }
.lp-lock-gate p { color: #dfe3fa; font-size: .88rem; font-weight: 700; }
.lp-pin { display: flex; gap: .5rem; direction: ltr; }
.lp-pin b { width: 34px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); position: relative; }
.lp-pin b:not(.empty)::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; }
.lp-pin b.empty { border-color: rgba(212, 167, 58, .6); animation: lp-blink 1.4s ease-in-out infinite; }
@keyframes lp-blink { 50% { background: rgba(212, 167, 58, .22); } }
@container lp (min-width: 900px) { .lp-sec-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

/* ---------- journey ---------- */
.lp-steps { display: grid; gap: 1.1rem; grid-template-columns: 1fr; counter-reset: s; }
.lp-step { position: relative; padding: 1.5rem; border-radius: var(--lp-radius); background: var(--lp-bg); border: 1px solid var(--lp-line); }
.lp-step-n { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2)); box-shadow: 0 10px 20px -8px rgba(79, 70, 229, .6); margin-bottom: .9rem; }
.lp-step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .35rem; }
.lp-step p { color: var(--lp-muted); font-size: .93rem; }
@container lp (min-width: 640px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } }
@container lp (min-width: 980px) {
    .lp-steps { grid-template-columns: repeat(4, 1fr); }
    .lp-step:not(:last-child)::after { content: ""; position: absolute; top: 44px; inset-inline-start: calc(100% - 4px); width: calc(1.1rem + 8px); height: 2px; background: repeating-linear-gradient(90deg, #b9c0e4 0 6px, transparent 6px 12px); z-index: 1; }
}

/* ---------- directory ---------- */
.lp-dir-title { font-size: 1.05rem; font-weight: 800; margin: 2rem 0 1rem; color: var(--lp-muted); }
.lp-dir { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.lp-person { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.2rem; border-radius: 18px; background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); transition: transform .25s ease, border-color .25s ease; }
.lp-person:hover { transform: translateY(-4px); border-color: #b9b4f7; }
.lp-person-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2)); color: #fff; font-weight: 800; margin-bottom: .4rem; }
.lp-person-av--sq { border-radius: 16px; background: linear-gradient(135deg, #0a0f1f, #3b4a8a); }
.lp-person-av img { width: 100%; height: 100%; object-fit: cover; }
.lp-person-name { font-weight: 800; line-height: 1.4; display: inline-flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.lp-person-meta { font-size: .82rem; color: var(--lp-muted); line-height: 1.5; }
.lp-person-meta--loc::before { content: "📍 "; }
.lp-person-cta { margin-top: auto; padding-top: .7rem; font-size: .85rem; font-weight: 800; color: var(--lp-brand); }
.lp-person-cta::after { content: " →"; }
[dir="rtl"] .lp-person-cta::after { content: " ←"; }
.lp-empty { color: var(--lp-muted); grid-column: 1 / -1; }

/* ---------- pricing band ---------- */
.lp-price { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; align-items: stretch; }
.lp-price-card { display: grid; gap: .25rem; padding: 1.4rem; border-radius: var(--lp-radius); background: var(--lp-bg); border: 1px solid var(--lp-line); }
.lp-price-card small { font-weight: 800; color: var(--lp-muted); }
.lp-price-card strong { font-size: 1.7rem; font-weight: 800; color: var(--lp-text); }
.lp-price-card span { color: var(--lp-muted); font-size: .9rem; }
.lp-price-card--hi { background: var(--lp-ink); border-color: var(--lp-ink); }
.lp-price-card--hi small, .lp-price-card--hi span { color: #aab1d6; }
.lp-price-card--hi strong { color: var(--lp-gold-2); }
.lp-price-cta { align-self: center; justify-self: center; }
@container lp (min-width: 760px) { .lp-price { grid-template-columns: 1fr 1fr auto; } }

/* ---------- faq ---------- */
.lp-faq { display: grid; gap: .7rem; }
.lp-faq details { border-radius: 16px; background: #fff; border: 1px solid var(--lp-line); transition: border-color .2s, box-shadow .2s; }
.lp-faq details[open] { border-color: #b9b4f7; box-shadow: var(--lp-shadow); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--lp-brand); transition: transform .2s; flex-shrink: 0; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding: 0 1.3rem 1.2rem; color: var(--lp-muted); }

/* ---------- final cta ---------- */
.lp-end { padding: 5rem 0; text-align: center; }
.lp-end-inner h2 { font-size: clamp(1.9rem, 6cqi, 2.9rem); font-weight: 800; }
.lp-end-inner > p { margin-top: .6rem; color: #c5cae6; font-size: 1.08rem; }
.lp-end .lp-actions { display: flex; justify-content: center; margin-top: 2rem; }
.lp-end-note { display: block; margin-top: 1.2rem; color: #9aa3cc; }

/* ---------- reveal ---------- */
.lp-js .lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.lp-js .lp-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
    .lp-js .lp-reveal { opacity: 1; transform: none; }
    .lp-mock { transform: none !important; }
}

/* ---------- signed-in users: shell navbar keeps its own offset ---------- */
body.has-app-sidebar .lp-hero { padding-top: calc(var(--navbar-h, 72px) + 2.5rem); }

/* English headline is wider than the Arabic one */
[dir="ltr"] .lp-h1 { font-size: clamp(2rem, 6.2cqi, 3.5rem); line-height: 1.18; }

.lp-nav > a.is-current { color: var(--lp-brand); }

/* Many problem tabs (16): compact list on desktop, scrollable strip on mobile */
@media (min-width: 900px) {
    .lp-explorer--many .lp-ex-tabs { gap: .35rem; }
    .lp-explorer--many .lp-ex-tab { padding: .55rem .9rem; font-size: .84rem; border-radius: 12px; }
    .lp-explorer--many .lp-ex-stage { align-self: start; position: sticky; top: 90px; }
}

/* header links never wrap; tighter on mid-size screens where the extra link made them break */
.lp-nav > a, .lp-nav-auth .lp-btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1260px) {
  .lp-header-inner { gap: 1rem; padding: 0 14px; }
  .lp-nav { gap: 1rem; margin-inline-start: .4rem; }
  .lp-nav > a { font-size: .86rem; }
  .lp-nav-auth .lp-btn { padding-inline: .75rem; font-size: .84rem; }
}

/* promoted (pinned) firm in the landing directory */
.lp-person--ad { position: relative; border-color: rgba(212,167,58,.6); box-shadow: 0 14px 34px -18px rgba(212,167,58,.65); }
.lp-person-ad { position: absolute; top: .7rem; inset-inline-end: .7rem; padding: 2px 9px; border-radius: 999px; font-size: .68rem; font-weight: 700; color: #8a6410; background: rgba(212,167,58,.2); }
