/* LuxPos marketing landing — dark glass, multi-lang (ES/EN/TR/AR) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  /* Aligned with lux-public-theme (slate-blue, not pure black) */
  --lp-bg: #0f172a;
  --lp-surface: rgba(15, 23, 42, 0.72);
  --lp-surface-2: rgba(255, 255, 255, 0.04);
  --lp-border: rgba(148, 163, 184, 0.16);
  --lp-text: #f8fafc;
  --lp-muted: #94a3b8;
  --lp-primary: #2563eb;
  --lp-primary-2: #3b82f6;
  --lp-accent: #6366f1;
  --lp-glow: rgba(37, 99, 235, 0.32);
  --lp-radius: 20px;
  --lp-radius-sm: 14px;
  --lp-max: 1180px;
  --lp-nav-h: 72px;
  --lp-font: Outfit, system-ui, -apple-system, sans-serif;
  --lp-font-ar: "Noto Sans Arabic", Outfit, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lux-landing {
  margin: 0;
  min-height: 100vh;
  font-family: var(--lp-font);
  color: var(--lp-text);
  background-color: var(--lp-bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(37, 99, 235, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 15%, rgba(99, 102, 241, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 75%, rgba(14, 165, 233, 0.1), transparent 52%),
    linear-gradient(165deg, #0f172a 0%, #0b1220 48%, #0a1020 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.lux-landing[dir="rtl"] {
  font-family: var(--lp-font-ar);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.lp-container {
  width: min(100% - 2.5rem, var(--lp-max));
  margin-inline: auto;
}

/* ── Nav — fixed height so logo/buttons stay aligned across languages ── */
.lp-nav {
  --lp-nav-bar-h: 56px;
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(96%, 1120px);
  height: var(--lp-nav-bar-h);
  min-height: var(--lp-nav-bar-h);
  max-height: var(--lp-nav-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.85rem 0 1rem;
  border-radius: 999px;
  background: var(--lp-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--lp-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  overflow: visible;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  height: 40px;
  line-height: 1;
  min-width: 0;
}

.lp-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: contain;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

.lp-brand span {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
  overflow: hidden;
}

.lp-nav-links a {
  color: var(--lp-muted);
  font-size: 0.84rem;
  font-weight: 500;
  height: 34px;
  padding: 0 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.lp-nav-links a:hover {
  color: var(--lp-text);
  background: rgba(255, 255, 255, 0.05);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  height: 40px;
}

/* Duplicate of the nav actions, only ever shown inside the mobile hamburger */
.lp-nav-mobile-actions { display: none; }

.lp-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--lp-border);
}

.lp-lang a {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lp-muted);
  transition: all .2s;
}

.lp-lang a.is-active,
.lp-lang a:hover {
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 4px 14px var(--lp-glow);
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
  box-sizing: border-box;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
  color: #fff;
  box-shadow: 0 6px 18px var(--lp-glow);
}

.lp-btn-primary:hover {
  box-shadow: 0 10px 24px var(--lp-glow);
}

.lp-btn-ghost {
  background: transparent;
  border-color: var(--lp-border);
  color: var(--lp-text);
}

.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.lp-btn-soft {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--lp-border);
  color: var(--lp-text);
}

/* Nav action buttons: fixed footprint across languages */
.lp-nav-actions .lp-btn,
.lp-nav-actions .lp-btn-sm {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 0.85rem;
  font-size: 0.8rem;
  min-width: 0;
}

.lp-nav-actions .lp-btn-label {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-btn-sm {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 0.85rem;
  font-size: 0.8rem;
}

.lp-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  background: rgba(255,255,255,.04);
  color: var(--lp-text);
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

/* ── Hero ── */
.lp-hero {
  padding: calc(var(--lp-nav-h) + 4.5rem) 0 4rem;
  position: relative;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #c7d2fe;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 1.1rem;
}

.lp-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  background: linear-gradient(180deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero .lp-lead {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: var(--lp-muted);
  max-width: 34rem;
  line-height: 1.65;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  color: var(--lp-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.lp-trust span::before {
  content: "✓";
  color: #818cf8;
  margin-inline-end: 0.4rem;
  font-weight: 700;
}

.lp-hero-card {
  position: relative;
  border-radius: 28px;
  padding: 1.4rem;
  background: linear-gradient(160deg, rgba(79,70,229,.18), rgba(15,15,20,.85));
  border: 1px solid var(--lp-border);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  overflow: hidden;
}

.lp-hero-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 30%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(139,92,246,.35), transparent 70%);
  pointer-events: none;
}

.lp-hero-card-inner {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--lp-border);
  padding: 1.25rem;
}

.lp-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lp-stat {
  padding: 0.9rem 0.85rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--lp-border);
}

.lp-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.lp-stat span {
  font-size: 0.78rem;
  color: var(--lp-muted);
  font-weight: 500;
}

.lp-hero-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(79,70,229,.12);
  border: 1px solid rgba(99,102,241,.22);
  font-size: 0.86rem;
  color: #c7d2fe;
  font-weight: 500;
}

/* ── Sections ── */
.lp-section {
  padding: 4.25rem 0;
}

.lp-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.lp-section-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.lp-section-head p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 1.02rem;
}

.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.lp-card {
  border-radius: var(--lp-radius);
  padding: 1.35rem 1.25rem;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-border);
  backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s, background .2s;
}

