/* ── Page ── */


.lp-page {
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 80px);
}
html.theme-dark .lp-page { background: #080d18; }

/* ── Main grid ── */
.lp-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 40px;
  width: 100%;
  align-items: start;
}
.lp-main > div { display: flex; flex-direction: column; }
.lp-main > .lp-left .lp-inner-grid { flex: 1; }
.lp-main > .lp-right .lp-form-card { flex: 1; }

/* ── LEFT COLUMN ── */
.lp-heading { margin-bottom: 28px; }
.lp-welcome {
  display: block;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
}
html.theme-dark .lp-welcome { color: #f1f5f9; }
.lp-brand {
  display: block;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}
html.theme-dark .lp-subtitle { color: #94a3b8; }

/* ── Inner 2-col grid ── */
.lp-inner-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

/* Feature list (left sub-col) */
.lp-feat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  height: 100%;
}
.lp-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  padding: 14px 15px;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}
.lp-feat-item:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  border-color: #c7d2e0;
  transform: translateY(-1px);
}
html.theme-dark .lp-feat-item { background: #1a2540; border-color: #2a3a5c; }
html.theme-dark .lp-feat-item:hover { border-color: #3a517a; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.lp-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-feat-icon.ic-purple { background: #ede9fe; }
.lp-feat-icon.ic-green  { background: #dcfce7; }
.lp-feat-icon.ic-blue   { background: #dbeafe; }
.lp-feat-icon.ic-orange { background: #fef3c7; }
html.theme-dark .lp-feat-icon.ic-purple { background: rgba(124,58,237,.14); }
html.theme-dark .lp-feat-icon.ic-green  { background: rgba(34,197,94,.14); }
html.theme-dark .lp-feat-icon.ic-blue   { background: rgba(59,130,246,.14); }
html.theme-dark .lp-feat-icon.ic-orange { background: rgba(245,158,11,.14); }
.lp-feat-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
  line-height: 1.3;
}
html.theme-dark .lp-feat-item h4 { color: #e2e8f0; }
.lp-feat-item p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}
html.theme-dark .lp-feat-item p { color: #94a3b8; }

/* Feature cards (right sub-col) */
.lp-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}
.lp-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  padding: 11px 13px;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  cursor: default;
}
.lp-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  border-color: #c7d2e0;
  transform: translateY(-1px);
}
html.theme-dark .lp-card { background: #1a2540; border-color: #2a3a5c; }
html.theme-dark .lp-card:hover { border-color: #3a517a; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.lp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-card-icon.ic-green  { background: #dcfce7; }
.lp-card-icon.ic-blue   { background: #dbeafe; }
.lp-card-icon.ic-orange { background: #fef3c7; }
.lp-card-icon.ic-purple { background: #ede9fe; }
html.theme-dark .lp-card-icon.ic-green  { background: rgba(34,197,94,.14); }
html.theme-dark .lp-card-icon.ic-blue   { background: rgba(59,130,246,.14); }
html.theme-dark .lp-card-icon.ic-orange { background: rgba(245,158,11,.14); }
html.theme-dark .lp-card-icon.ic-purple { background: rgba(124,58,237,.14); }
.lp-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
  line-height: 1.3;
}
html.theme-dark .lp-card h3 { color: #e2e8f0; }
.lp-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 6px;
}
html.theme-dark .lp-card p { color: #94a3b8; }
.lp-card-link {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  transition: opacity .2s;
}
.lp-card-link:hover { opacity: .72; }
.lp-card-link.cl-green  { color: #16a34a; }
.lp-card-link.cl-purple { color: #7c3aed; }

/* Stats row */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lp-stat {
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html.theme-dark .lp-stat { background: #1a2540; border-color: #2a3a5c; }
.lp-stat-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-stat-num {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 1px;
}
html.theme-dark .lp-stat-num { color: #f1f5f9; }
.lp-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}
html.theme-dark .lp-stat-label { color: #94a3b8; }
.lp-stat-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.45;
}
html.theme-dark .lp-stat-desc { color: #64748b; }

/* ── RIGHT COLUMN ── */
.lp-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 34px 36px 30px;
  box-shadow: 0 6px 40px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
}
html.theme-dark .lp-form-card { background: #1a2540; border-color: #2a3a5c; box-shadow: 0 6px 40px rgba(0,0,0,.35); }

.lp-form-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin: 0 0 6px;
  line-height: 1.25;
}
html.theme-dark .lp-form-title { color: #f1f5f9; }
.lp-form-sub {
  font-size: 13.5px;
  color: #64748b;
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.5;
}
html.theme-dark .lp-form-sub { color: #94a3b8; }

/* Trust badge container */
.lp-trust-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 16px 13px;
  margin-bottom: 16px;
}
html.theme-dark .lp-trust-box { border-color: #2a3a5c; background: #0f1a2e; }
.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 14px;
  margin-bottom: 10px;
}
.lp-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #475569;
  font-weight: 500;
}
html.theme-dark .lp-trust-badge { color: #94a3b8; }
.lp-trust-check {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.lp-trust-info {
  font-size: 12px;
  color: #475569;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
html.theme-dark .lp-trust-info { color: #94a3b8; }

/* Form fields */
.lp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.lp-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
html.theme-dark .lp-field label { color: #c4d0e6; }
.lp-forgot {
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}
.lp-forgot:hover { text-decoration: underline; }
html.theme-dark .lp-forgot { color: #818cf8; }
.lp-input-wrap { position: relative; }
.lp-icon-l {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  line-height: 0;
}
.lp-icon-r {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
  transition: color .15s;
}
.lp-icon-r:hover { color: #64748b; }
.lp-input {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s, background-color .18s, color .18s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.lp-input.has-l { padding-left: 38px; }
.lp-input.has-r { padding-right: 40px; }
.lp-input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.lp-input::placeholder { color: #a0aec0; }

html.theme-dark .lp-page,
html.dark .lp-page {
  color-scheme: dark;
}

html.theme-dark #theme-invert-wrap .lp-input,
html.dark #theme-invert-wrap .lp-input,
html.theme-dark .lp-input,
html.dark .lp-input {
  background-color: #0f1a2e !important;
  border-color: #2a3a5c !important;
  color: #e2e8f0 !important;
  color-scheme: dark;
}

html.theme-dark #theme-invert-wrap .lp-input:focus,
html.dark #theme-invert-wrap .lp-input:focus,
html.theme-dark .lp-input:focus,
html.dark .lp-input:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.18) !important;
}

html.theme-dark #theme-invert-wrap .lp-input::placeholder,
html.dark #theme-invert-wrap .lp-input::placeholder,
html.theme-dark .lp-input::placeholder,
html.dark .lp-input::placeholder {
  color: #4a6080 !important;
}

html.theme-dark #theme-invert-wrap .lp-input:-webkit-autofill,
html.dark #theme-invert-wrap .lp-input:-webkit-autofill,
html.theme-dark .lp-input:-webkit-autofill,
html.dark .lp-input:-webkit-autofill,
html.theme-dark #theme-invert-wrap .lp-input:-webkit-autofill:hover,
html.dark #theme-invert-wrap .lp-input:-webkit-autofill:hover,
html.theme-dark .lp-input:-webkit-autofill:hover,
html.dark .lp-input:-webkit-autofill:hover,
html.theme-dark #theme-invert-wrap .lp-input:-webkit-autofill:focus,
html.dark #theme-invert-wrap .lp-input:-webkit-autofill:focus,
html.theme-dark .lp-input:-webkit-autofill:focus,
html.dark .lp-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #e2e8f0 !important;
  -webkit-box-shadow: 0 0 0 1000px #0f1a2e inset !important;
  box-shadow: 0 0 0 1000px #0f1a2e inset !important;
  caret-color: #e2e8f0;
  border-color: #2a3a5c !important;
  transition: background-color 9999s ease-out 0s;
}

html.theme-dark .lp-icon-l,
html.dark .lp-icon-l,
html.theme-dark .lp-icon-r,
html.dark .lp-icon-r {
  color: #64748b;
}

html.theme-dark .lp-icon-r:hover,
html.dark .lp-icon-r:hover {
  color: #94a3b8;
}

/* Remember me */
.lp-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.lp-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: #6366f1;
  cursor: pointer;
}
.lp-remember label {
  font-size: 12.5px;
  color: #475569;
  cursor: pointer;
}
html.theme-dark .lp-remember label { color: #94a3b8; }

/* Button */
.lp-login-submit {
  display: block;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #4f46e5 0%, #6d28d9 60%, #7c3aed 100%);
  border: none;
  border-radius: 13px;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .01em;
  text-align: center;
  transition: opacity .18s, transform .15s, box-shadow .2s;
  margin-bottom: 14px;
}
.lp-login-submit:hover { opacity: .91; transform: translateY(-1px); box-shadow: 0 8px 26px rgba(79,70,229,.38); }
.lp-login-submit:active { transform: translateY(0); }

/* OR sep */
.lp-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
}
.lp-or::before, .lp-or::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
html.theme-dark .lp-or::before, html.theme-dark .lp-or::after { background: #2a3a5c; }

/* Social buttons */
.lp-social-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  width: 100%;
}
.lp-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.lp-social-btn:hover { border-color: #c7d2e0; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
html.theme-dark .lp-social-btn { background: #0f1a2e; border-color: #3a517a; color: #e2e8f0; }
html.theme-dark .lp-social-btn:hover { border-color: #5a78aa; background: #162035; }

/* Signup link */
.lp-signup-link {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}
html.theme-dark .lp-signup-link { color: #94a3b8; }
.lp-signup-link a { color: #4f46e5; font-weight: 700; text-decoration: none; }
.lp-signup-link a:hover { text-decoration: underline; }
html.theme-dark .lp-signup-link a { color: #818cf8; }

/* Cert block */
.lp-cert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: auto;
}
.lp-cert-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html.theme-dark .lp-cert-icon { background: rgba(124,58,237,.14); }
.lp-cert h5 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
}
html.theme-dark .lp-cert h5 { color: #e2e8f0; }
.lp-cert p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 8px;
}
html.theme-dark .lp-cert p { color: #94a3b8; }
.lp-cert img { max-width: 110px; display: block; }

/* ── Bottom trust bar ── */
.lp-bar {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  padding: 22px 32px;
}
html.theme-dark .lp-bar { background: #0d1526; border-top-color: #1e2f4a; }
.lp-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 12px;
  align-items: start;
}
.lp-bar-item { display: flex; align-items: flex-start; gap: 10px; }
.lp-bar-icon { width: 34px; height: 34px; min-width: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.lp-bar-text h5 { font-size: 12px; font-weight: 700; color: #0f172a; margin: 0 0 2px; line-height: 1.3; }
html.theme-dark .lp-bar-text h5 { color: #e2e8f0; }
.lp-bar-text p { font-size: 11px; color: #64748b; line-height: 1.5; margin: 0; }
html.theme-dark .lp-bar-text p { color: #7a90b0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lp-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 24px 32px; }
  .lp-form-card { padding: 28px 28px 24px; }
}
@media (max-width: 860px) {
  .lp-main { grid-template-columns: 1fr; max-width: 580px; padding: 32px 20px; }
  .lp-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .lp-inner-grid { grid-template-columns: 1.6fr 1fr; }
}
@media (max-width: 640px) {
  .lp-form-card { padding: 22px 18px 20px; }
  .lp-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .lp-bar { padding: 20px 16px; }
  .lp-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .lp-inner-grid { grid-template-columns: 1fr; }
  .lp-bar-inner { grid-template-columns: 1fr 1fr; }
  .lp-main { padding: 24px 16px; }
  .lp-stats { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .lp-bar-inner { grid-template-columns: 1fr; }
}