/* 连百官网 · 纯静态响应式（移动优先）。
   颜色令牌对齐平台 --lb-* 体系；此处独立命名 --site-*，值与平台核对后固定。 */
/* 值对齐平台 local/src/styles/index.scss 的 --lb-* 令牌 */
:root {
  --site-bg: #ffffff;
  --site-bg-soft: #f5f5f7;          /* --lb-bg */
  --site-text: #1d1d1f;             /* --lb-text-main */
  --site-text-2: #86868b;           /* --lb-text-secondary */
  --site-accent: #0071e3;           /* --lb-primary */
  --site-accent-press: #0077ed;     /* --lb-primary-hover */
  --site-line: #d2d2d7;             /* --lb-border */
  --site-line-light: #f2f3f5;       /* --lb-border-light */
  --site-green: #34c759;
  --site-radius: 12px;              /* --lb-radius */
  --site-radius-lg: 18px;
  --site-radius-sm: 8px;
  --site-max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--site-text);
  background: var(--site-bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--site-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--site-max); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航（汉堡为 CSS-only checkbox 方案） ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--site-line);
}
.nav .wrap { display: flex; align-items: center; height: 52px; gap: 8px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; }
.nav-toggle { display: none; }
.nav-burger { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--site-text);
  border-radius: 2px; position: relative; transition: transform 0.2s;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
.nav-links {
  display: none; position: absolute; left: 0; right: 0; top: 52px;
  background: var(--site-bg); border-bottom: 1px solid var(--site-line);
  flex-direction: column; padding: 8px 20px 16px;
}
.nav-toggle:checked ~ .nav-links { display: flex; }
.nav-links a { color: var(--site-text); padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--site-line); }
.nav-links a:last-child { border-bottom: 0; }
.nav-links a.nav-cta {
  margin-top: 8px; text-align: center; background: var(--site-accent); color: #fff;
  border-radius: 980px; padding: 9px 18px; border-bottom: 0;
}

/* ---------- 通用块 ---------- */
.btn {
  display: inline-block; background: var(--site-accent); color: #fff;
  border-radius: 980px; padding: 11px 24px; font-size: 16px;
}
.btn:active { background: var(--site-accent-press); }
.btn-ghost {
  background: transparent; color: var(--site-accent);
  border: 1px solid var(--site-accent);
}
.section { padding: 56px 0; }
.section-soft { background: var(--site-bg-soft); }
.section h2 { font-size: 26px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
.section .lead { color: var(--site-text-2); margin: 0 0 28px; font-size: 16px; }
.kicker { color: var(--site-accent); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin: 0 0 6px; }

/* ---------- 首页 hero ---------- */
.hero { padding: 64px 0 56px; text-align: center; }
.hero h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; }
.hero p { color: var(--site-text-2); font-size: 17px; margin: 0 auto 28px; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card {
  background: var(--site-bg); border: 1px solid var(--site-line);
  border-radius: var(--site-radius); padding: 22px; color: var(--site-text);
  display: block; transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07); transform: translateY(-2px); }
