/* ============================================================
   purchase-sale-transport-integrate.css - 采销运一体化管理平台 产品页
   基于 Figma「产品中心-采销运一体化管理平台」#1473:5219 设计还原
   （图片 / 图标均为 Figma 原始导出素材，存放于
     assets/images/purchase-sale-transport-integrate/）
   - 复用 tank-container-storage.css 的
     .lct-banner / .pain-grid / .intro-layout / .lct-advantage /
     .adv-grid / .section-title / .banner-values 等通用基础类，
     仅追加 / 覆盖本页差异化内容，不另建一套基础样式
   - 响应式断点（1524 / 1280 / 768 / 480）与站内
     station-operation、material-full-lifecycle 等页面完全一致
   ============================================================ */

/* ---------- 内容区宽度 ----------
   本页所有 section（含 Banner 内容区 .banner-content）均不覆盖宽度：
   统一沿用全局 .content-wrapper 的 --max-width: 83% + --container-padding，
   与 platform-warehouse-manage 等站内页面完全一致。
   此处刻意不写 max-width / 固定像素宽度，保证各断点自适应且不错乱 */

/* ============================================================
   Banner（Figma y82-570，标题/描述/预约演示 + 底部 6 枚价值卡）
   ============================================================ */
.lct-banner-psv {
  height: auto;
  min-height: 620px;
  padding: 60px 0 35px;
  background: url('../assets/images/purchase-sale-transport-integrate/banner-bg-70ac86.webp') center center / cover no-repeat;
}

/* 遮罩覆盖全高（覆盖罐箱页 .banner-mask 的 height:490px），渐变取自 Figma #1473:5281 */
.lct-banner-psv .banner-mask {
  height: 100% !important;
  background: linear-gradient(90deg, rgba(51, 91, 124, 0.7) 0%, rgba(51, 91, 124, 0.7) 17%, rgba(31, 31, 31, 0) 100%);
}

/* 红粉双条贴底（覆盖罐箱页 .banner-strip 的 top:477px） */
.lct-banner-psv .banner-strip {
  top: auto;
  bottom: 0;
}

.lct-banner-psv .banner-content {
  height: auto;
  min-height: 394px;
  justify-content: flex-start;
}

.lct-banner-psv .banner-content h1 {
  margin-bottom: 17px;
  letter-spacing: 0;
}

.lct-banner-psv .banner-content p {
  margin-bottom: 49px;
  text-align: justify;
}

.lct-banner-psv .banner-actions {
  margin-bottom: 0;
}

.lct-banner-psv .banner-btn img {
  width: 30px;
  height: 30px;
}

/* 价值卡：6 枚单行，贴 banner 底部（Figma y463-535），
   宽度撑满 83% 内容区，与上下各 section 左右边界对齐 */
.lct-banner-psv .banner-values {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 100%;
  margin: auto 0 0;
  align-self: stretch;
}

.lct-banner-psv .value-card {
  min-height: 72px;
  padding: 0 24px;
  gap: 12px;
}

.lct-banner-psv .value-card img {
  width: 32px;
  height: 32px;
}

.lct-banner-psv .value-card span {
  font-size: 16px;
  line-height: 1.5;
}

/* ============================================================
   行业背景：6 张痛点卡（3 列 × 2 行）
   ============================================================ */
.psv-industry {
  padding: 40px 0 60px;
  background: #fff;
}

.psv-industry .industry-lead {
  margin: 0 auto;
  text-align: justify;
}

.psv-pain-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.psv-pain-grid .pain-card {
  min-height: 271px;
  padding: 40px;
}

.psv-pain-grid .pain-icon {
  margin-bottom: 24px;
}

.psv-pain-grid .pain-icon img {
  width: 40px;
  height: 40px;
}

.psv-pain-grid .pain-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  flex: 1;
}

/* 条目标题「××××：」按 Figma 富文本样式加粗（Semibold 600，正文 Light 300） */
.psv-pain-grid .pain-card p strong {
  font-weight: 600;
}

