body {
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
}

:root {
  --bold: 700;
  --semiBold: 600;
  --medium: 500;
  --regular: 400;
  --paddingNum: calc((100% - 960px) / 2);
}

.container-width {
  max-width: 1200px;
  margin: 0 auto;
}

/* 默认 PC 端显示 */
.jp-index-main .home-pc {
  display: block;
}

.jp-index-main .home-m {
  display: none;
}

.jp-index-main {
  font-weight: var(--regular);
  overflow-x: hidden;
}

/* Banner 样式 - PC端 */
.home-banner {
  position: relative;
  height: 680px;
  overflow: hidden;
  width: 100%;
}

.home-banner-content {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 680px;
  padding: 0;
}

.home-banner-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 32, 32, 0.42);
  z-index: 2;
  pointer-events: none;
}

.home-banner-right {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.home-banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.home-banner-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0 20px;
  box-sizing: border-box;
}

.home-banner-left > div {
  text-align: center;
  color: #fff;
  max-width: 1200px;
  width: 100%;
}

.home-banner-left-btn,
.home-banner-left-btn a {
  pointer-events: auto;
}

.home-banner-left-title {
  font-size: 24px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.home-banner-left-desc {
  font-size: 47px;
  font-weight: 600;
  line-height: 1.3;
}

.home-banner-left-introduction {
  font-size: 20px;
  margin-top: 24px;
  line-height: 1.6;
}

.home-banner-left-btn {
  margin-top: 32px;
  display: inline-block;
  background: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-banner-left-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-banner-left-btn:hover a {
  color: #000;
}

.home-banner-left-btn a {
  display: inline-block;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.home-banner-left-btn span {
  font-weight: 600;
  color: #000;
}

.home-banner-left-btn span:nth-child(2) {
  color: #3377FF;
}

/* Swiper 分页器样式 */
.home-banner .swiper-pagination {
  bottom: 30px;
  z-index: 10;
}

.home-banner .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.home-banner .swiper-pagination-bullet-active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

/* ============ 第二屏：Copy Writing ============ */
.copy-writing-container {
  background: #fff;
}

.copy-writing-content {
  position: relative;
  text-align: center;
  padding: 120px 0;
}

.copy-writing-title {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 60px;
  line-height: 1.3;
}

.copy-writing-title span {
  color: #FF7801;
}

.copy-writing-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stats-card {
  flex: 1;
  max-width: 384px;
  position: relative;
  margin-top: 30px;
  margin-bottom: 20px;
  z-index: 1;
}

.stats-card:hover {
  z-index: 2;
}

.stats-card:hover .stats-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stats-card-inner {
  border: 1px solid #222222;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 60px 20px 30px;
  position: relative;
}

.stats-label {
  background: #222222;
  color: #fff;
  font-size: 26px;
  padding: 4px 42px;
  text-align: center;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  min-width: 300px;
  z-index: 3;
}

.stats-value {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
  margin-bottom: 20px;
}

.stats-prefix {
  font-size: 34px;
  color: #222;
  font-weight: 600;
}

.stats-number {
  font-size: 64px;
  color: #3377FF;
  font-weight: 500;
  margin: 0 4px;
}

.stats-suffix {
  font-size: 34px;
  color: #222;
  font-weight: 600;
}

.stats-desc {
  font-size: 20px;
  color: #A3A3A3;
  text-align: center;
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  transform: translateY(100%);
}

/* ============ 第三屏：Intro ============ */
.intro-container {
  background: #F7F7F7;
}

.intro {
  padding: 160px 0;
}

.intro-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-left {
  flex: 1.8;
}

.intro-video-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.intro-video {
  width: 100%;
  height: auto;
  display: block;
}

.intro-video {
  cursor: default;
}

.intro-right {
  flex: 1;
}

.intro-title {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin-bottom: 30px;
  line-height: 1.5;
}

.intro-desc {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
}

/* ============ 第四屏：Product ============ */
.product {
  padding: 120px 0px;
  background: #fff;
}

.product-list {
  margin-top: 80px;
}

.product-item {
  display: flex;
  flex-direction: column-reverse;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 320px;
  cursor: pointer;
  margin-left: 10px;
  margin-right: 10px;
  background: #F7F7F7;
  border-radius: 24px;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.product-item:hover {
  background: #3377FF;
  box-shadow: 0 8px 16px rgba(51, 119, 255, 0.2);
}

/* 左右两侧背景遮罩 */
.product-item::before,
.product-item::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50.5%; /* 使用 50.5% 确保中间重叠防止缝隙 */
  height: 100%;
  /* 改为垂直渐变，避免左右拼接时出现颜色断层（中间线问题） */
  background: linear-gradient(180deg, #3377ff 0%, #0056e0 100%);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.product-item::before {
  left: 0;
  transform: translateX(-101%);
}

.product-item::after {
  right: 0;
  transform: translateX(101%);
}

.product-item:hover::before {
  transform: translateX(0);
}

.product-item:hover::after {
  transform: translateX(0);
}

/* 图片样式 */
.product-item-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(2.3);
  /* 修改缩放原点为顶部居中，确保放大时保留头部/面部 (解决头部被截断问题) */
  transform-origin: center 25%;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  z-index: 1;
  position: relative;
}

/* 图片 Hover 动画 */
@keyframes productImgSlideUp {
  0% {
    transform: scale(2.3);
    opacity: 1;
    z-index: 1;
  }
  30% {
    transform: scale(2.3);
    opacity: 0;
    z-index: 1;
  }
  31% {
    /* 动画起始位 */
    transform: scale(1.1) translateY(60px);
    opacity: 0;
    z-index: 3;
  }
  100% {
    /* 动画结束位：放大并大幅上移，确保展示完整且靠近文字 */
    transform: scale(1.3) translateY(-40px);
    opacity: 1;
    z-index: 3;
  }
}

.product-item:hover .product-item-img {
  animation: productImgSlideUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  /* hover 时强制改回 center center 避免动画过程中的位置偏移奇怪?
     不，动画里直接控制了 transform，origin 此时影响不大，或者应该保持一致。
     为了平滑，保持 origin 不变。
  */
}

.product-item-icon {
  display: none;
}

.product-item-title {
  color: #222;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-top: 20px;
  padding: 0 16px;
  position: relative;
  z-index: 4;
  transition: color 0.3s ease;
}

.product-item-desc {
  color: #000;
  font-weight: 600;
  text-align: center;
  font-size: 22px;
  font-style: normal;
  line-height: normal;
  margin-top: 34px;
  padding: 0 16px;
  position: relative;
  z-index: 4;
  transition: color 0.3s ease;
}

.product-item:hover .product-item-title {
  color: #fff;
}

.product-item:hover .product-item-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* ============ 第五屏：Scenes ============ */
.scenes-container {
  background: #F7F7F7;
}

.scenes {
  padding: 160px 0;
}

.scenes-header {
  text-align: center;
  margin-bottom: 80px;
}

.scenes-title {
  font-size: 54px;
  font-weight: 600;
  color: #222;
  margin-bottom: 30px;
  line-height: 1.3;
}

.scenes-desc {
  font-size: 28px;
  line-height: 1.5;
  font-weight: 600;
}

.scenes-content {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.scenes-left {
  flex: 0 0 580px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.scene-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 24px;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.scene-card:hover,
.scene-card.active {
  background: #3377FF;
}

.scene-card:hover .scene-title,
.scene-card.active .scene-title {
  color: #fff;
}

.scene-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-icon img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.scene-icon .icon-default {
  opacity: 1;
}

.scene-icon .icon-hover {
  opacity: 0;
}

.scene-card:hover .scene-icon .icon-default,
.scene-card.active .scene-icon .icon-default {
  opacity: 0;
}

.scene-card:hover .scene-icon .icon-hover,
.scene-card.active .scene-icon .icon-hover {
  opacity: 1;
}

.scene-title {
  font-size: 24px;
  font-weight: 500;
  color: #222;
  transition: color 0.3s ease;
}

.scene-link-btn {
  display: none;
}

.scenes-right {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.scenes-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  transition: opacity 0.3s ease;
}

/* ============ 第六屏：Contact ============ */
.contact-container {
  background: #F0F0F0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact {
  padding: 160px 0;
  text-align: center;
}

.contact-title {
  font-size: 54px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

.contact-desc {
  font-size: 28px;
  color: #222;
  margin-top: 16px;
  margin-bottom: 42px;
  line-height: 1.5;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  text-decoration: none;
  border: none;
  min-width: 208px;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out;
  z-index: 0;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-btn > span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.contact-btn-outline {
  background: #fff;
  color: #3377FF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.contact-btn-outline::before {
  background: #3377FF;
}

.contact-btn-outline:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(51, 119, 255, 0.25);
}

.contact-btn-outline:hover::before {
  width: 350px;
  height: 350px;
}

.contact-btn-outline:hover .btn-icon {
  color: #fff;
}

.contact-btn-primary {
  background: #3377FF;
  color: #fff;
  box-shadow: 0 2px 8px rgba(51, 119, 255, 0.2);
}

.contact-btn-primary::before {
  background: #2563eb;
}

.contact-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(51, 119, 255, 0.35);
}

.contact-btn-primary:hover::before {
  width: 350px;
  height: 350px;
}

.contact-btn:active {
  transform: translateY(-1px);
}

/* ============ Partnership ============ */
.partnership-container {
  background: #fff;
}

.partnership {
  padding: 160px 0;
}

.partnership-title {
  font-size: 48px;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.3;
}

.partnership-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.partnership-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
}

.partnership-card-image {
  margin-bottom: 32px;
  border-radius: 20px;
  overflow: hidden;
}

.partnership-img {
  width: 100%;
  height: auto;
  display: block;
}

.partnership-card-title {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.4;
}

.partnership-card-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
  min-height: 80px;
}

.partnership-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  text-decoration: none;
  border: none;
  min-width: 208px;
  position: relative;
  overflow: hidden;
  background: #3377FF;
  color: #fff;
  box-shadow: 0 2px 8px rgba(51, 119, 255, 0.2);
}

.partnership-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out;
  background: #2563eb;
  z-index: 0;
}

.partnership-btn > span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.partnership-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(51, 119, 255, 0.35);
  color: #fff;
}