.lp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(255,255,255,.045);
}

.lp-card .lp-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(79,70,229,.14);
  border: 1px solid rgba(99,102,241,.22);
  margin-bottom: 0.9rem;
}

.lp-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.lp-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.lp-module {
  text-align: center;
  padding: 1.2rem 0.9rem;
}

.lp-module h3 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.lp-module p { font-size: 0.84rem; }

/* ── Pricing ── */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.lp-price-card {
  position: relative;
  border-radius: 22px;
  padding: 1.4rem 1.25rem 1.3rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.lp-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

.lp-price-card.is-featured {
  background: linear-gradient(165deg, rgba(79,70,229,.2), rgba(15,15,20,.9));
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 16px 40px var(--lp-glow);
}

.lp-price-badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--lp-primary);
  color: #fff;
}

.lp-price-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.lp-price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.lp-price-amount .num {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lp-price-amount .unit {
  color: var(--lp-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.lp-price-desc {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.88rem;
  min-height: 2.4em;
}

.lp-price-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--lp-muted);
  /* Do not flex-grow — was squeezing modules area in equal-height cards */
  flex: 0 0 auto;
}

.lp-price-meta li::before {
  content: "•";
  color: #818cf8;
  margin-inline-end: 0.45rem;
}

.lp-price-mods {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.45rem 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  font-size: 0.74rem;
  color: #c7d2fe;
}
.lp-price-mods li {
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-weight: 600;
}

.lp-price-card .lp-btn {
  width: 100%;
  margin-top: 0.3rem;
}

/* ── FAQ ── */
.lp-faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.lp-faq details {
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  background: rgba(255,255,255,.03);
  padding: 0.2rem 1.1rem;
  transition: border-color .2s;
}

.lp-faq details[open] {
  border-color: rgba(99,102,241,.35);
  background: rgba(79,70,229,.08);
}

.lp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-faq summary::-webkit-details-marker { display: none; }

.lp-faq summary::after {
  content: "+";
  font-size: 1.2rem;
  color: #818cf8;
  font-weight: 500;
  flex-shrink: 0;
}

.lp-faq details[open] summary::after { content: "−"; }

.lp-faq details p {
  margin: 0 0 1.1rem;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.75;
  max-width: 68ch;
}

/* ── CTA / Contact ── */
.lp-cta-band {
  border-radius: 28px;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(79,70,229,.28), rgba(139,92,246,.12) 50%, rgba(15,15,20,.9));
  border: 1px solid rgba(99,102,241,.3);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.lp-cta-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.lp-cta-band p {
  margin: 0 auto 1.4rem;
  max-width: 520px;
  color: #c7d2fe;
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.lp-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.lp-contact-item {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--lp-border);
}

.lp-contact-item small {
  display: block;
  color: var(--lp-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 0.3rem;
}

.lp-contact-item a,
.lp-contact-item span {
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
}

/* ── Footer ── */
.lp-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--lp-border);
  margin-top: 1rem;
}

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

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.lp-footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.lp-footer p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.85rem;
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  color: var(--lp-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.lp-footer-links a:hover { color: var(--lp-text); }

/* ── Announcement ── */
.lp-announce {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(94%, 640px);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(99,102,241,.35);
  color: #e0e7ff;
  font-size: 0.88rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

/* ── Portal mode (login + device only) ── */
body.lp-mode-portal {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99,102,241,.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(37,99,235,.12), transparent 50%),
    var(--lp-bg, #0f172a);
}
body.lp-mode-portal .lp-nav--portal {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(96%, 720px);
}
.lp-portal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--lp-nav-h, 64px) + 2.5rem) 1.25rem 2.5rem;
}
.lp-portal-card {
  width: min(100%, 420px);
  text-align: center;
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}
.lp-portal-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.lp-portal-title {
  margin: 0 0 .5rem;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--lp-text, #f8fafc);
}
.lp-portal-sub {
  margin: 0 0 1.5rem;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--lp-muted, #94a3b8);
}
.lp-portal-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.lp-portal-actions .lp-btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: .95rem;
}
.lp-btn-lg {
  min-height: 48px;
  padding: 0 1.25rem;
  font-size: .95rem;
  border-radius: 14px;
}
.lp-portal-foot {
  margin: 1.15rem 0 0;
  font-size: .88rem;
}
.lp-portal-foot a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
}
.lp-portal-foot a:hover { color: #c7d2fe; text-decoration: underline; }

/* ── Mobile ── */
@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lp-grid-3 { grid-template-columns: 1fr 1fr; }
  .lp-grid-4 { grid-template-columns: 1fr 1fr; }
  .lp-nav-links { display: none; }
  .lp-nav.is-open .lp-nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 18px;
    background: rgba(10,10,14,.96);
    border: 1px solid var(--lp-border);
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
  }
  .lp-menu-toggle { display: inline-flex; }

  /* Hide desktop nav actions on mobile — show mobile actions instead */
  .lp-nav-actions {
    display: none !important;
  }

  /* Show mobile actions when menu is open */
  .lp-nav.is-open .lp-nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(10,10,14,.96);
    border-radius: 0 0 18px 18px;
  }
  .lp-nav-mobile-actions { display: none; }
  .lp-nav-mobile-actions .lp-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .lp-grid-3,
  .lp-grid-4 { grid-template-columns: 1fr; }
  .lp-nav {
    width: min(96%, 100%);
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    border-radius: 999px;
    padding: 0 0.65rem 0 0.8rem;
  }
  /* Keep nav actions hidden on mobile */
  .lp-nav-actions {
    display: none !important;
  }
  .lp-brand span { max-width: 6.5rem; }
  .lp-lang a { min-width: 30px; height: 28px; font-size: 0.68rem; }
  .lp-hero { padding-top: calc(var(--lp-nav-h) + 3rem); }
  .lp-cta-band { padding: 1.8rem 1.2rem; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-card:hover,
  .lp-price-card:hover,
  .lp-btn:hover { transform: none; }
}

