:root {
    --primary-color: #f9f9f9;
    --primary-grey: #64748B;
    --primary-black: #000000;
    --primary-white: #ffffff;
    --secondary-color: #020817;
    --secondary-grey: #666666; 
    --bright-blue: #007bff;
    --background:0 0 100%;
    --primary: 217 91% 60%;
    --border: 214.3 31.8% 91.4%;
    --border-reset: 217.2 91.2% 59.8%;
    --ring: 217 91% 60%;
    --muted: 210 40% 96.1%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body {
    position: relative;
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-color);
    line-height: unset !important;
}

.w-full{
    width: 100% ;
}

.bg-primary-white{
    background-color: var(--primary-white);
}

.bg-primary-hsl-1{
    background-color: hsl(var(--primary) / .1);
}

.grid-section-2{
    display: grid;
    grid-template-columns: repeat(2, calc((100% - 30px - 10px) / 2));
    gap: 30px;
}

.grid-section-5{
    display: grid;
    grid-template-columns: repeat(5, calc((100% - 120px) / 5));
    gap: 30px;
}


.container {
    position: relative;
    width: 1440px;
    max-width: 1440px;
    margin: 0 auto;
}

.section-padding-tb {
    padding: 80px 0;
}

/*header{*/
/*    position: sticky;*/
/*    top: 0 ;*/
/*    background-color: hsl(var(--background) / .6);*/
/*    border-bottom: 1px solid hsl(var(--border));*/
/*    z-index: 9999;*/
/*}*/

/*.header-wrapper{*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.logo{*/
/*    padding: 15px 0 ;*/
/*}*/

/*.logo img{*/
/*    display: block;*/
/*    max-width: 150px ;*/
/*}*/

/*nav ul{*/
/*    display: flex;*/
/*}*/

/*nav ul>li{*/
/*    list-style: none;*/
/*}*/

/*nav ul>li>a{*/
/*    font-size: 18px ;*/
/*    color: var(--secondary-color);*/
/*    text-decoration: none;*/
/*    padding: 0 20px;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*nav ul>li>a:hover{*/
/*    color: var(--bright-blue);*/
/*}*/

/*footer{*/
/*    background-color: var(--secondary-color);*/
/*}*/

/*.footer-wrapper{*/
/*    display: flex;*/
/*    flex-direction: row-reverse;*/
/*    justify-content: space-between;*/
/*    font-size: 14px ;*/
/*    color: var(--primary-white);*/
/*    padding: 30px 0 ;*/
/*}*/

/*.footer-wrapper a{*/
/*    color: var(--primary-white);*/
/*    text-decoration: none;*/
/*}*/

/*.quick-links{*/
/*    display: flex;*/
/*    gap: 15px ;*/
/*}*/

/*.quick-links a:hover{*/
/*    color: var(--bright-blue);*/
/*}*/

/* style.css */
.section-banner{
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 50px ;

}

.section-banner .banner-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.section-banner .banner-text .banner-title{
    font-size: 60px ;
    font-weight: bold;
    color:var(--bright-blue);
}

.section-banner .banner-text .banner-subtitle{
    font-size: 36px ;
    font-weight: bold;
    color:var(--primary);
}

.section-banner .banner-thumb img{
    display: block;
    width:100% ;
    border-radius: 8px ;
}

.tip-text{
    display: flex;
    align-items: center;
    padding-top: 30px ;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-footer{
    text-align: center;
    margin-top: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--primary-grey);
    margin-top: 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    background-color: var(--primary-white);
    border:1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 30px;
    /* 布局三列 */
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: hsl(var(--primary) / .1);
    color: var(--bright-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px ;
    margin-bottom: 20px;
}

.feature:hover .feature-icon{
    background-color: hsl(var(--primary) / .2);
}

.feature h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}


.grid-scene{
    gap: 50px ;
}

