/* 现有的banner样式保持不变 */
.banner {
    width: 100%;
    height: 100vh;
    background-image: url('/images/product/200000420.jpeg');
    background-size: cover;
    background-position: center;
}

/* 添加产品内容区域样式 */
.product-content {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    margin-bottom: 24px;
    font-size: var(--font-size-30);
    color: var(--text-color);
}

.section-subtitle {
    font-size: var(--font-size-20);
}


/* 产品线 */
  .timeline-nav {
    width: 100%;
    position: relative;
    margin-top: 80px;
  }
  
  .timeline-nav::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    width: 100%;
    height: 1px;
    border-top: 1px dashed #7a7a7a;
  }
  
  .timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    cursor: pointer;
  }
  
  .timeline-item .icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 30px;
  }
  
  .timeline-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
  }
  
  .timeline-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4c4c4c;
    box-shadow: 0 0 0 10px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    background: var(--primary-color);
    box-shadow: 0 0 0 10px rgba(226, 236, 253, .8);
  }

  /* 安易行换电站运营系统 */
  .platform {
    padding: 100px 0;
    text-align: center;
  }
  .platform-header h2 {
    font-size: var(--font-size-30);
    color: var(--text-color);
    font-weight: 500;
    display: inline-block;  
    padding-bottom: 36px;
    margin-bottom: 20px;
    position: relative;
  }
  .platform-header .platform-address a{
    margin: 0 10px;
    color: var(--primary-color);
  }
  .platform-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
  }
  .platform-header p {
    font-size: var(--font-size-20);
    color: var(--text-color); 
    font-weight: 300;
    margin: 80px 0;
  }
  .platform-content {
    width: 700px;
    margin: 0 auto;
  }
/* 产品功能 */
.function {
  padding: 100px 0;
  background-image: url('/images/product/400000421.jpg');
  background-size: cover;
  background-position: center;
}

.product-features-title {
  text-align: center;
}
.product-features-title h2 {
  display: inline-block;  
  color: var(--text-color);
  border-bottom: 4px solid var(--primary-color);
  padding-bottom: 30px;
  font-size: var(--font-size-30);
}


/* 产品功能 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 60px auto 0;
  height: 383px;
  align-items: center;
}

.feature-card {
  background: #fff;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  height: 180px; /* 设置固定高度 */
  overflow: hidden; /* 隐藏溢出内容 */
  cursor: pointer;
}

.feature-card:hover {
  height: 383px; /* 悬停时增加高度以显示子功能 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(11, 49, 143, .2);
}

.sub-features {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  text-align: left;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.feature-card:hover .sub-features {
  opacity: 1;
  transform: translateY(0);
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: var(--primary-color);
  padding: 10px;
  border-radius: 50%;
}

.feature-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  margin: 10px 0 0;
  font-size: var(--font-size-18);
  color: var(--text-color);
}

.sub-features {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  text-align: left;
}

.sub-features li {
  font-size: var(--font-size-18);
  margin: 20px 0;
  color: var(--gray-color-2);
  position: relative;
  padding-left: 20px;
}
.sub-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gray-color-2);
}
  /* 大屏幕 (1440px 及以上) */
@media screen and (min-width: 1440px) and (max-width: 1919px)  {
  .section-title,
  .product-features-title h2 {
    font-size: var(--font-size-24);
  }
  .section-subtitle {
    font-size: var(--font-size-20);
  }
  .platform-header h2{
    font-size: var(--font-size-30);
  }
  .platform-header p {
    font-size: var(--font-size-18);
  }
}

/* 中等屏幕 (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
  .section-title,
  .product-features-title h2 {
    font-size: var(--font-size-20);
  }
  .section-subtitle {
    font-size: var(--font-size-16);
  }
  .platform-header h2{
    font-size: var(--font-size-24);
    padding-bottom: 28px;
  }
  .platform-header p {
    font-size: var(--font-size-16);
  }
  /* 产品功能 */
  .feature-card {
    padding: 40px 20px;
    height: 160px;
  }
  .feature-card .icon {
    width: 50px;
    height: 50px;
  }
  .feature-card h3 {
    font-size: var(--font-size-16);
  }
  .sub-features li {
    font-size: var(--font-size-14);
    padding-left: 10px;
  }
  .sub-features li::before {
    width: 4px;
    height: 4px;
  }
}

