/* LzChat 微信聊天记录备份与整理 - 通用样式 */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --violet: #7c3aed;
  --ink: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --red: #d92b2b;
  --orange: #f59e0b;
  --green: #10b981;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.brand-name { font-size: 18px; font-weight: 700; line-height: 1.2; }
.brand-en { font-size: 12px; color: var(--gray); line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) { font-size: 14px; color: #334155; transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--blue); }
.nav-links > a.active { color: var(--blue); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  border-radius: 999px; padding: 10px 26px; font-size: 14px; font-weight: 600;
  text-align: center; transition: all .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #f1f5f9; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #7c3aed 100%);
  color: #fff; text-align: center; padding: 110px 24px;
}
.hero h1 { font-size: 46px; font-weight: 700; margin-bottom: 18px; letter-spacing: 1px; }
.hero p { font-size: 18px; color: #dbeafe; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 功能卡片 ---------- */
.features { padding: 70px 0 40px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--light); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 22px; text-align: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 23, 42, .10); }
.feature-icon {
  width: 58px; height: 58px; border-radius: 15px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px; font-weight: 700;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--gray); }

/* ---------- 定价页 ---------- */
.pricing { padding: 72px 0 20px; text-align: center; }
.pricing h1 { font-size: 40px; margin-bottom: 12px; }
.pricing .sub { color: var(--gray); font-size: 16px; margin-bottom: 56px; }
.plans { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; padding-bottom: 40px; }
.plan {
  width: 380px; max-width: 100%; background: #fff; border: 2px solid var(--blue);
  border-radius: 22px; padding: 40px 34px; text-align: center; position: relative;
  box-shadow: 0 18px 44px rgba(37, 99, 235, .12);
}
.plan .tag {
  position: absolute; top: -16px; right: 26px; background: var(--orange); color: #fff;
  font-size: 13px; font-weight: 700; padding: 5px 16px; border-radius: 999px;
}
.plan h2 { font-size: 22px; margin-bottom: 20px; }
.plan .price { font-size: 54px; font-weight: 700; color: var(--blue); line-height: 1; }
.plan .price small { font-size: 20px; color: var(--gray); font-weight: 400; margin-left: 4px; }
.plan .note { font-size: 13px; color: var(--gray); margin: 12px 0 22px; }
.plan ul { list-style: none; margin-bottom: 34px; text-align: left; }
.plan li { padding: 9px 0; font-size: 15px; color: #334155; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 10px; }

/* ---------- 通用 ---------- */
.pay-divider { border: none; border-top: 1px solid #eef2f7; margin: 6px 0 18px; }
.order-row { display: flex; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed #eef2f7; }
.order-row:last-child { border-bottom: none; }
.order-row .k { width: 120px; flex-shrink: 0; color: var(--gray); font-size: 14px; }
.order-row .v { font-size: 15px; color: var(--ink); word-break: break-all; }
.order-row .amount { color: var(--red); font-size: 28px; font-weight: 700; }
.back-link { display: inline-block; margin-top: 16px; margin-right: 18px; color: var(--blue); font-size: 14px; }
.back-link:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
footer { background: var(--ink); color: #94a3b8; text-align: center; padding: 46px 24px; margin-top: 60px; }
footer p { margin: 6px 0; font-size: 13px; }
footer a { color: #94a3b8; }
footer a:hover { color: #e2e8f0; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .shots-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 30px; }
  .nav-links { gap: 14px; }
  .nav-links .btn { padding: 8px 16px; font-size: 13px; }
  .order-left { border-right: none; border-bottom: 1px solid #f3f4f6; }
  .order-right { flex-basis: 100%; }
  .legal-card { padding: 28px 24px; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pay-left { border-right: none; border-bottom: 1px solid #f3f4f6; }
  .pay-right { flex-basis: 100%; }
}

/* ---------- 主页信息区块 ---------- */
.info-section { padding: 30px 0 10px; }
.info-card {
  background: var(--light); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 28px; margin-bottom: 26px; box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}
.info-card h2 { font-size: 24px; color: var(--ink); margin-bottom: 14px; }
.info-card h2 .badge {
  display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 12px;
  border-radius: 999px; vertical-align: middle; margin-left: 8px;
}
.info-card p, .info-card li { font-size: 15px; color: #475569; }
.info-card ul { list-style: none; padding-left: 0; }
.info-card ul li { padding: 6px 0; }
.info-card ul li::before { content: "•"; color: var(--blue); font-weight: 700; margin-right: 10px; }

/* 隐私声明 */
.privacy { background: #eff6ff; border: 1px solid #bfdbfe; }
.privacy h2 { color: #1d4ed8; }
.privacy h2 .badge { background: #2563eb; color: #fff; }

/* 使用前提 */
.prereq { background: #f0fdf4; border: 1px solid #bbf7d0; }
.prereq h2 { color: #15803d; }
.prereq h2 .badge { background: #10b981; color: #fff; }

/* 免责提示（醒目警示） */
.disclaimer { background: #fff7ed; border: 2px solid var(--orange); border-left: 8px solid var(--orange); }
.disclaimer h2 { color: #b45309; }
.disclaimer h2 .badge { background: var(--orange); color: #fff; }
.disclaimer ul li::before { content: "⚠"; color: var(--orange); margin-right: 8px; }

/* 订阅 */
.subscribe { background: #fdf4ff; border: 1px solid #e9d5ff; }
.subscribe h2 { color: #7c3aed; }
.subscribe h2 .badge { background: #7c3aed; color: #fff; }
.price-tag { font-weight: 700; color: #7c3aed; font-size: 17px; }
.refund {
  margin-top: 16px; padding: 12px 16px; background: #fff;
  border: 1px dashed #c4b5fd; border-radius: 10px; font-size: 14px; color: #6d28d9;
}

/* ---------- 首页：安全保障 ---------- */
.safety { background: #eff6ff; border: 1px solid #bfdbfe; }
.safety h2 { color: #1d4ed8; }
.safety h2 .badge { background: #2563eb; color: #fff; }
.safety .safety-list { list-style: none; padding: 0; margin-bottom: 14px; }
.safety .safety-list li {
  position: relative; padding: 9px 0 9px 34px; font-size: 15px; color: #334155;
}
.safety .safety-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px;
  line-height: 22px; text-align: center; background: var(--green); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 700;
}
.safety .privacy-line {
  margin: 0; padding-top: 14px; border-top: 1px dashed #bfdbfe;
  color: #64748b; font-size: 13px; line-height: 1.7;
}

/* ---------- 首页：订阅价格卡片（适配 info-card 容器） ---------- */
.subscribe .plans { gap: 16px; justify-content: center; padding-bottom: 0; }
.subscribe .plan { flex: 1 1 200px; min-width: 200px; max-width: 330px; padding: 30px 22px; }
.subscribe .plan .price { font-size: 40px; }
.subscribe .plan .price small { font-size: 16px; }
.subscribe .plan .btn-block { margin-top: 18px; }
.subscribe .plan .tag { right: 18px; }

/* ---------- 首页：底部说明（弱化） ---------- */
.footnote {
  margin-top: 4px; padding: 14px 18px; background: var(--light);
  border: 1px solid var(--border); border-radius: 12px;
}
.footnote p { margin: 0; color: #94a3b8; font-size: 13px; line-height: 1.7; }

/* ---------- 首页：核心功能介绍区 ---------- */
.section-title {
  text-align: center; font-size: 30px; font-weight: 700;
  color: var(--text); margin: 0 0 14px;
}
.section-desc {
  max-width: 760px; margin: 0 auto 34px; text-align: center;
  color: #64748b; font-size: 15px; line-height: 1.9;
}

/* ---------- 首页：界面展示 ---------- */
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; margin: 0;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
  transition: transform .2s, box-shadow .2s;
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 23, 42, .10); }
.shot img { width: 100%; display: block; border-bottom: 1px solid var(--border); }
.shot figcaption { padding: 12px 16px; font-size: 13px; color: var(--gray); text-align: center; background: var(--light); line-height: 1.7; }

/* ---------- 首页：使用步骤 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--light); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 20px; text-align: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}
.step-num {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--gray); line-height: 1.8; }

/* ---------- 首页：FAQ ---------- */
.faq-card details { border-bottom: 1px dashed var(--border); padding: 4px 0; }
.faq-card details:last-of-type { border-bottom: none; }
.faq-card summary {
  cursor: pointer; font-size: 15px; font-weight: 600; color: #334155; padding: 10px 0;
  list-style: none; position: relative; padding-right: 28px;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after {
  content: "+"; position: absolute; right: 4px; top: 8px;
  font-size: 18px; font-weight: 700; color: var(--blue);
}
.faq-card details[open] summary::after { content: "−"; }
.faq-card details p { padding: 0 0 12px; }

/* ---------- 首页：关于我们 ---------- */
.about-card { background: #f8fafc; }
.about-card p { margin: 6px 0; line-height: 1.9; }

/* 订阅卡片补充说明 */
.subscribe-note { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #e9d5ff; font-size: 13px !important; color: #7c3aed !important; line-height: 1.8; }

/* ---------- 下单页 ---------- */
.order-page { background: #f5f6f7; }
.order-wrap { max-width: 1020px; margin: 40px auto 20px; padding: 0 24px; }
.order-card {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
  display: flex; flex-wrap: wrap; overflow: hidden;
}
.order-left { flex: 1 1 460px; padding: 40px 42px 34px; border-right: 1px solid #f3f4f6; }
.order-left h2 { font-size: 24px; margin-bottom: 16px; }
.field { margin-bottom: 22px; }
.field > label { display: block; font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 10px; }
.plan-picker { display: flex; gap: 12px; flex-wrap: wrap; }
.plan-option {
  flex: 1 1 120px; display: flex; flex-direction: column; gap: 4px;
  border: 2px solid var(--border); border-radius: 14px; padding: 14px 16px;
  cursor: pointer; transition: border-color .2s, background .2s; text-align: center;
}
.plan-option input { display: none; }
.plan-option:has(input:checked) { border-color: var(--blue); background: #eff6ff; }
.plan-option .plan-name { font-size: 14px; font-weight: 600; color: #1e293b; }
.plan-option .plan-price { font-size: 20px; font-weight: 700; color: var(--blue); }
.mini-tag {
  font-style: normal; font-size: 11px; color: #7c3aed; background: #f3e8ff;
  border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: middle;
}
.mini-tag.hot { color: #c2410c; background: #ffedd5; }
.field input[type="text"] {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 10px;
  padding: 12px 14px; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input[type="text"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.field-tip { font-size: 12px; color: #94a3b8; margin-top: 8px; line-height: 1.7; }
.order-summary { border: 1px solid #eef2f7; border-radius: 12px; padding: 6px 18px; margin-bottom: 24px; background: #fafbfc; }
.order-submit { font-size: 16px; padding: 14px 0; }
.order-submit:disabled { opacity: .6; cursor: not-allowed; }
.order-err { margin-top: 12px; font-size: 13px; color: var(--red); line-height: 1.7; }
.machine-help { margin-top: 26px; padding-top: 18px; border-top: 1px dashed #eef2f7; }
.machine-help img {
  width: 100%; max-width: 420px; display: block; margin: 0 auto 10px;
  border: 1px solid var(--border); border-radius: 10px;
}
.machine-help p { font-size: 12px; color: #94a3b8; text-align: center; line-height: 1.7; }

.order-right { flex: 0 0 320px; padding: 40px 34px; background: #fafbfc; }
.order-right h3 { font-size: 18px; margin-bottom: 18px; }
.pay-steps { margin: 0 0 22px; padding-left: 20px; }
.pay-steps li { font-size: 14px; color: #475569; padding: 6px 0; line-height: 1.7; }
.pay-notes { list-style: none; padding: 0; margin-bottom: 20px; border-top: 1px dashed #e2e8f0; padding-top: 16px; }
.pay-notes li { font-size: 12px; color: #94a3b8; padding: 4px 0; line-height: 1.7; position: relative; padding-left: 16px; }
.pay-notes li::before { content: "•"; position: absolute; left: 2px; color: var(--blue); }

/* ---------- 折扣展示 ---------- */
.price-promo { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.price-original {
  font-size: 18px; color: #94a3b8; text-decoration: line-through;
  margin-bottom: 2px; font-weight: 400;
}
.price-now { font-size: 54px; font-weight: 700; color: var(--red); line-height: 1; }
.price-now small { font-size: 20px; color: var(--gray); font-weight: 400; margin-left: 4px; }
.subscribe .price-now { font-size: 40px; }
.subscribe .price-now small { font-size: 16px; }
.promo-tag {
  margin-top: 12px; display: inline-block; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px;
}
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin: 0 auto 28px; padding: 10px 20px; max-width: 720px;
  background: linear-gradient(135deg, #f43f5e 0%, #ea580c 100%); color: #fff;
  border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 22px rgba(244, 63, 94, .28);
}
.promo-bar__label { font-weight: 700; }
.promo-bar__timer { font-size: 13px; opacity: .95; }
.promo-bar__timer b { font-variant-numeric: tabular-nums; letter-spacing: .5px; }

/* 下单页套餐选择价格 */
.plan-option .plan-promo { font-size: 12px; color: var(--red); }
.plan-option .plan-old { font-size: 12px; color: #94a3b8; text-decoration: line-through; }

/* ---------- 协议页 ---------- */
.legal-wrap { max-width: 860px; margin: 30px auto 10px; padding: 0 24px; }
.legal-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
  padding: 40px 44px; margin-bottom: 28px; scroll-margin-top: 20px;
}
.legal-card h1 { font-size: 26px; margin-bottom: 6px; }
.legal-card .legal-updated { font-size: 13px; color: #94a3b8; margin-bottom: 24px; }
.legal-card h2 { font-size: 17px; margin: 22px 0 8px; color: #1e293b; }
.legal-card p, .legal-card li { font-size: 14px; color: #475569; line-height: 1.9; }
.legal-card ul { padding-left: 22px; margin: 6px 0; }
.legal-card li { padding: 3px 0; list-style: disc; }
