/* 沣立标讯 · C端网页版公共样式（白底深字，简洁响应式） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f7fa; color: #1f2329; font-size: 15px; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* 顶部导航 */
.nav { background: #fff; border-bottom: 1px solid #f0f1f3; position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 16px; height: 60px; display: flex; align-items: center; gap: 28px; }
.nav-logo { font-size: 20px; font-weight: 700; }
.nav-logo small { font-size: 12px; color: #86909c; font-weight: 400; margin-left: 6px; }
.nav-link { color: #4e5969; font-size: 15px; padding: 4px 2px; }
.nav-link.active { color: #165dff; font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-block; padding: 8px 20px; border-radius: 8px; font-size: 14px;
  border: 1px solid #e5e6eb; background: #fff; cursor: pointer; color: #1f2329;
}
.btn:hover { border-color: #165dff; color: #165dff; }
.btn.primary { background: #165dff; color: #fff; border-color: #165dff; }
.btn.primary:hover { background: #0e4fd0; color: #fff; }
.btn.sm { padding: 5px 14px; font-size: 13px; }

/* 头部横幅 */
.hero { background: #fff; border-bottom: 1px solid #f0f1f3; padding: 36px 0 28px; }
.hero h1 { font-size: 28px; }
.hero p { color: #86909c; margin-top: 8px; font-size: 14px; }

/* 筛选栏 */
.filter { background: #fff; padding: 14px 0; border-bottom: 1px solid #f0f1f3; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filter select, .filter input {
  height: 36px; border: 1px solid #e5e6eb; border-radius: 8px; padding: 0 12px;
  font-size: 14px; background: #fff; outline: none; color: #1f2329;
}
.filter input { flex: 1; min-width: 160px; }

/* 卡片 */
.card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding: 20px 0; }
/* 横向滚动案例条 */
.hscroll { display: flex; gap: 16px; overflow-x: auto; padding: 20px 0 30px; scroll-snap-type: x mandatory; }
.hscroll::-webkit-scrollbar { height: 8px; }
.hscroll::-webkit-scrollbar-thumb { background: #c9cdd4; border-radius: 4px; }
.hscroll::-webkit-scrollbar-track { background: #f2f3f5; }
.hscroll .case-card { flex: 0 0 320px; scroll-snap-align: start; }
.case-card { overflow: hidden; cursor: pointer; transition: transform .15s; }
.case-card:hover { transform: translateY(-3px); }
.case-img { width: 100%; height: 200px; object-fit: cover; background: #f2f3f5; }
.case-body { padding: 16px; }
.case-title { font-size: 16px; font-weight: 600; line-height: 1.4; }
.case-meta { margin-top: 10px; font-size: 13px; color: #86909c; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 20px; }
.tag-blue { background: #f2f6ff; color: #165dff; }
.tag-orange { background: #fff7e8; color: #ff7d00; }
.tag-green { background: #e8ffea; color: #00b42a; }
.case-company { margin-top: 8px; font-size: 13px; color: #165dff; }
.case-content { margin-top: 6px; font-size: 13px; color: #4e5969; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 列表页（标讯） */
.list { padding: 20px 0; }
.list-item { background: #fff; border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.list-item:hover { border-color: #165dff; }
.list-item .lt { font-size: 16px; font-weight: 600; }
.list-item .lm { margin-top: 8px; font-size: 13px; color: #86909c; display: flex; gap: 16px; flex-wrap: wrap; }

/* 详情页 */
.detail-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px 60px; }
.detail-card { background: #fff; border-radius: 14px; padding: 32px 32px 28px; box-shadow: 0 2px 16px rgba(22,93,255,.06); border-top: 3px solid #165dff; }
.detail-title { font-size: 24px; font-weight: 700; line-height: 1.5; color: #1f2329; }
.detail-meta { margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.detail-meta .meta-item { font-size: 13px; color: #4e5969; background: #f7f8fa; padding: 6px 14px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.detail-meta .meta-item .label { color: #86909c; }
.detail-meta .meta-item .val { color: #1f2329; font-weight: 500; }
.section { background: #fff; text-align: left; border-radius: 14px; padding: 28px 32px; margin-top: 16px; box-shadow: 0 2px 16px rgba(0,0,0,.04); }
.section h3 { font-size: 17px; margin-bottom: 18px; color: #1f2329; padding-left: 12px; border-left: 3px solid #165dff; }
.rich-text table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14px; }
.rich-text td, .rich-text th { border: 1px solid #e5e6eb; padding: 8px 12px; text-align: left; }
.rich-text p { margin: 8px 0; }
.rich-text img { max-width: 100%; }
.content-text { font-size: 15px; line-height: 2; color: #2b2f36; white-space: pre-wrap; word-break: break-word; }
.content-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.content-actions .btn { padding: 10px 28px; }
.raw-expired { text-align: center; color: #ff7d00; font-size: 13px; margin-top: 12px; }
.disclaimer { font-size: 12px; color: #b8becc; line-height: 1.8; margin-top: 20px; padding: 0 8px; }
.summary-box { background: #f7f8fa; border-left: 3px solid #3370ff; padding: 14px 16px; border-radius: 4px; font-size: 14px; line-height: 1.8; color: #4e5969; margin-bottom: 20px; }
.lock-box { text-align: center; padding: 40px 0; }
.lock-box .lock-icon { font-size: 52px; }
.lock-box .lock-text { font-size: 18px; font-weight: 600; margin-top: 16px; }
.lock-box .lock-sub { color: #86909c; font-size: 14px; margin: 8px 0 24px; }
.lock-box .btn { margin: 0 6px; padding: 10px 28px; }

/* 开通页 */
.subscribe-card { max-width: 520px; margin: 30px auto; background: #fff; border-radius: 14px; padding: 30px; text-align: center; }
.plan-price { font-size: 40px; font-weight: 700; color: #165dff; margin: 12px 0; }
.plan-price small { font-size: 15px; color: #86909c; font-weight: 400; }
.feat-list { text-align: left; margin: 18px 0; }
.feat-list li { list-style: none; padding: 6px 0; font-size: 14px; color: #4e5969; }
.qr-box { margin: 20px auto; }
.qr-box img { width: 200px; height: 200px; margin: 0 auto; border: 1px solid #f0f1f3; border-radius: 8px; }
.qr-empty { width: 200px; height: 200px; margin: 0 auto; background: #f5f7fa; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #86909c; font-size: 13px; }
.step { font-size: 14px; color: #4e5969; text-align: left; padding: 4px 0; }
.step b { color: #f53f3f; }

/* 登录页 */
.login-card { max-width: 400px; margin: 40px auto; background: #fff; border-radius: 14px; padding: 30px; }
.login-card h2 { text-align: center; margin-bottom: 20px; }
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13px; color: #86909c; margin-bottom: 6px; }
.form-item input { width: 100%; height: 40px; border: 1px solid #e5e6eb; border-radius: 8px; padding: 0 12px; font-size: 15px; outline: none; }
.form-item input:focus { border-color: #165dff; }

/* 图片墙 */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.img-grid img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; cursor: pointer; }
/* 案例详情页现场图：横向滚动，一屏多展示 */
.img-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.img-scroll::-webkit-scrollbar { height: 8px; }
.img-scroll::-webkit-scrollbar-thumb { background: #c9cdd4; border-radius: 4px; }
.img-scroll::-webkit-scrollbar-track { background: #f2f3f5; }
.img-scroll img { flex: 0 0 340px; height: 230px; object-fit: cover; border-radius: 10px; cursor: pointer; scroll-snap-align: start; }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 20px 0 40px; font-size: 14px; color: #4e5969; }

/* 页脚 */
.footer { text-align: center; color: #b8becc; font-size: 12px; padding: 20px 0 20px; line-height: 1.8; }

.empty { text-align: center; color: #86909c; padding: 80px 0; font-size: 14px; }
.hidden { display: none !important; }

@media (max-width: 720px) {
  .nav-inner { height: 50px; gap: 12px; padding: 0 10px; flex-wrap: nowrap; overflow-x: auto; }
  .nav-logo { font-size: 16px; white-space: nowrap; }
  .nav-logo small { display: none; }
  .nav-link { font-size: 13px; white-space: nowrap; }
  .nav-right .btn, .nav-right .nav-link { white-space: nowrap; flex-shrink: 0; }
  .nav-right { gap: 8px; }
  .nav-right .btn { padding: 4px 10px; font-size: 12px; }
  .detail-title { font-size: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .case-img { height: 120px; }
  .page-banner { height: 120px !important; }
  .page-banner h2 { font-size: 20px !important; }
  .container { padding: 0 10px; }
  .hero { padding: 20px 0; }
  .hero h1 { font-size: 20px; }
  .filter { gap: 8px; padding: 10px; }
  .filter select, .filter input { height: 34px; font-size: 13px; }
  .detail-wrap { padding: 10px; }
  .meta-item { display: block; margin: 4px 0; }
  .content-text { font-size: 14px !important; line-height: 1.8; }
  .content-text table, .content-text table * { font-size: 12px !important; }
  .content-text td, .content-text th { padding: 4px 6px; }
  .pf-layout { flex-direction: column; }
  .pf-side { flex-direction: row; overflow-x: auto; margin-bottom: 12px; }
  .pf-side .item { white-space: nowrap; }
  .subscribe-card { padding: 20px 16px; margin: 10px; }
  .plan-price { font-size: 32px; }
}

.rich-text ul, .rich-text ol { padding-left: 24px; margin: 8px 0; }
.rich-text li { margin: 4px 0; }
.rich-text p { margin: 8px 0; line-height: 1.8; }
.rich-text h1, .rich-text h2, .rich-text h3 { margin: 16px 0 8px; }
.rich-text strong, .rich-text b { font-weight: 600; }
.rich-text img { max-width: 100%; height: auto; }

.content-text b.sec { display: block; font-size: 15px; font-weight: 600; margin: 14px 0 6px; color: #1d2129; }
.content-text b.lbl { font-weight: 600; color: #1d2129; }

.breadcrumb { font-size: 13px; color: #86909c; margin-bottom: 12px; }
.breadcrumb .cur { color: #4e5969; }