.scene{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*.scene img{*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: auto;*/
/*    border-radius: 8px ;*/
/*}*/

.scene p{
    line-height: 1.6;
}

.scene-list{
    display: grid;
    gap: 30px ;
    margin-top: 30px ;
}

.scene-list li{
    display: flex;
    align-items: flex-start;
    gap: 20px ;
}

.scene-list li .rounded-full{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px ;
    height: 20px ;
    border-radius: 50% ;
    background-color: hsl(var(--primary) / .1);
    margin-top: 3px ;
}

.scene-list li .rounded-shrink{
    width: 10px ;
    height: 10px ;
    border-radius: 50% ;
    background-color: var(--bright-blue);
}

.scene-list li .scene-section .scene-title{
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
}

.scene-list li .scene-section .scene-subtitle{
    font-size: 16px;
    margin-top: 5px ;
}

.grid-price-card{
    border:1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s;
}

.grid-price-card:hover{
    transform: translateY(-10px);
}

.price-title{
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
}

.price-display{
    font-size: 40px;
    font-weight: bold;
    padding: 20px 0 ;
    color: var(--bright-blue);
}

.price-display span.sub{
    font-size: 12px ;
}

.price-include-list{
    display: grid;
    gap: 10px ;
}

.price-include-list li{
    display: flex;
    gap: 10px ;
    align-items: flex-end;
}

.price-include-list li span{
    font-size: 14px ;
    color: var(--secondary-grey);
}

.price-include-list li span.current{
    font-size: 18px ;
    font-weight: bold;
    color: var(--secondary-color);
}

.price-border-line{
    border-top: 1px solid hsl(var(--border));
    margin: 30px 0 ;
}

.price-tik-list{
    display: grid;
    gap: 10px ;
}

.price-tik-list li{
    display: flex;
    gap: 10px ;
    align-items: flex-start;
}

.price-tik-list li svg{
    color: hsl(var(--primary));
    margin-top: 3px ;
}


.contact-wrapper{
    display: flex;
    justify-content: center;
    gap: 20px ;
    margin-top: 30px ;
}

.contact-wrapper .contact-item{
    display: flex;
    align-items: center;
    gap: 10px ;
    background: linear-gradient(45deg, #007bff, #00a6ff);
    font-size: 20px ;
    font-weight: bold;
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 8px ;
    padding: 10px 20px;
}

.contact-wrapper .contact-item svg{
    display: block;
    fill: var(--primary-white);
}

/* 视频模态窗口 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal {
    width: 90%;
    max-width: 900px;
    background: #1e1e2f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
    position: relative;
}

.modal-overlay.active .video-modal {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 宽高比 */
    height: 0;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px 15px 10px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.play-pause {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 15px;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-right: 15px;
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #ff4081;
    border-radius: 3px;
    width: 0%;
}

.time {
    color: white;
    font-size: 0.9rem;
    min-width: 100px;
}

.volume-control {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.volume-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.volume-bar {
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.volume-level {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #ff4081;
    border-radius: 3px;
    width: 80%;
}

.fullscreen-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
}

/* 视觉画廊 */
.gallery-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 30px 0 20px 6px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    background-color: #ffffff;
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.slide-image-bottom {
    z-index: 1;
}

.slide-image-top {
    z-index: 2;
    /* 初始状态：完全显示上层图片 */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide.active .slide-image-top {
    /* 激活状态：从左向右擦除，显示下层图片 */
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

/* 缩略图容器 - 放置在底部，始终居中 */
.thumbnails-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    /* 防止容器本身干扰点击事件 */
}

.thumbnails {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    max-width: calc(100% - 40px);
    /* 确保有足够的边距 */
    overflow: hidden;
    /* 隐藏滚动条，因为我们不需要滚动了 */
    pointer-events: auto;
    /* 恢复缩略图的点击事件 */
}

/* 移除滚动条样式，因为不再需要滚动 */
.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    flex-shrink: 0;
    margin-bottom: 0 ;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    opacity: 1;
    border: 3px solid white;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.15);
}

.thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.thumbnail.active::after {
    background: transparent;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.control-btn {
    background: hsl(var(--primary));
    border: 2px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary-white);
}

.control-btn:hover {
    background: white;
    color: var(--bright-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.control-btn:active {
    transform: translateY(0);
}

.highlight {
    animation: pulse 2s infinite;
    background: var(--bright-blue);
}

.highlight:hover{
    border: 1px solid var(--bright-blue);
}



.progress-bar {
    width: 80%;
    max-width: 600px;
    height: 8px;
    background: hsl(var(--primary) / .5);
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--bright-blue);
    width: 0%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes thumbnailAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.7);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.thumbnail:nth-child(1) {
    animation: thumbnailAppear 0.6s ease-out 0.2s both;
}

.thumbnail:nth-child(2) {
    animation: thumbnailAppear 0.6s ease-out 0.3s both;
}

.thumbnail:nth-child(3) {
    animation: thumbnailAppear 0.6s ease-out 0.4s both;
}

.thumbnail:nth-child(4) {
    animation: thumbnailAppear 0.6s ease-out 0.5s both;
}

.thumbnail:nth-child(5) {
    animation: thumbnailAppear 0.6s ease-out 0.6s both;
}

.thumbnail:nth-child(6) {
    animation: thumbnailAppear 0.6s ease-out 0.7s both;
}

.thumbnail:nth-child(7) {
    animation: thumbnailAppear 0.6s ease-out 0.8s both;
}

.thumbnail:nth-child(8) {
    animation: thumbnailAppear 0.6s ease-out 0.9s both;
}

@media (max-width: 768px) {
    
    .gallery-container {
        height: 400px;
    }

    .thumbnails {
        flex-wrap: wrap;
        padding: 10px;
        width: 20px;
        height: 20px;
        max-width: calc(100% - 30px);
        gap: 8px;
    }

    .thumbnail {
        width: 65px;
        height: 65px;
    }

    .controls {
        gap: 10px;
    }

    .control-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }


}

@media (max-width: 1100px){
    .container{
        width: 100% ;
    }
    
    .section-banner{
        grid-template-columns: 100% ;
    }
    
    .section-banner .banner-text{
        order:2;
    }
    
    .caculate-tips svg{
        margin-top: 10px ;
    }
    
    .grid-section-2{
        grid-template-columns: 100%;
    }
    
    .grid-section-5{
        grid-template-columns: repeat(3, calc((100% - 60px) / 3));
    }
    
    .slide{
        padding: 20px ;
    }
}

@media (max-width: 768px){
    .section-padding-tb{
        padding: 50px 0 ;
    }
    
    .contact-wrapper{
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .contact-wrapper .contact-item{
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .section-title{
        font-size: 24px ;
        margin-bottom: 0 ;
    }
    
    .section-subtitle{
        font-size: 16px ;
    }
    
    .section-header{
        margin-bottom: 30px ;
    }
    
    .section-banner .banner-text .banner-title{
        font-size: 28px ;
    }
    
    .section-banner .banner-text .banner-subtitle{
        font-size: 20px ;
    }
    
    .features{
        grid-template-columns: 100% ;
    }
    
    .feature h3{
        font-size: 18px ;
        margin-bottom: 0 ;
    }
    
    .feature p{
        font-size: 14px ;
    }
    
    .grid-scene{
        gap: 30px ;
    }
    
    .grid-section-5{
        grid-template-columns: 100% ;
    }
}