/* ============================================================
   product-supply-collab.css - 供应链协同运营（产品中心-数字化供应链）
   基于 Figma #1615:9629 设计还原
   - 仅作用于本页 main 区域，不影响导航、页脚与全局样式
   - 响应式逻辑与 station-operation.html 保持一致（1280 / 768 / 480）
   - 本文件已包含详情页基类（lct-*），无需再引入其他页面样式
   ============================================================ */

/* ============================================================
   通用区块标题（装饰线 + 圆点，与站场作业页一致）
   ============================================================ */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 44px;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 2px;
  white-space: nowrap;
}

.title-deco {
  position: relative;
  width: 170px;
  height: 10px;
}

.title-deco::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  background: var(--color-primary);
  opacity: 0.85;
}

.title-deco::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateY(-50%);
}

.deco-left::before {
  background: linear-gradient(90deg, #dbdfe800, var(--color-primary));
}

.deco-left::after {
  right: 0;
}

.deco-right::before {
  background: linear-gradient(90deg, var(--color-primary), #dbdfe800);
}

.deco-right::after {
  left: 0;
}

/* ============================================================
   Banner
   ============================================================ */
.lct-banner {
  position: relative;
  overflow: hidden;
}

.lct-banner-psc {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 84px 0 41px;
  background: url('../../assets/images/product-supply-collab/banner-bg-5ff17e.webp') center center / cover no-repeat;
}

.banner-mask {
  position: absolute;
  inset: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(51, 91, 124, 0.7) 17%, rgba(31, 31, 31, 0) 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.lct-banner-psc .banner-content {
  width: 100%;
  max-width: 89%;
  padding: 0 clamp(24px, 5vw, 90px);
  flex: 1;
  justify-content: center;
}

.banner-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 16px;
  max-width: 760px;
}

.banner-content p {
  max-width: 678px;
  font-size: 16px;
  line-height: 32px;
  color: #fff;
  opacity: 0.92;
  text-align: justify;
}

.lct-banner-psc .banner-actions {
  margin: 39px 0 51px;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 128px;
  height: 42px;
  padding: 8px 22px 8px 20px;
  background: var(--color-accent-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.banner-btn img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.banner-btn:hover {
  background: #ac0d2a;
}

/* 悬浮价值条：Figma 单行 5 项 */
.banner-values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1500px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  min-height: 76px;
  background: #F5F7FA;
  border-radius: 8px;
}

.value-card img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.value-card span {
  font-size: 16px;
  line-height: 1.5;
  color: #393D40;
}

/* 底部红粉双条 */
.banner-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  z-index: 2;
}

.strip-red {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #DA0029;
}

.strip-pink {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #EF93A4;
}

/* ============================================================
   行业背景
   ============================================================ */
.lct-industry {
  padding: 70px 0;
  background: #fff;
}

.lct-industry .content-wrapper {
  max-width: var(--max-width);
  padding: 0 var(--container-padding);
}

.industry-lead {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 30px;
  color: var(--color-text);
  text-align: left;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.pain-card {
  grid-column: span 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 40px;
  min-height: 317px;
  background: #F5F7FA;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:nth-child(n + 4) {
  grid-column: span 3;
  min-height: 0;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pain-icon {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.pain-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.pain-card p {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
  flex: 1;
  text-align: justify;
}

.pain-no {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  color: #93959D;
  letter-spacing: 1px;
}

.pain-no em {
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  color: #93959D;
}

/* ============================================================
   产品介绍
   ============================================================ */
.lct-intro {
  padding: 70px 0;
  background: #E9EEF3;
}

.lct-intro .content-wrapper {
  max-width: var(--max-width);
  padding: 0 var(--container-padding);
}

.lct-intro .section-title {
  margin-bottom: 40px;
}

.intro-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.intro-text-col {
  flex: 1;
  min-width: 0;
}

.intro-text-col p {
  font-size: 16px;
  line-height: 32px;
  color: #57575C;
  text-align: justify;
}

.intro-figure-col {
  flex: 0 0 456px;
  max-width: 456px;
}

.intro-figure {
  border-radius: 8px;
  overflow: hidden;
}

.intro-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================================
   产品优势
   ============================================================ */
.lct-advantage {
  position: relative;
  padding: 60px 0;
  background: url('../../assets/images/product-supply-collab/advantage-bg-31a7b0.webp') center center / cover no-repeat;
}

.lct-advantage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.6);
}

.lct-advantage .content-wrapper {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  padding: 0 var(--container-padding);
}

.section-title-light h2 {
  color: #fff;
}

.section-title-light .title-deco::before,
.section-title-light .title-deco::after {
  background-color: #fff;
  opacity: 0.9;
}

.section-title-light .deco-left::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff);
}

.section-title-light .deco-right::before {
  background: linear-gradient(90deg, #fff, #dbdfe800);
}

.section-title-light {
  margin-bottom: 48px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.adv-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  min-height: 138px;
  background: rgba(87, 87, 92, 0.5);
  border: 1px solid #93959D;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.adv-card:hover {
  background: rgba(87, 87, 92, 0.7);
  transform: translateY(-2px);
}

.adv-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.adv-text {
  flex: 1;
  min-width: 0;
}

.adv-text h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #fff;
  margin: 0;
}

/* ============================================================
   核心功能
   ============================================================ */
.lct-function {
  padding: 70px 0;
  background: #fff;
}

/* 与其他页面一致：沿用全局 --max-width（83%）+ 24px 内边距 */
.lct-function .content-wrapper {
  max-width: var(--max-width);
  padding: 0 var(--container-padding);
}

/* Figma：每组为浅灰底 + 1px 描边的大卡（padding 32 / gap 16 / radius 8） */
.psc-func-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #F5F7FA;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
}