/* ── External login modal (premium) ── */
body.lp-modal-open { overflow: hidden; }

.lp-link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.lp-link-btn:hover { color: var(--lp-text); }

.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  animation: lpModalIn .22s ease;
}
.lp-modal[hidden] { display: none !important; }
@keyframes lpModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lp-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  border-radius: 22px;
  padding: 1.5rem 1.4rem 1.4rem;
  background: rgba(14, 14, 18, 0.96);
  border: 1px solid var(--lp-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* Premium login panel — wider split layout */
.lp-login-panel {
  width: min(100%, 880px);
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(99, 102, 241, 0.14), transparent 50%),
    rgba(10, 14, 24, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 28px 80px rgba(0, 0, 0, 0.65);
  animation: lpPanelPop .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes lpPanelPop {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.lp-login-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 420px;
}

.lp-login-aside {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-inline-end: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.5) 0%, rgba(2, 6, 23, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.lp-login-aside-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  top: -40px;
  inset-inline-start: -40px;
  pointer-events: none;
}
.lp-login-aside-inner { position: relative; z-index: 1; }
.lp-login-aside-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}
.lp-login-aside-badge img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}
.lp-login-aside-title {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #f8fafc;
}
.lp-login-aside-text {
  margin: 0 0 1.15rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}
.lp-login-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.lp-login-aside-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #cbd5e1;
  font-weight: 500;
}
.lp-login-check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.lp-login-check::before {
  content: '';
  width: 8px;
  height: 5px;
  border-inline-start: 2px solid #6ee7b7;
  border-bottom: 2px solid #6ee7b7;
  transform: rotate(-45deg) translateY(-1px);
}

