@import url('layout.css');

.page__content {
  width: 100%;
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 背景视频样式 */
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 视频蒙版 */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 5;
  pointer-events: none;
}


/* 主标题 */
.hero__title {
  color: #ffffff;
  font-size: 62px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 10;
  margin-bottom: 130px;
  position: relative;
}

/* 副标题 */
.hero__subtitle {
  color: #ffffff;
  font-size: 36px;
  font-weight: normal;
  text-align: center;
  max-width: 800px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 10;
  letter-spacing: 2px;
  position: relative;
}


.consultation-form {
  position: absolute;
  bottom: 10px;
  left: 20px;
  width: 280px;
  z-index: 10;
}

.consultation-form__header {
  position: relative;
  gap: 12px;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.5);
}

.consultation-form__icon {
  display: block;
  position: absolute;
  height: 96px;
  top: -50px;
  left: 6px
}

.consultation-form__title {
  color: #000;
  font-size: 18px;
  font-weight: 500;
  flex: 1;
}

.consultation-form__divider {
  position: relative;
  width: 20px;
  height: 2px;
  background-color: rgba(0, 0, 0, 1);
  cursor: pointer;
}

/* 扩大触控区域的伪元素 */
.consultation-form__divider::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  /* 不设置背景色，保持透明 */
}

.consultation-form__divider:hover {
  cursor: pointer;
}

.consultation-form__placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.5;
}

.consultation-form__fields {
  padding: 15px 0;
  gap: 12px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.3);
}

.consultation-form__field {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  margin: 0 15px 12px;
  gap: 6px;
  overflow: hidden;
}

.consultation-form__label {
  color: rgba(0, 0, 0, 0.8);
  font-family: PingFang-SC-Light;
  font-size: 13px;
  font-weight: 400;
}

.consultation-form__input {
  padding: 8px 10px 8px 0;
  border-radius: 4px;
  font-size: 13px;
  color: #000;
}

.consultation-form__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.consultation-form__input:focus {
  outline: none;

}

.consultation-form__field textarea {
  width: 100%;
  height: 70px;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0);
}

.consultation-form__field textarea::placeholder {
  color: rgba(0, 0, 0, 0.8);
  font-family: PingFang-SC-Light;
}

.consultation-form__field textarea:focus {
  outline: none;

}

