/* ============================================================
   network-freight.css - 网络货运 产品页专属样式
   基于 Figma #1363:4174 设计还原
   - 复用 tank-container-storage.css 中的 .lct-banner / .pain-grid /
     .intro-layout / .lct-advantage / .adv-grid / .section-title /
     .banner-values 等基础公共类，仅追加/覆盖本页差异化内容
   - 本文件须在 tank-container-storage.css 之后引入
   ============================================================ */

/* ---------- 内容区宽度：本页统一 90%（与 station-operation.html 一致） ----------
   覆盖全局 .content-wrapper 的 83%，不再写死像素上限；各屏幕自适应、窄屏保留 90% 左右留白 */
.page-main .content-wrapper {
  max-width: 90%;
}

/* ---------- Banner：标题/描述/预约按钮 + 4 张价值卡 ----------
   高度/贴底方式与其他产品页（station-operation）统一：620 / 84+110 / 价值卡距底 16 */
.lct-banner-nft {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 620px;
  padding: 84px 0 110px;
  background: url('../../assets/images/network-freight/hero-bg-4f9d9e.webp') center center / cover no-repeat;
}

.lct-banner-nft .banner-content {
  flex: 1;
  height: auto;
  justify-content: flex-start;
}

.lct-banner-nft .banner-mask {
  height: 100% !important;
}

.lct-banner-nft .banner-strip {
  top: auto;
  bottom: 0;
}

/* 价值卡：4 列，距 banner 底部 16px（110 - 94） */
.lct-banner-nft .banner-values {
  grid-template-columns: repeat(4, 1fr);
  margin: auto 0 -94px;
}

.lct-banner-nft .value-card {
  min-height: 96px;
  padding: 0 16px;
}

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

.lct-banner-nft .banner-actions {
  margin-bottom: 34px;
}

.lct-banner-nft .banner-btn img {
  width: 20px;
  height: 20px;
}

/* ============================================================
   行业背景：5 张痛点卡（5 列）
   ============================================================ */
.lct-industry-nft {
  padding-bottom: 25px;
}

.pain-grid-nft {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.pain-grid-nft .pain-card {
  min-height: 274px;
  padding: 40px 32px;
}

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

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

.pain-grid-nft .pain-card h3 {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  margin-bottom: 0;
}

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

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

/* ============================================================
   产品介绍：浅灰底左文右图
   ============================================================ */
.lct-intro-nft {
  padding: 70px 0 84px;
  background: #E9EEF3;
}

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

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

.lct-intro-nft .intro-subtitle-line {
  display: none;
}

.lct-intro-nft .intro-subtitle {
  gap: 0;
  margin-bottom: 16px;
}

.lct-intro-nft .intro-subtitle h4 {
  line-height: 32px;
}

.lct-intro-nft .intro-figure-col {
  flex: 0 0 40%;
  max-width: 40%;
}

/* ============================================================
   产品优势：7 张卡（首行 4 列 + 次行 3 列）
   ============================================================ */
.lct-advantage-nft {
  background-image: url('../../assets/images/network-freight/advantage-bg-31a7b0.webp');
  background-size: cover;
  background-position: center;
}

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

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

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

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

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

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

/* ============================================================
   核心功能：标准版 / 专业版 / AI 智能增强
   Figma：1363:4681 / 1370:5930 / 1363:4829
   ============================================================ */
.lct-function-nft {
  padding: 70px 0 40px;
  background: #fff;
}

.nft-func-sec {
  margin-bottom: 40px;
}

.nft-func-sec:last-child {
  margin-bottom: 0;
}

/* ---------- 模块头（专业版 / AI）：整行背景图 + 遮罩 + 居中文案 ---------- */
.nft-module-head {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 16px;
}

.nft-module-bg {
  display: block;
  width: 100%;
  height: 204px;
  object-fit: cover;
}

.nft-module-head-ai .nft-module-bg {
  height: 189px;
}

.nft-module-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 40px;
  text-align: center;
  background: rgba(0, 0, 0, 0.58);
}