.psc-func-group + .psc-func-group {
  margin-top: 20px;
}

.psc-func-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.psc-func-group-name {
  display: flex;
  align-items: center;
  gap: 20px;
}

.psc-func-group-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.psc-func-group-name h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  margin: 0;
}

.psc-func-group-num {
  font-size: 14px;
  font-weight: 350;
  line-height: 20px;
  color: #57575C;
}

/* Figma：组说明是独立白色面板（padding 24 32 / radius 8） */
.psc-func-group-desc {
  margin: 0;
  padding: 24px 32px;
  background: #FFFFFF;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.psc-func-grid {
  display: grid;
  gap: 16px;
}

.psc-func-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Figma：增值能力三卡宽度 498 / 471 / 434 */
.psc-func-grid--3 {
  grid-template-columns: 498fr 471fr 434fr;
}

/* Figma：白底卡，图标在左、文案在右（padding 16 32 / 间距 16） */
.psc-func-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  padding: 16px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.psc-func-card--full {
  grid-column: 1 / -1;
}

/* 图标与文案左右并列：head 拆解为栅格直接子项 */
.psc-func-card-head {
  display: contents;
}

.psc-func-card-icon {
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  height: 34px;
  object-fit: contain;
}

.psc-func-card-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  margin: 0;
}

.psc-func-card-desc {
  grid-column: 2;
  margin: 0;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.psc-func-card-list {
  grid-column: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.psc-func-card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.psc-func-card-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  top: 0;
  color: #57575C;
}

/* ============================================================
   客户案例 / FAQ问答（默认隐藏，DOM 完整保留）
   上线：将 .case-faq-wrap 的 display 改为 block 即可
   ============================================================ */
.case-faq-wrap {
  display: none;
}

/* -------------------- 客户案例 -------------------- */
.psc-case-section {
  padding: 40px 0;
  background: #F5F7FA;
}

.psc-case-section .content-wrapper {
  max-width: 90%;
  padding: 0 24px;
}

.psc-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.psc-case-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #FFFFFF;
}

.psc-case-media {
  width: 100%;
}

