/* ==================== 系统详情页面样式 ==================== */

/* ========== 系统介绍区 ========== */
.system-detail__intro {
  padding: 60px 0;
  background-color: #ffffff;
}

.system-detail__page-title {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin: 0 0 50px 0;
  line-height: 1.5;
}

.system-detail__intro-wrapper {
  position: relative;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.system-detail__intro-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #F5F5F5;
  transition: transform 0.3s ease;
  z-index: 1;
}

.system-detail__intro-slider--features {
  transform: translateX(100%);
}

.system-detail__intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  z-index: 2;
}

.system-detail__intro-block {
  position: relative;
  background-color: transparent;
  padding: 40px;
  transition: none;
  cursor: pointer;
}

.system-detail__intro-block:last-child {
  /* 移除分割线 */
}

.system-detail__intro-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.system-detail__intro-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-detail__intro-content p {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
  position: relative;
}

.system-detail__intro-content p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #666666;
}

/* ========== 系统配件列表区 ========== */
.system-detail__parts {
  padding: 80px 0;
  background-color: #F5F5F5;
}

.system-detail__section-title {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin: 0 0 50px 0;
  line-height: 1.5;
}

.system-detail__part {
  display: flex;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.system-detail__part:last-child {
  margin-bottom: 0;
}

.system-detail__part:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.system-detail__part--active {
  border-color: #D0021B;
  box-shadow: 0 4px 16px rgba(208, 2, 27, 0.15);
}

/* 文字区域 - 左侧 60% */
.system-detail__part-content {
  flex: 0 0 60%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background-color: #ffffff;
}

.system-detail__part-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.5;
}

.system-detail__part-params {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.system-detail__part-params li {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  padding-left: 0;
}

/* 图片区域 - 右侧 40% */
.system-detail__part-image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  aspect-ratio: 4 / 3;
}

.system-detail__part-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== 咨询/下载区 ========== */
.system-detail__contact {
  padding: 60px 0;
  background-color: #ffffff;
}

/* ==================== 响应式设计 ==================== */

/* 平板端 (≤960px) */
@media (max-width: 960px) {
  .system-detail__intro {
    padding: 40px 0;
  }

  .system-detail__page-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .system-detail__intro-wrapper {
    border-radius: 8px;
  }

  .system-detail__intro-slider {
    width: 100%;
    height: 50%;
  }

  .system-detail__intro-slider--features {
    transform: translateY(100%);
  }

  .system-detail__intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .system-detail__intro-block {
    padding: 30px;
    /* 移除移动端分割线 */
  }

  .system-detail__intro-block:last-child {
    /* 移除移动端分割线 */
  }

  .system-detail__parts {
    padding: 60px 0;
  }

  .system-detail__section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .system-detail__part {
    flex-direction: column;
    margin-bottom: 24px;
  }

  .system-detail__part-content {
    flex: 0 0 auto;
    padding: 30px;
    gap: 16px;
  }

  .system-detail__part-image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .system-detail__contact {
    padding: 40px 0;
  }
}

/* 手机端 (≤640px) */
@media (max-width: 640px) {
  .system-detail__intro {
    padding: 30px 0;
  }

  .system-detail__page-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .system-detail__intro-grid {
    gap: 24px;
  }

  .system-detail__intro-block {
    padding: 24px;
  }

  .system-detail__intro-content {
    gap: 10px;
  }

  .system-detail__intro-content p {
    font-size: 13px;
  }

  .system-detail__parts {
    padding: 40px 0;
  }

  .system-detail__section-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .system-detail__part {
    margin-bottom: 20px;
  }

  .system-detail__part-content {
    padding: 24px;
    gap: 14px;
  }

  .system-detail__part-title {
    font-size: 15px;
  }

  .system-detail__part-params {
    gap: 8px;
  }

  .system-detail__part-params li {
    font-size: 13px;
  }

  .system-detail__contact {
    padding: 30px 0;
  }
}