.lp-login-main {
  padding: 1.75rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-login-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding-inline-end: 2rem;
}
.lp-login-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #7dd3fc;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.16), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(125, 211, 252, 0.25);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}
.lp-login-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
}
.lp-login-head p {
  margin: 0.3rem 0 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.45;
}

.lp-modal-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255,255,255,.04);
  color: #94a3b8;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.lp-modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}

.lp-modal-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-inline-end: 2rem;
}
.lp-modal-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--lp-border);
}
.lp-modal-brand h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-modal-brand p {
  margin: 0.2rem 0 0;
  color: var(--lp-muted);
  font-size: 0.86rem;
}

.lp-login-form { display: grid; gap: 0.95rem; }

.lp-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.lp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.lp-input-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  color: #64748b;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: color .15s;
}
.lp-input-wrap input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.55);
  color: #f1f5f9;
  padding: 0.85rem 2.75rem 0.85rem 2.65rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
[dir="rtl"] .lp-input-wrap input {
  padding: 0.85rem 2.65rem 0.85rem 2.75rem;
}
.lp-input-wrap input::placeholder { color: #475569; }
.lp-input-wrap input:hover {
  border-color: rgba(148, 163, 184, 0.28);
}
.lp-input-wrap:focus-within .lp-input-icon { color: #7dd3fc; }
.lp-input-wrap input:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
  background: rgba(2, 6, 23, 0.75);
}

/* Fallback plain field (register still uses bare inputs) */
.lp-field input:not(.lp-input-wrap input) {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--lp-border);
  background: rgba(0,0,0,.35);
  color: var(--lp-text);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.lp-field input:not(.lp-input-wrap input):focus {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.lp-pass-toggle {
  position: absolute;
  inset-inline-end: 0.45rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.lp-pass-toggle:hover {
  color: #e2e8f0;
  background: rgba(255,255,255,0.06);
}

.lp-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: -0.15rem;
}
.lp-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
}
.lp-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: #0ea5e9;
  cursor: pointer;
}
.lp-forgot {
  font-size: 0.84rem;
  font-weight: 600;
  color: #7dd3fc !important;
  text-decoration: none;
}
.lp-forgot:hover { color: #bae6fd !important; text-decoration: underline; }

.lp-login-error {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 550;
  color: #fecaca;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  animation: lpShake .35s ease;
}
@keyframes lpShake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.lp-login-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  border-radius: 14px !important;
  font-weight: 750 !important;
  font-size: 0.98rem !important;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%) !important;
  border: 0 !important;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.28);
  transition: transform .15s, box-shadow .15s, filter .15s !important;
}
.lp-login-submit:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.32);
  transform: translateY(-1px);
}
.lp-login-submit:active:not(:disabled) { transform: translateY(0); }
.lp-login-submit.is-loading .lp-login-submit-arrow { display: none; }
.lp-login-submit.is-loading .lp-login-spinner { display: inline-block !important; }
.lp-login-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lpSpin .7s linear infinite;
}
@keyframes lpSpin { to { transform: rotate(360deg); } }

.lp-login-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
}
.lp-login-secure svg { opacity: 0.85; color: #34d399; }

/* 2FA badge under username on login modal */
.lp-2fa-badge {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.lp-2fa-badge:not([hidden]) { display: flex; }
.lp-2fa-badge svg { flex-shrink: 0; color: #34d399; }

.lp-btn-block { width: 100%; }

.lp-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none !important;
}

@media (max-width: 760px) {
  .lp-login-layout { grid-template-columns: 1fr; min-height: 0; }
  .lp-login-aside { display: none; }
  .lp-login-panel { width: min(100%, 440px); }
  .lp-login-main { padding: 1.45rem 1.2rem 1.2rem; }
}

/* ── Register / license modal ── */
.lp-modal-panel--wide {
  width: min(100%, 560px);
  max-height: min(92vh, 860px);
  overflow: auto;
}

.lp-reg-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}
.lp-reg-steps span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--lp-muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  background: rgba(255,255,255,.03);
}
.lp-reg-steps span.is-active {
  color: #fff;
  background: rgba(79,70,229,.28);
  border-color: rgba(99,102,241,.45);
}