.psc-case-media img {
  display: block;
  width: 100%;
  aspect-ratio: 453 / 249;
  object-fit: cover;
}

.psc-case-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-top: 16px;
}

.psc-case-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  margin: 0;
}

.psc-case-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: #57575C;
  margin: 12px 0 0;
}

.psc-case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.psc-case-date,
.psc-case-more {
  font-size: 14px;
  color: #93959D;
}

.psc-case-more {
  white-space: nowrap;
}

/* -------------------- FAQ问答 -------------------- */
.psc-faq-section {
  padding: 40px 0;
  background: #FFFFFF;
}

.psc-faq-section .content-wrapper {
  max-width: 90%;
  padding: 0 24px;
}

.psc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1188px;
  margin: 0 auto;
}

.psc-faq-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.psc-faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.psc-faq-badge {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #E9EEF3;
  color: #DA0029;
  font-size: 17px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.psc-faq-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  color: #57575C;
  margin: 0;
}

.psc-faq-a {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 0 51px;
  font-size: 14px;
  line-height: 27px;
  color: #57575C;
}

.psc-faq-item.is-open .psc-faq-a {
  display: flex;
}

.psc-faq-a .psc-faq-name {
  flex: 0 0 auto;
  font-weight: 700;
  color: #FD9E33;
}

.psc-faq-a .psc-faq-name.faq-user {
  color: #93959D;
}

.psc-faq-a .psc-faq-a-text {
  flex: 1;
}

/* -------------------- 加载 / 空 / 报错 状态 -------------------- */
.psc-state {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 32px 16px;
  font-size: 14px;
  line-height: 22px;
  color: #93959D;
  text-align: center;
}

.psc-state.is-show {
  display: flex;
}

.psc-state--loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #DBDFE8;
  border-top-color: #DA0029;
  border-radius: 50%;
  animation: psc-spin 0.8s linear infinite;
}

@keyframes psc-spin {
  to {
    transform: rotate(360deg);
  }
}

.psc-state--error {
  color: #DA0029;
}

/* ============================================================
   响应式（与站场作业页一致：1280 / 768 / 480）
   ============================================================ */
