/* 书路官网 · 咖啡色主题 · 与预览/安装包共用 */
:root {
  --lp-coffee: #9a6b4f;
  --lp-coffee-hot: #b4805f;
  --lp-coffee-deep: #6e4a36;
  --lp-coffee-soft: rgba(154, 107, 79, .22);
  --lp-ink: #f5f5f7;
  --lp-muted: #a1a1a6;
}

.landing-body {
  margin: 0;
  background: #000;
  color: var(--lp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 落地页按钮统一咖啡色（覆盖 app.css 蓝） */
.landing-body .btn,
.landing-body .lp-cta-main,
.landing-body .lp-trial-btn {
  background: var(--lp-coffee) !important;
  color: #fff !important;
  border: 0;
  box-shadow: 0 12px 28px rgba(110, 74, 54, .38);
}
.landing-body .btn:hover,
.landing-body .lp-cta-main:hover,
.landing-body .lp-trial-btn:hover {
  background: var(--lp-coffee-hot) !important;
}
.landing-body .btn-ghost,
.landing-body .lp-cta-ghost {
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: none !important;
}
.landing-body .chip.ok {
  background: rgba(154, 107, 79, .2);
  color: #e8c9b0;
}

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .04em;
}
.lp-brand img {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
}
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-link {
  color: #a1a1a6;
  font-size: 16px;
  font-weight: 650;
  padding: 8px 12px;
}
.lp-trial-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 海报区：整张海报等比铺满，人物完整；不用左侧色/渐变底 */
.lp-hero {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
}
.lp-hero-media {
  display: block;
  width: 100%;
  line-height: 0;
}
.lp-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.lp-hero-copy {
  position: absolute;
  left: clamp(48px, 10vw, 140px);
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: min(480px, calc(100% - 80px));
  max-width: 100%;
  margin: 0;
  padding: 22px 24px 20px;
  border-radius: 22px;
  background: rgba(10, 8, 6, .58);
  border: 1px solid rgba(232, 201, 176, .14);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-sizing: border-box;
}
.lp-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: .1em;
}
.lp-brand-mark img {
  width: 48px; height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(232, 201, 176, .28);
  box-shadow: 0 8px 24px rgba(110, 74, 54, .35);
}
.lp-hero-copy h1 {
  margin: 0;
  font-size: clamp(26px, 4.8vw, 40px);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 850;
  max-width: 11em;
}
.lp-hero-copy > p {
  margin: 12px 0 0;
  color: #d1d1d6;
  font-size: 14px;
  line-height: 1.7;
  max-width: 28em;
}
.lp-hero-copy b { color: #f0d6c2; }
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.lp-cta-row.center { justify-content: center; }
.lp-cta-main {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.lp-cta-ghost {
  min-height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  font-weight: 650;
}
.lp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #c7c7cc;
  font-size: 13px;
}
.lp-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -2px;
}
.lp-ico-check { color: #c9a27e; }
.lp-hero-meta .lp-ico { color: #c9a27e; }

.lp-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 18px;
}
.lp-section {
  padding: 56px 0;
}
.lp-section-head {
  margin-bottom: 28px;
}
.lp-section-head h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 34px);
  letter-spacing: -.02em;
}
.lp-section-head p {
  margin: 10px 0 0;
  color: var(--lp-muted);
  max-width: 32em;
  line-height: 1.6;
}

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.lp-feature-grid article {
  background: rgba(28,28,30,.92);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 18px 16px 20px;
}
.lp-feature-grid .ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--lp-coffee-soft);
  color: var(--lp-coffee-hot);
  margin-bottom: 14px;
}
.lp-feature-grid .ico .lp-ico { width: 22px; height: 22px; color: inherit; }
.lp-feature-grid .ico.green { background: rgba(154, 107, 79, .16); color: #d4b08c; }
.lp-feature-grid .ico.orange { background: rgba(180, 128, 95, .2); color: #e0b48f; }
.lp-feature-grid .ico.pink { background: rgba(110, 74, 54, .28); color: #c9a27e; }
.lp-feature-grid h3 { margin: 0 0 8px; font-size: 17px; }
.lp-feature-grid p { margin: 0; color: var(--lp-muted); font-size: 13px; line-height: 1.6; }

.lp-path {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(154, 107, 79, .14), transparent 60%),
    #050506;
}
.lp-path-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lp-path-item {
  border-radius: 22px;
  padding: 22px 18px;
  background: rgba(28,28,30,.9);
  border: 1px solid rgba(255,255,255,.08);
}
.lp-path-item .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--lp-coffee-hot);
  letter-spacing: .08em;
}
.lp-path-item h3 { margin: 10px 0 6px; font-size: 22px; }
.lp-path-item p { margin: 0; color: var(--lp-muted); font-size: 13px; }

