/* 英雄区域 */
.hero {
    /* padding: 80px 0 120px 0; */
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    /* 根据视频原始宽高比(1504:540 ≈ 2.785:1)动态计算高度 */
    height: calc(100vw / 2.785);
    min-height: 300px;
    /* 设置最小高度，确保在小屏幕上内容不会太挤 */
    max-height: 540px;
    /* 设置最大高度，与原视频高度一致 */
}

.hero video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 确保视频覆盖整个区域，可能会裁剪部分内容 */
}

.hero-content {
    text-align: left;
    padding-left: 10%;
    padding-top: 10%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    /* 确保内容在视频上方 */
    max-width: 1200px;
}

/* 轮播样式 */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    /* 默认显示抓取光标 */
    /* 确保轮播图可以接收鼠标事件 */
    pointer-events: auto;
}

.carousel.dragging {
    cursor: grabbing;
    /* 拖动时显示抓取中光标 */
}

/* 确保轮播图内的元素可以接收鼠标事件 */
.carousel-inner,
.carousel-item,
.carousel-indicators,
.carousel-control {
    pointer-events: auto;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: all 0.6s ease;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators span.active {
    background-color: white;
    transform: scale(1.2);
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-icon {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* .hero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    animation: rotate 25s linear infinite;
    z-index: 1;
    pointer-events: none;
} */

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 30px;
    color: #11172d;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero h2 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 15px;
    color: white;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* 数据统计 */
.stats {
    background: hsla(0, 0%, 100%, .5);
    backdrop-filter: blur(20px);
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 3;
    transition: all 0.3s ease;
}

.stats .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    margin: 10px 0;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #11172d;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.stat-desc {
    font-size: 14px;
    color: #11172d;
    transition: all 0.3s ease;
}

/* AI驱动平台 */
.ai-platform {
    padding: 60px 0;
    /* background-color: #f8f8f8; */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-platform:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23F8F8F8"/><path d="M0 0L100 100" stroke="%23EEEEEE" stroke-width="1"/><path d="M100 0L0 100" stroke="%23EEEEEE" stroke-width="1"/></svg>');
    opacity: 0.5; */
    pointer-events: none;
}

.ai-platform h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 35px;
    position: relative;
    transition: all 0.3s ease;
}


.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature:before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 203, 243, 0.1) 100%);
    transition: all 0.5s ease;
    transform: rotate(45deg);
}

.feature:hover:before {
    top: 100%;
    left: 100%;
}

.feature-image {
    height: 64px;
    width: 64px;
    margin-right: 24px;
}

.feature-image img {
    width: 100%;
    margin: 0 auto;
}

