/* =========================================================
   登录页 · 依据设计稿重构（品牌左 / 登录卡右，明亮蓝紫）
========================================================= */
body.login-page {
  min-height: 100vh; margin: 0; display: grid; grid-template-columns: 1fr minmax(500px, 580px);
  font-family: var(--font-sans); color: #1a2340; position: relative; overflow-x: hidden;
  background: linear-gradient(125deg, #eef4ff 0%, #e4ecff 46%, #ece6ff 100%);
}
/* 背景几何装饰 */
.lp-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.lp-bg::before, .lp-bg::after {
  content: ""; position: absolute; border-radius: 40px; transform: rotate(32deg); opacity: .5;
}
.lp-bg::before { width: 620px; height: 620px; right: -160px; top: -220px;
  background: linear-gradient(135deg, rgba(120,160,255,.28), rgba(180,150,255,.12)); }
.lp-bg::after { width: 460px; height: 460px; left: 30%; bottom: -220px;
  background: linear-gradient(135deg, rgba(140,180,255,.22), rgba(120,210,255,.05)); }

/* —— 左侧 —— */
.lp-intro { position: relative; z-index: 1; display: flex; align-items: center; padding: 4vh 3vw; }
.lp-intro-inner { position: relative; width: 100%; max-width: 660px; margin-left: auto; margin-right: auto; }

.lp-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 5vh; }
.lp-logo { width: 54px; height: 54px; display: block; filter: drop-shadow(0 8px 16px rgba(61,90,254,.28)); }
.lp-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 27px; color: #16204a; letter-spacing: -.01em; }
.lp-brand-sub { font-size: 13px; color: #6b7794; margin-top: 2px; letter-spacing: .02em; }

.lp-hero h1 { font-family: var(--font-display); font-size: 46px; line-height: 1.24; font-weight: 800; color: #16204a; margin: 0 0 18px; letter-spacing: -.02em; }
.lp-hl { background: linear-gradient(92deg, #3d5afe, #8b20eb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-line { width: 54px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #3d5afe, #06b6d4); margin-bottom: 14px; }
.lp-hero p { font-size: 15px; color: #59657f; margin: 0 0 34px; }

/* —— 价值链 12 环节 —— */
.lp-flow { position: relative; width: 644px; max-width: 100%; padding: 0 16px; box-sizing: border-box; margin-bottom: 2vh; }
.lp-flow-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.lp-flow-row { display: flex; gap: 28px; margin-bottom: 22px; position: relative; z-index: 1; }
.lp-flow-row.lp-row-rev { flex-direction: row-reverse; }
.lp-flow-row:last-child { margin-bottom: 0; }
.flow-card {
  width: 132px; height: 62px; flex: 0 0 132px; box-sizing: border-box; display: flex; align-items: center; gap: 10px;
  padding: 0 12px; background: #fff; border: 1px solid #eaf0fb; border-radius: 14px;
  box-shadow: 0 8px 20px -12px rgba(40,70,160,.28); transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.flow-card:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(40,70,160,.36); }
.flow-ic {
  position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c);
}
.flow-ic svg { width: 19px; height: 19px; }
.flow-num {
  position: absolute; top: -7px; right: -7px; min-width: 15px; height: 15px; padding: 0 3px; font-style: normal;
  background: #fff; border: 1px solid #e6ecf7; color: var(--c); font-size: 9.5px; font-weight: 800; font-family: var(--font-mono);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.flow-name { font-size: 13px; font-weight: 700; color: #24304f; white-space: nowrap; }

/* —— 底部等距装饰 —— */
.lp-deco { position: absolute; left: -10px; bottom: -3vh; width: 300px; max-width: 46%; opacity: .9; pointer-events: none; z-index: 0; }

/* —— 右侧登录卡 —— */
.lp-login { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 4vh 40px; }
.lp-card {
  width: 100%; max-width: 480px; background: #fff; border-radius: 22px; padding: 34px 36px 26px;
  box-shadow: 0 30px 70px -30px rgba(30,50,120,.34), 0 2px 10px -4px rgba(30,50,120,.1);
  border: 1px solid rgba(255,255,255,.9);
}
.lp-card-head h2 { font-family: var(--font-display); font-size: 27px; font-weight: 800; margin: 0 0 8px; color: #16204a; }
.lp-card-head p { color: #8a93a6; font-size: 13.5px; margin: 0 0 26px; }

.login-error { background: var(--color-danger-bg); color: var(--color-danger); font-size: 12.5px; padding: 10px 13px; border-radius: 10px; margin-bottom: 16px; display: none; }
.login-error.show { display: block; animation: popIn .2s var(--ease); }

.lp-field { margin-bottom: 16px; }
.lp-field label { display: block; font-size: 13px; font-weight: 600; color: #3b465f; margin-bottom: 8px; }
.lp-input { position: relative; display: flex; align-items: center; }
.lp-input-ic { position: absolute; left: 13px; display: flex; color: #9aa4ba; pointer-events: none; }
.lp-input-ic svg { width: 18px; height: 18px; }
.lp-input input {
  width: 100%; border: 1.5px solid #e4e9f4; border-radius: 12px; padding: 13px 14px 13px 42px; font-size: 14px;
  outline: none; background: #fbfcff; transition: border-color .16s, box-shadow .16s; color: #1a2340;
}
.lp-input input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(61,90,254,.14); background: #fff; }
.lp-eye { position: absolute; right: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #9aa4ba; border-radius: 8px; }
.lp-eye:hover { color: var(--brand-blue); background: var(--bg-hover); }
.lp-eye svg { width: 18px; height: 18px; }
.lp-eye.on { color: var(--brand-blue); }

.lp-submit {
  width: 100%; padding: 14px; border-radius: 12px; background: linear-gradient(92deg, #3d5afe 0%, #6d3cf0 100%);
  color: #fff; font-size: 15.5px; font-weight: 700; border: none; margin-top: 6px; letter-spacing: .12em;
  box-shadow: 0 14px 26px -12px rgba(80,60,240,.6); transition: transform .14s, box-shadow .16s; font-family: var(--font-display);
}
.lp-submit:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -12px rgba(80,60,240,.66); }
.lp-submit:active { transform: translateY(1px); }
.lp-submit:disabled { opacity: .72; cursor: not-allowed; }

.lp-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; color: #9aa4ba; font-size: 12.5px; }
.lp-divider::before, .lp-divider::after { content: ""; height: 1px; flex: 1; background: #eaeef6; }

.lp-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-demo {
  display: flex; align-items: center; gap: 9px; text-align: left; background: #f8faff; border: 1px solid #eef2fb;
  border-radius: 13px; padding: 10px 11px; min-width: 0; overflow: hidden; transition: all .16s var(--ease);
}
.lp-demo:hover { border-color: var(--brand-blue); box-shadow: 0 10px 22px -12px rgba(40,70,160,.34); transform: translateY(-1px); background: #fff; }
.lp-demo-ic { width: 31px; height: 31px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); }
.lp-demo-ic svg { width: 17px; height: 17px; }
.lp-demo-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.32; }
.lp-demo-txt b { font-size: 12.5px; color: #24304f; }
.lp-demo-txt span { font-size: 10px; color: #8a93a6; font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-demo-arrow { color: #c2cadb; display: flex; flex-shrink: 0; }
.lp-demo-arrow svg { width: 14px; height: 14px; }
.lp-demo:hover .lp-demo-arrow { color: var(--brand-blue); }

.lp-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; color: #97a0b4; font-size: 12px; }
.lp-secure svg { width: 14px; height: 14px; color: #16a34a; }

/* —— 响应式 —— */
@media (max-width: 1080px) {
  body.login-page { grid-template-columns: 1fr; }
  .lp-intro { display: none; }
  .lp-login { padding: 6vh 22px; }
}