.lp-reg-hint {
  margin: 0 0 0.85rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-reg-packages {
  display: grid;
  gap: 0.55rem;
  max-height: 340px;
  overflow: auto;
  padding-inline-end: 2px;
}

.lp-reg-pkg {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: start;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--lp-border);
  background: rgba(255,255,255,.03);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.lp-reg-pkg:hover {
  border-color: rgba(99,102,241,.4);
  background: rgba(79,70,229,.08);
}
.lp-reg-pkg.is-selected {
  border-color: rgba(99,102,241,.65);
  background: rgba(79,70,229,.16);
  box-shadow: 0 0 0 1px rgba(99,102,241,.25);
}
.lp-reg-pkg-radio {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  flex-shrink: 0;
  position: relative;
}
.lp-reg-pkg.is-selected .lp-reg-pkg-radio {
  border-color: #818cf8;
}
.lp-reg-pkg.is-selected .lp-reg-pkg-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #818cf8;
}
.lp-reg-pkg-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.lp-reg-pkg-body strong {
  font-size: 0.95rem;
}
.lp-reg-pkg-price {
  font-weight: 700;
  color: #c7d2fe;
  font-size: 0.9rem;
}
.lp-reg-pkg-body small {
  color: var(--lp-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.lp-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.lp-reg-grid .lp-field-full,
.lp-field-full { grid-column: 1 / -1; }

.lp-reg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}
.lp-reg-actions .lp-btn { min-width: 7.5rem; }

@media (max-width: 560px) {
  .lp-reg-grid { grid-template-columns: 1fr; }
  .lp-reg-actions { flex-direction: column-reverse; }
  .lp-reg-actions .lp-btn { width: 100%; }
}

/* ── Device status ── */
.lp-btn-ico { margin-inline-end: 0.25rem; font-size: 0.95em; }

.lp-device-search-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.lp-device-search-row input { flex: 1; min-width: 0; }
.lp-device-search-row .lp-btn {
  flex-shrink: 0;
  border-radius: 12px;
  padding-inline: 1rem;
}

.lp-device-results {
  display: grid;
  gap: 0.65rem;
  max-height: 320px;
  overflow: auto;
  margin-top: 0.25rem;
}

.lp-device-card {
  border-radius: 14px;
  border: 1px solid var(--lp-border);
  background: rgba(255,255,255,.03);
  padding: 0.9rem 1rem;
}

.lp-device-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.lp-device-card-top strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.lp-device-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  max-width: 100%;
}

.lp-device-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
  font-size: 0.84rem;
}
.lp-device-meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--lp-muted);
}
.lp-device-meta b {
  color: var(--lp-text);
  font-weight: 600;
  text-align: end;
}

.lp-device-portal {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a5b4fc;
}
.lp-device-portal:hover { color: #c7d2fe; }

@media (max-width: 960px) {
  .lp-nav-actions .lp-open-device .lp-btn-label {
    /* keep label if space allows */
  }
}

@media (max-width: 720px) {
  .lp-nav-actions .lp-open-device .lp-btn-label { display: none; }
  .lp-nav-actions .lp-open-device .lp-btn-ico { margin: 0; }
  .lp-device-search-row { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════
   Login sheet — Apple-style light sheet.
   Scoped to .lp-login-modal so the register modal keeps the dark theme.
   ═══════════════════════════════════════════════════════════════ */

.lp-login-modal {
  --ls-text: #1d1d1f;
  --ls-muted: #6e6e73;
  --ls-line: #d2d2d7;
  --ls-surface: #ffffff;
  --ls-fill: #f5f5f7;
  --ls-blue: #0071e3;
  --ls-blue-hover: #0077ed;
  --ls-danger: #d70015;
  padding: 1.25rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    system-ui, sans-serif;
}
.lp-login-modal[dir="rtl"],
[dir="rtl"] .lp-login-modal {
  font-family: "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.lp-login-modal .lp-modal-backdrop {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
}

/* Single-column sheet — no marketing split */
.lp-login-modal .lp-login-panel {
  width: min(100%, 400px);
  padding: 0;
  overflow: visible;
  background: var(--ls-surface);
  border: none;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: lsSheetIn 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes lsSheetIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.lp-login-modal .lp-login-aside { display: none; }
.lp-login-modal .lp-login-layout {
  display: block;
  min-height: 0;
}
.lp-login-modal .lp-login-main {
  display: block;
  padding: 2.75rem 2.25rem 2rem;
}

/* Close — hairline circle, top-right */
.lp-login-modal .lp-modal-close {
  top: 14px;
  inset-inline-end: 14px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--ls-fill);
  border: none;
  color: var(--ls-muted);
  transition: background 0.2s, color 0.2s;
}
.lp-login-modal .lp-modal-close:hover {
  background: #e8e8ed;
  color: var(--ls-text);
  transform: none;
}

/* Header — centered, generous */
.lp-login-modal .lp-login-head {
  display: block;
  text-align: center;
  margin-bottom: 1.75rem;
}
.lp-login-modal .lp-login-head-icon { display: none; }
.lp-login-modal .lp-login-head h2 {
  margin: 0 0 0.45rem;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ls-text);
}
.lp-login-modal .lp-login-head p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ls-muted);
}

