/* ===== 积分乐园 · 产品宣传首页 ===== */

.lp-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- 顶部导航 ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 236, 244, 0.9);
}
.lp-nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 16px;
}
.lp-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; }
.lp-logo .star {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 17px;
  box-shadow: 0 4px 12px rgba(79, 124, 255, 0.32);
}
.lp-logo .name {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-nav-links { display: flex; gap: 26px; margin-left: 14px; }
.lp-nav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.lp-nav-links a:hover { color: var(--brand); }
.lp-nav-spacer { flex: 1; }
.lp-nav .btn { padding: 8px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(123, 92, 255, 0.12), transparent 60%),
    radial-gradient(700px 380px at 5% 10%, rgba(79, 124, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
}
.lp-hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding: 64px 0 72px;
}
.lp-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 600;
  color: var(--brand); background: var(--brand-soft); margin-bottom: 20px;
}
.lp-h1 {
  font-size: 44px; line-height: 1.18; font-weight: 800; letter-spacing: 0.5px; margin: 0 0 18px;
}
.lp-h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-sub { font-size: 17px; color: var(--text-2); line-height: 1.75; margin: 0 0 30px; max-width: 520px; }
.lp-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-cta .btn { padding: 13px 26px; font-size: 16px; border-radius: 14px; }
.lp-note { margin-top: 16px; font-size: 13px; color: var(--text-3); }
.lp-note a { font-weight: 600; }

/* Hero 装饰卡片 */
.lp-hero-card {
  background: #fff; border-radius: 22px; padding: 22px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(232,236,244,.8);
  position: relative;
}
.lp-hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lp-hero-card .hc-title { font-weight: 700; font-size: 15px; }
.lp-hero-card .hc-tag { font-size: 12px; color: #d98b00; background: var(--pending-soft); padding: 3px 10px; border-radius: 20px; }
.lp-kid {
  display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line);
}
.lp-kid:first-of-type { border-top: none; }
.lp-kid .av {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffe6f0, #e6eeff); font-size: 20px; flex: none;
}
.lp-kid .info { flex: 1; min-width: 0; }
.lp-kid .nm { font-weight: 600; font-size: 14.5px; }
.lp-kid .sc { font-size: 12.5px; color: var(--text-3); }
.lp-kid .bal { text-align: right; }
.lp-kid .bal b { font-size: 18px; color: var(--earn); }
.lp-kid .bal span { display: block; font-size: 11.5px; color: var(--text-3); }
.lp-float {
  position: absolute; right: 12px; top: -14px;
  background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
  z-index: 2;
}
.lp-float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--earn); }

/* ---------- 价值条 ---------- */
.lp-values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: -36px auto 0; position: relative; z-index: 5;
}
.lp-value {
  background: #fff; border-radius: 16px; padding: 18px 20px;
  box-shadow: var(--shadow); border: 1px solid rgba(232,236,244,.7);
  display: flex; align-items: center; gap: 14px;
}
.lp-value .vi {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 21px; background: var(--brand-soft); flex: none;
}
.lp-value .vt { font-weight: 700; font-size: 15.5px; }
.lp-value .vd { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.lp-section { padding: 70px 0; }
.lp-section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.lp-sec-head .eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.lp-sec-head h2 { font-size: 30px; font-weight: 800; margin: 8px 0 12px; letter-spacing: .5px; }
.lp-sec-head p { color: var(--text-2); font-size: 15.5px; line-height: 1.7; margin: 0; }

/* ---------- 功能卡片 ---------- */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feature {
  background: #fff; border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(232,236,244,.7);
  transition: transform .18s ease, box-shadow .18s ease;
}
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-feature .fi {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: linear-gradient(135deg, var(--brand-soft), #f1ecff); margin-bottom: 16px;
}
.lp-feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lp-feature p { color: var(--text-2); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- 三步上手 ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-step { position: relative; padding-top: 8px; }
.lp-step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 16px rgba(79,124,255,.3); margin-bottom: 16px;
}
.lp-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lp-step p { color: var(--text-2); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- 角色 ---------- */
.lp-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-role {
  background: #fff; border-radius: 18px; padding: 26px 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(232,236,244,.7);
}
.lp-role .ri { font-size: 40px; margin-bottom: 12px; }
.lp-role h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.lp-role .rl { list-style: none; padding: 0; margin: 0; text-align: left; }
.lp-role .rl li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--text-2);
  line-height: 1.9;
}
.lp-role .rl li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--earn); font-weight: 700;
}

/* ---------- 结尾 CTA ---------- */
.lp-cta-banner {
  margin: 0 auto; max-width: 1120px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  border-radius: 26px; padding: 54px 40px; text-align: center; color: #fff;
  box-shadow: 0 20px 50px rgba(79,124,255,.35);
}
.lp-cta-banner h2 { font-size: 30px; font-weight: 800; margin: 0 0 12px; letter-spacing: .5px; }
.lp-cta-banner p { font-size: 16px; opacity: .92; margin: 0 0 28px; }
.lp-cta-banner .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.lp-cta-banner .btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; }

/* ---------- 页脚 ---------- */
.lp-footer { padding: 38px 0; text-align: center; color: var(--text-3); font-size: 13.5px; }
.lp-footer a { color: var(--text-2); font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 56px; }
  .lp-h1 { font-size: 34px; }
  .lp-hero-card { max-width: 420px; }
  .lp-features, .lp-steps, .lp-roles { grid-template-columns: 1fr 1fr; }
  .lp-values { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-nav-links { display: none; }
  .lp-h1 { font-size: 29px; }
  .lp-sub { font-size: 15.5px; }
  .lp-features, .lp-steps, .lp-roles { grid-template-columns: 1fr; }
  .lp-section { padding: 50px 0; }
  .lp-sec-head h2 { font-size: 25px; }
  .lp-cta-banner { padding: 40px 22px; }
}

/* ---------- 首页内嵌登录 / 注册弹窗 ---------- */
/* .modal-mask 默认仅 opacity:0，仍会拦截点击，需用 visibility 一并隐藏 */
.lp-auth-mask { visibility: hidden; pointer-events: none; }
.lp-auth-mask.show { visibility: visible; pointer-events: auto; }
.lp-auth-mask .modal { max-width: 400px; }
.lp-auth-sw {
  margin-top: 16px; text-align: center; font-size: 13px; color: var(--text-3);
}
.lp-auth-sw a { font-weight: 600; color: var(--brand); }
