/* ============================================
   留白印象 · 案例展示页样式（深色版）
   配色：黑 + 橙黄 + 蓝
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --orange: #BD8B55;
  --orange-deep: #8a6539;
  --orange-soft: #f5ede0;
  --black: #0a0a0a;
  --dark: #141414;
  --dark-2: #1a1a1a;
  --cream: #faf5ec;
  --white: #ffffff;
  --gray: #888;
  --gray-2: #aaa;
  --liubai-content-max: 768px;
  --liubai-consult-panel-max: 440px;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--black);
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  max-width: var(--liubai-content-max);
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  background: var(--black);
  overflow-x: hidden;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.serif { font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif; font-size: 20px; font-weight: 700; }
.kai { font-family: "Microsoft YaHei", "微软雅黑", sans-serif; }

/* ============================================
   Header (logo + menu)
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  padding-top: calc(12px + env(safe-area-inset-top));
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-logo img {
  display: block;
  height: 40px;
  width: auto;
}
.header-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.header-menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header-menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header-menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.header-dropdown {
  position: absolute;
  top: 100%;
  right: 20px;
  margin-top: 8px;
  min-width: 168px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 110;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.header-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dd-item {
  padding: 12px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  line-height: 1.4;
}
.dd-item:hover,
.dd-item.active {
  color: var(--orange);
  background: rgba(189, 139, 85, 0.1);
}

/* ============================================
   Hero (橙黄渐变 + 黑底叠加)
   ============================================ */
.hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
  min-height: 500px;
  /* 与 sticky 顶栏叠在 Banner 上，避免顶栏单独占一行 */
  margin-top: calc(-1 * (64px + env(safe-area-inset-top)));
  padding-top: calc(64px + env(safe-area-inset-top));
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.95) 100%);
  pointer-events: none;
}
.hero-inner {
  position: absolute;
  top: 100px;
  left: 24px;
  right: 24px;
  z-index: 2;
  text-align: left;
}

.hero-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}
.hero-logo .zh {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 8px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-logo .en {
  font-size: 12px;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-eyebrow .line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero-en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-en .line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: 22px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  max-width: 320px;
  margin: 0 0 24px;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 2px;
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
}
.hero-btn.primary {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  box-shadow: 0 4px 16px rgba(189,139,85,0.4);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.hero-btn.primary:hover {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: none;
}
.hero-btn.primary:hover .arrow-down {
  transform: translateY(3px);
}
.hero-btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.hero-btn.ghost:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.hero-btn.ghost:hover .arrow-right {
  transform: translateX(3px);
}
.hero-btn .arrow-down,
.hero-btn .arrow-right {
  font-size: 14px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  padding: 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat { text-align: center; }
.hero-stats .num {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.hero-stats .num sup {
  font-size: 14px;
  margin-left: 2px;
  line-height: 1;
  font-weight: 600;
  vertical-align: baseline;
  position: relative;
  top: 0;
}
.hero-stats .label {
  font-size: 12px;
  color: #fff;
  margin-top: 6px;
}

/* ============================================
   Section Base（白底卡片浮在黑底上）
   ============================================ */
.section {
  padding: 48px 24px;
  margin: 12px;
  position: relative;
  background: var(--white);
  color: #1a1a1a;
  border-radius: 12px;
  scroll-margin-top: calc(64px + env(safe-area-inset-top));
}
.section.dark { background: var(--black); color: var(--white); }
.section:not(.dark) .section-title h2,
.section:not(.dark) h1.serif,
.section:not(.dark) h2.serif {
  color: #1a1a1a;
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}
.section-title .num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.section-title .section-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.8;
  max-width: 320px;
  margin: 0 auto 16px;
}
.section-title .line {
  width: 40px;
  height: 2px;
  background: var(--orange);
  margin: 12px auto 0;
}

/* ============================================
   Six Business Modules（标题板块）
   ============================================ */
.business-section .biz-title {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.business-section .biz-sub {
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}
.business-section .biz-en {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 12px;
  font-weight: 600;
}

/* ============================================
   Six Business Modules - 业务模块卡片
   ============================================ */
.biz-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.biz-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: rgba(189, 139, 85, 0.3);
  border: 1px solid rgba(189, 139, 85, 0.1);
  border-radius: 8px;
}
.biz-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.biz-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.biz-content {
  flex: 1;
  min-width: 0;
}
.biz-item-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.biz-item-title .biz-sep {
  padding: 0 6px;
  color: inherit;
}
.biz-item-title .biz-hl {
  color: var(--orange);
}
.biz-item-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* ============================================
   Signature Projects (大案例卡)
   ============================================ */
.sign-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sign-card {
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(189,139,85,0.15);
}
.sign-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1f1f1f;
}
.sign-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sign-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
}
.sign-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 2px;
  z-index: 1;
}

