/**
 * 科技感首页轮播图样式
 * 特点：全屏宽度、大标题、副标题、按钮组、响应式适配、科技感设计
 */

/* 轮播图容器 */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 850px;
    overflow: hidden;
    background: var(--bg-dark);
}

/* Swiper容器 */
.hero-banner .swiper-container {
    width: 100%;
    height: 100%;
}

/* 轮播项 */
.hero-banner .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 轮播图片 */
.hero-banner .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease-out;
}

.hero-banner .swiper-slide-active .slide-image {
    transform: scale(1.08);
}

/* 图片遮罩层 - 科技感渐变 */
.hero-banner .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 14, 23, 0.9) 0%,
        rgba(10, 14, 23, 0.7) 30%,
        rgba(10, 14, 23, 0.4) 60%,
        rgba(10, 14, 23, 0) 100%
    );
    z-index: 1;
}

/* 底部渐变遮罩 */
.hero-banner .slide-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(
        0deg,
        rgba(10, 14, 23, 0.8) 0%,
        rgba(10, 14, 23, 0) 100%
    );
    z-index: 1;
}

/* 网格背景效果 */
.hero-banner .slide-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-banner:hover .slide-grid {
    opacity: 1;
}

/* 内容区域 */
.hero-banner .slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 650px;
    color: #fff;
    padding: 40px;
}

/* 标签/分类 */
.hero-banner .slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.hero-banner .slide-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-banner .swiper-slide-active .slide-tag {
    opacity: 1;
    transform: translateY(0);
}

/* 主标题 */
.hero-banner .slide-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.hero-banner .slide-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-banner .swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateX(0);
}

/* 副标题 */
.hero-banner .slide-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.6s;
}

.hero-banner .swiper-slide-active .slide-subtitle {
    opacity: 1;
    transform: translateX(0);
}

/* 按钮组 */
.hero-banner .slide-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.8s;
}

.hero-banner .swiper-slide-active .slide-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* 主按钮 */
.hero-banner .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.hero-banner .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.hero-banner .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-hover);
}

.hero-banner .btn-primary:hover::before {
    left: 100%;
}

.hero-banner .btn-primary::after {
    content: '→';
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.hero-banner .btn-primary:hover::after {
    transform: translateX(6px);
}

/* 次按钮 */
.hero-banner .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
}

.hero-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-4px);
}

.hero-banner .btn-secondary::after {
    content: '▶';
    margin-left: 10px;
    font-size: 14px;
}

/* 导航箭头 */
.hero-banner .swiper-button-prev,
.hero-banner .swiper-button-next {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.hero-banner:hover .swiper-button-prev,
.hero-banner:hover .swiper-button-next {
    opacity: 1;
}

.hero-banner .swiper-button-prev:hover,
.hero-banner .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.1);
}

.hero-banner .swiper-button-prev::after,
.hero-banner .swiper-button-next::after {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
}

.hero-banner .swiper-button-prev {
    left: 40px;
}

.hero-banner .swiper-button-next {
    right: 40px;
}

/* 分页指示器 */
.hero-banner .swiper-pagination {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.hero-banner .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-banner .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 212, 255, 0.5);
}

.hero-banner .swiper-pagination-bullet-active {
    width: 45px;
    border-radius: 7px;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* 进度条指示器 */
.hero-banner .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.hero-banner .progress-bar-inner {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--primary);
}

/* 滚动提示 */
.hero-banner .scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-banner .scroll-indicator:hover {
    color: #fff;
}

.hero-banner .scroll-indicator .scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.5), rgba(0, 212, 255, 0));
    position: relative;
    overflow: hidden;
}

.hero-banner .scroll-indicator .scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0));
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(50px);
        opacity: 0;
    }
}

/* 响应式适配 - 大屏幕 */
@media screen and (min-width: 1400px) {
    .hero-banner {
        max-height: 900px;
    }
    
    .hero-banner .slide-content {
        left: 10%;
        max-width: 750px;
    }
    
    .hero-banner .slide-title {
        font-size: 68px;
    }
    
    .hero-banner .slide-subtitle {
        font-size: 24px;
    }
}

/* 响应式适配 - 中等屏幕 */
@media screen and (max-width: 1200px) {
    .hero-banner {
        height: 85vh;
        min-height: 450px;
        max-height: 750px;
    }
    
    .hero-banner .slide-content {
        left: 6%;
        max-width: 550px;
        padding: 30px;
    }
    
    .hero-banner .slide-title {
        font-size: 50px;
    }
    
    .hero-banner .slide-subtitle {
        font-size: 20px;
    }
    
    .hero-banner .swiper-button-prev,
    .hero-banner .swiper-button-next {
        width: 56px;
        height: 56px;
    }
    
    .hero-banner .swiper-button-prev {
        left: 30px;
    }
    
    .hero-banner .swiper-button-next {
        right: 30px;
    }
}