.psv-pain-grid .pain-no {
  margin-top: auto;
  font-size: 14px;
  font-weight: 400;
  color: #93959D;
}

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

/* ============================================================
   产品介绍：浅灰底左文右图（Figma #1473:5345，内容宽 1433）
   ============================================================ */
.lct-intro-psv {
  padding: 70px 0 84px;
  background: #E9EEF3;
}

.lct-intro-psv .section-title {
  margin-top: 0;
}

.psv-intro-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  min-height: auto;
  padding: 0;
}

.psv-intro-layout .intro-text-col p {
  width: 100%;
  max-width: 707px;
  color: var(--color-text);
  text-align: justify;
}

.psv-intro-layout .intro-figure-col {
  flex: 0 0 40%;
  max-width: 40%;
}

/* ============================================================
   产品优势：整幅底图 + 黑色遮罩 + 6 张白字卡（3 列 × 2 行）
   ============================================================ */
.lct-advantage-psv {
  background-image: url('../assets/images/purchase-sale-transport-integrate/advantage-bg-31a7b0.webp');
  background-size: cover;
  background-position: center;
}

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

.psv-adv-grid .adv-card {
  min-height: 108px;
  padding: 0 40px;
  gap: 10px;
}

.psv-adv-grid .adv-icon {
  width: 32px;
  height: 32px;
}

.psv-adv-grid .adv-icon img {
  width: 24px;
  height: 24px;
}

.psv-adv-grid .adv-text {
  gap: 0;
}

.psv-adv-grid .adv-text h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
}

/* ============================================================
   核心功能（Figma #1613:8517）：01-03 通栏堆叠，04/05 并排
   外框 = 灰底描边卡（#F5F7FA + #DBDFE8）
   内层 = 白色说明块 + 白色分项卡（18×34 统一符号 + 文字）
   宽度随 content-wrapper（页宽 83%），高度由文字自适应
   ============================================================ */
.lct-function-psv {
  padding: 70px 0 40px;
  background: #fff;
}

.psv-func {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 04/05 并排：两卡等高 */
.psv-func-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.psv-func-row>.psv-func-card {
  flex: 1 1 0;
  min-width: 0;
}

.psv-func-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #F5F7FA;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.psv-func-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.psv-func-title {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.psv-func-title img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.psv-func-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #57575C;
}

.psv-func-no {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 350;
  color: #57575C;
}

.psv-func-no em {
  font-style: normal;
  color: #93959D;
}