.sign-body { padding: 20px; }
.sign-tag {
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}
.sign-body h3 {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #1a1a1a;
}
.sign-body > p {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 18px;
}
.sign-metrics {
  display: flex;
  gap: 1px;
  background: rgba(189,139,85,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.sign-metrics .m {
  flex: 1;
  background: #fff;
  padding: 12px 8px;
  text-align: center;
}
.sign-metrics .m .v {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}
.sign-metrics .m .v sup { font-size: 12px; margin-left: 1px; }
.sign-metrics .m .k {
  font-size: 12px;
  color: var(--gray);
}

/* ============================================
   Case Library (Tab + 卡片列表)
   ============================================ */
.tab-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -20px 24px;
  padding: 0 20px;
}
.tab-scroll::-webkit-scrollbar { display: none; }
.tab-list {
  display: inline-flex;
  gap: 6px;
  padding: 4px 0;
}
.tab {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 12px;
  color: #777;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
  background: #f5f0e8;
  border: 1px solid transparent;
  cursor: pointer;
}
.tab.active {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}

.lib-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lib-card.filter-hide {
  display: none !important;
}

.lib-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .12);
  transition: border-color 0.3s ease;
}
@media (prefers-reduced-motion: no-preference) {
  #libList .lib-card:not(.is-revealed) {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition:
      opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--lib-reveal-delay, 0ms);
  }
  #libList .lib-card.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--lib-reveal-delay, 0ms);
  }
}
.lib-card:hover { border-color: var(--orange); }
.lib-cover {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  border-radius: 0;
  overflow: hidden;
}
.lib-cover-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}
.lib-cover-grad { position: absolute; inset: 0; }
@keyframes liubai-cover-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
  }
}
.cover-zoom {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.cover-zoom > img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115%;
  height: 115%;
  max-width: none;
  object-fit: cover;
  display: block;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  animation: liubai-cover-breathe 10s ease-in-out infinite;
  will-change: transform;
}
.lib-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}
.lib-cover-grad.g1 { background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%); }
.lib-cover-grad.g2 { background: linear-gradient(135deg, #065f46 0%, #134e4a 100%); }
.lib-cover-grad.g3 { background: linear-gradient(135deg, #7c2d12 0%, #581c87 100%); }
.lib-cover-grad.g4 { background: linear-gradient(135deg, #b45309 0%, #7f1d1d 100%); }
.lib-cover-grad.g5 { background: linear-gradient(135deg, #1f2937 0%, #111827 100%); }
.lib-cover-grad.g6 { background: linear-gradient(135deg, #4c1d95 0%, #be185d 100%); }
.lib-cover-grad.g7 { background: linear-gradient(135deg, #0c4a6e 0%, #164e63 100%); }
.lib-cover-grad.g8 { background: linear-gradient(135deg, #365314 0%, #1e40af 100%); }
.lib-cover-grad.g9 { background: linear-gradient(135deg, #831843 0%, #500724 100%); }
.lib-cover-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 14px;
  padding: 4px 9px;
  background: rgba(189,139,85,0.92);
  color: #fff;
  font-weight: 600;
  border-radius: 2px;
  z-index: 2;
}
.lib-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lib-body h3 {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.4;
  color: #1a1a1a;
}
.lib-body h3 .lib-title-link {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lib-body h3 .lib-title-link:hover {
  color: var(--orange);
}
.lib-body p {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 0;
}
.lib-metric {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid #f0e8d8;
  border-bottom: 1px solid #f0e8d8;
  margin-top: 4px;
}
.lib-metric > span,
.lib-metric-like {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid #f0e8d8;
}
.lib-metric-like {
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-right: 1px solid #f0e8d8;
  background: transparent;
  font: inherit;
  cursor: pointer;
  gap: 4px;
  transition: color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.lib-metric-like .lib-like-icon {
  flex: none;
}
.lib-like-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: #aaa;
  -webkit-mask: url("../../img/liubai/good.svg") center / contain no-repeat;
  mask: url("../../img/liubai/good.svg") center / contain no-repeat;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}
.lib-metric-like:hover { color: var(--orange); }
.lib-metric-like:hover .lib-like-icon { background-color: var(--orange); }
.lib-metric-like:active:not(.is-liked):not(.is-pending) {
  transform: scale(0.97);
}
.lib-metric-like:active:not(.is-liked):not(.is-pending) .lib-like-icon {
  transform: scale(0.88);
}
.lib-metric-like.is-liked {
  color: #b08a5a;
}
.lib-metric-like.is-liked .lib-like-icon {
  background-color: var(--orange);
}
.lib-metric-like.is-liked .js-like-count {
  color: var(--orange);
}
.lib-metric-like:not(.is-liked) .js-like-count {
  color: #888;
}
.lib-metric-like:not(.is-liked) .lib-like-icon {
  background-color: #aaa;
}
.lib-metric-like.is-pending { opacity: 0.65; pointer-events: none; }
.lib-metric-like.is-pop .lib-like-icon {
  animation: lib-like-pop 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lib-like-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.42); }
  65% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .lib-metric-like.is-pop .lib-like-icon { animation: none; }
  .cover-zoom > img {
    animation: none;
    transform: translate(-50%, -50%) scale(1);
  }
  .lib-metric-like:active:not(.is-liked) .lib-like-icon { transform: none; }
}
.lib-metric > span:last-child,
.lib-metric-like:last-child { border-right: 0; }
.lib-metric > span b {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--orange);
  font-weight: 700;
}
.lib-metric-like .js-like-count {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.lib-metric i { font-style: normal; }
.lib-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  min-height: 32px;
}
.lib-time {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.2;
  color: #999;
  letter-spacing: 0.5px;
}
.lib-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
}
.lib-link .arrow {
  color: var(--orange);
  font-size: 14px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.lib-link:active .arrow { transform: translateX(4px); }

.empty {
  text-align: center;
  padding: 40px;
  color: var(--gray);
  font-size: 13px;
}

/* ============================================
   Process (5 步流程)
   ============================================ */
.process-section .proc-foot { color: var(--orange); }
.proc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proc-item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
  width: auto;
  padding: 20px 18px 16px;
  background: var(--white);
  border-radius: 6px;
  position: relative;
  border-left: 0;
  border-top: 3px solid var(--orange);
}
.proc-num {
  flex-shrink: 0;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 28px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  opacity: 0.4;
  width: 48px;
}
.proc-content {
  flex: 1;
  min-width: 0;
}
.proc-title {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 10px;
  word-spacing: 16px;
}
.proc-item p {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
}
.proc-en {
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 2px;
  padding-top: 10px;
  border-top: 1px dashed rgba(189,139,85,0.3);
  font-weight: 600;
  width: 100%;
  margin-top: 4px;
}
.proc-foot {
  text-align: center;
  margin-top: 24px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 2px;
}

/* ============================================
   CTA (橙色调)
   ============================================ */
.cta-blue {
  background-color: var(--orange);
  padding: 56px 24px;
  text-align: center;
  position: relative;
}
.cta-blue::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.cta-blue h2 {
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  color: #fff;
  text-align: center;
}
.cta-blue .cta-logo {
  display: block;
  height: 70px;
  width: auto;
  margin: 0 auto;
}
.cta-blue p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 28px;
  position: relative;
  color: #fff;
}
.cta-blue-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #fff;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 2px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-blue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.5);
}
.cta-blue-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--black);
  color: var(--gray);
  padding: 40px 20px 32px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-brand .footer-logo {
  display: block;
  height: 64px;
  width: auto;
  margin: 0;
  flex-shrink: 0;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.footer-brand-text p {
  color: var(--gray-2);
  line-height: 1.4;
}
.footer-en {
  opacity: 0.6;
}
.footer > p { color: var(--gray-2); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 24px;
  text-align: left;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-grid h5 {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.footer-grid p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
}

.footer-copy {
  font-size: 12px;
  color: #555;
  letter-spacing: 1px;
  margin-top: 16px;
}

/* ============================================
   FAB Bar（底部固定操作浮窗）
   ============================================ */
.fab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  right: auto;
  z-index: 90;
  width: 100%;
  max-width: var(--liubai-content-max);
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 4px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-chat {
  background: var(--orange);
}
.fab-call {
  background: #fff;
  color: var(--orange);
}
.fab-item:active {
  opacity: 0.85;
  transform: scale(0.98);
}
.fab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* 在线咨询弹窗 */
.liubai-consult-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.liubai-consult-modal[hidden] {
  display: none !important;
}
.liubai-consult-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.liubai-consult-panel {
  position: relative;
  flex: 0 1 auto;
  width: min(100%, var(--liubai-consult-panel-max));
  max-width: var(--liubai-consult-panel-max);
  max-height: min(85vh, 640px);
  overflow-y: auto;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px 18px 18px;
  color: #f5f5f5;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.liubai-consult-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.liubai-consult-title {
  margin: 0 32px 6px 0;
  font-size: 20px;
  font-weight: 700;
}
.liubai-consult-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}
.liubai-consult-field {
  display: block;
  margin-bottom: 12px;
}
.liubai-consult-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.liubai-consult-field em {
  color: var(--orange);
  font-style: normal;
}
.liubai-consult-field input,
.liubai-consult-field select,
.liubai-consult-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  font-family: inherit;
}
.liubai-consult-field textarea {
  resize: vertical;
  min-height: 88px;
}
.liubai-consult-field input:focus,
.liubai-consult-field select:focus,
.liubai-consult-field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.liubai-consult-msg {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
}
.liubai-consult-msg.is-error {
  color: #ff8a80;
}
.liubai-consult-msg.is-success {
  color: #8bc99a;
}
.liubai-consult-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.liubai-consult-btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.liubai-consult-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.liubai-consult-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.liubai-consult-btn-primary {
  background: var(--orange);
  color: #fff;
}
@media (min-width: 768px) {
  .liubai-consult-modal {
    align-items: center;
    padding-bottom: 16px;
  }
}

/* ============================================
   Case detail (show_case)
   ============================================ */
.case-detail-header {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.case-back-link {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.case-back-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.case-detail {
  padding-top: 0;
}
.case-detail > .section {
  width: calc(100% - 24px);
  max-width: none;
  margin: 12px auto;
  box-sizing: border-box;
}
.case-detail-hero {
  max-width: none;
  margin: 0 auto;
  padding: 16px 16px 0;
}
.case-detail-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  background: #1f1f1f;
}
.case-detail-cover .lib-cover-tag {
  z-index: 2;
}
.case-detail-intro {
  margin-top: 16px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.case-detail-intro h1 {
  font-size: 20px;
  line-height: 1.35;
  color: #1a1a1a;
  font-weight: 700;
}
.case-detail-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
}
.case-detail-meta {
  margin-top: 4px;
}
.case-douyin-section {
  width: calc(100% - 24px);
  max-width: none;
  margin: 32px auto 24px;
  padding: 0 16px;
  box-sizing: border-box;
  background: transparent;
}
.case-douyin-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.case-douyin-open-btn:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: #fff;
}
.case-douyin-open-btn:active {
  transform: scale(0.98);
}
.case-videos-section .section-title {
  text-align: center;
  padding: 0;
}
.case-videos-section .section-title h2 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.case-video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0 0;
}
.case-video-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.case-video-title {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  background: linear-gradient(
    135deg,
    rgba(240, 210, 158, 0.96) 0%,
    rgba(205, 168, 110, 0.92) 42%,
    rgba(189, 139, 85, 0.9) 72%,
    rgba(120, 86, 48, 0.94) 100%
  );
  padding: 14px 16px 10px;
  line-height: 1.4;
}
.case-video-player {
  position: relative;
  background: #0a0a0a;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.case-video-player video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
  cursor: pointer;
}
.case-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  padding-left: 4px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.25s ease, transform 0.15s ease, background 0.2s ease;
}
.case-video-play:hover {
  background: rgba(0, 0, 0, 0.6);
}
.case-video-play:active {
  transform: translate(-50%, -50%) scale(0.94);
}
.case-video-player.is-playing .case-video-play {
  opacity: 0;
  pointer-events: none;
}
.case-video-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #0a0a0a;
}
.case-video-player.is-theater-source .case-video-placeholder {
  display: block;
}
body.case-video-theater-open {
  overflow: hidden;
}
.case-video-theater {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.case-video-theater.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.case-video-theater-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}
.case-video-theater-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.case-video-theater-close:active {
  transform: scale(0.94);
}
.case-video-theater-slot {
  width: 100%;
  max-width: 960px;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-video-theater-slot video,
.case-video-theater-slot video.case-video-theater-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(80vh, calc(100dvh - 96px));
  margin: 0 auto;
  object-fit: contain;
  background: #000;
  cursor: default;
  aspect-ratio: auto;
}
.case-video-theater-slot video.case-video-theater-media {
  max-height: min(75vh, calc(100dvh - 120px));
}
.case-content-section {
  padding-bottom: 48px;
}
.case-rich-content {
  background: #fff;
  border-radius: 6px;
  padding: 20px 16px;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.case-rich-content img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .case-detail-intro h1 {
    font-size: 20px;
  }
  .case-videos-section .section-title h2 {
    font-size: 20px;
  }
}