/* Fields — clean, no leading icons */
.lp-login-modal .lp-login-form { display: grid; gap: 1rem; }
.lp-login-modal .lp-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ls-text);
}
.lp-login-modal .lp-input-icon { display: none; }
.lp-login-modal .lp-input-wrap {
  display: block;
  position: relative;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.lp-login-modal .lp-input-wrap input {
  width: 100%;
  height: auto;
  padding: 0.8rem 0.95rem;
  padding-inline-end: 2.6rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ls-text);
  background: var(--ls-surface);
  border: 1px solid var(--ls-line);
  border-radius: 12px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lp-login-modal .lp-input-wrap input::placeholder { color: #a1a1a6; }
.lp-login-modal .lp-input-wrap input:hover {
  border-color: #b9b9c0;
  background: var(--ls-surface);
}
.lp-login-modal .lp-input-wrap input:focus {
  outline: none;
  border-color: var(--ls-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
  background: var(--ls-surface);
}

/* Show/hide password */
.lp-login-modal .lp-pass-toggle {
  position: absolute;
  top: 50%;
  inset-inline-end: 10px;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: none;
  color: #86868b;
  transition: color 0.15s, background 0.15s;
}
.lp-login-modal .lp-pass-toggle:hover {
  color: var(--ls-text);
  background: var(--ls-fill);
}

/* The JS hides the unused eye by setting the `hidden` attribute — but the
   UA rule `[hidden] { display: none }` is scoped to the HTML namespace, so
   Firefox does not apply it to inline SVG and both icons render at once.
   The same guard already exists for the standalone login page. */
.lp-login-modal .lp-pass-toggle svg[hidden],
.lp-login-modal .lp-pass-toggle svg.is-hidden {
  display: none !important;
}

/* Remember / forgot row */
.lp-login-modal .lp-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: -0.15rem;
}
.lp-login-modal .lp-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ls-text);
  cursor: pointer;
}
.lp-login-modal .lp-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--ls-blue);
  cursor: pointer;
}
.lp-login-modal .lp-forgot {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ls-blue) !important;
  text-decoration: none;
}
.lp-login-modal .lp-forgot:hover {
  color: var(--ls-blue-hover) !important;
  text-decoration: underline;
}

/* Primary action — Apple blue pill */
.lp-login-modal .lp-login-submit {
  width: 100%;
  height: auto;
  margin-top: 0.35rem;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0;
  color: #fff;
  background: var(--ls-blue);
  border: none;
  border-radius: 12px;
  box-shadow: none;
  transition: background 0.15s ease, transform 0.1s ease;
}
.lp-login-modal .lp-login-submit:hover:not(:disabled) {
  background: var(--ls-blue-hover);
  transform: none;
  box-shadow: none;
}
.lp-login-modal .lp-login-submit:active:not(:disabled) {
  background: #0068d1;
  transform: scale(0.985);
}
.lp-login-modal .lp-login-submit-arrow { display: none; }

/* Inline error */
.lp-login-modal .lp-login-error {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ls-danger);
  background: #fff1f0;
  border: 1px solid #ffd7d4;
  border-radius: 10px;
}

/* 2FA hint */
.lp-login-modal .lp-2fa-badge {
  margin-top: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: #1d6f42;
  background: #eaf7ef;
  border: 1px solid #c6e9d3;
  border-radius: 10px;
}
.lp-login-modal .lp-2fa-badge svg { color: #1d6f42; }

/* Footer note */
.lp-login-modal .lp-login-secure {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ls-line);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ls-muted);
  justify-content: center;
}
.lp-login-modal .lp-login-secure svg { color: var(--ls-muted); opacity: 1; }

