/* =========================================================
   入口页 / 登录页 —— 自主学习星图
   浅色商务主题（对齐「爱成长门店运营系统」配色）
   ========================================================= */

:root {
  --lp-bg: #F3F6FC;
  --lp-card: #FFFFFF;
  --lp-border: rgba(20, 50, 110, 0.13);
  --lp-text: #1D2129;
  --lp-text-2: #4E5969;
  --lp-text-3: #86909C;
  --lp-primary: #2563EB;
  --lp-primary-dark: #1D4ED8;
  --lp-purple: #7C3AED;
  --lp-grad: linear-gradient(90deg, #2563EB, #7C3AED);
  --lp-grad-text: linear-gradient(92deg, #2563EB 8%, #7C3AED 48%, #0891B2 90%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', -apple-system, sans-serif;
  color: var(--lp-text);
  background: var(--lp-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

.lp-wrap { overflow: hidden; position: relative; }
.lp-wrap::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(37, 99, 235, 0.06), transparent 62%),
    radial-gradient(900px 520px at 88% 6%, rgba(124, 58, 237, 0.05), transparent 62%);
}
.lp-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- 导航 ---------- */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 50, 110, 0.08);
  transition: padding 0.25s, background 0.25s;
}
.lp-nav.scrolled { padding: 10px 0; background: rgba(255, 255, 255, 0.95); }
.lp-nav-inner { display: flex; align-items: center; gap: 28px; }
.lp-logo { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.lp-logo .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--lp-grad); color: #FFFFFF; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.lp-logo .mark svg { width: 18px; height: 18px; }
.lp-logo .name {
  font-size: 17px; font-weight: 800; letter-spacing: 0.08em;
  background: var(--lp-grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-links { display: flex; gap: 26px; }
.lp-links a { font-size: 13.5px; color: var(--lp-text-2); position: relative; padding: 3px 0; }
.lp-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--lp-grad); transition: width 0.25s;
}
.lp-links a:hover { color: var(--lp-text); }
.lp-links a:hover::after { width: 100%; }
.lp-cta {
  padding: 8px 20px; border-radius: 999px; background: var(--lp-grad); color: #FFFFFF;
  font-size: 13px; font-weight: 700; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* ---------- Hero ---------- */
.lp-hero { padding: 150px 0 90px; position: relative; }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.24em; color: var(--lp-primary);
  border: 1px solid rgba(37, 99, 235, 0.30); background: rgba(37, 99, 235, 0.08);
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}
.lp-h1 {
  font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; line-height: 1.24;
  margin-top: 20px; letter-spacing: -0.01em; text-wrap: balance;
}
.lp-h1 em {
  font-style: normal;
  background: var(--lp-grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-sub { margin-top: 20px; font-size: 15px; color: var(--lp-text-2); max-width: 540px; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--lp-grad); color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s, filter 0.2s;
}
.lp-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.lp-btn.ghost {
  background: #FFFFFF; color: var(--lp-text);
  border: 1px solid var(--lp-border); box-shadow: 0 2px 8px rgba(20, 50, 110, 0.06);
}
.lp-btn.ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary); }
.lp-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.lp-stat .n {
  font-size: 30px; font-weight: 800; line-height: 1;
  background: var(--lp-grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-stat .l { font-size: 12px; color: var(--lp-text-3); margin-top: 7px; letter-spacing: 0.08em; }

.lp-orbit { position: relative; height: 380px; }
.lp-orbit::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 68%);
  filter: blur(2px);
}
.lp-ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.18);
  transform: translate(-50%, -50%);
}
.lp-ring.r1 { width: 160px; height: 160px; }
.lp-ring.r2 { width: 240px; height: 240px; border-color: rgba(124, 58, 237, 0.16); }
.lp-ring.r3 { width: 330px; height: 330px; border-color: rgba(37, 99, 235, 0.10); }
.lp-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--lp-grad); color: #FFFFFF;
  display: grid; place-items: center; font-size: 34px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.30), 0 4px 60px rgba(124, 58, 237, 0.18);
  animation: lpFloat 4s ease-in-out infinite;
}
@keyframes lpFloat { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-8px); } }
.lp-node {
  position: absolute; transform: translate(-50%, -50%);
  padding: 7px 12px; border-radius: 999px; font-size: 11.5px; color: var(--lp-text-2);
  background: #FFFFFF; border: 1px solid var(--lp-border);
  box-shadow: 0 4px 14px rgba(20, 50, 110, 0.10); white-space: nowrap;
}
.lp-node:nth-child(5) { left: 50%; top: 8%; color: #2563EB; border-color: rgba(37, 99, 235, 0.35); }
.lp-node:nth-child(6) { left: 92%; top: 38%; color: #7C3AED; border-color: rgba(124, 58, 237, 0.35); }
.lp-node:nth-child(7) { left: 76%; top: 83%; color: #0891B2; border-color: rgba(8, 145, 178, 0.35); }
.lp-node:nth-child(8) { left: 20%; top: 82%; color: #D97706; border-color: rgba(217, 119, 6, 0.32); }
.lp-node:nth-child(9) { left: 6%; top: 36%; color: #16A34A; border-color: rgba(22, 163, 74, 0.32); }

/* ---------- 通用区块 ---------- */
.lp-section { padding: 74px 0; position: relative; }
.lp-sec-head { margin-bottom: 34px; max-width: 680px; }
.lp-sec-head .kicker { font-size: 11.5px; letter-spacing: 0.22em; color: var(--lp-primary); text-transform: uppercase; font-weight: 600; }
.lp-sec-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-top: 10px; line-height: 1.3; }
.lp-sec-head p { color: var(--lp-text-2); font-size: 14px; margin-top: 10px; }

.lp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-card {
  background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 16px;
  padding: 24px; box-shadow: 0 4px 16px rgba(20, 50, 110, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lp-card:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, 0.40); box-shadow: 0 10px 26px rgba(20, 50, 110, 0.10); }
.lp-card .ico {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  font-size: 20px; background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: 16px;
}
.lp-card h3 { font-size: 17px; font-weight: 700; }
.lp-card p { font-size: 13px; color: var(--lp-text-2); margin-top: 8px; line-height: 1.75; }
.lp-card .mini { font-size: 11.5px; color: var(--lp-text-3); margin-top: 14px; letter-spacing: 0.04em; }

/* ---------- 成长路径 ---------- */
.lp-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lp-stage {
  background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 14px;
  padding: 22px; position: relative; overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 50, 110, 0.06);
}
.lp-stage::after {
  content: ''; position: absolute; right: -24px; bottom: -34px; width: 110px; height: 110px;
  border-radius: 50%; background: radial-gradient(circle, var(--sc, rgba(37, 99, 235, 0.25)), transparent 70%);
  opacity: 0.5;
}
.lp-stage .tagline { font-size: 11px; letter-spacing: 0.14em; color: var(--lc); font-weight: 600; }
.lp-stage h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.lp-stage .age { font-size: 11.5px; color: var(--lp-text-3); margin-top: 3px; }
.lp-stage p { font-size: 12.5px; color: var(--lp-text-2); margin-top: 12px; line-height: 1.7; min-height: 62px; }
.lp-stage .cnt { font-size: 12px; color: var(--lc); margin-top: 12px; }

/* ---------- 模块 ---------- */
.lp-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-module {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 14px;
  padding: 18px; box-shadow: 0 4px 16px rgba(20, 50, 110, 0.06);
  transition: border-color 0.2s, transform 0.2s;
}
.lp-module:hover { border-color: rgba(124, 58, 237, 0.40); transform: translateY(-2px); }
.lp-module .mi {
  width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-size: 16px; background: rgba(124, 58, 237, 0.08); border: 1px solid rgba(124, 58, 237, 0.18);
}
.lp-module b { font-size: 14px; display: block; }
.lp-module span.d { font-size: 12px; color: var(--lp-text-3); display: block; margin-top: 3px; line-height: 1.6; }

/* ---------- 对比 ---------- */
.lp-compare {
  width: 100%; border-collapse: collapse; border: 1px solid var(--lp-border);
  border-radius: 14px; overflow: hidden; font-size: 13px; background: #FFFFFF;
}
.lp-compare th, .lp-compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(20, 50, 110, 0.08); }
.lp-compare th { background: #F2F3F5; color: var(--lp-text-2); font-weight: 600; font-size: 12.5px; }
.lp-compare tr:last-child td { border-bottom: none; }
.lp-compare td:first-child { color: var(--lp-text-2); width: 140px; }
.lp-compare td.old { color: var(--lp-text-3); }
.lp-compare td.new { color: var(--lp-text); }
.lp-compare td.new::before { content: '✦ '; color: var(--lp-primary); }

/* ---------- CTA ---------- */
.lp-band {
  position: relative; overflow: hidden; border-radius: 22px;
  padding: 46px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.24);
  flex-wrap: wrap;
}
.lp-band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.4; }
.lp-band p { font-size: 13px; color: var(--lp-text-2); margin-top: 8px; }

/* ---------- 页脚 ---------- */
.lp-footer { border-top: 1px solid rgba(20, 50, 110, 0.10); padding: 30px 0 40px; margin-top: 40px; }
.lp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--lp-text-3); }
.lp-footer .fl { display: flex; gap: 18px; }
.lp-footer .fl a:hover { color: var(--lp-primary); }