@media (max-width: 1280px) {
  .lct-banner-psc {
    min-height: 520px;
    padding: 64px 0 36px;
  }

  .banner-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-card {
    padding: 0 16px;
  }

  .pain-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .pain-card {
    padding: 32px;
  }

  .adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .psc-func-group {
    padding: 24px;
  }

  .psc-func-card {
    padding: 16px 24px;
  }

  .psc-case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .lct-banner-psc .banner-content h1 {
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .content-wrapper,
  .lct-industry .content-wrapper,
  .lct-intro .content-wrapper,
  .lct-advantage .content-wrapper,
  .lct-function .content-wrapper,
  .psc-case-section .content-wrapper,
  .psc-faq-section .content-wrapper {
    max-width: 100%;
    padding: 0 16px;
  }

  .section-title {
    gap: 12px;
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .title-deco {
    width: 80px;
  }

  /* ---------- Banner ---------- */
  .lct-banner-psc {
    min-height: auto;
    padding: 48px 0 32px;
  }

  .lct-banner-psc .banner-content {
    max-width: 100%;
    padding: 0 16px;
  }

  .banner-content h1 {
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }

  .banner-content p {
    font-size: 14px;
    line-height: 26px;
  }

  .lct-banner-psc .banner-actions {
    margin: 24px 0 28px;
  }

  .banner-btn {
    min-width: 120px;
    height: 40px;
    font-size: 15px;
  }

  .banner-btn img {
    width: 24px;
    height: 24px;
  }

  .banner-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .value-card {
    min-height: 68px;
    gap: 10px;
  }

  .value-card img {
    width: 26px;
    height: 26px;
  }

  .value-card span {
    font-size: 14px;
  }

  /* ---------- 行业背景 ---------- */
  .lct-industry {
    padding: 48px 0;
  }

  .industry-lead {
    font-size: 14px;
    line-height: 26px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }

  .pain-card,
  .pain-card:nth-child(n + 4) {
    grid-column: span 1;
    min-height: auto;
    padding: 24px 18px;
  }

  .pain-icon {
    margin-bottom: 12px;
  }

  .pain-icon img {
    width: 32px;
    height: 32px;
  }

  .pain-card p {
    font-size: 14px;
    line-height: 26px;
  }

  .pain-no {
    font-size: 14px;
    line-height: 28px;
    margin-top: 12px;
  }

  /* ---------- 产品介绍 ---------- */
  .lct-intro {
    padding: 48px 0;
  }

  .lct-intro .section-title {
    margin-bottom: 28px;
  }

  .intro-layout {
    flex-direction: column;
    gap: 24px;
  }

  .intro-text-col p {
    font-size: 14px;
    line-height: 26px;
  }

  .intro-figure-col {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  /* ---------- 产品优势 ---------- */
  .lct-advantage {
    padding: 48px 0;
  }

  .section-title-light {
    margin-bottom: 32px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .adv-card {
    min-height: 96px;
    padding: 18px 20px;
    gap: 14px;
  }

  .adv-text h3 {
    font-size: 15px;
    line-height: 24px;
  }

  /* ---------- 核心功能 ---------- */
  .lct-function {
    padding: 48px 0;
  }

  .psc-func-group + .psc-func-group {
    margin-top: 16px;
  }

  .psc-func-group {
    gap: 12px;
    padding: 20px;
  }

  .psc-func-group-name {
    gap: 12px;
  }

  .psc-func-group-icon {
    width: 24px;
    height: 24px;
  }

  .psc-func-group-name h3 {
    font-size: 16px;
  }

  .psc-func-group-desc {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 26px;
  }

  .psc-func-grid--2,
  .psc-func-grid--3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .psc-func-card {
    padding: 16px 18px;
    column-gap: 12px;
  }

  .psc-func-card-title {
    font-size: 15px;
  }

  .psc-func-card-desc,
  .psc-func-card-list li {
    font-size: 14px;
    line-height: 26px;
  }

  /* ---------- 客户案例 / FAQ ---------- */
  .psc-case-section,
  .psc-faq-section {
    padding: 32px 0;
  }

  .psc-case-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .psc-case-media img {
    aspect-ratio: 2 / 1;
  }

  .psc-case-title {
    font-size: 15px;
  }

  .psc-case-desc {
    font-size: 14px;
    line-height: 24px;
  }

  .psc-faq-list {
    gap: 20px;
  }

  .psc-faq-item {
    gap: 12px;
  }

  .psc-faq-title {
    font-size: 15px;
  }

  .psc-faq-a {
    margin-left: 0;
    font-size: 13px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .banner-values {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 64px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .adv-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .psc-func-card {
    padding: 16px 14px;
  }

  .psc-func-card-icon {
    width: 14px;
    height: 28px;
  }
}

/* ≥1525px：仅把价值卡下移贴到 banner 底部（距底 16px），标题/正文仍保持原居中位置 */
@media (min-width: 1525px) {
  .lct-banner-psc .banner-values {
    margin-top: 100px;
    margin-bottom: -100px;
  }
}

/* 非桌面断点：同样只做位移（position:relative 不影响居中布局与其他元素）
   下移量 = 当前距底距离 − 16px，与 station-operation 一致 */
@media (min-width: 1389px) and (max-width: 1524px) {
  .lct-banner-psc .banner-values {
    position: relative;
    top: 100px;
  }
}

@media (min-width: 1025px) and (max-width: 1388px) {
  .lct-banner-psc .banner-values {
    position: relative;
    top: 90px;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .lct-banner-psc .banner-values {
    position: relative;
    top: 20px;
  }
}

@media (max-width: 768px) {
  .lct-banner-psc .banner-values {
    position: relative;
    top: 16px;
  }
}
