/* ===== DentX — public landing (English LTR first, Arabic RTL mirrored; Bootstrap 5.3) — redesign 2026-10-12 =====
   Calm palette from the logo (navy + blue), generous whitespace, no decorative motion. Logical properties only. */
:root {
  --lp-ink: #0a1a3a; --lp-text: #33415c; --lp-muted: #5a667c; --lp-line: #e3e8f0; --lp-soft: #f5f8fc;
  --lp-blue: #0b6fe0; --lp-blue-d: #0a58bf; --lp-blue-s: #eaf2fe; --lp-navy: #0a1a3a; --lp-cyan: #19c3ff;
  --lp-font: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-font-sans-serif: var(--lp-font); --bs-body-color: var(--lp-text); --bs-link-color: var(--lp-blue); --bs-link-color-rgb: 11,111,224;
}
html[lang=ar] { --lp-font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lp { font-family: var(--lp-font); color: var(--lp-text); background: #fff; line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased; }
html[lang=ar] body.lp { line-height: 1.85; }
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); font-family: var(--lp-font); }
[dir=rtl] .dx-flip { transform: scaleX(-1); display: inline-block; }
.lp-skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.lp-skip:focus { inset-inline-start: 8px; }

/* buttons */
.lp .btn-primary { --bs-btn-bg: var(--lp-blue); --bs-btn-border-color: var(--lp-blue); --bs-btn-hover-bg: var(--lp-blue-d); --bs-btn-hover-border-color: var(--lp-blue-d); --bs-btn-active-bg: #0a4fa8; --bs-btn-active-border-color: #0a4fa8; }
.lp .btn-outline-primary { --bs-btn-color: var(--lp-blue); --bs-btn-border-color: #b9d3f7; --bs-btn-hover-bg: var(--lp-blue); --bs-btn-hover-border-color: var(--lp-blue); }
.lp-btn { font-weight: 600; border-radius: 10px; padding-inline: 1.15rem; }
.lp-btn.btn-lg { padding: .75rem 1.4rem; font-size: 1rem; }
.lp-btn-ghost { --bs-btn-color: var(--lp-ink); --bs-btn-border-color: var(--lp-line); --bs-btn-hover-bg: var(--lp-soft); --bs-btn-hover-color: var(--lp-ink); --bs-btn-hover-border-color: #cfd8e5; font-weight: 600; border-radius: 10px; padding: .75rem 1.4rem; font-size: 1rem; }

/* header */
.lp-hd { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lp-hd.is-scrolled { border-bottom-color: var(--lp-line); }
.lp-hd-in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.lp-logo img { height: 36px; width: auto; display: block; }
.lp-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; margin-inline-start: 1rem; }
.lp-links a { color: var(--lp-text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.lp-links a:hover { color: var(--lp-ink); }
.lp-links-lang { display: none; }
.lp-hd-act { display: flex; align-items: center; gap: 1rem; margin-inline-start: auto; }
.lp-signin { color: var(--lp-ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
.lp-signin:hover { color: var(--lp-blue); }
.lp-burger { display: none; border: 1px solid var(--lp-line); background: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 1.35rem; color: var(--lp-ink); align-items: center; justify-content: center; }
@media (max-width: 991.98px) {
  .lp-hd-in { gap: .75rem; min-height: 62px; }
  .lp-logo img { height: 32px; }
  .lp-burger { display: inline-flex; }
  .lp-hd-lang { display: none; }
  .lp-links { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem 16px 1rem; background: #fff; border-bottom: 1px solid var(--lp-line); box-shadow: 0 16px 30px -18px rgba(10,26,58,.25); }
  .lp-links.is-open { display: flex; }
  .lp-links li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--lp-line); }
  .lp-links-lang { display: block; padding-top: .9rem; }
  .lp-links-lang a { display: inline; padding: .3rem .1rem; border-bottom: 2px solid transparent; }
}
@media (max-width: 420px) { .lp-signin { display: none; } .lp-hd-act .lp-btn { padding-inline: .8rem; font-size: .9rem; } }

/* shared */
.lp-sec { padding: 96px 0; }
.lp-soft { background: var(--lp-soft); }
.lp-narrow { max-width: 820px; }
.lp-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.lp-eyebrow { color: var(--lp-blue); font-weight: 600; font-size: .85rem; letter-spacing: .02em; margin-bottom: .75rem; }
html[lang=en] .lp-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.lp-h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 1.25rem; }
html[lang=ar] .lp-h1 { line-height: 1.35; letter-spacing: 0; }
.lp-h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; margin-bottom: .75rem; }
html[lang=ar] .lp-h2 { line-height: 1.45; letter-spacing: 0; }
.lp-sub { color: var(--lp-muted); font-size: 1.05rem; margin: 0; }
.lp-lead { font-size: 1.15rem; color: var(--lp-muted); max-width: 34rem; margin-bottom: 2rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.lp-note { color: var(--lp-muted); font-size: .9rem; margin: 1.25rem 0 0; }
.lp-note i { color: var(--lp-blue); }
.lp-demo { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; font-weight: 600; font-size: .9rem; text-decoration: none; }

/* hero */
.lp-hero { padding: 72px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--lp-soft) 100%); }
.lp-shot { margin: 0; background: #fff; border: 1px solid var(--lp-line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(10,26,58,.28), 0 2px 6px rgba(10,26,58,.04); overflow: hidden; }
.lp-shot-bar { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--lp-line); font-size: .85rem; }
.lp-dots { display: inline-flex; gap: 5px; } .lp-dots i { width: 9px; height: 9px; border-radius: 50%; background: #dfe5ee; }
.lp-shot-t { font-weight: 700; color: var(--lp-ink); } .lp-shot-t i { color: var(--lp-blue); }
.lp-shot-f { margin-inline-start: auto; color: var(--lp-muted); background: var(--lp-soft); border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; white-space: nowrap; }
.lp-shot-body { padding: 1rem; display: grid; gap: .75rem; background: var(--lp-soft); }
.lp-case { background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; padding: .85rem 1rem; }
.lp-case.is-em { border-color: #f3c3c9; box-shadow: inset 3px 0 0 #e5364b; }
[dir=rtl] .lp-case.is-em { box-shadow: inset -3px 0 0 #e5364b; }
.lp-case-top { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .35rem; }
.lp-tag { font-size: .72rem; font-weight: 600; color: var(--lp-blue); background: var(--lp-blue-s); border-radius: 999px; padding: .12rem .55rem; }
.lp-tag.em { color: #b3202f; background: #fdecee; }
.lp-km { margin-inline-start: auto; font-size: .75rem; color: var(--lp-muted); white-space: nowrap; }
.lp-case-t { font-weight: 700; color: var(--lp-ink); font-size: .95rem; text-align: start; }
.lp-case-m { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .78rem; color: var(--lp-muted); margin: .3rem 0 .55rem; }
.lp-case-f { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-top: 1px dashed var(--lp-line); padding-top: .55rem; font-size: .85rem; }
.lp-case-f small { color: var(--lp-muted); } .lp-case-f b { color: var(--lp-ink); }
.lp-apply { background: var(--lp-blue); color: #fff; font-weight: 600; font-size: .78rem; border-radius: 8px; padding: .3rem .8rem; }
.lp-shot-cap { text-align: center; font-size: .72rem; color: #8592a6; padding: .5rem; background: var(--lp-soft); }

/* pillars */
.lp-pillar { height: 100%; padding: 1.75rem 1.5rem; border: 1px solid var(--lp-line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lp-pillar:hover { border-color: #c9dbf6; box-shadow: 0 12px 30px -20px rgba(10,26,58,.3); }
.lp-ic { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--lp-blue-s); color: var(--lp-blue); font-size: 1.3rem; margin-bottom: 1.1rem; }
.lp-pillar h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.lp-pillar p { color: var(--lp-muted); font-size: .95rem; margin: 0; }

/* steps */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: none; }
.lp-steps li { position: relative; }
.lp-step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lp-navy); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.lp-steps h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.lp-steps p { color: var(--lp-muted); margin: 0; }
@media (min-width: 768px) { .lp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; inset-inline-start: 56px; inset-inline-end: -1rem; height: 1px; background: #cfd8e5; } }
@media (max-width: 767.98px) { .lp-steps { grid-template-columns: 1fr; gap: 1.75rem; } }

/* pricing */
.lp-tier { height: 100%; display: flex; flex-direction: column; padding: 2rem 1.75rem; border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; }
.lp-tier.is-hl { border: 2px solid var(--lp-blue); box-shadow: 0 24px 50px -30px rgba(11,111,224,.5); }
.lp-tier-h { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.lp-tier-h h3 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.lp-pop { font-size: .72rem; font-weight: 700; color: var(--lp-blue); background: var(--lp-blue-s); border-radius: 999px; padding: .2rem .65rem; }
.lp-price { color: var(--lp-ink); }
.lp-price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.lp-price .cur { font-size: 1rem; font-weight: 700; }
.lp-price .per { color: var(--lp-muted); font-size: .9rem; }
.lp-yr { color: var(--lp-muted); font-size: .85rem; margin: .25rem 0 1rem; }
.lp-krown { display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: #6a4b00; background: #fff6e0; border-radius: 10px; padding: .5rem .75rem; margin-bottom: 1rem; }
.lp-perks { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; flex: 1 1 auto; }
.lp-perks li { display: flex; gap: .55rem; font-size: .93rem; }
.lp-perks i { color: var(--lp-blue); font-size: 1.05rem; line-height: 1.4; flex: 0 0 auto; }
.lp-fine { text-align: center; color: var(--lp-muted); font-size: .88rem; margin: 2rem auto 0; max-width: 640px; }
.lp-fine i { color: var(--lp-blue); }

/* FAQ */
.lp-faq { display: grid; gap: .75rem; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; padding: 0 1.25rem; }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 600; color: var(--lp-ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { color: var(--lp-blue); transition: transform .2s; flex: 0 0 auto; }
.lp-faq details[open] summary i { transform: rotate(45deg); }
.lp-faq details p { color: var(--lp-muted); margin: 0 0 1.1rem; }

/* final CTA */
.lp-final { background: var(--lp-navy); color: #fff; text-align: center; padding: 88px 0; background-image: radial-gradient(600px 300px at 50% 0%, rgba(30,136,255,.28), transparent 70%); }
.lp-final h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: .6rem; }
.lp-final p { color: #c4d0e3; font-size: 1.05rem; margin-bottom: 1.75rem; }
.lp-final .btn-light { color: var(--lp-navy); font-weight: 700; }
.lp-final-wa { margin: 1.5rem 0 0 !important; font-size: .95rem !important; }
.lp-final-wa a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }

/* footer */
.lp-ft { background: #06112a; color: #aab7cc; padding: 64px 0 28px; font-size: .92rem; }
.lp-ft h3 { color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
html[lang=ar] .lp-ft h3 { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.lp-ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.lp-ft a { color: #aab7cc; text-decoration: none; } .lp-ft a:hover { color: #fff; }
.lp-ft-brand { align-items: flex-start; }
.lp-ft-brand .dx-lockup-logo { height: 36px; width: auto; }
.lp-ft-desc { margin: 1rem 0 0; max-width: 26rem; color: #8b9ab3; font-size: .88rem; }
.lp-admin { opacity: .85; }
.lp-ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; color: #8b9ab3; }

/* brand lockup (views/partials/brand.ejs) — minimal copy of app.css for this page */
.dx-lockup { display: inline-flex; flex-direction: column; gap: .3rem; line-height: 1.2; max-width: 100%; }
.dx-lockup-logo { display: block; height: 40px; width: auto; max-width: 100%; }
.dx-tagline { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-style: italic; color: #8b9ab3; }
.dx-tagline i { display: none; }

/* language switch (views/partials/lang_switch.ejs) — same as app.css */
.dx-lang { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; line-height: 1; }
.dx-lang a { text-decoration: none; font-weight: 600; padding: .3rem .1rem; border-bottom: 2px solid transparent; }
.dx-lang a[lang=ar] { font-family: 'Cairo', sans-serif; }
.dx-lang-dark, .dx-lang-dark a { color: var(--lp-muted); }
.dx-lang-dark a:hover, .dx-lang-dark a.is-on { color: var(--lp-ink); }
.dx-lang-dark a.is-on { border-bottom-color: var(--lp-blue); }
.dx-lang-light, .dx-lang-light a { color: rgba(255,255,255,.65); }
.dx-lang-light a:hover, .dx-lang-light a.is-on { color: #fff; }
.dx-lang-light a.is-on { border-bottom-color: var(--lp-cyan); }
.dx-lang-sep { opacity: .45; }

/* phones: app install bar */
.lp-appbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 1040; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--lp-line); box-shadow: 0 -8px 24px -12px rgba(10,26,58,.25); }
.lp-appbar[hidden] { display: none; }
.lp-appbar img { border-radius: 10px; flex: 0 0 auto; }
.lp-appbar-t { flex: 1; min-width: 0; line-height: 1.3; display: flex; flex-direction: column; }
.lp-appbar-t b { color: var(--lp-ink); font-size: .92rem; }
.lp-appbar-t span { color: var(--lp-muted); font-size: .78rem; }
.lp-appbar .btn { border-radius: 10px; font-weight: 600; flex: 0 0 auto; }

@media (max-width: 767.98px) {
  .lp-sec { padding: 64px 0; }
  .lp-hero { padding: 40px 0 64px; }
  .lp-head { margin-bottom: 2rem; }
  .lp-lead { font-size: 1.05rem; }
  .lp-cta .btn { flex: 1 1 auto; }
  .lp-shot-f { display: none; }
  .lp-final { padding: 64px 0; }
}