.partnership-btn:hover::before {
  width: 350px;
  height: 350px;
}

.partnership-btn:hover > span {
  color: #fff;
}

.partnership-btn:active {
  transform: translateY(-1px);
}

/* ============ 第八屏：Provider ============ */
.provider {
  padding: 120px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  max-width: 1200px;
  gap: 20px;
}

.provider-list-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.6s ease;
}

.provider-list-item:hover {
  transform: translateY(-10px);
}

.provider-item-img {
  width: 90%;
  object-fit: cover;
}

.provider-item-title {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  color: #000000;
  line-height: 33px;
  margin-top: 16px;
}

/* ============ 第五屏：Partners ============ */
.partners {
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}

.partners-box {
  max-width: 1280px;
  width: 100%;
}

.partners-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 100px;
}

.partners-list-item {
  flex: 0 0 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-bottom: 60px;
}

.partners-item-img {
  width: 246px;
  height: 70px;
  transition: transform 0.6s ease;
  object-fit: contain;
}

.partners-item-img:hover {
  transform: translateY(-10px);
}

/* ============ 第六屏：News (case) ============ */
.case {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #ffffff;
}

.case-content {
  margin-top: 80px;
}

.case-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 480px !important;
  cursor: pointer;
  margin-left: 15px;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.case-list-item:hover {
  transform: translateY(-8px);
}