/* 响应式适配 - 平板 */
@media screen and (max-width: 1024px) {
    .hero-banner {
        height: 75vh;
        min-height: 420px;
        max-height: 650px;
    }
    
    .hero-banner .slide-content {
        left: 5%;
        right: 5%;
        max-width: none;
        padding: 25px;
        text-align: center;
    }
    
    .hero-banner .slide-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 14, 23, 0.7) 0%,
            rgba(10, 14, 23, 0.5) 50%,
            rgba(10, 14, 23, 0.7) 100%
        );
    }
    
    .hero-banner .slide-title {
        font-size: 42px;
    }
    
    .hero-banner .slide-subtitle {
        font-size: 18px;
        max-width: 100%;
    }
    
    .hero-banner .slide-buttons {
        justify-content: center;
    }
    
    .hero-banner .btn-primary,
    .hero-banner .btn-secondary {
        padding: 14px 32px;
        font-size: 15px;
        min-width: 140px;
    }
    
    .hero-banner .swiper-button-prev,
    .hero-banner .swiper-button-next {
        width: 50px;
        height: 50px;
    }
}

/* 响应式适配 - 移动端 */
@media screen and (max-width: 767px) {
    .hero-banner {
        height: 100vh;
        min-height: 520px;
        max-height: none;
    }
    
    .hero-banner .slide-content {
        top: auto;
        bottom: 18%;
        left: 5%;
        right: 5%;
        transform: none;
        max-width: none;
        padding: 20px;
        text-align: center;
    }
    
    .hero-banner .slide-overlay {
        background: linear-gradient(
            0deg,
            rgba(10, 14, 23, 0.9) 0%,
            rgba(10, 14, 23, 0.5) 40%,
            rgba(10, 14, 23, 0.2) 70%,
            rgba(10, 14, 23, 0) 100%
        );
    }
    
    .hero-banner .slide-tag {
        padding: 8px 20px;
        font-size: 11px;
        margin-bottom: 18px;
    }
    
    .hero-banner .slide-title {
        font-size: 34px;
        margin-bottom: 16px;
    }
    
    .hero-banner .slide-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
        line-height: 1.5;
    }
    
    .hero-banner .slide-buttons {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    
    .hero-banner .btn-primary,
    .hero-banner .btn-secondary {
        width: 100%;
        padding: 14px 28px;
        font-size: 15px;
        justify-content: center;
    }
    
    .hero-banner .swiper-button-prev,
    .hero-banner .swiper-button-next {
        width: 44px;
        height: 44px;
        opacity: 0.6;
    }
    
    .hero-banner .swiper-button-prev {
        left: 20px;
    }
    
    .hero-banner .swiper-button-next {
        right: 20px;
    }
    
    .hero-banner .swiper-pagination {
        bottom: 35px;
    }
    
    .hero-banner .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
    
    .hero-banner .swiper-pagination-bullet-active {
        width: 35px;
    }
    
    .hero-banner .scroll-indicator {
        bottom: 70px;
    }
    
    .hero-banner .scroll-indicator .scroll-line {
        height: 40px;
    }
    
    .hero-banner .progress-bar {
        height: 2px;
    }
}

/* 响应式适配 - 小屏幕手机 */
@media screen and (max-width: 480px) {
    .hero-banner .slide-content {
        bottom: 15%;
        padding: 15px;
    }
    
    .hero-banner .slide-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .hero-banner .slide-subtitle {
        font-size: 14px;
        margin-bottom: 22px;
    }
    
    .hero-banner .btn-primary,
    .hero-banner .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-banner .swiper-button-prev,
    .hero-banner .swiper-button-next {
        width: 38px;
        height: 38px;
    }
    
    .hero-banner .swiper-button-prev::after,
    .hero-banner .swiper-button-next::after {
        font-size: 16px;
    }
}

/* 视频背景支持 */
.hero-banner .slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 暂停/播放按钮 */
.hero-banner .video-control {
    position: absolute;
    bottom: 100px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-banner .video-control:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
}

.hero-banner .video-control::before {
    content: '';
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 3px;
}

.hero-banner .video-control.paused::before {
    width: 0;
    height: 0;
    background: transparent;
    border-left: 10px solid #fff;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-radius: 0;
}