/* 试用区：居中场景海报 + 居中文案 */
.lp-trial-scene {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.1);
  background: #120e0a;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  min-height: min(52vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.lp-trial-scene-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.lp-trial-scene-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 50% 50%, rgba(8,6,4,.55) 0%, rgba(8,6,4,.78) 100%),
    linear-gradient(180deg, rgba(0,0,0,.2) 0%, transparent 35%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.lp-trial-scene-body {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 40px));
  margin: 36px 20px;
  padding: 26px 24px 24px;
  border-radius: 22px;
  background: rgba(10, 8, 6, .62);
  border: 1px solid rgba(232, 201, 176, .14);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
.lp-trial-scene-body h2 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -.02em;
}
.lp-trial-scene-body > p {
  margin: 0 0 14px;
  color: #d1d1d6;
  line-height: 1.65;
  font-size: 14px;
  max-width: 28em;
}
.lp-trial-scene-body .lp-checklist {
  text-align: left;
  width: 100%;
  max-width: 280px;
}
.lp-trial-scene-cta {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}
.lp-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.lp-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #d1d1d6;
  font-size: 14px;
}
.lp-checklist .lp-ico { color: #c9a27e; }

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lp-steps > div {
  border-radius: 22px;
  padding: 20px 16px;
  background: rgba(28,28,30,.9);
  border: 1px solid rgba(255,255,255,.08);
}
.lp-steps span {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--lp-coffee-soft);
  color: var(--lp-coffee-hot);
  font-weight: 800;
}
.lp-steps h3 { margin: 12px 0 6px; }
.lp-steps p { margin: 0; color: var(--lp-muted); font-size: 13px; line-height: 1.6; }

.lp-final {
  text-align: center;
  padding: 72px 0 56px;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(154, 107, 79, .18), transparent 65%),
    #000;
}
.lp-final-logo {
  width: 64px; height: 64px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 16px;
}
.lp-final h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 36px);
}
.lp-final p {
  margin: 12px auto 0;
  color: var(--lp-muted);
  max-width: 22em;
}

.lp-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #636366;
}
.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  font-weight: 750;
  margin-bottom: 8px;
}
.lp-footer-brand img {
  width: 24px; height: 24px;
  border-radius: 7px;
  object-fit: cover;
}
.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}
.lp-footer-links a { color: #a1a1a6; font-size: 13px; }

/* —— 会员价格页 —— */
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lp-nav-links a {
  color: #a1a1a6;
  font-size: 16px;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 10px;
}
.lp-nav-links a:hover,
.lp-nav-links a.active {
  color: #f0d6c2;
  background: rgba(154,107,79,.14);
}

.price-hero {
  padding: 36px 18px 18px;
  text-align: center;
  background:
    radial-gradient(720px 280px at 50% 0%, rgba(154,107,79,.2), transparent 62%),
    #000;
}
.price-hero h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 40px);
  letter-spacing: -.03em;
}
.price-hero p {
  margin: 12px auto 0;
  max-width: 28em;
  color: var(--lp-muted);
  line-height: 1.65;
}
.price-hero .tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lp-coffee-soft);
  color: #e8c9b0;
  font-size: 12px;
  font-weight: 700;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 8px 18px 28px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 22px 18px 18px;
  background: rgba(28,28,30,.94);
  border: 1px solid rgba(255,255,255,.08);
  min-height: 100%;
}
.price-card.featured {
  border-color: rgba(180,128,95,.55);
  background:
    linear-gradient(165deg, rgba(154,107,79,.18), rgba(28,28,30,.96) 42%),
    #1c1c1e;
  box-shadow: 0 18px 48px rgba(110,74,54,.28);
  transform: translateY(-6px);
}
.price-card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lp-coffee);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
}
.price-card .plan-name {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
}
.price-card .plan-desc {
  margin: 6px 0 0;
  color: var(--lp-muted);
  font-size: 13px;
  min-height: 2.6em;
}
.price-card .price-row {
  margin: 18px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-card .currency {
  font-size: 18px;
  font-weight: 700;
  color: #e8c9b0;
}
.price-card .amount {
  font-size: 44px;
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
}
.price-card .unit {
  color: var(--lp-muted);
  font-size: 13px;
}
.price-card .save {
  color: #c9a27e;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 14px;
  min-height: 1.2em;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}
.price-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: #d1d1d6;
  line-height: 1.45;
}
.price-card li .lp-ico {
  margin-top: 2px;
  color: #c9a27e;
}
.price-card .cta {
  margin-top: auto;
}

