/* ============================================================
   紫瞳AI · AI知识库 — 落地首页样式（DeepSpace-Tech 设计系统）
   产品定义：企业专属智能知识库（白标 · 多租户 SaaS）
   ⚠️ 历史教训：本文件曾以某个「品牌策划」站点作为版式参考来源，
      导致「品牌策划大师」字样渗进交付物命名（2026-10-09 饶总纠偏）。
      版式可参考，但本产品**不是**品牌策划工具 —— 不要再引入该类命名。
   全部类名以 lp- 前缀隔离，避免与应用壳 style.css 冲突
   ============================================================ */

#auth-screen.lp-root {
  --lp-bg: #0A0E1A;
  --lp-bg2: #0F1524;
  --lp-card: #141B2D;
  --lp-card2: #182036;
  --lp-hover: #1D2740;
  --lp-border: #26314A;
  --lp-border2: #313E5C;
  --lp-text: #F4F7FC;
  --lp-text2: #C3CEE0;
  --lp-muted: #8695B0;
  --lp-neon: #6D74F5;
  --lp-neon-strong: #7C83FF;
  --lp-pink: #9B6BFF;
  --lp-green: #2FD97E;
  --lp-gold: #FFCF4D;
  --lp-a08: rgba(109, 116, 245, .08);
  --lp-a15: rgba(109, 116, 245, .15);
  --lp-a25: rgba(109, 116, 245, .25);
  --lp-a35: rgba(109, 116, 245, .35);
  --lp-grad: linear-gradient(135deg, #6D74F5 0%, #9B6BFF 100%);
  --lp-grad-soft: linear-gradient(135deg, rgba(109, 116, 245, .16), rgba(155, 107, 255, .16));
  --lp-r: 14px;
  --lp-rSm: 10px;
  --lp-rPill: 999px;

  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: "Inter", "HarmonyOS Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#auth-screen.lp-root::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 0%, rgba(109, 116, 245, .12) 0%, transparent 60%),
    radial-gradient(50% 50% at 92% 12%, rgba(155, 107, 255, .10) 0%, transparent 55%),
    radial-gradient(80% 60% at 50% 100%, rgba(72, 160, 255, .06) 0%, transparent 60%);
}

#auth-screen.lp-root a { color: inherit; text-decoration: none; }
#auth-screen.lp-root h1,
#auth-screen.lp-root h2,
#auth-screen.lp-root h3,
#auth-screen.lp-root h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; }
#auth-screen.lp-root p { margin: 0; }
#auth-screen.lp-root button { font-family: inherit; }

/* ═══ 顶栏 ═══ */
.lp-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  padding: 0 24px;
  background: rgba(15, 21, 36, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--lp-border);
}
.lp-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}
.lp-nav { display: flex; align-items: center; gap: 8px; }
.lp-nav a {
  color: var(--lp-text2);
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--lp-rPill);
  border: 1px solid transparent;
  transition: all .14s ease;
}
.lp-nav a:hover { border-color: var(--lp-border2); color: var(--lp-text); }
.lp-authlinks { display: flex; align-items: center; gap: 8px; }
.lp-authlinks a {
  color: var(--lp-text2);
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--lp-rPill);
  border: 1px solid transparent;
  transition: all .14s ease;
  white-space: nowrap;
  cursor: pointer;
}
.lp-authlinks a:hover { border-color: var(--lp-border2); color: var(--lp-text); }
.lp-authlinks a.reg {
  background: var(--lp-grad);
  color: #fff;
  border: none;
  font-weight: 600;
}
.lp-authlinks a.reg:hover { box-shadow: 0 4px 16px -4px var(--lp-a35); }

/* ═══ HERO ═══ */
.lp-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px;
}
.lp-hero-content { width: 100%; max-width: 900px; }
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--lp-rPill);
  background: rgba(109, 116, 245, .12);
  border: 1px solid rgba(109, 116, 245, .35);
  color: var(--lp-text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: lpFade .8s ease both;
}
.lp-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lp-green);
  box-shadow: 0 0 8px var(--lp-green);
}
.lp-hero h1 {
  font-size: clamp(32px, 5.2vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 40px rgba(109, 116, 245, .35);
  animation: lpFade .8s .1s ease both;
}
.lp-hero h1 .grad,
.lp-head h2 .grad {
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-hero-sub {
  color: var(--lp-text2);
  font-size: clamp(16px, 2vw, 21px);
  max-width: 680px;
  margin: 0 auto 24px;
  animation: lpFade .8s .2s ease both;
}
.lp-sells {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  animation: lpFade .8s .3s ease both;
}
.lp-sell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--lp-rPill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--lp-text);
  font-size: 14px;
  font-weight: 600;
}
.lp-sell .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lp-green);
  box-shadow: 0 0 6px var(--lp-green);
}
.lp-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: lpFade .8s .4s ease both;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--lp-rSm);
  border: 1px solid var(--lp-border2);
  background: var(--lp-card);
  color: var(--lp-text);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .14s ease;
  user-select: none;
}
.lp-btn:hover { background: var(--lp-hover); border-color: var(--lp-neon); transform: translateY(-1px); }
.lp-btn-primary {
  background: var(--lp-grad);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px -4px var(--lp-a35);
  padding: 15px 34px;
  font-size: 17px;
  border-radius: var(--lp-r);
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px -4px var(--lp-a35); }
.lp-btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .30); }

