/* 滚动动画样式 */
.home-first-right-scroll-test {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.home-first-right-scroll-test ul {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(0); /* 初始位置 */
}

.home-first-right-scroll-test .home-first-right-item {
    flex-shrink: 0;
    display: inline-block;
    margin-right: 16px; /* 确保间距 */
}

/* 确保滚动行的容器样式 */
.scroll-row-1,
.scroll-row-2, 
.scroll-row-3 {
    overflow: hidden;
}

/* 鼠标悬停时的过渡效果 */
.home-first-right-scroll-test ul {
    transition: transform 0.5s ease;
}

/* 防止图片拖拽 */
.home-first-right-item img {
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* 左侧内容进入动画样式 */
.hero-content-left {
    overflow: hidden; /* 防止动画过程中内容溢出 */
}

.hero-content-left .button-list,
.hero-content-left .item-desc-wrapper,
.hero-content-left .item-sub-desc,
.hero-content-left .join-button {
    will-change: transform, opacity; /* 优化动画性能 */
}

/* 确保动画元素在初始状态下不可见 */
.hero-content-left .button-list,
.hero-content-left .item-desc-wrapper,
.hero-content-left .item-sub-desc,
.hero-content-left .join-button {
    opacity: 0;
    transform: translateX(-80px);
}

/* 按钮项初始状态 */
.hero-content-left .button-item {
    opacity: 0;
    transform: translateX(-60px);
    will-change: transform, opacity;
}

/* 解决方案区块动画样式 */
.solution-title,
.solution-subtitle,
.solution-container {
    will-change: transform, opacity, filter;
}

.solution-menu-item {
    will-change: transform, opacity, filter, scale;
    transition: all 0.3s ease;
}

.solution-card {
    will-change: transform, opacity, filter, scale;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 确保模糊效果平滑过渡 */
.solution-title,
.solution-subtitle,
.solution-container,
.solution-menu-item,
.solution-card {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* 资金安全区块动画样式 */
.capital-title,
.capital-subtitle {
    will-change: transform, opacity;
}

.capital-card {
    will-change: transform, opacity;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    perspective: 1000px;
}

.capital-card-right,
.capital-card-left {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* 优化3D变换性能 */
.capital-card-right {
    transform-origin: left center;
}

.capital-card-left {
    transform-origin: right center;
}

/* 行业所需区块 - 扇子动画样式 */
.industry-header,
.industry-subtitle {
    will-change: transform, opacity;
}

.industry-card {
    will-change: transform, opacity;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    perspective: 1000px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform-origin: bottom left; /* 从左下角作为旋转中心 */
}

/* 我们的团队区块样式 */
.team-section {
    padding: 88px 0;
    position: relative;
}

.team-title {
    font-size: 40px;
    font-weight: 800;
    color: #111722;
    margin-bottom: 8px;
}

.team-subtitle {
    font-size: 18px;
    color: #4B7BFF;
    font-weight: 600;
    letter-spacing: 2px;
}

.team-section-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-card {
    background: linear-gradient(180deg, #F0F4FF 0%, #FFFFFF 100%);
    border-radius: 24px;
    border: 1px solid #F1F4FE;
    width: 380px;
    padding: 32px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(75, 123, 255, 0.15);
}

.team-card-image {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team_member_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team_member_img {
    transform: scale(1.05);
}

.team-card-content {
    text-align: center;
}

.team-member-name {
    font-size: 24px;
    font-weight: 700;
    color: #111722;
    margin-bottom: 8px;
}

.team-member-title {
    font-size: 16px;
    color: #4B7BFF;
    font-weight: 500;
    margin-bottom: 16px;
}

.team-member-desc {
    font-size: 14px;
    color: #666C77;
    line-height: 1.6;
    margin-bottom: 24px;
}

.team-member-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #F5F7FA;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #4B7BFF;
    transform: translateY(-2px);
}

.social-icon img {
    width: 20px;
    height: 20px;
}

/* 团队卡片动画 */
.team-card {
    opacity: 0;
    transform: translateY(50px);
}

.team-section-content .team-card:nth-child(1) {
    animation-delay: 0.1s;
}

.team-section-content .team-card:nth-child(2) {
    animation-delay: 0.2s;
}

.team-section-content .team-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* 确保3D变换流畅 */
.fifth-section-content {
    perspective: 2000px;
    perspective-origin: center center;
}

/* ========== 产品与服务区块 - 3D翻转样式 ========== */
.product-title,
.product-subtitle,
.product-header {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.product-container {
    perspective: 2000px;
}

.product-card {
    will-change: transform, opacity;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.sixth-section-content {
    perspective: 1500px;
    perspective-origin: center center;
}

/* ========== 开店梦想区块 - 波浪样式 ========== */
.dream-header {
    will-change: transform, opacity;
}

.dream-card {
    will-change: transform, opacity;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ========== 合作伙伴区块 - 脉冲样式 ========== */
.partner-title,
.partner-subtitle {
    will-change: transform, opacity;
}

.partner-logo {
    will-change: transform, opacity;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    cursor: pointer;
}