.card .icon { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--site-text-2); font-size: 14px; }
.card .tag {
  display: inline-block; margin-top: 10px; font-size: 12px; color: var(--site-text-2);
  background: var(--site-bg-soft); border-radius: 6px; padding: 2px 8px;
}
/* 写成 .tag.tag-free：单写 .tag-free 压不过上面的 .card .tag，卡片里的标签会一律是灰的 */
.tag.tag-free { color: #1d8a3e; background: #e7f6ec; }
.tag-soon { color: var(--site-text-2); }

.card .more { display: inline-block; margin-top: 10px; font-size: 13px; }

/* ---------- 产品截图 ---------- */
/* 图按原始像素出，窄了才等比缩（全局 img{max-width:100%;height:auto}），不放大——对话框类小图放大会糊 */
.shot { margin: 0; min-width: 0; }
.shot img {
  margin: 0 auto; background: var(--site-bg);
  border: 1px solid var(--site-line); border-radius: var(--site-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.shot figcaption { color: var(--site-text-2); font-size: 13px; text-align: center; margin-top: 10px; }
.hero-shot { margin: 40px auto 0; max-width: 1040px; }
.tool-shot { margin-top: 32px; }
.shot-grid { align-items: start; }

/* 演示动图：与截图同一套边框阴影；首页那张放在三步下面，留点上边距 */
.demo-wide { margin: 28px auto 0; max-width: 960px; }

/* 三步卡片顶上的缩略图：统一 5:3，超出部分从左上角起裁 */
.step-shot {
  margin: -22px -22px 18px; aspect-ratio: 5 / 3; overflow: hidden;
  border-bottom: 1px solid var(--site-line);
  border-radius: var(--site-radius) var(--site-radius) 0 0; background: var(--site-bg-soft);
}
.step-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* 带图分节（无代码页）：手机上文在上图在下，平板以上左右交替 */
.showcase { display: grid; gap: 48px; }
.show-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.show-text h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.show-text p { margin: 0; color: var(--site-text-2); font-size: 15px; }
.show-text .more { display: inline-block; margin-top: 12px; font-size: 14px; }
.show-media { display: grid; gap: 14px; min-width: 0; }

/* 手机截图：窄屏在自己的容器里横向滑，不撑宽页面 */
.mobile-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 26px; font-size: 15px; }
.check-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--site-green); font-weight: 700; }
.card.helper .check-list { margin-top: 12px; }
.card.helper .check-list li { padding: 5px 0 5px 24px; font-size: 14px; color: var(--site-text-2); }
.phones { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.phone { margin: 0; flex: 0 0 58%; max-width: 230px; }
.phone img {
  width: 100%; border: 5px solid var(--site-text); border-radius: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ---------- 落地页 ---------- */
.page-hero { padding: 56px 0 40px; }
.page-hero h1 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.page-hero p { color: var(--site-text-2); font-size: 17px; margin: 0 0 24px; max-width: 640px; }
.feature-list { display: grid; gap: 12px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
.feature-list li {
  background: var(--site-bg); border: 1px solid var(--site-line);
  border-radius: var(--site-radius-sm); padding: 16px 18px;
}
.feature-list li strong { display: block; margin-bottom: 4px; }
.feature-list li span { color: var(--site-text-2); font-size: 14px; }
.crumb { font-size: 13px; color: var(--site-text-2); padding-top: 20px; }
.crumb a { color: var(--site-text-2); }

/* ---------- 三步条（无代码页/首页） ---------- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: none; }
.step { background: var(--site-bg); border: 1px solid var(--site-line); border-radius: var(--site-radius); padding: 22px; }
.step .n {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--site-accent); color: #fff;
  font-weight: 700; font-size: 15px; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--site-text-2); font-size: 14px; }

/* ---------- 价格卡 ---------- */
.price-cards { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
.price-card {
  background: var(--site-bg); border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg); padding: 26px 24px;
  display: flex; flex-direction: column;
}
.price-card.hot { border: 2px solid var(--site-accent); position: relative; }
.price-card.hot::before {
  content: "最受欢迎"; position: absolute; top: -12px; left: 24px;
  background: var(--site-accent); color: #fff; font-size: 12px;
  border-radius: 980px; padding: 2px 12px;
}
.price-card h3 { margin: 0 0 4px; font-size: 19px; }
.price-card .tagline { color: var(--site-text-2); font-size: 13px; margin: 0 0 16px; }
.price-card .price { font-size: 34px; font-weight: 700; letter-spacing: -0.01em; }
.price-card .unit { color: var(--site-text-2); font-size: 13px; margin: 2px 0 18px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.price-card li { padding: 6px 0 6px 24px; font-size: 14px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--site-green); font-weight: 700; }
.price-card .btn { text-align: center; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--site-line-light); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq p { color: var(--site-text-2); font-size: 14px; margin: 10px 0 0; }

/* ---------- 产品动态 ---------- */
.tag-new { color: #1d8a3e; background: #e7f6ec; }
.tag-improve { color: #0a5fc2; background: #e6f1fd; }
.tag-fix { color: #a05a00; background: #fdf1e0; }
.tag-doc { color: #5b4bb5; background: #eeebfb; }
.timeline { max-width: 760px; }
.tl-month { font-size: 20px; margin: 36px 0 14px; }
.tl-month:first-child { margin-top: 0; }
.tl-item {
  background: var(--site-bg); border: 1px solid var(--site-line);
  border-radius: var(--site-radius); padding: 20px 22px; margin-bottom: 14px;
  scroll-margin-top: 68px;          /* 锚点跳过来时别被吸顶导航盖住 */
}
.tl-meta { display: flex; align-items: center; gap: 10px; color: var(--site-text-2); font-size: 13px; }
.tl-meta .tag { font-size: 12px; border-radius: 6px; padding: 2px 8px; }
.tl-item h3 { margin: 8px 0 8px; font-size: 18px; line-height: 1.35; }
.tl-item ul { margin: 0; padding-left: 20px; color: var(--site-text); font-size: 15px; }
.tl-item li { padding: 2px 0; }
.tl-item .more { display: inline-block; margin-top: 12px; font-size: 14px; }
/* 首页「最近更新」三行 */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--site-line-light); }
.news-list li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--site-line-light); }
.news-list time { color: var(--site-text-2); font-size: 14px; flex: 0 0 auto; min-width: 9em; }
.news-list a { color: var(--site-text); font-size: 16px; }
.news-list a:hover { color: var(--site-accent); }

/* ---------- 分类区 ---------- */
.cat-block { margin-bottom: 34px; scroll-margin-top: 68px; }   /* 首页分类卡片跳过来时别被吸顶导航盖住 */
.cat-block h3 { font-size: 19px; margin: 0 0 12px; }

/* ---------- 应用货架：已上线 / 没上线 ---------- */
.tag.tag-live { color: #1d8a3e; background: #e7f6ec; }
.tag.tag-tier { color: #0a5fc2; background: #e6f1fd; }
.card .tag + .tag { margin-left: 6px; }
.card-live .more { display: block; color: var(--site-accent); }
.card-live:hover { border-color: var(--site-accent); }
/* 没上线的卡片点不了：压灰、去掉悬停抬起，免得看着像能点 */
.card-soon { background: transparent; border-style: dashed; }
.card-soon h3 { color: var(--site-text-2); font-weight: 600; }
.card-soon:hover { box-shadow: none; transform: none; }

/* ---------- 应用详情页 ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px; }
.tag-row .tag { font-size: 13px; border-radius: 6px; padding: 3px 10px; }
.for-who { margin: -12px 0 24px; font-size: 15px; }
.for-who strong { margin-right: 10px; color: var(--site-text-2); font-weight: 600; }
.feature-list li strong a { color: var(--site-text); }
.feature-list li strong a::after { content: " →"; color: var(--site-accent); }
.app-shots { display: grid; gap: 24px; }

/* 主流程：竖排的编号步骤，3~5 步都好看 */
.flow { list-style: none; margin: 0; padding: 0; max-width: 760px; display: grid; gap: 12px; counter-reset: flow; }
.flow li {
  position: relative; counter-increment: flow;
  background: var(--site-bg-soft); border-radius: var(--site-radius-sm); padding: 16px 18px 16px 60px;
}
.flow li::before {
  content: counter(flow); position: absolute; left: 18px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--site-accent); color: #fff; font-weight: 700; font-size: 14px;
}
.flow strong { display: block; margin-bottom: 2px; }
.flow span { color: var(--site-text-2); font-size: 14px; }

/* 应用里有什么：菜单一整行，报表 / 打印模板 / 审批在平板以上并排（手机上一列） */
.fact-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.fact {
  background: var(--site-bg); border: 1px solid var(--site-line);
  border-radius: var(--site-radius); padding: 20px 22px; min-width: 0;
}
.fact h3 { margin: 0 0 10px; font-size: 17px; }
.fact ul { list-style: none; margin: 0; padding: 0; }
.fact li { padding: 10px 0; border-top: 1px solid var(--site-line-light); font-size: 15px; }
.fact li:first-child { border-top: 0; padding-top: 0; }
.fact li small { display: block; margin-top: 2px; color: var(--site-text-2); font-size: 13px; }
.fact .more { display: inline-block; margin-top: 8px; font-size: 13px; }
.fact-lead { margin: 0 0 14px; color: var(--site-text-2); font-size: 14px; }
.fact-note { margin: 12px 0 0; color: var(--site-text-2); font-size: 13px; }
.menu-tree { margin: 0; display: grid; gap: 12px; }
.menu-tree dt { font-size: 13px; color: var(--site-text-2); }
.menu-tree dd { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px;
  border: 1px solid var(--site-line); border-radius: 980px; padding: 4px 12px; background: var(--site-bg);
}
.chip small { color: var(--site-text-2); font-size: 12px; }
.chip-shared { border-style: dashed; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--site-line); padding: 36px 0; color: var(--site-text-2); font-size: 13px; }
.footer .cols { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
.footer h4 { font-size: 13px; color: var(--site-text); margin: 0 0 10px; }
.footer a { display: block; color: var(--site-text-2); padding: 3px 0; }
.footer .legal a { display: inline; }

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .hero { padding: 88px 0 72px; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 19px; }
  .section { padding: 72px 0; }
  .section h2 { font-size: 32px; }
  .page-hero h1 { font-size: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  /* --cols = 菜单以外有几块（报表 / 打印模板 / 审批，有的应用没有报表），模板里按实际块数给 */
  .fact-grid { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
  .fact-wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .price-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin: 0 auto; }
  .footer .cols { grid-template-columns: repeat(4, 1fr); }
  .hero-shot { margin-top: 56px; }
  .showcase { gap: 72px; }
  .show-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; }
  .show-row.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .show-row.rev .show-text { order: 2; }
  .show-text h3 { font-size: 24px; }
  .mobile-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 44px; }
  .phones { overflow: visible; justify-content: center; padding: 0; }
  .phone { flex: 1 1 0; }
  /* 桌面导航平铺，隐藏汉堡 */
  .nav-burger { display: none; }
  .nav-links {
    display: flex; position: static; flex-direction: row; align-items: center;
    margin-left: auto; gap: 22px; border: 0; padding: 0; background: transparent;
  }
  .nav-links a { border: 0; padding: 0; font-size: 14px; }
  .nav-links a.nav-cta { margin: 0; padding: 7px 16px; font-size: 14px; }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