.lp-scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--lp-muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: .7;
  animation: lpBounce 2s infinite;
}
.lp-scroll-hint::after { content: '↓'; font-size: 18px; }
@keyframes lpBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@keyframes lpFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ═══ 区块 ═══ */
.lp-section { position: relative; z-index: 1; width: 100%; padding: 48px 20px; }
.lp-section.alt { background: var(--lp-bg2); border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); }
.lp-inner { max-width: 1040px; margin: 0 auto; }
.lp-head { text-align: center; margin-bottom: 32px; }
.lp-head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; margin-bottom: 8px; }
.lp-head p { color: var(--lp-muted); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* 核心能力 */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-feature {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r);
  padding: 24px;
  text-align: center;
  transition: all .22s ease;
}
.lp-feature:hover { border-color: var(--lp-border2); box-shadow: 0 12px 32px -6px rgba(0, 0, 0, .5); transform: translateY(-4px); }
.lp-ficon {
  width: 56px; height: 56px;
  border-radius: var(--lp-rSm);
  background: var(--lp-grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(109, 116, 245, .25);
  box-shadow: 0 4px 16px -4px var(--lp-a25);
}
.lp-ficon .cn {
  font-size: 17px;
  font-weight: 800;
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.lp-feature p { color: var(--lp-text2); font-size: 14px; line-height: 1.65; }
.lp-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: var(--lp-rPill);
  background: var(--lp-a15);
  color: var(--lp-neon-strong);
  font-size: 13px;
  font-weight: 600;
}

/* 工作流 */
.lp-flow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-step {
  flex: 1;
  min-width: 160px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r);
  padding: 20px;
  text-align: center;
  transition: all .22s ease;
}
.lp-step:hover { border-color: var(--lp-border2); transform: translateY(-3px); }
.lp-step .num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lp-grad);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px -4px var(--lp-a35);
}
.lp-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lp-step p { color: var(--lp-muted); font-size: 13px; line-height: 1.5; }
.lp-arrow { color: var(--lp-neon-strong); font-size: 22px; opacity: .8; }

/* 功能模块 */
.lp-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-mod {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-rSm);
  padding: 16px;
  text-align: center;
  transition: all .14s ease;
}
.lp-mod:hover { border-color: var(--lp-neon); background: var(--lp-hover); transform: translateY(-2px); }
.lp-micon {
  width: 52px; height: 40px;
  border-radius: 10px;
  background: var(--lp-grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(109, 116, 245, .25);
}
.lp-micon .cn {
  font-size: 13px;
  font-weight: 800;
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.lp-mod .name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.lp-mod .desc { font-size: 12px; color: var(--lp-muted); line-height: 1.45; }

/* CTA 大条 */
.lp-ctabar {
  background: var(--lp-grad-soft);
  border: 1px solid rgba(109, 116, 245, .25);
  border-radius: var(--lp-r);
  padding: 40px 24px;
  text-align: center;
}
.lp-ctabar h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.lp-ctabar p { color: var(--lp-text2); margin-bottom: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* 页脚 */
.lp-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px;
  color: var(--lp-muted);
  font-size: 13px;
  border-top: 1px solid var(--lp-border);
}

/* ═══ 登录弹窗 ═══ */
.lp-modal-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px;
}
.lp-modal-mask.show { display: flex; }
.lp-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r);
  padding: 24px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6);
}
.lp-modal-title { font-size: 22px; font-weight: 800; margin-bottom: 16px; text-align: center; color: var(--lp-text); }
/* 登录副标题（品牌设置可改）。紧贴标题下方：负上边距抵消标题的 16px，视觉上成一组 */
.lp-modal-sub { font-size: 13px; line-height: 1.5; color: var(--lp-muted); text-align: center; margin: -8px 0 16px; }
.lp-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--lp-muted);
  font-size: 24px;
  line-height: 1;
  transition: all .14s ease;
}
.lp-modal-close:hover { background: var(--lp-hover); color: var(--lp-text); }
.lp-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid var(--lp-border); padding-bottom: 8px; }
.lp-tabs .auth-tab {
  flex: 1;
  text-align: center;
  padding: 8px;
  color: var(--lp-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: var(--lp-rSm);
  font-size: 15px;
  transition: all .14s ease;
}
.lp-tabs .auth-tab.active { color: var(--lp-text); background: var(--lp-a15); }
.lp-form { text-align: left; }
.lp-label { font-size: 14px; color: var(--lp-text2); margin: 10px 0 6px; display: block; font-weight: 600; }
.lp-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--lp-hover);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-rSm);
  color: var(--lp-text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all .14s ease;
}
.lp-input:focus { border-color: var(--lp-neon); background: var(--lp-card2); box-shadow: 0 0 0 3px var(--lp-a15); }
.lp-input::placeholder { color: var(--lp-muted); }
.lp-error { color: #FF5C7A; font-size: 13px; min-height: 18px; margin-top: 8px; }
.lp-submit {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border: none;
  border-radius: var(--lp-rSm);
  background: var(--lp-grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .14s ease;
}
.lp-submit:hover { box-shadow: 0 8px 24px -6px var(--lp-a35); transform: translateY(-1px); }
.lp-note { font-size: 12px; color: var(--lp-muted); text-align: center; margin-top: 14px; }

/* ═══ 响应式 ═══ */
@media (max-width: 900px) {
  .lp-features { grid-template-columns: 1fr; }
  .lp-modules { grid-template-columns: repeat(2, 1fr); }
  .lp-flow { flex-direction: column; }
  .lp-arrow { transform: rotate(90deg); }
}
@media (max-width: 768px) {
  .lp-nav { display: none; }
  .lp-topbar { padding: 0 14px; }
  .lp-authlinks a { padding: 7px 12px; }
}
@media (max-width: 480px) {
  .lp-cta { flex-direction: column; }
  .lp-btn-primary { width: 100%; }
  .lp-modules { grid-template-columns: 1fr; }
}