.consultation-form__submit-text {
  background-color: rgba(255, 255, 255, 0.3);
  color: #000;
  padding: 4px 18px;
  margin-right: 15px;
  transition: all 0.3s ease;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.consultation-form__submit-text:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.consultation-form__submit-text:disabled {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
  opacity: 0.7;
}

/* 首页表单验证样式 */
.consultation-form__input {
  transition: border-color 0.3s ease;
}

.consultation-form__input.error {
  border-color: #ff0031 !important;
  box-shadow: 0 0 0 2px rgba(255, 0, 49, 0.1);
}

.consultation-form__field textarea {
  transition: border-color 0.3s ease;
}

.consultation-form__field textarea.error {
  border-color: #ff0031 !important;
  box-shadow: 0 0 0 2px rgba(255, 0, 49, 0.1);
}

/* 右侧浮动图标 */
.hero__floating-icons {
  position: absolute;
  right: 40px;
  bottom: 30%;
  transform: translateY(-50%);
  gap: 15px;
  z-index: 100;
}

.hero__floating-icons div:nth-child(1) {
  top: 0px;
  z-index: 103;
}

.hero__floating-icons div:nth-child(2) {
  top: 48px;
  z-index: 102;
}

.hero__floating-icons div:nth-child(3) {
  top: 96px;
  z-index: 101;
}

.floating-icon {
  position: absolute;
  right: -40px;
  width: 70px;
  height: 70px;
  background: url('/static/images/index-consult-bg.png') no-repeat center center;
  background-size: contain;

  cursor: pointer;
  transition: all 0.3s ease;
  /* padding-right: 18px;
  padding-top: 6px; */
}

.floating-icon:hover {
  transform: scale(1.1);
  z-index: 200 !important;
}

/* 灰色背景样式 */
.floating-icon.gray-bg {
  background: url('/static/images/index-consult-bg1.png') no-repeat center center;
  background-size: contain;
}

/* 当父容器有hover状态时，所有子元素变灰色，但当前悬停的元素保持红色 */
.hero__floating-icons:hover .floating-icon {
  background: url('/static/images/index-consult-bg1.png') no-repeat center center;
  background-size: contain;
}

.hero__floating-icons:hover .floating-icon:hover {
  background: url('/static/images/index-consult-bg.png') no-repeat center center;
  background-size: contain;
}

.floating-icon__text {
  padding-right: 16px;
  padding-top: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

.floating-icon__arrow {
  color: #ffffff;
  font-size: 12px;
  margin-left: 2px;
}

.floating-icon__phone,
.floating-icon__chat {
  margin-right: 16px;
  margin-top: 14px;
  width: 24px;
  height: 24px;
}

/* 顶部右侧浮动图标的气泡，仅定义气泡本身，不改动 .floating-icon 样式 */
.hero__floating-icons .floating-icon .floating-icon-popover {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  padding: 10px 12px;
  border-radius: 8px;
  min-width: 180px;
  display: none;
  z-index: 20;
  text-align: center;
}

.hero__floating-icons .floating-icon .floating-icon-popover::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.hero__floating-icons .floating-icon .floating-icon-popover img {
  width: 160px;
  height: 160px;
  max-width: auto !important;
  display: block;
  margin: 0px auto 0;
}

.hero__floating-icons .floating-icon .popover-title {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  text-align: center;
}

.hero__floating-icons .floating-icon .popover-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.hero__floating-icons .floating-icon:hover .floating-icon-popover {
  display: block;
  z-index: 201 !important;
}


/* 主要内容区域 */
.main-content {
  position: relative;
  width: 100%;
  margin-bottom: 1px;
}

.main-content__decoration {
  background-color: rgba(246, 246, 246, 1);
  position: absolute;
  left: 0;
  top: 0;
}

.main-content__decoration-image {
  width: 216px;
  height: 10px;
  margin: 838px 0 0 852px;
}

/* banner区域 */
.banner-content {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.banner-content .swiper-container {
  width: 100%;
}

.banner-content .swiper-slide {
  width: 100%;
}

.banner-content .swiper-slide img {
  width: 100%;
  object-fit: cover;
}

/* 通用标题样式 */
.section-title {
  width: 100%;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 32px;
  font-family: PingFang-SC-Bold;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  line-height: 1.5;
  margin: 40px 0 30px 0;
}

/* 产品展示区域 */
.product-showcase {
  background-color: #f5f5f5;
  width: 100%;
  height: calc(100vh - var(--header-height));
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 产品Swiper容器 */
.product-swiper-container {
  width: 100%;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-swiper-container .swiper-wrapper {
  flex: 1;
}

.product-swiper-container .swiper-slide {
  padding: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.product-carousel__content {
  flex: 1;
  max-width: 50%;
  padding-right: 60px;
}

.product-carousel__title {
  font-size: 48px;
  text-align: left;
  color: #333;
  line-height: 1.3;
  margin-bottom: 30px;
}

.product-carousel__subtitle {
  text-align: left;
  margin-bottom: 40px;
}

.product-carousel__name {
  font-size: 32px;
  text-align: left;
  color: #666;
  line-height: 1.4;
  margin-bottom: 8px;
}

.product-carousel__model {
  font-size: 36px;
  text-align: left;
  color: #333;
  line-height: 1.3;
}

.product-carousel__image-container {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-carousel__image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.product-carousel__link-container {
  position: absolute;
  bottom: 20px;
  right: 30px;

}

.product-carousel__link {
  display: flex;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.product-carousel__link:hover {
  color: #ff6b6b;
}

.product-carousel__image img {
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 产品轮播分页器样式 */
.product-swiper-pagination {
  position: relative;
  margin: 0px 0 24px;
  /* bottom: 40px; */
  text-align: center;
  flex-shrink: 0;
}

.product-swiper-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 6px;
  display: inline-block;
  border-radius: 3px;
  background: #bfbfbf;
  margin: 0 3px;
  transition: all 0.3s ease;
}

.product-swiper-pagination .swiper-pagination-bullet-active {
  background: #ff0000;
  width: 56px;
}



/* 分页指示器 */
.pagination {
  width: 57px;
  height: 22px;
  margin: 25px 0 0 1330px;
}

.pagination__dot {
  background-color: rgba(236, 236, 238, 1);
  border-radius: 50%;
  height: 22px;
  width: 22px;
}

.pagination__dot--active {
  background: url(https://lanhu-oss-proxy.lanhuapp.com/26967f2d7e574dda236480838def2164) 100% no-repeat;
  background-size: 100% 100%;
}

.pagination__arrow {
  width: 7px;
  height: 12px;
  margin: 5px 0 0 7px;
}

.pagination__dot:last-child .pagination__arrow {
  margin: 5px 0 0 8px;
}

/* 云枢S7 */
.cloud-s7 {
  width: 100%;
  overflow: hidden;

}

.cloud-s7__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.cloud-s7 .cloud-s7_link-container {
  position: absolute;
  bottom: 80px;
  right: 30px;
}

.cloud-s7__link {
  display: flex;
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.cloud-s7__link:hover {
  color: rgba(255, 255, 255, 1);
}




.swiper-container {
  width: 100%;
  height: 100%;

  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  font-size: 18px;

}

/* Swiper 容器样式 */
.swiper-container {
  position: relative;
  width: 100%;
  overflow: hidden;

}

/* Swiper 包装器 */
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

/* Swiper 幻灯片 */
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

/* 分页器样式 */
.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 0.3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  bottom: 20px;
  left: 0;
  width: 100%;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background: #bfbfbf;
  opacity: 0.6;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.swiper-pagination-bullet:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.swiper-pagination-bullet-active {
  opacity: 1;

  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
  display: none;
}

/* 分页器样式 */
.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  width: 24px;
  height: 6px;
  display: inline-block;
  border-radius: 3px;
  background: #bfbfbf;
  margin: 0 3px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #ff0000;
  width: 56px;
}



/* 响应式设计 */
@media screen and (max-width: 1440px) {


  .product-carousel__title {
    font-size: 42px;
  }

  .section-title {
    font-size: 32px;
  }
}

@media screen and (max-width: 1200px) {
  .product-swiper-container .swiper-slide .flex {
    flex-direction: column;
    text-align: center;
  }

  .product-carousel__content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .product-carousel__image-container {
    max-width: 80%;
  }

  .product-carousel__link-container {
    margin-top: 15px;
  }


}

@media screen and (max-width: 992px) {


  .product-carousel__title {
    font-size: 36px;
  }

  .product-carousel__name {
    font-size: 24px;
  }

  .product-carousel__model {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }


}

@media screen and (max-width: 768px) {


  .product-carousel__title {
    font-size: 28px;
  }

  .product-carousel__name {
    font-size: 20px;
  }

  .product-carousel__model {
    font-size: 24px;
  }

  .product-carousel__content {
    padding-right: 20px;
  }

  .product-carousel__image img {
    max-height: 40vh;
  }

  .product-carousel__link-container {
    margin-top: 10px;
  }

  .product-carousel__link {
    font-size: 16px;
    padding: 6px 10px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }


}

@media screen and (max-width: 480px) {
  :root {
    --header-height: 80px;
    /* 移动端header高度稍小 */
  }

  .product-showcase {
    height: calc(100vh - var(--header-height));
  }



  .product-carousel__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .product-carousel__name {
    font-size: 18px;
  }

  .product-carousel__model {
    font-size: 22px;
  }

  .product-carousel__content {
    padding-right: 10px;
  }

  .product-carousel__image img {
    max-height: 35vh;
  }

  .product-carousel__link-container {
    margin-top: 8px;
  }

  .product-carousel__link {
    font-size: 14px;
    padding: 4px 8px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

}

/* 技术支持轮播样式 */
.technical-support {
  padding: 80px 0 0px;
  background-color: #fff;
  width: 100%;
  position: relative;
}

.technical-support__container {
  width: 84%;
  margin-left: auto;
  margin-right: 0;
  padding-right: 15px;
  position: relative;
}

.technical-support__title {
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
  text-align: left;
}

.tech-support-swiper-container {
  padding-bottom: 34px;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.tech-support-swiper-container .swiper-wrapper {
  align-items: stretch;
}

.tech-support-swiper-container .swiper-slide {
  height: auto;
  display: flex;
  width: 280px;
  padding: 20px 10px;
  box-sizing: border-box;
}

.tech-card {
  background: transparent;
  border: none;
  width: 100%;
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: scale(1.08);
  transition: all 0.3s ease;
}

/* 技术支持卡片链接样式 */
.tech-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.tech-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.tech-card__image-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 20px;
}

.tech-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左上角角标（P + 行业名称） */
.tech-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .95);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}

.badge__dot {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.tech-card__title {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.tech-card__description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Swiper 导航按钮样式 */
.tech-support-swiper-button-next,
.tech-support-swiper-button-prev {
  width: 30px;
  height: 30px;
  background: #e6e3f0;
  color: #605E65;
  border-radius: 50%;
  font-weight: 700;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  margin-top: 0;
  position: static;
}

.tech-support-swiper-button-next:hover,
.tech-support-swiper-button-prev:hover {
  background: #E0DDE9;
  transform: scale(1.1);
}



.tech-support-swiper-button-next:after,
.tech-support-swiper-button-prev:after {
  content: none;
}

/* 轮播控制条容器（位于轮播下方） */
.tech-support-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

/* 视频中心 */
.video-center {
  background-color: #f5f5f5;
  padding: 60px 0;
}

.video-swiper-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* .video-swiper-container .swiper-wrapper {
  align-items: stretch;
} */

.video-swiper-container .swiper-slide {
  height: auto;
  display: block;
  width: 860px;
  flex: 0 0 860px;
}

.video-card__image-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 16px;
}

.video-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 视频遮罩与播放按钮 */
.video-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  transition: opacity .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__image-container:hover .video-card__overlay {
  opacity: 1;
}

.video-card__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__play .iconfont {
  font-size: 28px;
  color: #ff3b30;
}

.tech-support-controls .iconfont {
  font-size: 16px;
  line-height: 1;
}