/* ---------- 登录页 ---------- */
.lg-body {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  padding: 9vh 24px 40px; position: relative; overflow-x: hidden;
}
#lgParticles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.lg-wrap { position: relative; z-index: 1; width: 100%; max-width: 440px; }
.lg-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--lp-text-3); margin-bottom: 22px; }
.lg-back:hover { color: var(--lp-primary); }
.lg-card {
  background: #FFFFFF; border: 1px solid rgba(37, 99, 235, 0.20);
  border-radius: 20px; padding: 34px 32px;
  box-shadow: 0 24px 70px rgba(20, 50, 110, 0.12);
}
.lg-logo { text-align: center; margin-bottom: 28px; }
.lg-logo .ic {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 14px;
  display: grid; place-items: center; background: var(--lp-grad); color: #FFFFFF;
  font-size: 26px; box-shadow: 0 10px 26px rgba(37, 99, 235, 0.30);
  animation: lpFloat 3.6s ease-in-out infinite;
}
.lg-logo h1 { font-size: 20px; font-weight: 800; letter-spacing: 0.1em; background: var(--lp-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lg-logo p { font-size: 12.5px; color: var(--lp-text-3); margin-top: 6px; letter-spacing: 0.06em; }

.lg-field { margin-bottom: 16px; }
.lg-field label { display: block; font-size: 12px; color: var(--lp-text-2); margin-bottom: 6px; }
.lg-input {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-size: 13.5px;
  background: #F7F8FA; border: 1px solid var(--lp-border); color: var(--lp-text);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.lg-input::placeholder { color: var(--lp-text-3); }
.lg-input:focus { border-color: var(--lp-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.lg-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--lp-text-2); margin: 4px 0 18px; }
.lg-check input { width: 15px; height: 15px; accent-color: var(--lp-primary); }
.lg-btn {
  width: 100%; padding: 13px; border-radius: 12px; font-size: 14px; font-weight: 700;
  background: var(--lp-grad); color: #FFFFFF; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.26);
  transition: transform 0.18s, filter 0.18s;
}
.lg-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.lg-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.lg-msg { display: none; padding: 9px 12px; border-radius: 9px; font-size: 12px; margin-bottom: 14px; }
.lg-msg.err { display: block; background: #FDECEA; border: 1px solid rgba(220, 38, 38, 0.28); color: #B42318; }
.lg-msg.ok { display: block; background: #E9F7EF; border: 1px solid rgba(22, 163, 74, 0.30); color: #15803D; }
.lg-hint { text-align: center; font-size: 11.5px; color: var(--lp-text-3); margin-top: 16px; line-height: 1.6; }
.lg-foot { text-align: center; font-size: 11.5px; color: var(--lp-text-3); margin-top: 26px; }
.lg-foot a { color: var(--lp-primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .lp-hero { padding: 120px 0 60px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-orbit { height: 320px; max-width: 460px; }
  .lp-grid3, .lp-journey, .lp-modules { grid-template-columns: 1fr 1fr; }
  .lp-links { display: none; }
}
@media (max-width: 640px) {
  .lp-container { width: calc(100% - 32px); }
  .lg-wrap { padding: 0 16px; }
  .lg-card { padding: 26px 20px; }
  .lp-grid3, .lp-journey, .lp-modules { grid-template-columns: 1fr; }
  .lp-stats { gap: 22px; }
  .lp-stat .n { font-size: 24px; }
  .lp-section { padding: 52px 0; }
  .lp-band { padding: 30px 24px; }
  .lp-compare th, .lp-compare td { padding: 10px 12px; font-size: 12px; }
  .lp-compare td:first-child { width: 92px; }
  .lp-orbit { transform: scale(0.9); }
  .lg-card { padding: 28px 22px; }
}