/* AI 模块头遮罩更深（Figma：0.65） */
.nft-module-head-ai .nft-module-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.nft-module-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.nft-module-lead {
  margin: 0;
  max-width: 1358px;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #fff;
}

.nft-module-sub {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #fff;
}

/* AI 模块头引导文案宽度（Figma：1254） */
.nft-module-head-ai .nft-module-lead {
  max-width: 1255px;
}

/* ---------- 功能网格：2 列 ---------- */
.nft-func-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 标准版：首格标题（占 1 列） ---------- */
.nft-func-headcell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  height: 472px;
  min-height: 472px;
  border-radius: 8px;
  overflow: hidden;
}

.nft-func-headcell-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nft-func-headcell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.nft-func-headcell-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 548px;
  max-width: calc(100% - 80px);
  text-align: center;
}

.nft-func-headcell-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.nft-func-headcell-body p {
  margin: 0;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #fff;
}

/* ---------- 功能卡：灰底 + 白内层 ---------- */
.nft-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;
}

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

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

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

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

/* AI 模块 2～6 卡使用 Figma 46 × 40 图标 */
.nft-module-head-ai + .nft-func-grid .nft-func-title img[src$="nf-ai-face.svg"] {
  width: 46px;
  height: 40px;
}

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

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

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

.nft-func-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

/* AI 卡片内层上下留白更紧凑（Figma：10px 32px） */
.nft-module-head-ai + .nft-func-grid .nft-func-body {
  padding: 10px 32px;
}

.nft-pack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nft-pack-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
}

/* 标准版 / AI：每行前置 Figma 原始符号图标（18 × 34） */
.nft-func-card .nft-pack-list li {
  padding-left: 34px;
}

.nft-func-card .nft-pack-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 18px;
  height: 34px;
  background: url('../../assets/images/network-freight/nf-bullet.svg') left center / 18px 34px no-repeat;
}

/* 专业版：图标在卡片左上角，行首保留设计稿文字符号 */
.nft-pro-card .nft-pack-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: #93959D;
}

/* ---------- 专业版：两个灰色分组容器 ---------- */
.nft-pro-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 25px 32px;
  margin-bottom: 16px;
  background: #F5F7FA;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
}

.nft-pro-group:last-child {
  margin-bottom: 0;
}

.nft-pro-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nft-pro-head img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nft-pro-head h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #57575C;
}

/* 左三右一：左侧 3 张场景卡纵向等高排列，右侧通栏卡上下边框对齐 */
.nft-pro-cols {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.nft-pro-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nft-pro-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 8px;
}

/* 业务增强模块卡片左右留白更宽（Figma：24px 32px） */
.nft-pro-group:last-child .nft-pro-card {
  padding: 24px 32px;
}

.nft-pro-card-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 34px;
  object-fit: contain;
}

.nft-pro-card-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.nft-pro-card-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.nft-pro-card-title span,
.nft-pro-sub-title span {
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
}

.nft-pro-sub-title {
  margin: 16px 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.nft-pro-card .nft-pack-list {
  gap: 0;
}

.nft-pro-card-wide {
  flex: 0 0 618px;
  width: 618px;
}

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

.nft-case-section,
.nft-faq-section {
  padding: 70px 0;
  background: #fff;
}

.nft-status {
  display: none;
  padding: 48px 16px;
  text-align: center;
  color: #93959D;
  font-size: 15px;
}

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

/* ---------- 客户案例卡片 ---------- */
.nft-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nft-case-card {
  background: #fff;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.nft-case-media img {
  display: block;
  width: 100%;
  height: auto;
}

.nft-case-body {
  padding: 20px 24px 22px;
}

.nft-case-body h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #404043;
}

.nft-case-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 24px;
  color: #57575C;
}

.nft-case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nft-case-date {
  font-size: 13px;
  color: #93959D;
}

.nft-case-more {
  font-size: 14px;
  color: #DA0029;
}

/* ---------- FAQ ---------- */
.nft-faq-inner {
  margin: 0 auto;
}

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

.nft-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 8px;
  cursor: pointer;
}

.nft-faq-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #DA0029;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

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

