/* =========================================================
   产品详情页专用样式
   ========================================================= */

/* ---------- 产品概览区：左图右文 ---------- */
.overview {
  padding-bottom: 90px;
}

.overview-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.overview-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.overview-img img {
  width: 100%;
  display: block;
}

.overview-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.overview-head .product-icon {
  margin-bottom: 0;
  width: 64px;
  height: 64px;
  font-size: 24px;
  border-radius: 16px;
}

.overview-name {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-title);
}

.overview-sub {
  font-size: 15px;
  color: var(--blue-500);
  font-weight: 600;
  margin-top: 6px;
}

.overview-desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 16px;
}

.overview-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.overview-tags .tag {
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 122, 61, 0.08);
  border: 1px solid rgba(255, 122, 61, 0.30);
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 600;
}

.overview-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 核心功能区 ---------- */
.features {
  background: var(--bg-gray);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 61, 0.35);
  box-shadow: var(--shadow-hover);
}

.feature-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF7A3D, #FFB04D);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ---------- 产品价值区 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 61, 0.35);
  box-shadow: var(--shadow-hover);
}

.value-check {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 122, 61, 0.10);
  color: var(--blue-500);
  font-size: 20px;
  font-weight: 700;
}

.value-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
}

.value-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ---------- 应用场景区 ---------- */
.scenes {
  background: var(--bg-gray);
}

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

.scene-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.scene-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
}

.scene-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ---------- 合作流程区 ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}

/* 步骤间连接箭头 */
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 28px;
  right: -20px;
  color: #A9B4C4;
  font-size: 22px;
}

.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF7A3D, #FFB04D);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 122, 61, 0.30);
}

.process-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
}

.process-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ---------- 相关产品推荐（复用产品中心图文卡结构） ---------- */
.related-grid {
  grid-template-columns: repeat(3, 1fr);
}

.related .pcard {
  padding: 0;
  overflow: hidden;
}

.related .pcard-img {
  height: 160px;
  overflow: hidden;
}

.related .pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.related .pcard:hover .pcard-img img {
  transform: scale(1.05);
}

.related .pcard-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related .pcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.related .pcard-head .product-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.related .pcard-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
}

.related .pcard-sub {
  font-size: 12px;
  color: var(--blue-500);
  margin-top: 4px;
  font-weight: 600;
}

.related .pcard-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related .pcard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .overview-inner {
    grid-template-columns: 1fr;
  }

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

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .overview-name {
    font-size: 24px;
  }

  .feature-grid,
  .value-grid,
  .scene-grid,
  .process-steps,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .overview-actions .btn {
    width: 100%;
    text-align: center;
  }
}
