/* ===== 咱家书舍 · 官网样式 =====
   设计基调：白底 + 翠绿 + 米色，文艺小清新
   主色 --brand #1F7A6B   浅底 --brand-soft #E6F2EF
   深绿 --brand2 #155E52  米色 --paper #F5EFE0
   正文 --ink #181A1C     次要 --muted #8A8F98
*/

:root {
  --brand: #1F7A6B;
  --brand-soft: #E6F2EF;
  --brand-2: #155E52;
  --paper: #F5EFE0;
  --ink: #181A1C;
  --muted: #8A8F98;
  --line: #EDEEF0;
  --bg: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(24,26,28,.04);
  --shadow: 0 6px 24px rgba(24,26,28,.06);
  --shadow-lg: 0 18px 56px rgba(24,26,28,.10);
  --radius: 20px;
  --radius-lg: 28px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: .01em; }

/* ===== 容器 ===== */
.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 210px; height: auto; display: block; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  background: transparent; border: 0;
  color: var(--ink);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--brand-soft); color: var(--brand-2); }
.nav-link.nav-support {
  background: var(--paper);
  color: var(--brand-2);
  font-weight: 500;
  border: 1px solid rgba(181,64,47,.0);
}
.nav-link.nav-support:hover {
  background: #ECE3CB;
  color: #B5402F;
}
.nav-link.nav-cta {
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  margin-left: 6px;
}
.nav-link.nav-cta:hover { background: var(--brand-2); color: #fff; }

/* ===== 板块快速定位条 ===== */
.quicknav-wrap {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.75);
}
.quicknav {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 24px;
  overflow-x: auto; scrollbar-width: none;
}
.quicknav::-webkit-scrollbar { display: none; }
.qk-link {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 13.5px; line-height: 1;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink); text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  transition: all .18s ease;
}
.qk-link:hover { background: var(--brand-soft); color: var(--brand-2); border-color: var(--brand-soft); }
.qk-link.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.qk-link.qk-cta {
  margin-left: auto;
  background: var(--paper); color: var(--brand-2);
  border-color: transparent; font-weight: 600;
}
.qk-link.qk-cta:hover { background: var(--brand); color: #fff; }
.qk-link.qk-cta.on { background: var(--brand); color: #fff; }
/* 锚点跳转时给吸顶头部留出空间 */
section[id] { scroll-margin-top: 128px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 88px 0 64px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, var(--brand-soft) 0, transparent 38%),
    radial-gradient(circle at 88% 8%, #FFF5E6 0, transparent 32%),
    radial-gradient(circle at 50% 90%, var(--paper) 0, transparent 40%);
}
.hero .container { position: relative; z-index: 1; }
.pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(31,122,107,.08);
  color: var(--brand-2);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.18;
  margin: 0 0 24px;
  letter-spacing: .01em;
}
.hero-title .hl {
  position: relative;
  color: var(--brand);
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 12px;
  background: var(--brand-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: 17px;
  color: #45474A;
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-tip { color: var(--muted); font-size: 13px; margin-top: 20px; }

.hero-stats {
  display: flex; gap: 32px; justify-content: center;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px dashed var(--line);
}
.hero-stats .stat b {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--brand-2);
  margin-bottom: 2px;
}
.hero-stats .stat span {
  font-size: 13px; color: var(--muted);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .15s;
  white-space: nowrap;
}
.btn.lg { padding: 16px 30px; font-size: 16px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31,122,107,.28);
}
.btn-primary:hover {
  background: var(--brand-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31,122,107,.36);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--brand-soft);
  color: var(--brand-2);
  border-color: var(--brand-soft);
}
.btn-ghost.light {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-ghost.light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* ===== Section 通用 ===== */
.section {
  padding: 96px 0;
}
.section-soft { background: linear-gradient(180deg, #FDFCF8 0%, #F8F4E9 100%); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: .02em;
}
.section-title.light { color: #fff; }
.section-lead {
  text-align: center;
  font-size: 16px;
  color: #5A5E66;
  max-width: 600px;
  margin: 12px auto 56px;
  line-height: 1.8;
}
.lead {
  font-size: 18px;
  line-height: 1.95;
  color: #2A2D33;
  margin: 24px 0;
}
.lead.center { text-align: center; }

/* ===== 引言纸感 ===== */
.letter-card {
  background: #FCF9F0;
  border: 1px solid rgba(180,140,80,.18);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  box-shadow: 0 8px 32px rgba(180,140,80,.08);
}
.paper-style { /* 复用到弹窗信件 */
  background: #FCF9F0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(180,140,80,.08) 31px, rgba(180,140,80,.08) 32px);
  border: 1px solid rgba(180,140,80,.18);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
}
.quote-mark {
  position: absolute;
  top: -10px; left: 24px;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--brand);
  opacity: .25;
}
.letter-card .section-title { text-align: left; margin-bottom: 24px; }
.letter-card p { margin: 0 0 18px; line-height: 1.95; color: #2A2D33; }
.letter-card p:last-child { margin-bottom: 0; }

/* ===== Feature 横向布局 ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 80px 0;
}
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-shot { order: 1; }
.feature-no {
  display: inline-block;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.feature-text h3 {
  font-size: 26px;
  margin: 0 0 14px;
  line-height: 1.4;
}
.feature-text p {
  font-size: 15px;
  color: #4A4E56;
  line-height: 1.85;
  margin: 0 0 18px;
}
.check { margin-top: 12px; }
.check li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: #2A2D33;
  font-size: 14.5px;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.4 11.6L3.2 8.4l1.1-1.1 2.1 2.1L11.7 4l1.1 1.1z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.4 11.6L3.2 8.4l1.1-1.1 2.1 2.1L11.7 4l1.1 1.1z'/></svg>") center/contain no-repeat;
}
.feature-shot {
  position: relative;
  margin: 0;
}
.feature-shot img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 6px solid #fff;
  outline: 1px solid var(--line);
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  display: block;
}
.feature-shot figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
  font-family: var(--serif);
  letter-spacing: .04em;
}

/* ===== 4 列 pillars ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all .2s;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft);
}
.pillar-ico {
  font-size: 36px;
  margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--brand-2);
}
.pillar p {
  font-size: 14px;
  color: #5A5E66;
  margin: 0;
  line-height: 1.7;
}

/* ===== 步骤 ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 24px;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step-n {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 700;
  margin-bottom: 14px;
}
.steps h4 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--brand-2);
}
.steps p {
  font-size: 13.5px;
  color: #5A5E66;
  margin: 0;
  line-height: 1.7;
}

/* ===== Phone row 多张截图横向 ===== */
.phone-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: start;
}
.phone-row:has(.phone-frame:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; max-width: 720px; margin: 48px auto 0; }
.phone-frame {
  position: relative;
  margin: 0;
}
.phone-frame img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #fff;
  border: 5px solid #fff;
  outline: 1px solid var(--line);
  aspect-ratio: 390 / 844;   /* 截图统一手机比例，未加载完也占位，防锚点滚动漂移 */
  object-fit: cover;
  object-position: top;
  display: block;
}
.phone-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--brand-2);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--serif);
  letter-spacing: .04em;
}