.psv-func-desc {
  padding: 24px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.psv-func-desc p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

/* 01/02/03：2 列分项卡；02 第 3 张通栏 */
.psv-func-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.psv-func-subgrid>.psv-func-sub.is-full {
  grid-column: 1 / -1;
}

/* 04/05：单列分项卡；并排时三等分撑满卡片剩余高度，避免底部留白 */
.psv-func-sublist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.psv-func-row .psv-func-sublist {
  flex: 1 1 auto;
}

.psv-func-row .psv-func-sublist>.psv-func-sub {
  flex: 1 1 auto;
}

.psv-func-sub {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.psv-func-bullet {
  flex: 0 0 18px;
  width: 18px;
  height: 34px;
  object-fit: contain;
}

.psv-func-sub-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* 分项标题（Figma：16px Semibold / 26px 行高） */
.psv-func-sub-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  text-align: justify;
}

/* 分项说明 / ◇ 子条目（Figma：16px Light / 30px 行高） */
.psv-func-sub-desc,
.psv-func-sub-item {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

/* ============================================================
   客户案例 + FAQ（整体默认隐藏，DOM 完整保留，JS 动态渲染）
   ============================================================ */
.case-faq-wrap {
  display: none;
}

.psv-case-section,
.psv-faq-section {
  padding: 70px 0;
}

.psv-case-section {
  background: #F5F7FA;
}

.psv-faq-section {
  background: #fff;
}

/* 加载中 / 空数据 / 接口报错 提示 */
.psv-status {
  display: none;
  padding: 48px 16px;
  text-align: center;
  color: #93959D;
  font-size: 15px;
}

.psv-status.is-visible {
  display: block;
}

/* ---------- 客户案例卡片（JS 渲染，class 与 Figma 结构对应） ---------- */
.psv-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.psv-case-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.psv-case-media:empty {
  display: none;
}

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

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

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

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

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

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

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

/* ---------- FAQ 问答（JS 渲染，点击展开/收起） ---------- */
.psv-faq-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.psv-faq-item {
  border-bottom: 1px solid #DBDFE8;
}

.psv-faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 8px;
  cursor: pointer;
}

.psv-faq-q-icon {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.psv-faq-q h3 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #404043;
}

.psv-faq-a {
  display: none;
  align-items: flex-start;
  gap: 9px;
  padding: 0 8px 20px;
}

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

/* 回答者头像（AI小秘书 / 用户），Figma 原始导出素材 */
.psv-faq-av {
  flex: 0 0 auto;
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.psv-faq-av.is-user {
  width: 38px;
  height: 38px;
}

.psv-faq-ans {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-top: 8px;
  font-size: 14px;
  line-height: 26px;
  color: #57575C;
  text-align: justify;
}

.psv-faq-name {
  font-weight: 700;
  color: #57575C;
}

.psv-faq-name.is-ai {
  color: #FD9E33;
}

.psv-faq-name.is-user {
  color: #93959D;
}

/* ============================================================
   响应式（1524 / 1280 / 768 / 480，与站内页面保持同一套适配逻辑）
   ============================================================ */
/* 1025-1524px 中间屏：紧凑 banner；
   价值卡与其他页面保持一致——1281px 以上仍为 6 枚单行（≤1280 再切换 3 列 2 行） */
@media (max-width: 1524px) and (min-width: 1025px) {
  .lct-banner-psv {
    min-height: auto;
    padding: 56px 0 80px;
  }

  .lct-banner-psv .banner-content {
    min-height: auto;
  }

  .lct-banner-psv .banner-content h1 {
    margin-bottom: 28px;
  }

  .lct-banner-psv .banner-content p {
    margin-bottom: 28px;
  }

  .lct-banner-psv .banner-values {
    grid-template-columns: repeat(6, 1fr);
    margin-top: 40px;
  }
}

/* 1281-1524px：6 枚单行后卡片变窄，收紧图标/字号/内边距，保证标签单行完整显示 */
@media (min-width: 1281px) and (max-width: 1524px) {
  .lct-banner-psv .value-card {
    padding: 0 8px;
    gap: 10px;
  }

  .lct-banner-psv .value-card img {
    width: 28px;
    height: 28px;
  }

  .lct-banner-psv .value-card span {
    font-size: 15px;
  }
}

@media (max-width: 1280px) {
  .lct-banner-psv {
    min-height: auto;
    padding: 56px 0 80px;
  }

  .lct-banner-psv .banner-content {
    min-height: auto;
  }

  .lct-banner-psv .banner-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 32px;
  }

  .psv-pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* 核心功能 04/05 在窄屏收为单列，避免半宽卡内文字过窄 */
  .psv-func-row {
    flex-direction: column;
  }

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

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

/* 1025-1524px：banner 底部价值卡位置对齐站内其他页面
   （banner min-height 560 / padding 70 0 100，价值卡距底 16px：100-84=16） */
@media (min-width: 1025px) and (max-width: 1524px) {
  .lct-banner-psv {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 70px 0 100px;
  }

  .lct-banner-psv .banner-content {
    flex: 1;
    height: auto;
    min-height: 0;
  }

  .lct-banner-psv .banner-values {
    margin: auto 0 -84px;
  }
}

/* ≥1525px：价值卡贴 banner 底部（距底 16px：35-19=16），与 station-operation 参考页一致 */
@media (min-width: 1525px) {
  .lct-banner-psv {
    display: flex;
    flex-direction: column;
  }

  .lct-banner-psv .banner-content {
    flex: 1;
    min-height: 0;
  }

  .lct-banner-psv .banner-values {
    margin: auto 0 -19px;
  }
}

/* 769-1024px：价值卡下移 64px 贴底（距 banner 底 16px，与 station-operation 一致）
   仅位移，不改 banner 高度与其余元素布局 */
@media (min-width: 769px) and (max-width: 1024px) {
  .lct-banner-psv .banner-values {
    position: relative;
    top: 64px;
  }
}

@media (max-width: 768px) {
  .lct-banner-psv {
    min-height: auto;
    padding: 48px 0 72px;
  }

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

  .lct-banner-psv .banner-content p {
    margin-bottom: 24px;
  }

  .lct-banner-psv .banner-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
    position: relative;
    top: 56px;
  }

  .lct-banner-psv .value-card {
    min-height: 68px;
    padding: 0 16px;
    gap: 10px;
  }

  .lct-banner-psv .value-card img {
    width: 28px;
    height: 28px;
  }

  .lct-banner-psv .value-card span {
    font-size: 14px;
    white-space: normal;
  }

  /* ---------- 行业背景 ---------- */
  .psv-industry {
    padding: 32px 0 40px;
  }

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

  .psv-pain-grid .pain-card {
    min-height: auto;
    padding: 24px 18px;
  }

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

  /* 手机端：痛点卡图标左、文字右水平排布（与站内其他产品页一致） */
  .psv-pain-grid .pain-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
  }

  .psv-pain-grid .pain-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .psv-pain-grid .pain-card p {
    flex: 0 0 100%;
    margin: 12px 0 16px;
  }

  .psv-pain-grid .pain-no {
    flex: 0 0 100%;
    margin-top: 0;
  }

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

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

  /* ---------- 产品优势 ---------- */
  .psv-adv-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .psv-adv-grid .adv-card {
    min-height: 96px;
    padding: 0 20px;
  }

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

  /* ---------- 核心功能：模块通栏、分项卡收为单列 ---------- */
  .lct-function-psv {
    padding: 48px 0 32px;
  }

  .psv-func-card {
    padding: 20px;
  }

  .psv-func-title {
    gap: 12px;
  }

  .psv-func-title img {
    width: 26px;
    height: 26px;
  }

  .psv-func-title h3 {
    font-size: 16px;
  }

  .psv-func-no {
    font-size: 12px;
  }

  .psv-func-desc {
    padding: 20px;
  }

  .psv-func-desc p {
    font-size: 14px;
    line-height: 26px;
  }

  .psv-func-subgrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .psv-func-sublist {
    gap: 12px;
  }

  .psv-func-sub {
    gap: 12px;
    padding: 16px 20px;
  }

  .psv-func-bullet {
    flex-basis: 14px;
    width: 14px;
    height: 26px;
  }

  .psv-func-sub-title {
    font-size: 14px;
    line-height: 26px;
  }

  .psv-func-sub-desc,
  .psv-func-sub-item {
    font-size: 14px;
    line-height: 26px;
  }

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

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

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

  .psv-faq-inner {
    gap: 20px;
  }

  .psv-faq-q {
    gap: 12px;
    padding: 16px 4px;
  }

  .psv-faq-q-icon {
    width: 32px;
    height: 32px;
  }

  .psv-faq-q h3 {
    font-size: 15px;
  }

  .psv-faq-a {
    gap: 8px;
    padding: 0 4px 16px;
  }

  .psv-faq-av {
    width: 36px;
    height: 36px;
  }

  .psv-faq-av.is-user {
    width: 32px;
    height: 32px;
  }

  .psv-faq-ans {
    padding-top: 4px;
    font-size: 13px;
    line-height: 24px;
  }
}

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

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

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

  .psv-adv-grid .adv-card {
    flex-direction: row;
    min-height: 92px;
  }
}