/* 首页样式 */

/* Banner区域 */
.main-content {
  width: 100%;
}

.banner {
  width: 100%;
  height: 100vh;
  min-height: 650px;
  background-image: url("../images/banner-1.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 550px;
}

.banner-subtitle {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 16px;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.banner-title {
  font-size: 82px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.banner-desc {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.92;
}

.banner-btn {
  width: 160px;
  padding: 6px 20px 6px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #132a87;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  border-radius: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.banner-btn-icon {
  font-weight: bold;
  font-size: 20px;
  margin-top: 2px;
}

.banner-btn:hover {
  background-color: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

/* 产品系列区域 */
.products-section {
  max-width: 1300px;
  padding: 60px 0;
  background-color: #fff;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 180px;
}

.section-title {
  font-size: 42px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 120x;
  color: #666666;
  line-height: 1.7;
}

.products-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0 auto;
  padding: 0 20px;
}

.products-slider {
  flex: 1;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  padding: 25px 0 45px;
}

.product-card {
  background: #f3f4f9;
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  padding: 100px 20px 24px 20px;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-icon {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 60px;
  height: 60px;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image {
  width: 100%;
  height: 320px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-top: 30px;
  border-radius: 12px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  margin-top: 20px;
}

.product-name {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 12px;
}

.product-desc {
  font-weight: 400;
  font-size: 16px;
  color: #798aa1;
}

.slider-btn {
  width: 48px;
  height: 48px;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.slider-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.slider-btn svg {
  width: 32px;
  height: 32px;
}

.slider-btn svg path {
  stroke: #333333;
  stroke-width: 2.5;
  transition: stroke 0.3s ease;
}

.slider-btn:hover svg path {
  stroke: #1a73e8;
}

/* 优势特点区域 */
.features-section {
  min-height: 100vh;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.features-section-content {
  margin: auto;
}

.features-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/banner-2.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.features-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.features-section .container {
  position: relative;
  z-index: 1;
}

.section-title-white {
  font-size: 34px;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  margin-bottom: 15px;
}

.section-subtitle-white {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  line-height: 1.7;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  position: relative;
  text-align: center;
  transition: all 0.4s ease;
  min-height: 400px;
}

/* 默认状态：白色背景 */
.feature-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.feature-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 白色背景图 - 默认显示 */
.feature-card-bg .bg-white {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* 黑色背景图 - 默认隐藏 */
.feature-card-bg .bg-black {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* hover时切换背景 */
.feature-card:hover .feature-card-bg .bg-white {
  opacity: 0;
}

.feature-card:hover .feature-card-bg .bg-black {
  opacity: 1;
}

.feature-content {
  position: relative;
  z-index: 1;
  padding: 60px 32px 90px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}

/* 默认状态：图标在上方，内容在下方 */
.feature-icon-box {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: transparent;
  transition: all 0.4s ease;
}

.feature-icon-box img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: all 0.4s ease;
}

.feature-title {
  font-weight: 500;
  font-size: 28px;
  color: #000000;
  transition: color 0.4s ease;
}

.feature-point {
  font-size: 16px;
  color: #132a87;
  font-weight: bold;
  letter-spacing: 3px;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
}

.feature-desc {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 24px;
  transition: color 0.4s ease;
}

/* hover状态：图标移到顶部，文字变白色，显示feature-point */


.feature-card:hover .feature-icon-box {
  margin-bottom: 40px;
}

.feature-card:hover .feature-icon-box img {
  filter: brightness(0) invert(1);
}

.feature-card:hover .feature-point {
  opacity: 1;
  margin-bottom: 10px;
}

/* 虚位以待区域 */
.placeholder-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.placeholder-section img {
  width: 100%;
}

.placeholder-content {
  text-align: center;
}

.placeholder-title {
  font-size: 34px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 45px;
}

.placeholder-boxes {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.placeholder-box {
  width: 300px;
  height: 190px;
  background-color: #f5f5f5;
  border-radius: 12px;
  border: 2px dashed #d5d5d5;
  transition: all 0.3s ease;
}

.placeholder-box:hover {
  background-color: #ebebeb;
  border-color: #c0c0c0;
}

.placeholder-subtitle {
  font-size: 22px;
  font-weight: 500;
  color: #999999;
}

/* 新增样式 */
.footer {
  background: #000;
}

.product-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
  color: #132a87;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-link:hover {
  gap: 12px;
}

.product-link img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-link:hover img {
  transform: translateX(4px);
}
