/* ===========================================
   index.css - 首页样式
   =========================================== */

/* Hero 区域 */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #fff;
}

/* Hero 内容层（覆盖在轮播图上方�?*/
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

/* 轮播容器 */
/* 轮播容器（flex 并排，translateX 滑动） */
.hero-slider {
    position: relative;
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

/* 单张轮播图：并排各占满宽度，高度由图片撑开 */
.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    flex-shrink: 0;
}

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

/* 轮播图叠加层，提升文字可读性 */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 14, 26, 0.75) 0%, rgba(10, 14, 26, 0.35) 50%, rgba(10, 14, 26, 0.1) 100%);
}

/* 轮播按钮 */
.hero-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(5px);
}

.hero-arrow-btn:hover {
    background: #2c5fff;
    border-color: #2c5fff;
}

.hero-arrow-btn.prev {
    left: 30px;
}

.hero-arrow-btn.next {
    right: 30px;
}

/* 轮播指示�?*/
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.hero-dot {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: #fff;
    width: 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff 0%, #a8c2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: #2c5fff;
    margin-bottom: 25px;
    border-radius: 2px;
}

.hero-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-arrow {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    text-align: center;
    line-height: 48px;
    color: #fff;
    transition: all 0.3s;
    cursor: pointer;
}

.hero-arrow:hover {
    background: #2c5fff;
    border-color: #2c5fff;
}

/* 公司介绍 */
.about-section {
    padding: 100px 20px;
    background: #fff;
}

.about-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
   
    align-items: flex-start;
}
.about-text{flex:1;}
.about-text h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 32px;
    font-weight: bold;
    color: #2c5fff;
    display: inline-block;
}

.stat-unit {
    font-size: 14px;
    color: #2c5fff;
    vertical-align: super;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.about-image {
    position: relative;
    margin-left: 40px;
}
.about-image img{width: 100%;}



/* 业务内容 */
.business-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}

.business-cards {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 95, 255, 0.15);
}

.business-card.active {
    background: linear-gradient(135deg, #1e4ba3 0%, #2c5fff 100%);
    color: #fff;
}

.business-card-icon {
   
    margin-bottom: 25px;
}


.business-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.business-card-subtitle {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
}

.business-card.active .business-card-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.business-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.business-card.active .business-card-desc {
    color: rgba(255, 255, 255, 0.9);
}

.business-card-index {
    font-size: 32px;
    color: #2c5fff;
    font-weight: bold;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.business-card.active .business-card-index {
    color: #fff;
}

.business-card-index span {
    font-size: 14px;
    color: #999;
}

.business-card.active .business-card-index span {
    color: rgba(255, 255, 255, 0.7);
}

.business-card-link {
    margin-top: 20px;
    text-align: center;
}

.business-card-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 25px;
    border: 1px solid #ddd;
    border-radius: 20px;
    /* color: #fff; */
    font-size: 13px;
    
}

.business-card-link a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 核心优势 */
.advantage-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a1633 0%, #0d2856 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.advantage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(44, 95, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 95, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.advantage-section .section-title h2 {
    color: #fff;
}

.advantage-section .section-title .subtitle {
    color: #4d7cff;
}

.advantage-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.advantage-image {
    height: 380px;
   
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.advantage-image-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.advantage-image-item img{width: 100%;height: 100%;object-fit: cover;}
.advantage-image-item.active {
    opacity: 1;
    transform: scale(1);
}

.advantage-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255, 255, 255, 0.05) 20px, rgba(255, 255, 255, 0.05) 21px);
}

.advantage-text {
    padding: 20px 0;
    position: relative;
}
.advantage-slides {
    position: relative;
    min-height: 200px;
}
.advantage-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.advantage-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.advantage-index {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
    color: #4d7cff;
}

.advantage-num {
    font-size: 36px;
    font-weight: bold;
}

.advantage-total {
    font-size: 16px;
    opacity: 0.7;
}

.advantage-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
}

.advantage-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 30px;
}

.advantage-nav {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.advantage-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.advantage-nav-btn:hover {
    background: #2c5fff;
    border-color: #2c5fff;
}

/* 合作伙伴 */
.partner-section {
    padding: 80px 20px;
    background: #fff;
}

.partner-list {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.partner-item {
    height: 90px;
    border: 1px solid #e8edf5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: #fff;
    padding: 15px 20px;
}

.partner-logo {
    max-width: 80%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.partner-item:hover {
    border-color: #2c5fff;
    box-shadow: 0 5px 15px rgba(44, 95, 255, 0.1);
}

.partner-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.partner-name.orange {
    color: #ff8a00;
}

.partner-name.blue {
    color: #2c5fff;
}

.partner-name.red {
    color: #e60012;
}

.partner-name.gradient {
    background: linear-gradient(90deg, #ff6600 0%, #ffcc00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }

    .about-inner,
    .advantage-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .business-cards {
        grid-template-columns: 1fr;
    }

    .partner-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
	
}

@media (max-width: 768px) {
    .hero {
        min-height: 0;
    }

    .hero-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    

    .hero-arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-arrow-btn.prev {
        left: 10px;
    }

    .hero-arrow-btn.next {
        right: 10px;
    }

    .hero-dots {
        bottom: 20px;
        gap: 8px;
    }

    .hero-dot {
        width: 20px;
    }

    .hero-dot.active {
        width: 30px;
    }

    .about-section,
    .business-section,
    .advantage-section,
    .partner-section {
        padding: 50px 15px;
    }

    .about-text h2 {
        font-size: 22px;
    }

    .about-stats {
        gap: 15px;
    }
	
    .stat-num {
        font-size: 24px;
    }
	.about-inner{display: block;}
	.about-image{margin-left: 0;margin-top: 30px;}
    .partner-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .advantage-title {
        font-size: 22px;
    }

    .advantage-image {
        height: 250px;
        font-size: 60px;
    }

    .advantage-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
	.business-card-icon img{height: 50px;width: 50px;object-fit: contain;}
}