/* ===== 3 列卡片 ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft);
}
.card-ico {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-2);
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--brand-2);
}
.card p {
  font-size: 14px;
  color: #5A5E66;
  margin: 0;
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section { padding: 80px 0 96px; }
.cta-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0, transparent 40%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 48px rgba(31,122,107,.28);
}
.cta-card .lead { color: rgba(255,255,255,.9); }
.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin: 32px 0 20px;
}
.cta-tip {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
}

/* ===== Footer ===== */
.footer {
  background: #FAFAF7;
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 120px; height: auto; display: block; opacity: .85; }
.footer-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.footer-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-meta .dot { opacity: .4; }
.footer-link {
  background: transparent; border: 0; padding: 0;
  color: var(--brand-2); font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-link:hover { color: var(--brand); }

/* ===== 支持弹窗（致敬 Andy 营销页） ===== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  overflow: hidden;   /* 弹窗固定大小，整体不滚动 */
}
.modal[hidden] { display: none; }
.modal-mask {
  position: absolute; inset: 0;
  background: rgba(15,18,20,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.modal-box {
  position: relative;
  background: #FCF9F0;
  width: 100%;
  max-width: min(1040px, 94vw);
  max-height: 92vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  padding: 36px 44px 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  animation: slideUp .25s ease;
  scrollbar-width: thin;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-x {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0;
  width: 36px; height: 36px;
  font-size: 24px;
  color: #8A8F98;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.modal-x:hover { background: rgba(0,0,0,.06); color: var(--ink); }
.modal-title {
  font-family: var(--serif);
  font-size: 22px;
  text-align: center;
  margin: 0 0 16px;
  color: var(--brand-2);
  flex: 0 0 auto;
}
.modal-box .letter {
  margin-bottom: 18px;
  column-count: 2; column-gap: 44px;   /* 信件双栏，压低高度 */
  overflow-y: auto;                     /* 极矮屏幕兜底：仅信内滚 */
  flex: 1 1 auto;
  min-height: 120px;                    /* 防止被压瘪后内容溢出画到兄弟元素上 */
  padding-right: 6px;
  scrollbar-width: thin;
}
.modal-box .letter p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.9;
  color: #2A2D33;
}
.modal-box .letter p:last-child { margin-bottom: 0; }
.modal-box .letter .letter-greet {
  column-span: all;              /* 称呼横跨双栏，正文从下一行起分两栏 */
  margin-bottom: 14px;
}
.coffee {
  border-top: 1px dashed rgba(180,140,80,.4);
  padding-top: 10px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 32px;
}
.coffee-line {
  grid-column: 1;
  text-align: left;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.qr-row {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  gap: 20px;
  margin: 0;
}
.qr-fig { margin: 0; text-align: center; }
.qr-fig figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

/* QR 真实图片样式 */
.qr-frame {
  width: 84px; height: 84px;
  margin: 0 auto;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  display: flex; align-items: center; justify-content: center;
}
.qr-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* 弹窗底部署名 logo */
.modal-sign {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(180,140,80,.3);
  display: flex; justify-content: center;
  opacity: .5;
  flex: 0 0 auto;
}
.modal-sign img { width: 40px; height: auto; }
.coffee-tip {
  grid-column: 1;
  text-align: left;
  font-size: 11.5px;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.6;
}

/* ===== 响应式 ===== */
/* 矮窗口兜底（桌面）：空间不够时弹窗盒改为整体滚动，防止裁掉底部内容/落款 */
@media (min-width: 881px) and (max-height: 700px) {
  .modal-box { overflow-y: auto; }
  .modal-box .letter { flex: 0 0 auto; overflow: visible; }
}

@media (max-width: 880px) {
  /* 小屏弹窗兜底：信恢复自然高度、整个弹窗盒滚动（否则 flex 压瘪信件会溢出重叠） */
  .modal-box { overflow-y: auto; }
  .modal-box .letter { column-count: 1; overflow: visible; flex: 0 0 auto; }
  /* 底部内容区小屏恢复居中堆叠 */
  .coffee { display: block; text-align: center; }
  .coffee-line, .coffee-tip { text-align: center; }
  .coffee-tip { margin-top: 8px; }
  .qr-row { display: flex; justify-content: center; gap: 24px; margin: 10px 0 4px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; margin: 56px 0; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-shot { order: 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .phone-row:has(.phone-frame:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .nav-links .nav-link:not(.nav-cta):not(.nav-support) { display: none; }
  .nav-link.nav-cta { padding: 8px 14px; font-size: 14px; }
  .nav-link.nav-support { padding: 6px 12px; font-size: 14px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .letter-card { padding: 36px 24px; }
  .modal-box { padding: 36px 24px 24px; max-width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 1fr; }
  .phone-row:has(.phone-frame:nth-child(2):last-child) { grid-template-columns: 1fr; }
  .nav-inner { padding: 12px 16px; }
  .brand-logo { width: 164px; }
  .brand-name { font-size: 18px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .qr-row { flex-direction: column; gap: 14px; align-items: center; }
}

/* ===== 权益板块（2026-09）===== */
.member-section { background: linear-gradient(180deg, rgba(233,196,106,.07), rgba(31,122,107,.04)); border-radius: 24px; }
.founder-banner { display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 26px auto;
  padding: 16px 20px; border-radius: 16px; background: linear-gradient(120deg, #FDF3DC, #F6E3B5);
  border: 1px solid rgba(176,115,59,.3); }
.founder-banner .fb-ic { font-size: 28px; }
.founder-banner .fb-tx { display: flex; flex-direction: column; gap: 3px; }
.founder-banner .fb-tx b { color: #6B4A0E; font-size: 15px; }
.founder-banner .fb-tx span { color: #8A6A2A; font-size: 12.5px; }
.member-table-wrap { max-width: 780px; margin: 0 auto; overflow-x: auto; }
.member-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(31,122,107,.08); font-size: 14px; }
.member-table th, .member-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #F0ECE2; vertical-align: top; }
.member-table thead th { background: #1F7A6B; color: #fff; font-weight: 600; }
.member-table .gold-col { background: rgba(233,196,106,.16); color: #6B4A0E; }
.member-table thead .gold-col { background: #E9C46A; color: #5C3F08; }
.member-table tbody tr:last-child td { border-bottom: none; }
.member-note { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.member-note .muted { color: #8C887F; }

/* ===== 权益表折叠（默认只展示前 3 项，点按钮展开全部） ===== */
.member-table-wrap.collapsed .mt-xtra { display: none; }
.member-table-wrap.collapsed .member-table tbody tr:last-child td { border-bottom: 1px solid #F0ECE2; }
.mt-toggle { display: block; margin: 14px auto 0; }

/* ===== 小程序入口（暂未开放） ===== */
.wxmp-btn { position: relative; color: #8C887F !important; border-style: dashed !important; cursor: not-allowed; }
.wxmp-ic { font-size: 15px; margin-right: 2px; }
.wxmp-toast { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  background: rgba(24,26,28,.92); color: #fff; padding: 12px 18px; border-radius: 14px;
  display: flex; flex-direction: column; gap: 2px; font-size: 13px; opacity: 0; pointer-events: none;
  transition: all .3s ease; z-index: 999; max-width: 88vw; text-align: center; }
.wxmp-toast b { color: #E9C46A; }
.wxmp-toast span { color: rgba(255,255,255,.75); font-size: 12px; }
.wxmp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== B 端 SaaS 板块 ===== */
.saas-grid { margin-bottom: 20px; }
.saas-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; max-width: 820px;
  margin: 0 auto 26px; padding: 14px 18px; background: #fff; border-radius: 14px;
  box-shadow: 0 6px 20px rgba(31,122,107,.06); font-size: 13.5px; color: #1F7A6B; font-weight: 600; }
.saas-pricing { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.sp-card { width: 230px; padding: 24px 20px; border-radius: 18px; background: #fff; text-align: center;
  box-shadow: 0 8px 24px rgba(31,122,107,.08); border: 1.5px solid transparent; }
.sp-card.hot { border-color: #1F7A6B; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(31,122,107,.14); }
.sp-card .sp-tier { font-size: 13px; color: #8C887F; font-weight: 600; }
.sp-card .sp-price { font-size: 34px; font-weight: 800; color: #155E52; margin: 8px 0 6px; }
.sp-card .sp-price span { font-size: 14px; font-weight: 500; color: #8C887F; }
.sp-card .sp-sub { font-size: 12.5px; color: #6E6A62; line-height: 1.7; }
.sp-card .sp-sub b { color: #155E52; font-size: 13.5px; }
.saas-contact b { color: #155E52; }

/* v27 权益说明行 */
.member-price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 10px;
  max-width: 780px; margin: 22px auto 0; }
.member-price .mp-num { font-size: 42px; font-weight: 800; color: #155E52; line-height: 1; }
.member-price .mp-unit { font-size: 15px; font-weight: 600; color: #8C887F; }
.member-price .mp-note { font-size: 12.5px; color: #8C887F; }

/* v27 B 端卡片小标题 */
.price-head { max-width: 780px; margin: 0 auto 18px; text-align: center; }
.price-head h3 { font-size: 19px; color: #155E52; margin: 0 0 8px; }
.price-head p { font-size: 13.5px; color: #6E6A62; line-height: 1.85; margin: 0; }
.price-head p b { color: #155E52; }

/* v27 B 端合作联系卡 */
.saas-contact-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  max-width: 780px; margin: 4px auto 0; padding: 18px 22px; border-radius: 16px;
  background: linear-gradient(120deg, #EAF4F1, #F6F3EC); border: 1px solid rgba(31,122,107,.22); }
.saas-contact-card .sc-ic { font-size: 26px; }
.saas-contact-card .sc-tx { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; min-width: 0; }
.saas-contact-card .sc-tx b { color: #155E52; font-size: 15px; }
.saas-contact-card .sc-tx span { font-size: 12.5px; color: #6E6A62; line-height: 1.7; }
.saas-contact-card .sc-tx span b { font-size: 13px; }

/* v55 B 端「展期规则」说明卡（与后台同一口径：试用 30 天满 100 人转正送 1 年 / 正式期每满 100 人 +1 年） */
.saas-extend { max-width: 820px; margin: 0 auto 24px; padding: 20px 22px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(31,122,107,.12); box-shadow: 0 6px 20px rgba(31,122,107,.06); }
.saas-extend .se-h { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; text-align: center; }
.saas-extend .se-h span { font-size: 20px; }
.saas-extend .se-h b { font-size: 16px; color: #155E52; }
.saas-extend .se-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.saas-extend .se-item { padding: 14px 16px; border-radius: 14px; background: #F6F8F7; border: 1px solid rgba(31,122,107,.10); }
.saas-extend .se-item .se-t { font-size: 13.5px; font-weight: 700; color: #1F7A6B; margin-bottom: 6px; }
.saas-extend .se-item p { margin: 0; font-size: 12.5px; color: #6E6A62; line-height: 1.85; }
.saas-extend .se-item p b { color: #155E52; }
.saas-extend .se-note { margin: 12px 0 0; font-size: 12.5px; color: #8C887F; line-height: 1.85; }
.saas-extend .se-note b { color: #155E52; }
@media (max-width: 640px) { .saas-extend .se-grid { grid-template-columns: 1fr; } }

/* ---------------- 藏书票实图展示条 ---------------- */
.bw-strip{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:22px;margin:34px 0 8px;}
.bw-strip figure{margin:0;text-align:center;}
.bw-strip img{width:168px;display:block;border-radius:6px;box-shadow:0 6px 22px rgba(24,26,28,.16);
  background:#F5EFE0;transition:transform .25s ease;}
.bw-strip figure:hover img{transform:translateY(-6px) rotate(-1deg);}
.bw-strip .bw-strip-card img{width:200px;}
.bw-strip figcaption{margin-top:10px;font-size:12.5px;color:#8A8F98;letter-spacing:.5px;}
@media (max-width:640px){
  .bw-strip{gap:14px;}
  .bw-strip img{width:128px;}
  .bw-strip .bw-strip-card img{width:150px;}
  .bw-strip figcaption{font-size:11px;}
}

/* ---------------- v43 B端合作咨询表单弹窗 ---------------- */
.saas-box { max-width: 480px; width: calc(100% - 32px); }
.saas-box .modal-title { margin-bottom: 6px; }
.saas-sub { font-size: 13px; color: #6E6A62; line-height: 1.7; margin-bottom: 18px; }
.lead-seg { display: flex; gap: 8px; margin-bottom: 4px; }
.lead-seg button {
  flex: 1; padding: 10px 0; border-radius: 10px; border: 1.5px solid #DCE2E0; background: #F6F3EC;
  color: #4A5553; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .15s ease;
}
.lead-seg button.on { background: #1F7A6B; border-color: #1F7A6B; color: #fff; }
.fld-trial { /* 试用场景下隐藏，由 JS 控制 display */ }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #3B444B; }
.lead-form label b { color: #B5402F; font-weight: 600; }
.lead-form input, .lead-form textarea {
  border: 1px solid #DCE2E0; border-radius: 10px; padding: 11px 13px; font-size: 15px;
  font-family: inherit; background: #fff; color: #22302C; outline: none; width: 100%;
  transition: border-color .15s ease; box-sizing: border-box;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: #1F7A6B; }
.lead-form textarea { resize: vertical; min-height: 72px; }
.lead-form .btn { margin-top: 4px; width: 100%; }
.saas-privacy { font-size: 12px; color: #8A8F98; text-align: center; margin: 0; }
.lead-done { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 8px 12px; text-align: center; }
.lead-done .ld-ic { font-size: 44px; }
.lead-done b { font-size: 17px; color: #155E52; }
.lead-done span { font-size: 13.5px; color: #6E6A62; line-height: 1.8; }
.lead-form[hidden], .lead-done[hidden] { display: none !important; }

/* v55 官网申请表单 · 短信验证码行 + 图形验证（覆盖 .lead-form .btn 的 100% 宽） */
.lead-code { display: flex; gap: 8px; align-items: stretch; }
.lead-code input { flex: 1 1 auto; min-width: 0; }
.lead-code .btn { width: auto; flex: 0 0 auto; margin-top: 0; white-space: nowrap; }
.lead-cap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lead-cap[hidden] { display: none !important; }
.lead-cap .lc-img { line-height: 0; border-radius: 8px; overflow: hidden; cursor: pointer; flex: 0 0 auto; }
.lead-cap input { flex: 1 1 120px; min-width: 0; padding: 9px 12px; border: 1px solid #DFE3E2; border-radius: 8px; font-size: 14px; }
.lead-cap .btn { width: auto; flex: 0 0 auto; margin-top: 0; white-space: nowrap; }
@media (max-width: 520px) {
  .lead-code { flex-wrap: wrap; }
  .lead-code .btn, .lead-cap .btn { flex: 1 1 100%; }
}

/* v43.1 B端联系卡按钮行：两个按钮并排放文字下方 */
.saas-contact-card .sc-btns { display: flex; gap: 14px; flex: 1 1 100%; justify-content: center; margin-top: 6px; flex-wrap: wrap; }
.saas-contact-card .sc-btns .btn { flex: 0 0 auto; }
/* v43.2 留电话按钮原先 ghost 太淡（hover 才有淡淡一层），改白底+墨绿描边+墨绿字，肉眼可辨 */
.saas-contact-card .sc-btns .btn-ghost {
  background: #fff;
  border-color: rgba(31,122,107,.55);
  color: var(--brand-2);
  box-shadow: 0 2px 8px rgba(31,122,107,.10);
}
.saas-contact-card .sc-btns .btn-ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-2);
}

/* ===== 集团化板块（2026-09）===== */
.group-section { background: linear-gradient(180deg, rgba(233,196,106,.07), rgba(31,122,107,.03)); border-radius: 24px; }
.group-section .card-ico { background: linear-gradient(135deg,#F6E3B5,#E9C46A); color: #6B4A0E; box-shadow: 0 4px 14px rgba(176,115,59,.18); }
.group-section .grp-gold { color: #B8860B; font-weight: 700; }