.nft-faq-a {
  display: none;
  gap: 12px;
  padding: 0 8px 24px 44px;
}

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

.nft-faq-a .nft-faq-badge {
  background: #F5F7FA;
  color: #57575C;
  border: 1px solid #DBDFE8;
}

.nft-faq-ans {
  flex: 1;
  min-width: 0;
}

.nft-faq-name {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #57575C;
}

.nft-faq-name.is-ai {
  color: #1A73E8;
}

.nft-faq-ans p {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: #57575C;
}

/* ============================================================
   响应式（1280 / 768 / 480 三个断点，与站场/仓库页一致）
   ============================================================ */
@media (max-width: 1280px) {
  .lct-banner-nft {
    min-height: 560px;
    padding: 70px 0 100px;
  }

  .lct-banner-nft .banner-values {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: -84px;
  }

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

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

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

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

  .nft-func-headcell {
    height: 380px;
    min-height: 380px;
  }

  .nft-func-headcell-body {
    max-width: calc(100% - 56px);
  }

  .nft-pro-cols {
    flex-direction: column;
  }

  .nft-pro-grid {
    grid-template-rows: none;
  }

  .nft-pro-card-wide {
    flex: 1 1 auto;
    width: auto;
  }
}

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

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

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

  .pain-grid-nft .pain-card {
    min-height: auto;
    padding: 24px 18px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
  }

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

  .pain-grid-nft .pain-card h3 {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    margin-bottom: 0;
  }

  .pain-grid-nft .pain-no {
    flex: 0 0 100%;
    margin-top: 12px;
    font-size: 14px;
  }

  .lct-intro-nft {
    padding: 48px 0 56px;
  }

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

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

  .adv-grid-nft .adv-card {
    min-height: 96px;
  }

  .lct-function-nft {
    padding: 48px 0 32px;
  }

  .nft-func-sec {
    margin-bottom: 32px;
  }

  .nft-func-headcell {
    height: 300px;
    min-height: 300px;
  }

  .nft-func-headcell-body p {
    font-size: 14px;
    line-height: 26px;
  }

  .nft-module-bg,
  .nft-module-head-ai .nft-module-bg {
    height: 140px;
  }

  .nft-module-overlay {
    gap: 8px;
    padding: 16px 20px;
  }

  .nft-module-title {
    font-size: 16px;
  }

  .nft-module-lead,
  .nft-module-sub {
    font-size: 13px;
    line-height: 22px;
  }

  .nft-func-grid,
  .nft-pro-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }

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

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

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

  .nft-func-body {
    padding: 20px;
  }

  .nft-module-head-ai + .nft-func-grid .nft-func-body {
    padding: 16px 20px;
  }

  .nft-pack-list {
    gap: 8px;
  }

  .nft-pack-list li,
  .nft-pro-card-title span,
  .nft-pro-sub-title span {
    font-size: 14px;
    line-height: 26px;
  }

  .nft-pro-group {
    padding: 18px 20px;
  }

  .nft-pro-head h4 {
    font-size: 16px;
  }

  .nft-pro-card {
    padding: 18px;
  }

  .nft-pro-card-title,
  .nft-pro-sub-title {
    font-size: 15px;
  }

  .nft-case-section,
  .nft-faq-section {
    padding: 48px 0 56px;
  }

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

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

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

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

  .nft-func-headcell {
    height: 260px;
    min-height: 260px;
  }
}

/* 1800-769px：主体版心宽度与 station-operation 对齐（83%）；手机端同步加宽至 100% */
@media (min-width: 769px) and (max-width: 1800px) {
  .page-main .content-wrapper {
    max-width: var(--max-width);
  }
}

@media (max-width: 768px) {
  .page-main .content-wrapper {
    max-width: 100%;
  }
}

/* ============================================================
   版心宽度全宽度统一（与 station-operation 一致）
   桌面端任意宽度（含 1800-1440）均为 83%，移动端 100%
   仅调整外层内容容器宽度
   ============================================================ */
@media (min-width: 769px) {
  .page-main .content-wrapper {
    width: 83%;
    max-width: 83%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-main .content-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
