/* ========== 公共样式（版本选择页 + 登录页） ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

:root {
  --c1: #6d28d9;
  --c2: #db2777;
  --grad: linear-gradient(135deg, #6d28d9 0%, #db2777 100%);
}

/* ---------- 版本选择页 ---------- */
.landing-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #4c1d95 0%, #9d174d 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 30px 16px;
}
.landing-inner { text-align: center; width: 100%; max-width: 720px; }
.landing-logo {
  width: 84px; height: 84px; margin: 0 auto 18px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; backdrop-filter: blur(6px);
}
.landing-logo svg { width: 44px; height: 44px; }
.landing-title { color: #fff; font-size: 34px; letter-spacing: 4px; margin-bottom: 10px; }
.landing-sub { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 42px; }

.version-cards { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.version-card {
  width: 300px; background: #fff; border-radius: 20px; padding: 36px 28px 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; align-items: center;
}
.version-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.vc-icon {
  width: 76px; height: 76px; border-radius: 20px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; color: #fff;
  margin-bottom: 18px; box-shadow: 0 8px 20px rgba(219,39,119,.35);
}
.vc-icon svg { width: 38px; height: 38px; }
.version-card h2 { font-size: 22px; color: #1f2937; margin-bottom: 8px; }
.version-card p { font-size: 13px; color: #6b7280; line-height: 1.8; margin-bottom: 20px; }
.vc-btn {
  background: var(--grad); color: #fff; font-size: 14px;
  padding: 10px 34px; border-radius: 999px;
}
.landing-foot { margin-top: 46px; color: rgba(255,255,255,.5); font-size: 13px; letter-spacing: 1px; }

/* ---------- 登录页 ---------- */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #4c1d95 0%, #9d174d 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 14px;
}
.login-box {
  width: 100%; max-width: 400px; background: #fff; border-radius: 20px;
  padding: 40px 36px 30px; box-shadow: 0 24px 60px rgba(0,0,0,.3);
  text-align: center;
}
.login-logo {
  width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 18px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(219,39,119,.35);
}
.login-logo svg { width: 34px; height: 34px; }
.login-box h1 { font-size: 22px; color: #1f2937; margin-bottom: 4px; }
.login-sub { font-size: 13px; color: #9ca3af; margin-bottom: 26px; }
.login-item { text-align: left; margin-bottom: 16px; }
.login-item label { display: block; font-size: 13px; color: #4b5563; margin-bottom: 6px; }
.login-item input {
  width: 100%; height: 44px; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 0 14px; font-size: 15px; outline: none; transition: border .2s, box-shadow .2s;
  background: #f9fafb;
}
.login-item input:focus { border-color: var(--c1); box-shadow: 0 0 0 3px rgba(109,40,217,.12); background: #fff; }
.login-err { min-height: 20px; font-size: 13px; color: #dc2626; margin-bottom: 8px; text-align: left; }
.login-btn {
  width: 100%; height: 46px; border: none; border-radius: 10px;
  background: var(--grad); color: #fff; font-size: 16px; letter-spacing: 6px;
  transition: opacity .2s;
}
.login-btn:hover { opacity: .9; }
.login-tip { margin-top: 16px; font-size: 12px; color: #9ca3af; }
.back-link { display: inline-block; margin-top: 14px; font-size: 13px; color: #8b5cf6; }
.back-link:hover { text-decoration: underline; }
