
/* 轮播图 (固定比例 1980*680) */
.ratio-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* 680 / 1980 = 34.34% */
.ratio-carousel::before {
    content: "";
    display: block;
    padding-top: 34.34%;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 300%;
    height: 100%;
    animation: simpleSlide 6s infinite ease-in-out;
    z-index: 1;
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide:nth-child(1), .carousel-slide:nth-child(3) { background-image: url('../img/banner_dxcl.png'); }
.carousel-slide:nth-child(2) { background-image: url('../img/banner_dxb.png'); }

/* 轮播图指示点 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10; /* 确保在 track 之上 */
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* 动画效果 */
@keyframes simpleSlide {
    0%, 45% { transform: translateX(0); }
    50%, 95% { transform: translateX(-33.333%); }
    100% { transform: translateX(0); }
}

@keyframes indicatorActive {
    0%, 45% { width: 32px; border-radius: 6px; background-color: #ffffff; }
    50%, 95% { width: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); }
    100% { width: 32px; border-radius: 6px; background-color: #ffffff; }
}

@keyframes indicatorActive2 {
    0%, 45% { width: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); }
    50%, 95% { width: 32px; border-radius: 6px; background-color: #ffffff; }
    100% { width: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); }
}

.indicator:nth-child(1) { animation: indicatorActive 6s infinite ease-in-out; }
.indicator:nth-child(2) { animation: indicatorActive2 6s infinite ease-in-out; }

/* 通用布局 */
.section-container {
    padding:0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg-blue { background-color: #E2EEFF; }
.bg-white { background-color: #FFFFFF; }

.section-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
}

.content-wrapper {
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.feature-item.reverse { flex-direction: row-reverse; }

.feature-text { width: 25%; }
.feature-image { width: 25%; text-align: center; }
.feature-image img { max-width: 100%; height: auto; }

.sequence-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sequence-num {
    width: 56px;
    height: 56px;
    background-image: url('../img/dxcl_sequence_bg.png');
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
}

.sequence-title {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

.feature-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    display: flex;
    padding-left: 20px;
    padding-top: 40px;
    gap: 8px;
}

.desc-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 5px;
}

/* 多鑫创联特有 */
.dxcl-title {
    width: 100%;
    height: 260px;
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    letter-spacing: 0.018em;
    color: #333333;
    background: linear-gradient(180deg, #E3EFFF 0%, #FFFFFF 100%);

    display: flex;
    align-items: center;
    justify-content: center;
}

#dxcl-section .feature-item {
    padding-bottom: 60px;
}

#dxcl-section .feature-item:last-child {
    padding-bottom: 88px;
}

/* 哆鑫宝板块特有 */
.dxb-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    letter-spacing: 0.018em;
    color: #193FB5;
    margin-top: 60px;
    margin-bottom: 20px;
}

#dxb-section .feature-text {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 30px; /* 图标与文字间距 */
    min-width: 322px;
}

.dxb-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.dxb-text-info {
    text-align: left;
}

#dxb-section .sequence-title {
    margin-bottom: 5px;
}

#dxb-section .feature-desc {
    font-size: 18px;
    padding-left: 0;
    padding-top: 10px; /* 调整与标题间距 */
}

.dxb-detail-image img{
    margin-bottom: -5px;
}

/* 14寸屏幕适配 (1440px) */
@media screen and (max-width: 1440px) {
    .content-wrapper { width: 1100px; }
    .section-title { font-size: 36px; }
    .sequence-title { font-size: 28px; }
    
}

/* 10寸屏幕适配 (1024px) */
@media screen and (max-width: 1024px) {
    .content-wrapper { width: 95%; }
    .section-title { font-size: 32px; }
    .feature-text { width: 30%;}
}

/* 手机端适配 (768px) */
@media screen and (max-width: 768px) {
    .section-container { padding: 40px 15px; }
    .content-wrapper { width: 100%; }
    .feature-item, .feature-item.reverse {
        flex-direction: column !important;
        text-align: center;
    }
    .feature-text, .feature-image { width: 100%; }
    .feature-image { margin-top: 30px; }
    .sequence-box { justify-content: center; }
    .feature-desc { padding-left: 0; justify-content: center; }
    .section-title { font-size: 28px; margin-bottom: 30px; }

    #dxb-section .feature-text {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .dxb-text-info {
        text-align: center;
    }
}


/* 侧边导航 */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.side-nav .nav-item {
    width: 66px;
    height: 120px;
    background-image: url('../img/side_nav_bg.png');
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 14px;
    color: #2E312E;
    font-weight: 350;
    line-height: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-bottom: 4px; /* 视觉微调：向上提升一点 */
    letter-spacing: 2px; /* 增加间距使其在长方块内更匀称 */
}

.side-nav .nav-item.active {
    background-image: url('../img/side_nav_active.png');
    color: #fff;
}

.side-nav .top-btn {
    width: 66px;
    height: 66px;
    background-image: none;
    background-color: transparent;
    padding: 0;
}

.side-nav .top-btn img {
    width: 100%;
    height: 100%;
    display: block;
}

/* 移动端隐藏侧边栏 */
@media screen and (max-width: 768px) {
    .side-nav {
        display: none;
    }
}
