*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: #0a0f0d;
  display: flex; align-items: stretch;
}

/* ── Left: brand panel ──────────────────────────────────────────── */
.lp-brand {
  width: 46%;
  background: linear-gradient(160deg, #020c05 0%, #042010 35%, #064e28 65%, #065f46 88%, #0d766a 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3.5rem;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}

/* Dot-grid texture */
.lp-deco-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

/* Ambient orbs */
.lp-deco-orb {
  position: absolute; border-radius: 50%; z-index: 0;
  pointer-events: none;
}
.lp-deco-orb--1 {
  width: 480px; height: 480px;
  right: -160px; top: -160px;
  background: radial-gradient(circle, rgba(74,222,128,.10) 0%, transparent 65%);
}
.lp-deco-orb--2 {
  width: 320px; height: 320px;
  left: -100px; bottom: -100px;
  background: radial-gradient(circle, rgba(20,184,166,.07) 0%, transparent 65%);
}

.lp-brand-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 2rem;
}

.lp-brand-logo {
  width: 130px; height: 130px; object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.5)) brightness(1.08);
  animation: lp-logo-in .7s .1s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes lp-logo-in {
  from { transform: scale(.55); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Headline block */
.lp-brand-headline {
  display: flex; flex-direction: column;
  align-items: center; gap: .75rem;
}
.lp-brand-eyebrow {
  font-size: .62rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: #4ade80;
  display: flex; align-items: center; gap: 8px;
}
.lp-brand-eyebrow::before,
.lp-brand-eyebrow::after {
  content: ''; display: block; width: 22px; height: 1.5px;
  background: #4ade80; border-radius: 2px; opacity: .55;
}
.lp-brand-title {
  font-size: 3rem; font-weight: 800; color: #fff;
  letter-spacing: -.05em; line-height: 1.05; margin: 0;
}
.lp-brand-title-accent {
  background: linear-gradient(90deg, #4ade80 0%, #34d399 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-brand-desc {
  font-size: .85rem; color: rgba(255,255,255,.4);
  line-height: 1.65; margin: 0;
}

/* Version badge */
.lp-brand-ver {
  position: absolute; bottom: 1.5rem; right: 1.75rem;
  font-size: .68rem; font-weight: 700; color: #4ade80;
  border: 1.5px solid rgba(74,222,128,.3); border-radius: 999px;
  padding: .15rem .65rem; background: rgba(74,222,128,.06);
  z-index: 1;
}

/* ── Right: form panel ──────────────────────────────────────────── */
.lp-form-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: #fff; padding: 3rem 2rem;
}
.lp-form-inner { width: 100%; max-width: 400px; }
.lp-eyebrow {
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; color: #16a34a; margin-bottom: .65rem;
  display: flex; align-items: center; gap: 7px;
}
.lp-eyebrow::before {
  content: ''; display: inline-block; width: 20px; height: 2px;
  background: #16a34a; border-radius: 2px;
}
.lp-heading {
  font-size: 1.9rem; font-weight: 800; color: #0f172a;
  letter-spacing: -.04em; line-height: 1.15; margin-bottom: .4rem;
}
.lp-sub { font-size: .875rem; color: #64748b; margin-bottom: 2rem; }

/* Flash */
.lp-flash {
  padding: .75rem 1rem; border-radius: 10px;
  font-size: .84rem; font-weight: 600; margin-bottom: 1.25rem;
  border: 1.5px solid transparent;
  display: flex; align-items: flex-start; gap: 8px;
}
.lp-flash--error   { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.lp-flash--success { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.lp-flash svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

/* Form fields */
.lp-field { margin-bottom: 1.1rem; }
.lp-field label {
  display: block; font-size: .75rem; font-weight: 800;
  color: #334155; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .45rem;
}
.lp-field-wrap { position: relative; }
.lp-field-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #94a3b8; pointer-events: none;
}
.lp-field input {
  width: 100%; background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 11px; color: #0f172a; font-family: inherit;
  font-size: .9375rem; font-weight: 500;
  padding: .8rem 1rem .8rem 2.6rem; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.lp-field input::placeholder { color: #cbd5e1; }
.lp-field input:focus {
  border-color: #16a34a; background: #fff;
  box-shadow: 0 0 0 3.5px rgba(22,163,74,.12);
}

/* Submit */
.lp-submit {
  width: 100%; padding: .9rem 1.5rem;
  background: #0f172a; color: #fff; border: none;
  border-radius: 11px; font-family: inherit;
  font-size: .9375rem; font-weight: 800;
  cursor: pointer; margin-top: .5rem;
  letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .18s, box-shadow .18s, transform .1s;
}
.lp-submit:hover { background: #1e293b; box-shadow: 0 4px 20px rgba(0,0,0,.2); transform: translateY(-1px); }
.lp-submit:active { transform: translateY(0); }
.lp-submit svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Footer */
.lp-footer { margin-top: 2rem; text-align: center; }
.lp-footer-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700; color: #16a34a; text-decoration: none;
  transition: color .15s;
}
.lp-footer-link:hover { color: #15803d; text-decoration: underline; }
.lp-footer-link svg { width: 13px; height: 13px; flex-shrink: 0; }
.lp-copy { font-size: .72rem; color: #94a3b8; margin-top: 1.5rem; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 820px) {
  body { flex-direction: column; }
  .lp-brand {
    width: 100%; padding: 2rem 1.75rem 1.75rem;
    min-height: auto;
  }
  .lp-brand-logo { width: 72px; height: 72px; }
  .lp-brand-title { font-size: 2rem; }
  .lp-brand-desc { display: none; }
  .lp-brand-ver { bottom: .75rem; right: 1rem; }
  .lp-form-wrap { padding: 2.5rem 1.5rem 3rem; }
}
@media (max-width: 480px) {
  .lp-brand { padding: 1.75rem 1.25rem 1.5rem; }
  .lp-form-inner { max-width: 100%; }
  .lp-brand-title { font-size: 1.75rem; }
  .lp-heading { font-size: 1.6rem; }
}