.feature h3 {
    margin-bottom: 15px;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.feature p {
    color: #666;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* 商业双驱动 */
.business-drive {
    padding: 60px 0;
    background-color: white;
    position: relative;
    transition: all 0.3s ease;
}

.business-drive h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 35px;
    position: relative;
    transition: all 0.3s ease;
}

.drive-content {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* .drive-graph {
    margin-bottom: 30px;
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
    display: flex;
}

.drive-graph img {
    margin: 0 auto;
    width: 50%;
} */

.drive-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.start,
.end {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
}

.start:hover,
.end:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* .arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #2196F3;
    z-index: 2;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
} */

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.drive-desc {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.drive-desc h2 {
    text-align: left;
}

/* 用户增长和商业变现 */
.user-growth,
.business-monetization {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.user-growth {
    /* background-color: #f8f8f8; */
}

.business-monetization {
    background-color: white;
}

.user-growth h2,
.business-monetization h2 {
    text-align: left;
    margin-bottom: 40px;
    font-size: 35px;
    position: relative;
    transition: all 0.3s ease;
}

.user-growth h2 {
    text-align: right;
}


.growth-content,
.monetization-content {
    display: flex;
    align-items: center;
    gap: 40px;
    transition: all 0.3s ease;
}

.drive-graph,
.growth-image,
.monetization-image {
    flex: 1;
    min-height: 200px;
    min-width: 200px;
    max-width: 300px;
    max-height: 300px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.drive-graph img,
.growth-image img,
.monetization-image img {
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
}


.drive-graph:hover,
.growth-image:hover,
.monetization-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.growth-desc,
.monetization-desc {
    flex: 1;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    transition: all 0.3s ease;
}

/* 全球视野 */
.global-vision {
    padding: 60px 0;
    /* background-color: #f8f8f8; */
    position: relative;
    transition: all 0.3s ease;
}

.global-vision h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 35px;
    position: relative;
    transition: all 0.3s ease;
}

/* Tab导航样式 */
.vision-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-item {
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-item:hover {
    color: #2196F3;
}

.tab-item.active {
    color: #2196F3;
}

.tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2196F3;
}

/* Tab内容区域样式 */
.tab-content {
    position: relative;
    width: 70%;
    margin: 0 auto;
}

.tab-pane {
    width: 100%;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category h3 {
    margin-bottom: 18px;
    color: #333;
    font-size: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.category ul {
    color: #666;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.category li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.category li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2196F3;
    transition: all 0.3s ease;
}

.category li:hover {
    transform: translateX(5px);
    color: #333;
}

.category li:hover:before {
    color: #21CBF3;
}

.category-image {
    height: 200px;
    display: flex;
    align-items: center;
}

.category-image img {
    height: 100%;
}

/* 合作伙伴 */
.partners {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.partners:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(33, 150, 243, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(33, 150, 243, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-description {
    color: #666;
    font-size: 18px;
    margin-top: 15px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.partners h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 35px;
    font-weight: 600;
    position: relative;
    transition: all 0.4s ease;
    color: #333;
    display: inline-block;
}

.partner-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.partner-categories .category {
    background-color: #f5f7fa;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.partner-categories .category:hover {
    background-color: #eef2f7;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    color: #2196F3;
}

.partner-categories .category.active {
    background-color: #2196F3;
    color: white;
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.35);
    transform: translateY(-3px);
    font-weight: 600;
}

.partner-categories .category:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.partner-categories .category:hover:before {
    left: 100%;
}

.partner-logos {
    margin-top: 30px;
    transition: all 0.3s ease;
}

.logo-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
    padding: 10px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateZ(0);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 180px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.logo-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* .logo-item:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(0deg);
    transition: transform 0.8s ease, opacity 0.5s ease;
    z-index: 1;
    opacity: 0;
} */

.logo-item:hover:before {
    transform: rotate(45deg);
    opacity: 1;
}

.logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.logo-item:hover .logo-inner {
    transform: translateY(-5px);
}

.partner-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    filter: grayscale(30%);
}

.logo-item:hover .partner-logo {
    transform: scale(1.15);
    filter: grayscale(0%);
}

.logo-name {
    font-size: 15px;
    color: #555;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    font-weight: 500;
}

.logo-item:hover .logo-name {
    color: #2196F3;
    font-weight: 600;
}

/* 加入我们 */
.join-us {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    /* background: #f8f8f8; */
}

/* .join-us:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    animation: rotate 25s linear infinite;
    z-index: 1;
    pointer-events: none;
} */

.join-us h2 {
    margin-bottom: 30px;
    font-size: 40px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: #6441ff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero {
        height: calc(100vw / 2.5);
        /* 在中等屏幕上稍微增加高度比例 */
    }

    .hero-content {
        padding-left: 8% !important;
        padding-top: 8% !important;
    }

    .logo-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .logo-item {
        height: 160px;
        padding: 20px 15px;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }

    .logo-name {
        font-size: 14px;
    }

    .partner-categories {
        gap: 10px;
    }

    .partner-categories .category {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: calc(100vw / 2.2);
        /* 在小屏幕上进一步增加高度比例 */
        min-height: 250px;
    }

    .hero-content {
        padding-left: 6% !important;
        padding-top: 6% !important;
        max-width: 90%;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .stats {
        display: none;
    }

    .stats .container {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .drive-content,
    .growth-content,
    .monetization-content {
        flex-direction: column;
    }

    .drive-graph,
    .growth-image,
    .monetization-image {
        width: 100%;
        min-height: 200px;
        order: 1;
    }

    .growth-desc,
    .monetization-desc {
        order: 2;
    }

    .logo-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .section-description {
        font-size: 16px;
    }

    .partners h2 {
        font-size: 28px;
    }

    .category-image img {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero {
        height: calc(100vw / 1.8);
        /* 在超小屏幕上使用更大的高度比例 */
        min-height: 200px;
    }

    .hero-content {
        padding-left: 5% !important;
        padding-top: 5% !important;
        max-width: 95%;
    }

    .logo-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .logo-item {
        height: 140px;
        padding: 15px 10px;
    }

    .partner-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .logo-name {
        font-size: 12px;
    }

    .partner-categories {
        gap: 8px;
        margin-bottom: 25px;
    }

    .partner-categories .category {
        padding: 8px 14px;
        font-size: 13px;
    }

    .partners {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: calc(100vw / 1.5);
        /* 在最小屏幕上使用最大的高度比例 */
        min-height: 180px;
    }

    .hero-content {
        padding-left: 4% !important;
        padding-top: 4% !important;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .vision-categories {
        grid-template-columns: 1fr;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}