@media (max-width: 480px) {
  .lp-login-modal .lp-login-panel { width: 100%; border-radius: 18px; }
  .lp-login-modal .lp-login-main { padding: 2.25rem 1.4rem 1.6rem; }
  .lp-login-modal .lp-login-head h2 { font-size: 1.55rem; }
  .lp-login-modal .lp-login-row { flex-wrap: wrap; }
}

/* Dark sheet for viewers in dark mode */
@media (prefers-color-scheme: dark) {
  .lp-login-modal {
    --ls-text: #f5f5f7;
    --ls-muted: #98989d;
    --ls-line: #38383a;
    --ls-surface: #1c1c1e;
    --ls-fill: #2c2c2e;
    --ls-blue: #0a84ff;
    --ls-blue-hover: #339cff;
    --ls-danger: #ff453a;
  }
  .lp-login-modal .lp-modal-close:hover { background: #3a3a3c; }
  .lp-login-modal .lp-input-wrap input:hover { border-color: #4a4a4d; }
  .lp-login-modal .lp-input-wrap input:focus {
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.25);
  }
  .lp-login-modal .lp-pass-toggle:hover { background: var(--ls-fill); }
  .lp-login-modal .lp-login-error {
    color: #ff8a80;
    background: rgba(255, 69, 58, 0.12);
    border-color: rgba(255, 69, 58, 0.3);
  }
  .lp-login-modal .lp-2fa-badge {
    color: #6ee7b7;
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
  }
  .lp-login-modal .lp-2fa-badge svg { color: #6ee7b7; }
}

/* ============================================================
   APPLE THEME — pure-black, flat, elegant (matches auth/portal)
   ============================================================ */
body.lux-landing {
  --lp-bg: #000000;
  --lp-surface: #161618;
  --lp-surface-2: #1c1c1e;
  --lp-surface-3: #202022;
  --lp-border: rgba(255,255,255,0.08);
  --lp-border-strong: rgba(255,255,255,0.12);
  --lp-text: #f5f5f7;
  --lp-muted: #a1a1a6;
  --lp-primary: #2997ff;
  --lp-primary-2: #2997ff;
  --lp-accent: #2997ff;
  --lp-glow: rgba(41,151,255,0.28);
  --lp-font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  background-color: #000 !important;
  background-image:
    radial-gradient(55% 40% at 50% -6%, rgba(41,151,255,0.07), transparent 62%),
    radial-gradient(45% 38% at 100% 8%, rgba(120,90,255,0.05), transparent 58%) !important;
  background-attachment: fixed;
}

/* Load Inter to match the other pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- Nav: flat black pill (like lux-auth-nav) ---- */
body.lux-landing .lp-nav {
  background: rgba(22,22,24,0.72) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--lp-border) !important;
  box-shadow: none !important;
}
body.lux-landing .lp-nav-links a:hover { color: #fff; }

/* ---- Buttons ---- */
body.lux-landing .lp-btn-primary {
  background: var(--lp-primary) !important;
  border: 1px solid var(--lp-primary) !important;
  color: #fff !important;
  box-shadow: none !important;
}
body.lux-landing .lp-btn-primary:hover { background: #0077ed !important; transform: none !important; }
body.lux-landing .lp-btn-ghost,
body.lux-landing .lp-btn-soft {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--lp-border-strong) !important;
  color: var(--lp-text) !important;
  box-shadow: none !important;
}
body.lux-landing .lp-btn-ghost:hover,
body.lux-landing .lp-btn-soft:hover { background: rgba(255,255,255,0.10) !important; }

/* ---- Badges / pills (not .lp-trust — that line stays plain text) ---- */
body.lux-landing .lp-badge,
body.lux-landing .lp-price-badge,
body.lux-landing .lp-device-badge {
  background: rgba(41,151,255,0.10) !important;
  border: 1px solid rgba(41,151,255,0.22) !important;
  color: #5bb0ff !important;
  box-shadow: none !important;
}

/* ---- Headings: solid, no gradient text ---- */
body.lux-landing .lp-hero h1,
body.lux-landing .lp-section-head h2,
body.lux-landing h1, body.lux-landing h2 {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--lp-text) !important;
  letter-spacing: -0.03em;
}

/* ---- Flat surfaces (cards, modules, stats, hero card, faq) — pricing styled in lux-landing-site ---- */
body.lux-landing .lp-card,
body.lux-landing .lp-module,
body.lux-landing .lp-stat,
body.lux-landing .lp-hero-card,
body.lux-landing .lp-hero-card-inner,
body.lux-landing .lp-faq,
body.lux-landing .lp-contact-item {
  background: var(--lp-surface) !important;
  border: 1px solid var(--lp-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Nested raised bits a touch lighter */
body.lux-landing .lp-hero-card-inner,
body.lux-landing .lp-stat { background: var(--lp-surface-2) !important; }

/* Card hover — calm */
body.lux-landing .lp-card:hover,
body.lux-landing .lp-module:hover {
  transform: none !important;
  border-color: var(--lp-border-strong) !important;
  background: var(--lp-surface-2) !important;
  box-shadow: none !important;
}

/* ---- CTA / closing: no surface card ---- */
body.lux-landing .lp-cta-band {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body.lux-landing .lp-cta-band h2,
body.lux-landing .lp-closing-title { color: var(--lp-text) !important; }

/* ---- Footer: never a surface card ---- */
body.lux-landing .lp-ft,
body.lux-landing .lp-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

/* ---- FAQ rows ---- */
body.lux-landing .lp-faq details,
body.lux-landing .lp-faq > * { border-color: var(--lp-border) !important; }
body.lux-landing .lp-faq summary:hover { background: rgba(255,255,255,0.04) !important; }

/* ---- Inputs / fields ---- */
body.lux-landing .lp-field input,
body.lux-landing .lp-input-wrap input {
  background: var(--lp-surface-3) !important;
  border: 1px solid var(--lp-border-strong) !important;
  color: var(--lp-text) !important;
}

/* ---- Footer: flat, no card surface ---- */
body.lux-landing .lp-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Lang FAB — subtle */
body.lux-landing .lp-lang { box-shadow: none !important; }

/* Force black background (higher specificity to beat theme sheets) */
html body.lux-landing.lp-mode-full,
html body.lux-landing {
  background-color: #000 !important;
  background-image:
    radial-gradient(55% 40% at 50% -6%, rgba(41,151,255,0.07), transparent 62%),
    radial-gradient(45% 38% at 100% 8%, rgba(120,90,255,0.05), transparent 58%) !important;
}
/* Flatten hero stat card + kill purple glow */
body.lux-landing .lp-hero-card {
  background: var(--lp-surface) !important;
  box-shadow: none !important;
}
body.lux-landing .lp-hero-card::before { display: none !important; }
body.lux-landing .lp-hero-card-inner { background: var(--lp-surface-2) !important; }

/* Keep the already-loaded Outfit font (Inter isn't linked on this page) */
html body.lux-landing,
html body.lux-landing.lp-mode-full {
  --lp-font: Outfit, -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif !important;
  font-family: var(--lp-font) !important;
}

/* Flatten remaining tinted bits */
body.lux-landing .lp-hero-note {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--lp-border) !important;
  color: var(--lp-muted) !important;
}
body.lux-landing .lp-hero-card-inner,
body.lux-landing .lp-module,
body.lux-landing .lp-price-mods .lp-badge { color: var(--lp-text); }

/* ============================================================
   UNIFIED NAV — flat black, de-scoped so it works on ANY page
   that loads this sheet (landing, repair-status, register…)
   ============================================================ */
.lp-nav {
  background: rgba(22,22,24,0.72) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
}
.lp-brand { color: #f5f5f7 !important; font-weight: 700; letter-spacing: -0.02em; }
.lp-nav-links a { color: #a1a1a6 !important; }
.lp-nav-links a:hover { color: #fff !important; }
.lp-nav .lp-btn-primary {
  background: #2997ff !important; border: 1px solid #2997ff !important; color: #fff !important; box-shadow: none !important;
}
.lp-nav .lp-btn-primary:hover { background: #0077ed !important; transform: none !important; }
.lp-nav .lp-btn-soft,
.lp-nav .lp-btn-ghost {
  background: rgba(255,255,255,0.05) !important; border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f5f5f7 !important; box-shadow: none !important;
}
.lp-nav .lp-btn-soft:hover,
.lp-nav .lp-btn-ghost:hover { background: rgba(255,255,255,0.10) !important; }
.lp-menu-toggle { color: #f5f5f7 !important; }
