
/* 修改 hero-banner 的定位 */
.hero-banner {
  position: relative;
  height: 95vh;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* 防止背景图片溢出 */
}

/* 设置背景图片样式 */
.hero-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 背景在底层 */
}

/* 确保图片覆盖整个区域 */
.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内容容器在背景上方 */
.hero-banner .container {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 0px 10px rgba(0, 0, 0, 0.3);
    top: -20%;

}

/* 1. Banner 占位 */
 .hero-banner {
  height: 100vh;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
 .hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);

}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.hero-btns.hero-box-down {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);

}
.hero-banner-link {
    padding: 12px 28px;
    color: #fafafa;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(138, 138, 138, 0.2);
    transition: transform 0.2s,background 0.3s;

}
.hero-banner-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
    color: #fafafa;
}

/* 产品特点核心容器 */
 .feature-section {
 /* 设定高度以便有足够的滚动空间来执行动画 */
  height: 135vh;
  position: relative;
  background-color: var(--bg-white);
}
/* 吸顶容器 */
 .sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 视频容器 */
 .video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}
/* 视频元素 */
 .feature-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
 /* 初始状态 */
  transition: transform 0.1s linear;
 /* 平滑过渡 */
}
/* 遮罩层 (用于变亮效果) */
 .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
 /* 初始较暗 */
  transition: background-color 0.1s linear;
  z-index: 1;
}
/* 文字描述 */
 .feature-text {
  position: absolute;
  top: 55%;
 /* 初始位置 */
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  z-index: 2;
  color: #fff;
  opacity: 0;
 /* 初始隐身 */
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 80%;
  max-width: 800px;
}
.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fafafa;

}
 .feature-text.active {
  opacity: 1;
  top: 50%;
 /* 上移位置 */
  transform: translate(-50%, -50%);
}
/* 当视频完全吸顶并再次滑动时，文字继续上移 */
 .feature-text.move-up {
  top: 40%;
}
 .feature-text h2 {
  color: #ffffff !important;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
 .feature-text p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #f5f5f7;
}
/* 7. 右上角视频控制器 */
 .video-control {
  position: absolute;
  top: 120px;
  right: 5vw;
  width: 50px;
  height: 50px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  backdrop-filter: blur(5px);
}
 .progress-ring {
  position: absolute;
  top: 0;
  left: 0;
}
 .progress-ring__circle {
  transition: stroke-dashoffset 0.1s linear;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
 .control-icon {
  color: #fff;
  font-size: 14px;
  z-index: 2;
}
 .position-relative h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    margin-top: 5rem;
    color: #1d1d1d !important;

}
/* Footer 占位 */
 .footer-placeholder {
  height: 400px;
  background-color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 移动端适配微调 */
 @media (max-width: 768px) {
  .feature-text h2 {
   font-size: 2rem;
 }
  .feature-text p {
   font-size: 1rem;
 }
  .hero-banner h1 {
   font-size: 2.5rem;
 }
}
/* 历史 */
/* 历史轮播 */
 .carousel {
  overflow-x: hidden;
}
 .carousel-track-wrapper {
  position: relative;
}
 .carousel-track {
  display: flex;
  transition: transform .5s ease;
  gap: 40px;
  will-change: transform;
  margin-top: 40px;
}
 .carousel-item-custom {
  flex: 0 0 auto;
  border-radius: 8px;
  position: relative;
  user-select: none;
}
 .carousel-image img {
  width: 100%;
  border-radius: 12px;
  pointer-events: none;
}
 .carousel-title {
  position: absolute;
  top: 10%;
  left: 15px;
  color: #f5f5f7;
  font-size: 2rem;
  z-index: 3;
  display: none;
}
 .carousel-controls {
  display: flex;
  gap: 10px;
  margin: 10px 0 50px;
}
 .carousel-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-size: 1.2rem;
}
 .carousel_text p {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 10px 20px 0px;
    color: #666666;

}
 .emphasis {
  color:#1d1d1d;
}
 .carousel.section-padding-0 {
  background-color: #f5f5f7;
}
 @media (min-width: 992px) {
  .carousel-item-custom {
   width: calc((100vw - 30px * 2 - 40px * 4) / 2.5);
 }
}
 @media (max-width: 991.98px) {
  .carousel-item-custom {
   width: 100%;
 }
}
/* ===== 补充 ===== */
 .carousel-media {
  position: relative;
  cursor: pointer;
}
 .carousel-video {
  width: 100%;
  border-radius: 12px;
  pointer-events: none;
}
 .video-toggle {
  display: none;
}
/* 轮播视频控制：与 video-control 一致，定位到右下角 */
 .carousel .video-control {
  top: auto;
  right: 12px;
  bottom: 12px;
}
 .carousel .control-icon {
  font-size: 16px;
}
/* ===== Hero 双层滚动结构 ===== */
 .hero-wrapper{
  position: relative;
  height: 200vh;
 /* 2 屏：hero + 毛玻璃 */
}
/* 第一屏：永远固定 */
 .hero-banner{
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1;
    background-color: var(--bg-light);
    /* background-image: url("https://picsum.photos/3840/2160"); */

}
/* 第二屏：毛玻璃层 */
 .hero-frosted{
  position: absolute;
  top: 100vh;
 /* 正好接在 hero 后面 */
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(138, 138, 138, 0.2);
  
}
/* 毛玻璃文字 */
 .frosted-inner{
    text-align: center;
     color: white; /* 改为白色文字以便在深色背景上可见 */
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); /* 添加文字阴影增强可读性 */

}
 .frosted-inner h3{
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 700;
    color: #ffffff;

}

 .frosted-inner h2{
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
    color: #ffffff !important;

}
 .frosted-inner p{
  font-size: 1.4rem;
  font-weight: 500;
  opacity: .85;
}
/* 移动端 */
 @media (max-width: 768px){
  .frosted-inner h2{
   font-size: 2.2rem;
 }
  .frosted-inner p{
   font-size: 1.1rem;
 }
}
/* 产品列表 */
.products-bg {
    background-color: #f5f5f7;
    padding-bottom: 4rem;
    padding-top: 4rem;

}
.products-box {
    border-radius: 18px;
    padding-bottom: 4rem;
    
}

.products-box a{
    text-decoration: none;
    color: #666666;

}
.products-box a:hover{
    text-decoration: none;
    color: #1d1d1d;
    transition: color 0.2s linear;

}
.products-bg h2 {
    text-align: center;
    color: #1d1d1d;
}

.products-img {
    transition: transform 0.5s;
}

.products-img :hover {
    transform: translateY(-2px);
    transition: transform 0.5s;
}

.products-img img{
    width: 100%;
    border: 1px solid rgba(138, 138, 138, 0.2);
    border-radius: 18px;
    position: relative;
}

.product-title{
    font-size: 1rem;
    padding: 10px 0px 20px 0px;
    text-align: center;
}

.product-title :hover{
    color:#1d1d1d;
    text-decoration: link-decoration;
    background-color: transparent;
    
}

.product-model{
    font-size: 0.75rem;
    position: absolute;
    top: 10%;
    transform: translate(-50%, -50%);
    left: 50%;
    color: #666666;
}