.cmp-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 12px 18px 48px;
}
.cmp-head {
  margin-bottom: 16px;
}
.cmp-head h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
}
.cmp-head p {
  margin: 8px 0 0;
  color: var(--lp-muted);
  font-size: 14px;
}

.cmp-table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(18,18,20,.95);
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}
.cmp-table th,
.cmp-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
.cmp-table th:first-child,
.cmp-table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: #161618;
  z-index: 1;
  min-width: 140px;
  white-space: normal;
}
.cmp-table thead th {
  background: #1a1a1c;
  color: #e8c9b0;
  font-weight: 700;
}
.cmp-table thead th:first-child { background: #1a1a1c; }
.cmp-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.cmp-table tbody tr:hover td:first-child { background: #1a1a1c; }
.cmp-yes { color: #c9a27e; font-weight: 750; }
.cmp-no { color: #636366; }
.cmp-note { color: #a1a1a6; font-size: 12px; }

.cmp-mobile {
  display: none;
  gap: 10px;
}
.cmp-m-card {
  border-radius: 18px;
  padding: 14px;
  background: rgba(28,28,30,.94);
  border: 1px solid rgba(255,255,255,.08);
}
.cmp-m-card .feat {
  font-weight: 700;
  margin-bottom: 10px;
}
.cmp-m-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.cmp-m-cell {
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  font-size: 12px;
}
.cmp-m-cell .lab {
  display: block;
  color: #8e8e93;
  margin-bottom: 4px;
  font-size: 11px;
}
.cmp-m-cell .val.yes { color: #c9a27e; font-weight: 750; }
.cmp-m-cell .val.no { color: #636366; }

.price-faq {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 18px 56px;
}
.price-faq h2 {
  margin: 0 0 14px;
  font-size: 22px;
}
.price-faq details {
  border-radius: 14px;
  background: rgba(28,28,30,.9);
  border: 1px solid rgba(255,255,255,.08);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.price-faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}
.price-faq summary::-webkit-details-marker { display: none; }
.price-faq details p {
  margin: 10px 0 0;
  color: var(--lp-muted);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .lp-feature-grid,
  .lp-path-track,
  .lp-steps {
    grid-template-columns: 1fr;
  }
  .lp-trial-scene {
    min-height: 420px;
  }
  .lp-trial-scene-body {
    width: calc(100% - 28px);
    margin: 20px 14px;
    padding: 20px 16px 18px;
  }
  /* 手机：海报与文案上下分栏，人物不被挡住 */
  .lp-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    background: #120e0a;
  }
  .lp-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(260px, 62vw, 380px);
    flex: 0 0 auto;
    line-height: 0;
  }
  .lp-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% 22%;
  }
  .lp-hero-copy {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin: 0;
    padding: 18px 16px 20px;
    border-radius: 0;
    background: rgba(12, 9, 6, .94);
    box-shadow: none;
  }
  .lp-brand-mark {
    margin-bottom: 8px;
    font-size: 18px;
  }
  .lp-brand-mark img {
    width: 40px;
    height: 40px;
  }
  .lp-hero-copy h1 {
    font-size: clamp(22px, 6.2vw, 28px);
  }
  .lp-hero-copy > p {
    margin-top: 8px;
    font-size: 13px;
  }
  .lp-cta-row {
    margin-top: 12px;
  }
  .lp-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
  .lp-nav-links .lp-hide-sm { display: none; }
  .price-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .price-card.featured {
    transform: none;
    order: -1;
  }
  .cmp-table-wrap { display: none; }
  .cmp-mobile { display: grid; }
}

@media (max-width: 480px) {
  .lp-hero-media {
    height: clamp(240px, 68vw, 320px);
  }
  .lp-hero-media img {
    object-position: 80% 18%;
  }
  .lp-hero-copy h1 {
    max-width: none;
  }
  .lp-hero-meta {
    gap: 8px 12px;
  }
  .lp-cta-row .btn,
  .lp-cta-row .lp-cta-main,
  .lp-cta-row .lp-cta-ghost { width: 100%; justify-content: center; }
  .lp-brand span { font-size: 18px; }
  .price-card .amount { font-size: 40px; }
}

/* 官网手机底栏：复用系统 tabbar，桌面隐藏 */
.landing-body .lp-mobile-tabbar {
  display: none;
}
@media (max-width: 900px) {
  .landing-body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .landing-body .lp-mobile-tabbar {
    display: flex;
  }
  .landing-body .lp-footer {
    padding-bottom: 12px;
  }
}