/* 平板及小屏幕 (1024px - 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .section-title,
  .product-features-title h2 {
    font-size: var(--font-size-18);
  }
  .section-subtitle {
    font-size: var(--font-size-14);
  }

  /* 产品线 */
  .timeline-item .icon {
    width: 80px;
    height: 80px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }

  /* 安易行换电站运营系统 */
  .platform-header h2{
    font-size: var(--font-size-22);
    padding-bottom: 28px;
  }
  .platform-header p {
    font-size: var(--font-size-14);
  }
  .platform-content {
    width: 500px;
  }
  /* 产品功能 */
  .feature-card {
    padding: 40px 20px;
    height: 150px;
  }
  .feature-card .icon {
    width: 40px;
    height: 40px;
    padding: 6px;
  }
  .feature-card h3 {
    font-size: var(--font-size-14);
  }
  .sub-features li {
    font-size: var(--font-size-12);
    padding-left: 10px;
  }
  .sub-features li::before {
    width: 4px;
    height: 4px;
  }
  .feature-card:hover {
    height: 280px;
  }

}

/* 平板 (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .section-title,
  .product-features-title h2  {
    font-size: var(--font-size-24);
  }
  .section-subtitle {
    font-size: var(--font-size-18);
  }
  .timeline-item .icon {
    width: 80px;
    height: 80px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }
  .timeline-nav::before {
    bottom: 4px;
  }
  /* 安易行换电站运营系统 */
  .platform-header h2{
    font-size: var(--font-size-24);
    padding-bottom: 28px;
  }
  .platform-header p {
    font-size: var(--font-size-16);
  }
  .platform-content {
    width: 400px;
  }
  /* 产品功能 */
  .features-grid {
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    display: flex;
  }
  .feature-card {
    flex: 0 0 240px;
  }
}

/* 移动端 (480px - 767px) */
@media screen and (min-width: 480px) and (max-width: 767px) {
  .section-title,
  .product-features-title h2 {
    font-size: var(--font-size-24);
  }
  .section-subtitle {
    font-size: var(--font-size-18);
  }
  /* 产品线 */
  .timeline-items {
    /* 横向滚动条 */
    gap: 80px;
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    padding-bottom: 20px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }
  .timeline-nav::before {
    bottom: 25px;
  }
  /* 安易行换电站运营系统 */
  .platform-header h2{
    font-size: var(--font-size-24);
    padding-bottom: 28px;
  }
  .platform-header p {
    font-size: var(--font-size-16);
  }
  .platform-content {
    width: 100%;
  }
  /* 安易行换电站运营系统 */
  .platform-header h2{
    font-size: var(--font-size-24);
    padding-bottom: 28px;
  }
  .platform-header p {
    font-size: var(--font-size-16);
  }
  .platform-content {
    width: 400px;
  }
  /* 产品功能 */
  .features-grid {
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    display: flex;
  }
  .feature-card {
    flex: 0 0 240px;
  }
}

/* 小屏手机 (375px 及以下) */
@media screen and (max-width: 479px) {
  .section-title,
  .product-features-title h2   {
    font-size: var(--font-size-24);
  }
  .section-subtitle {
    font-size: var(--font-size-18);
  }
  
  /* 产品线 */
  .timeline-nav {
    margin-top: 40px;
  }
  .timeline-items {
    /* 横向滚动条 */
    gap: 80px;
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    padding-bottom: 20px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }
  .timeline-nav::before {
    bottom: 25px;
  }
  /* 安易行换电站运营系统 */
  .platform-header h2{
    font-size: var(--font-size-22);
    padding-bottom: 28px;
  }
  .platform-header p {
    font-size: var(--font-size-16);
  }
  .platform-content {
    width: 100%;
  }
  /* 安易行换电站运营系统 */
  .platform-header h2{
    font-size: var(--font-size-24);
    padding-bottom: 28px;
  }
  .platform-header p {
    font-size: var(--font-size-16);
  }
  .platform-content {
    width: 400px;
  }
  /* 产品功能 */
  .features-grid {
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    display: flex;
  }
  .feature-card {
    flex: 0 0 220px;
  }
  
}