.case-list-item:last-child {
  margin-right: 0;
}

.case-list-item-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.case-list-item-title {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  margin-top: 24px;
  text-align: center;
}

/* 公共标题样式 */
.TITLE-SINGLE {
  color: #000;
  text-align: center;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-transform: capitalize;
  max-width: 1200px;
  margin: 0 auto;
}

/* Modal 样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-video-container .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10000;
}

.modal-video-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-video-body {
  width: 80%;
  max-width: 1200px;
}

.model-youtube-intrinsic-aspect-ratio-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.model-youtube-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-iframe {
  width: 100%;
  height: 100%;
}

/* ============ 响应式适配 ============ */

/* 大屏幕 PC (>1300px) */
@media screen and (min-width: 1301px) {
  body {
    min-width: 1300px;
  }

  .copy-writing-list {
    padding: 0 20px;
  }
}

/* 标准 PC (801px - 1300px) */
@media screen and (min-width: 801px) and (max-width: 1300px) {
  body {
    min-width: unset;
  }

  .home-banner {
    height: 500px;
  }

  .home-banner-content {
    min-height: 500px;
  }

  .home-banner-left-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .home-banner-left-desc {
    font-size: 36px;
  }

  .home-banner-left-introduction {
    font-size: 16px;
    margin-top: 16px;
  }

  .home-banner-left-btn {
    margin-top: 24px;
    padding: 8px 20px;
    font-size: 14px;
  }

  /* Copy Writing 响应式 */
  .copy-writing-content {
    padding: 80px 20px;
  }

  .copy-writing-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .copy-writing-list {
    gap: 20px;
    padding: 0 20px;
  }

  .copy-writing-item-title {
    padding: 20px;
    font-size: 20px;
  }

  /* Product 响应式 */
  .product {
    padding: 80px 20px;
  }

  .TITLE-SINGLE {
    font-size: 36px;
  }

  /* Provider 响应式 */
  .provider {
    padding: 80px 20px;
  }

  .provider-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
  }

  .provider-item-title {
    font-size: 18px;
  }

  /* Partners 响应式 */
  .partners {
    padding: 80px 20px;
  }

  .partners-list-item {
    flex: 0 0 50%;
  }

  .partners-item-img {
    width: 180px;
    height: 52px;
  }

  /* Case 响应式 */
  .case {
    padding: 80px 20px;
  }

  .case-list-item {
    width: 380px !important;
  }
}

/* 平板及以下所有设备 (<=800px) */
@media screen and (max-width: 800px) {
  .jp-index-main .home-pc {
    display: none;
  }

  .jp-index-main .home-m {
    display: block;
  }

  /* Reset Product Animation for Mobile */
  .product-item-img {
    transform: none !important;
    animation: none !important;
  }
  .product-item::before,
  .product-item::after {
    display: none;
  }
}
