/* Safety Page Styles - 严格按照设计稿，使用rem单位配合resizeRoot.js */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.mb-only{ display: none;}
:root {
    --custom-text-size0: 0.5rem;
    --custom-text-size1: 0.24rem;
    --custom-text-size2: 0.22rem;
    --custom-text-size3: 0.18rem;
    --custom-text-size4: 0.16rem;
    --custom-text-size5: 0.14rem;
    --custom-width: 76%;
}

body {
    font-family: 'p-medium';
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: var(--custom-text-size4);
    overflow-x: hidden;
    /* 基础字体大小 */
}

.container {
    max-width: 19.2rem;
    /* 1920px */
    margin: 0 auto;
    /* padding: 0 0.4rem; */
    /* 40px */
}

/* Hero Section - 全屏背景，左上角标题 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 7rem;
    /* 700px */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-background {
    /* position: absolute;
  top: 0;
  left: 0; */
    width: 100%;
    height: 100%;
    display: flex;
    /* margin-left: 5%; */
    align-items: center;
    /* background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%); */
    background-image: url('../images/safety/banner.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* .hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
} */

/* .hero-overlay {
  position: relative;
  z-index: 2;
  padding: 0.8rem 0 0 0.8rem; 
  width: 100%;
  height: 100%;
} */
.safety .playPauseBtn{ position: absolute; bottom: 0.34rem; right: 0.44rem; width: 0.64rem; height: 0.64rem; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%;  display: flex; justify-content: center; align-items: center; border: none;}
.safety .playPauseBtn i{font-size: var(--custom-text-size3); color: #000; font-style:initial; line-height: 0.64rem;}
.safety .playPauseBtn .pause-icon{font-size: var(--custom-text-size3); background: transparent;}

.hero-title {
    font-size: var(--custom-text-size0);
    /* 55px */
    font-weight: bold;
    color: white;
    display: flex;
    margin-left: 5%;
    align-items: center;
    /* text-shadow: 0.03rem 0.03rem 0.06rem rgba(0, 0, 0, 0.7); */
    /* margin: 0; */
    /* line-height: 1.1; */
    /* letter-spacing: -0.02rem; */
    /* max-width: 6rem;  */
}

/* Five Star Protection Section - 居中布局，五星在上方 */
.five-star-section {
    padding: 1.14rem 0 0;
    /* 100px 0 80px */
    background-color: #f2f1ed;
    text-align: center;
}

.stars-rating {
    margin-bottom: 0.4rem; 
}

.star {
    font-size: var(--custom-text-size2);
    /* 30px */
    color: #a27055;
    margin: 0 0.05rem;
    /* 8px */
    line-height: 0.6rem;
    text-shadow: 0.01rem 0.01rem 0.02rem rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: var(--custom-text-size0);
    /* 38px */
    font-weight: 800;
    color: #a27055;
    line-height: 1.1;
     text-align: center;
    /* letter-spacing: -0.01rem; */
}

.section-subtitle {
    font-size: var(--custom-text-size1);
    /* 14px */
    color: #a27055;
    line-height: 0.5rem;
    /* max-width: 9rem; */
    /* 900px */
    margin-left: auto;
    margin-right: auto;
    /* font-weight: 400; */
    text-align: center;
}

.navigation-tabs {
    display: flex;
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
    width: var(--custom-width);
    /* max-width: 10rem; */
    /* 1000px */
    margin: 0 auto;
    margin-top: 0.76rem;
}

.tab-btn {
    /* padding: 0.18rem 0.35rem; */
    /* 18px 35px */
    background: transparent;
    width: 24%;
    height: 0.6rem;
    border: 1px solid #a4896c;
    /* 2px */
    color: #a4896c;
    font-size: var(--custom-text-size3);
    /* 11px */
    font-weight: 700;
    cursor: pointer;
    border-radius: 0.04rem;
    transition: all 0.3s ease;
    /* border-radius: 0; */
    position: relative;
    min-width: 2rem;
    /* 200px */
    text-transform: uppercase;
    letter-spacing: 0.01rem;
}


.tab-btn.active,.tab-btn:hover{
    background-color: #a4896c;
    color: white;
    border-color: #a4896c;
    z-index: 2;
}

/* .tab-btn:hover {
    background-color: #f5f5f5;
    color: #a4896c;
    border-color: #a4896c;
} */

/* Tab Content */
.tab-content {
    /* display: none; */
    padding: 1rem 0;
    /* 100px 0 */
}

/* .tab-content.active {
  display: block;
} */

/* Safety Shield Section - 使用Swiper轮播，严格按照设计稿样式 */
.safety-shield-section,
    .adas-technology-section,
    .conquer-extreme-section,
    .ancap-awards-section,
    .guardian-club-section {
        /* height: 100svh; */
        /* padding: 0.6rem 0; */
    }
.safety-shield-section {
    background-color: #f2f1ed;
    padding: 1rem 0;
    /* 100px 0 */
}

.safety-shield-content {
    text-align: center;
    position: relative;
}

/* Swiper容器样式 */
.safety-shield-swiper {
    width: var(--custom-width);
    height:70svh;
    /* max-width: 8rem; */
    /* 800px */
    margin: 0 auto;
    margin-top: 2%;
    position: relative;

}
.safety-shield-content .swiper-pagination{
    width: 70%;
    bottom: 0.82rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    border-bottom: rgba(255, 255, 255, 0.5) solid 1px;
    font-size: var(--custom-text-size2);
}


.safety-shield-swiper .swiper-wrapper {
    align-items: center;
}

.safety-shield-swiper .swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.car-cutaway {
    position: relative;
    margin: 0 auto;
    display: inline-block;
    width: 100%;
    height: 100%;
    /* max-width: 8rem; */
    /* 800px */
}

.car-image {
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
    /* height: 100%;
    object-fit: cover; */
    /* border-radius: 0.15rem; */
    /* 15px */
    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.15);
    /* display: block; */
}

.safety-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    /* 15px */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.label.active {
    opacity: 1;
    transform: scale(1.05);
}

.frame-label {
    top: 25%;
    left: 8%;
}

.battery-label {
    bottom: 35%;
    left: 15%;
}

.airbags-label {
    top: 45%;
    right: 12%;
}

.label-text {
    background-color: #8B4513;
    color: white;
    padding: 0.12rem 0.2rem;
    /* 12px 20px */
    border-radius: 0.25rem;
    /* 25px */
    font-weight: 800;
    font-size: var(--custom-text-size5);
    /* 10px */
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.01rem;
    box-shadow: 0 0.04rem 0.12rem rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.label.active .label-text {
    background-color: #6b3410;
    box-shadow: 0 0.06rem 0.15rem rgba(139, 69, 19, 0.5);
}

.label-line {
    width: 0.8rem;
    /* 80px */
    height: 0.03rem;
    /* 3px */
    background-color: #8B4513;
    border-radius: 0.02rem;
    /* 2px */
    transition: all 0.3s ease;
}

.label.active .label-line {
    background-color: #6b3410;
    width: 1rem;
    /* 100px */
}

.safety-description {
    font-size: var(--custom-text-size4);
    color: #fff;
    position: absolute;
    bottom: 0.3rem;
    left: 0;
    width: 100%;
    text-align: center;
}

/* Swiper导航按钮样式 */
.safety-shield-next,
.safety-shield-prev {
    width: 0.4rem;
    /* 40px */
    height: 0.4rem;
    /* 40px */
    margin-top: -0.2rem;
    /* -20px */
    background-color: #8B4513;
    border-radius: 50%;
    color: white;
    font-size: var(--custom-text-size5);
    /* 12px */
    font-weight: bold;
    transition: all 0.3s ease;
}

.safety-shield-next:hover,
.safety-shield-prev:hover {
    background-color: #6b3410;
    transform: scale(1.1);
}

.safety-shield-next:after,
.safety-shield-prev:after {
    font-size: var(--custom-text-size5);
    /* 12px */
    font-weight: bold;
}

.safety-shield-next {
    right: 0.2rem;
    /* 20px */
}

.safety-shield-prev {
    left: 0.2rem;
    /* 20px */
}

/* Swiper分页器样式 */
 .safety-shield-swiper .safety-shield-pagination {
    position: relative;
    bottom: 1.2rem;
    width: 92%;
    margin: 0 auto;
    color: #fff;
    font-size: var(--custom-text-size2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    /* margin-top: 0.3rem; */
    /* 30px */
}

.safety-shield-pagination .swiper-pagination-bullet {
    width: 32%;
    /* 12px */
    height: 0.58rem;
    line-height: 0.58rem;
    border-radius:0;
    /* 12px */
    background-color: rgba(255, 255, 255, 0);
    opacity: 1;
    margin: 0 0.05rem;
    /* 5px */
    transition: all 0.3s ease;
    position: relative;
}
.safety-shield-pagination .swiper-pagination-bullet::after{
    content: '';
    position: absolute;
    bottom: -0.01rem;
    left: 50%;
    width: 50%;
    height: 0.03rem;
    /* 3px */
    background-color: #a27055;
    transform: scaleX(0) translateX(-50%);
    transform-origin: center center;
    transition: transform 0.3s ease;
}


.safety-shield-pagination .swiper-pagination-bullet-active {
    /* background-color: #8B4513; */
    /* transform: scale(1.2); */
    color: #a27055;
    font-weight: bold;
}
.safety-shield-pagination .swiper-pagination-bullet-active::after{
     transform: scaleX(1)  translateX(-50%);
     transition: transform 0.3s ease;
}

/* ADAS Technology Section - 左右布局，视频在左，功能列表在右 */
.adas-technology-section {
    background-color: #817369;
    padding: 1rem 0;
    height: 100vh;
    /* 100px 0 */
}
.adas-technology-section .section-title{color: #fff;}
.adas-technology-section .section-subtitle{color: #fff;}

.adas-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0.4rem;
    /* 80px */
    align-items: center;
    margin-top: 0.8rem;
    width: var(--custom-width);
    height: 60svh;
    margin: 0 auto;
    margin-top: 2%;
    /* 80px */
}

.adas-video {
    position: relative;
    width: 8.86rem;
    height: 6.3rem;
    /* width: 100%;
    height: 100%; */
}
.adas-video .adas-cover{
    width: 100%;
    height: 100%;
}
.adas-video .adas-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail {
    position: relative;
    background-color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /* border-radius: 0.15rem; */
    /* 15px */
    overflow: hidden;
    /* box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.15); */
    /* aspect-ratio: 16/16; */
}

.video-thumbnail video {
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
    display: block;
}
/* .video-thumbnail::after{
    width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); content: ''; position: absolute; top: 0; left: 0; display: block;
} */

.play-button {
    position: absolute;
    bottom: 0.26rem;
    right: 0.34rem;
    /* transform: translate(-50%, -50%); */
    width: 0.6rem;
    /* 100px */
    height: 0.6rem;
    /* 100px */
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  
    box-shadow: 0 0.08rem 0.25rem rgba(0, 0, 0, 0.2);
}

/* .play-button:hover {
    background-color: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0.12rem 0.35rem rgba(0, 0, 0, 0.3);
} */

.play-icon {
    font-size: var(--custom-text-size3);
    /* 25px */
    color: #8B4513;
    margin-left: 0.08rem;
    /* 8px */
}



.adas-feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    /* gap: 0.35rem; */
    height: 100%;
    /* 35px */
    /* padding-left: 0.2rem; */
    /* 20px */
}

.feature-item {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
     border-bottom: 1px solid #fff; 
    /* 4px */
    padding: 0.25rem 0;
    /* 25px */
    opacity: 0.5;
    transition: all 0.5s;
}

.adas-feature .feature-item.on {
   opacity:1;
    transition: all 0.5s;
}

.feature-title {
    font-size: var(--custom-text-size1);
    /* 15px */
    color: #fff;
    /* margin-bottom: 0.15rem; */
    /* 15px */
    font-weight: 800;
    line-height: 1.3;
}

.feature-description {
    color: #fff;
    line-height: 0.28rem;
    font-size: var(--custom-text-size4);
    /* 11px */
}

/* Conquer the Extreme Section - 轮播展示测试故事 */
.conquer-extreme-section {
    background-color: white;
    padding: 1rem 0;
    position: relative;
    /* 100px 0 */
}

.test-carousel {
    /* margin-top: 0.8rem; */
    /* 80px */
    /* max-width: 12rem; */
    /* 1200px */
    /* margin-left: auto;
    margin-right: auto; */
    width: var(--custom-width);
    height: 5.84rem;
    margin-top: 0.24rem;
    --swiper-navigation-color:#fff;
    --swiper-navigation-size:var(--custom-text-size3);
}

.test-carousel .swiper-slide{
    width: 8.84rem;
    height: 5.28rem;
    /* margin-right: 0.22rem; */
}

.test-carousel .swiper-pagination{
    text-align:left;
    font-size: var(--custom-text-size3);
    /* margin-left: 0.58rem; */
    /* 16px */
}
.test-carousel .swiper-pagination-title{
    position: absolute;
    bottom: 0.1rem; 
    left: 0.8rem;
    font-size: var(--custom-text-size3);
}
.button-group{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.9rem;
    height: 0.42rem;
}
 .button-group .swiper-button-next,  .button-group .swiper-rtl .swiper-button-prev{width: 0.42rem; height: 0.42rem; background-color: #000; border-radius: 50%;  right: var(--swiper-navigation-sides-offset,0);top:0;}
 .button-group .swiper-button-prev,  .button-group .swiper-rtl .swiper-button-next{width: 0.42rem; height: 0.42rem; background-color: #000; border-radius: 50%;  left: var(--swiper-navigation-sides-offset,0);top:0;}
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.2rem;
    /* 20px */
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

.test-story {
    width: 8.84rem;
    height: 5.28rem;
    position: relative;
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background-color: #f8f9fa;
    min-height: 4rem; */
    /* 400px */
}
.test-story::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.test-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.test-content {
    position: absolute;
    top: 0.32rem;
    left: 0.32rem;
    color: #fff;
    /* padding: 0.6rem 0.5rem; */
    /* 60px 50px */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.test-title {
    font-size: var(--custom-text-size1);
     font-weight: bold;
    /* 20px */
    /* color: #8B4513; */
    /* margin-bottom: 0.25rem; */
    /* 25px */
    /* font-weight: 800; */
    /* text-transform: uppercase; */
    font-weight: bold;
    line-height: 0.38rem;
    /* letter-spacing: 0.01rem; */
}

.test-description {
    color: #fff;
    width: 3.7rem;
    font-weight: bold;
    /* line-height: 1.7; */
    font-size: var(--custom-text-size3);
    /* 11px */
    /* font-weight: 400; */
}
.test-story .time{ display: inline-block; font-weight: bold; margin-top: 0.1rem; padding: 0 0.12rem; height: 0.28rem; line-height: 0.28rem; background-color: #fff; border-radius: 0.14rem; font-size: var(--custom-text-size5); color: #000;}
.carousel-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    /* 40px */
    padding: 0 0.2rem;
    /* 20px */
}

.piclist{position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;  display: flex; justify-content: center; align-items: center; visibility: hidden; opacity: 0;}
.piclist .con{width: var(--custom-width); height:6.96rem; background-color: #faf5f2; box-shadow: 0 0 20px rgba(73, 53, 36, 0.35); display: flex; justify-content: center;  flex-wrap: wrap; border-radius: 0.06rem;}
.piclist .con .pic{ width: 5.84rem; height:4.58rem;overflow: hidden; border-radius: 0.04rem;}
.piclist .con .pic .swiper{width: 100%; height: 100%; --swiper-navigation-color:#fff; --swiper-navigation-size:var(--custom-text-size3);}
.piclist .con .pic .swiper .swiper-slide{width: 100%; height: 4rem;}
.piclist .con .pic img{width: 100%; height: 100%; object-fit: cover;}
.piclist .con .wordCon{width:5.84rem; margin-left: 1rem; height: 4rem; position: relative; margin-bottom: 0.58rem;}
.piclist .con .title{ font-size: 0.34rem; line-height: 0.42rem; color: #66513a; font-family:"p-bold" ; width: 86%; padding-top: 0.38rem; font-weight: bold;}
.piclist .con .wordCon .message{font-size:var(--custom-text-size2); line-height: 0.36rem; color: #333333;}
.piclist .con .wordCon a{ width: 2.36rem; height: 0.6rem; background-color: #a4896c; color: #fff; border-radius: 0.04rem; display: flex; justify-content: center; align-items: center; font-size: var(--custom-text-size4); position: absolute; bottom:0; left: 0; cursor:pointer;}





.carousel-dots {
    display: flex;
    gap: 0.15rem;
    /* 15px */
}

.dot {
    width: 0.15rem;
    /* 15px */
    height: 0.15rem;
    /* 15px */
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0.03rem solid transparent;
    /* 3px */
}

.dot.active {
    background-color: #8B4513;
    border-color: #8B4513;
    transform: scale(1.2);
}

.carousel-counter {
    color: #8B4513;
    font-weight: 700;
    font-size: var(--custom-text-size5);
    /* 11px */
    text-transform: uppercase;
    letter-spacing: 0.01rem;
}

/* ANCAP Awards Section - 三列汽车展示 */
.ancap-awards-section {
    background-color: #f8f9fa;
    padding: 1rem 0;
    position: relative;
    /* 100px 0 */
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    /* 50px */
    margin-top: 0.8rem;
    /* 80px */
    max-width: 12rem;
    /* 1200px */
    margin-left: auto;
    margin-right: auto;
}

.award-item {
    background-color: white;
    border-radius: 0.2rem;
    /* 20px */
    overflow: hidden;
    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    width: 4.52rem;
    height: 6.64rem;
}
.ancap-awards-section .awards-swiper{
    width: var(--custom-width);
    height: 6.63rem;
    margin: 0 auto;
    margin-top: 0.2rem;
}


.award-item:hover {
    transform: translateY(-0.08rem);
    /* -8px */
    box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.15);
}

.award-car-image {
    width: 100%;
    /* height: 2.8rem; */
    /* 280px */
    object-fit: cover;
    display: block;
}

.award-content {
    padding: 0.4rem 0.3rem;
    /* 40px 30px */
    text-align: center;
}

.car-model {
    font-size: var(--custom-text-size3);
    /* 18px */
    color: #8B4513;
    margin-bottom: 0.15rem;
    /* 15px */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01rem;
}

.car-availability {
    color: #666;
    margin-bottom: 0.3rem;
    /* 30px */
    font-size: var(--custom-text-size5);
    /* 10px */
    font-weight: 400;
    line-height: 1.5;
}

.ancap-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    /* 15px */
}

.ancap-logo {
    height: 0.4rem;
    /* 40px */
    width: auto;
}

.rating-stars {
    display: flex;
    gap: 0.08rem;
    /* 8px */
    justify-content: center;
}

.rating-stars .star {
    /* font-size: var(--custom-text-size3); */
    /* 18px */
    color: #ffd700;
    text-shadow: 0.01rem 0.01rem 0.02rem rgba(0, 0, 0, 0.1);
}

.test-year {
    color: #8B4513;
    /* font-size: var(--custom-text-size5); */
    /* 10px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01rem;
}

/* Guardian Club Section - 客户证言 */
.guardian-club-section {
    background-color: white;
    padding: 1rem 0;
    /* 100px 0 */
}

.testimonials-swiper{
    width: var(--custom-width);
    height: 6.63rem;
    margin: 0 auto;
    margin-top: 0.2rem;
}

.testimonials-swiper .swiper-slide{
    width: 6.88rem;
    height: 5.10rem;
}
.testimonials-swiper .swiper-slide .testimonial-item{
     /* background-color: #f8f9fa; */
    /* border-radius: 0.2rem; */
    /* 20px */
    overflow: hidden;
    /* box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.1); */
    width: 6.88rem;
    height: 5.10rem;
}
.testimonials-swiper .swiper-slide .testimonial-item .video-thumbnail{
    height: 3.9rem;
}
/* .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.8rem;
    max-width: 12rem;
    margin-left: auto;
    margin-right: auto;
} */

.testimonial-video {
    position: relative;
    height: 3rem;
    /* 300px */
    overflow: hidden;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-video .play-button {
    width: 0.6rem;
    /* 60px */
    height: 0.6rem;
    /* 60px */
}

.testimonial-video .play-icon {
    font-size: var(--custom-text-size5);
    /* 15px */
}
.testimonial-content{
    margin-top: 0.2rem;
}
.testimonial-content .title{
    font-size: var(--custom-text-size2);
    font-weight: bold;
    /* 18px */
}
.testimonial-text {
    color: #666;
    line-height: 1.8;
    /* font-style: italic; */
    font-size: var(--custom-text-size3);
    /* 11px */
}

/* 响应式设计 - 配合resizeRoot.js */
@media (max-width: 1000px) {
    :root {
    --custom-text-size0: 0.5rem;
    --custom-text-size1: 0.32rem;
    --custom-text-size2: 0.28rem;
    --custom-text-size3: 0.26rem;
    --custom-text-size4: 0.24rem;
    --custom-text-size5: 0.22rem;
    --custom-text-size6: 0.2rem;
    --custom-width: 90%;
    }
    .pc-pad{display: none;}
    .mb-only{ display: block;}

    .hero-background{
        background-image: url(../images/safety/banner_m.jpg);
        align-items: end;
        justify-content: center;
    }

    .star{
        font-size: var(--custom-text-size0);
        margin-bottom: 0.2rem;
    }
    .container {
        /* padding: 0 0.2rem; */
        width: 100%;
    }
    .safety-shield-content{
        /* height:calc( 100svh - 1.4rem); */
        height: 12rem;
        margin-top: 0.4rem;
    }
    .safety-shield-swiper{
        height: 9.1rem;
    }
   .car-image{
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
   }
    /* .safety-shield-swiper .swiper-slide{
        height: 100%;
    } */
    .safety-shield-swiper .swiper-wrapper{
        align-items:start;
    }
    .safety-shield-content .swiper-pagination{
       margin-top: 0.2rem;
       border-bottom:none;
       color: #000;
       bottom: 0;
    }
    .safety-shield-pagination .swiper-pagination-bullet{
        width: 100%;
        text-align:left;
       height: 0.78rem;
       line-height: 0.78rem;
    }
    .safety-shield-pagination .swiper-pagination-bullet::after{
        left: 0;
        transition: scaleX(0) 0.3s ease-in-out;
    }
    .swiper-horizontal>.swiper-pagination-bullets.safety-shield-pagination .swiper-pagination-bullet{
        margin-top: 0.2rem;
    }
    .safety-shield-pagination .swiper-pagination-bullet-active::after{
     transform: scaleX(1);
     transition: transform 0.3s ease;
    }
    .safety-shield-content .swiper-pagination{width: 90%;}
    .safety-description{
        text-align: left;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0.6rem;
    }
    .hero-section {
        height: 100vh;
        /* min-height: 4rem; */
    }
    
    .hero-title {
        /* font-size: var(--custom-text-size0); */
        /* margin-left: 5%;
        margin-top: 5%; */
        margin-bottom: 2.4rem;
        font-size: 0.7rem;
        margin-left:0;
    }

    .five-star-section {
        padding: 0.8rem 0 0;
    }
    
    .section-title {
        /* font-size: var(--custom-text-size2); */
        margin-bottom: 0.15rem;
    }
    
    .section-subtitle {
        /* font-size: var(--custom-text-size5); */
        padding: 0 0.3rem;
        line-height: 1.4;
    }

    .navigation-tabs {
        /* flex-direction: column; */
        align-items: center;
        gap: 0.1rem;
        width: 90%;
        margin-top: 0.5rem;
    }
.feature-item{padding: 0.2rem;}
    .tab-btn {
        width: 49%;
        /* max-width: 3rem; */
        height: 0.68rem;
        /* font-size: var(--custom-text-size5); */
        border-radius: 0.04rem;
    }

    .safety-shield-section,
    .adas-technology-section,
    .conquer-extreme-section,
    .ancap-awards-section,
    .guardian-club-section {
        height: auto;
        padding: 2rem 0 1rem;
    }
    
    /* .safety-shield-swiper {
        width: 95%;
        height: 45svh;
    } */

    .adas-content {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        /* width: 95%; */
        height: auto;
        margin-top: 5%;
    }
    
    .adas-video {
        width: 100%;
        height: 4.5rem;
    }
    
    .play-button {
        width: 0.5rem;
        height: 0.5rem;
        bottom: 0.2rem;
        right: 0.2rem;
    }
    
    .play-icon {
        /* font-size: var(--custom-text-size3); */
    }
    
    .feature-title {
        line-height: 1.6;
        /* font-size: var(--custom-text-size4); */
    }
    
    .feature-description {
        /* font-size: var(--custom-text-size5); */
        line-height: 1.2;
        padding-right: 0.2rem;
    }

    .test-carousel {
        /* width: 95%; */
        height: auto;
        margin-top: 0.4rem;
    }
    
    .test-carousel .swiper-slide {
        width: 100%;
        /* height: auto; */
    }
    .test-carousel .swiper-pagination{
        margin-left: 0;
    }
    .test-carousel .swiper-pagination-title{
        bottom: 0.16rem; left: 0.8rem;
    }
    .test-story {
        width: 100%;
        height: 4rem;
    }
    
    .test-title {
        /* font-size: var(--custom-text-size3); */
        line-height:1.8;
    }
    
    .test-description {
        width: 80%;
        /* font-size: var(--custom-text-size5); */
        /* line-height: 0.22rem; */
    }
    .test-story .time{
        padding: 0 0.2rem;
        height: 0.4rem;
     line-height: 0.4rem;
     border-radius: 0.2rem;
    }
  
    
    .button-group {
        width: 1.4rem;
        height: 0.64rem;
        
    }
    .awards-swiper, .testimonials-swiper{
        --swiper-navigation-color: #fff;
        --swiper-navigation-size: var(--custom-text-size3);
    }
    .button-group .swiper-button-next,
    .button-group .swiper-button-prev, .awards-swiper .swiper-button-next, .awards-swiper .swiper-button-prev,
    .testimonials-swiper .swiper-button-next, .testimonials-swiper .swiper-button-prev{
        width: 0.64rem;
        height: 0.64rem;
        background-color: #000;
        border-radius: 50%;
    }

    .ancap-awards-section .awards-swiper {
        width: 95%;
        height: 9rem;
        margin-top: 0.4rem;
    }
    
    .award-item {
        width: 90%;
        height: 9rem;
        margin: 0 auto;
    }

    .testimonials-swiper {
        /* width: 95%; */
        height: auto;
        margin-top: 0.4rem;
    }
    
    .testimonials-swiper .swiper-slide {
        width: 90%;
        height: auto;
    }
    .testimonials-swiper .swiper-slide .award-car-image{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .testimonials-swiper .swiper-slide .testimonial-item {
        width: 100%;
        height: auto;
    }
    
    .testimonial-video {
        height: 3rem;
    }
    
    .testimonial-content .title {
        /* font-size: var(--custom-text-size4); */
        margin-top: 0.25rem;
    }
    
    .testimonial-text {
        /* font-size: var(--custom-text-size5); */
        line-height: 1.4;
        /* padding-right: 0.2rem; */
    }
    .testimonials-swiper .swiper-button-next, .testimonials-swiper .swiper-button-prev{
       top: 80%;
    }
     .testimonials-swiper .swiper-button-next{
        right: 0;
     }
     .testimonials-swiper .swiper-button-prev{
        left: 0;
     }
    /* 安全标签和描述调整 */
    .label {
        position: static;
        margin: 0.15rem 0;
        justify-content: center;
    }
    
    .safety-labels {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0.2rem;
    }
    
    .label-text {
        /* font-size: var(--custom-text-size6); */
        padding: 0.1rem 0.15rem;
    }
    
    .label-line {
        width: 0.5rem;
    }

    /* Swiper导航按钮调整 */
    .safety-shield-next,
    .safety-shield-prev {
        display: none;
    }
    
    .safety-shield-pagination {
        margin-top: 0.2rem;
        /* font-size: var(--custom-text-size5); */
    }
.testimonial-content{
    width: 75%;
    margin: 0 auto;
}
    /* 弹窗样式调整 */
    .piclist .con {
        width: 90%;
        height:auto;
        padding: 0.3rem;
        flex-wrap: wrap;
        align-items: center;
        display:block;
    }
    
    .piclist .con .wordCon {
        width: 100%;
        margin-left: 0;
        margin-top: 0.1rem;
        height: auto;
    }
    
    .piclist .con .title {
        /* font-size: var(--custom-text-size1); */
        padding-top: 0.2rem;
        width: 100%;
        line-height: 1.4;
    }
    
    .piclist .con .wordCon .message {
            margin-top: 0;
        /* font-size: var(--custom-text-size5); */
        /* line-height: 0.28rem;
        margin-top: 0.15rem; */
    }
    .piclist .con .wordCon .message p{
        line-height: 1.4;
    }
    .piclist .con .wordCon a {
        bottom: 0;
        width: 50%;
        height: 0.68rem;
        position: initial;
        margin-top: 0.4rem;
        /* font-size: var(--custom-text-size4); */
    }
    
    .piclist .con .pic {
        width: 100%;
        height: 4.5rem;
        padding-top: 0.2rem;
    }
    
    .piclist .con .pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .piclist .con .pic .swiper .swiper-slide{
        height: 3.4rem;
    }
    /* 播放/暂停按钮调整 */
    .safety .playPauseBtn {
        width: 0.5rem;
        height: 0.5rem;
        bottom: 0.25rem;
        right: 0.25rem;
    }
    
    .safety .playPauseBtn i {
        /* font-size: var(--custom-text-size3); */
    }
}

/* 移动端进一步优化 - 小屏幕手机 */
/* @media (max-width: 480px) {
    :root {
        --custom-text-size0: 0.28rem;
        --custom-text-size2: 0.24rem;
        --custom-text-size5: 0.14rem;
        --custom-text-size6: 0.13rem;
    }
    
    .hero-section {
        height: 40vh;
    }
    
    .hero-title {
        font-size: var(--custom-text-size0);
    }
    
    .section-title {
        font-size: var(--custom-text-size2);
    }
    
    .section-subtitle {
        font-size: var(--custom-text-size5);
    }
    
    .tab-btn {
        height: 0.45rem;
        font-size: var(--custom-text-size5);
    }
    
    .safety-shield-swiper {
        height: 35svh;
    }
    
    .adas-video {
        height: 30svh;
    }
    
    .test-story {
        height: 3.5rem;
    }
    
    .test-title {
        font-size: var(--custom-text-size5);
    }
    
    .test-description {
        font-size: var(--custom-text-size6);
    }
    
    .ancap-awards-section .awards-swiper {
        height: 4.5rem;
    }
    
    .award-item {
        height: 4rem;
    }
    
    .testimonial-video {
        height: 2.5rem;
    }
    
    .piclist .con {
        height: 8rem;
    }
    
    .piclist .con .pic {
        height: 3rem;
    }
} */