/* 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;
}

.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);
  flex: 1;
}

.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);
}

/* ── 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; }
  .lp-nav-actions .lp-btn-soft { display: none; }
}

@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;
  }
  .lp-nav-actions .lp-btn-label { max-width: 5.5rem; }
  .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; }
}
