.features-block {
    width: 100%;
    height: 600px;
    position: relative;
    background-image: url('../images/features-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    box-sizing: border-box;
    margin: 2rem 0;
}

/* 添加深色遮罩以提高文字可读性 */
.features-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 26%);
    z-index: 1;
}

.features-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: white;
}

.features-header {
    margin-bottom: 60px;
    /* 初始状态：隐藏并向下偏移 */
    opacity: 0;
    transform: translateY(30px);
}

.features-title {
    font-size: 42px;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.features-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.features-stat-item {
    text-align: center;
    /* 初始状态：隐藏并向下偏移 */
    opacity: 0;
    transform: translateY(50px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    font-size: 16px;
    font-weight: 400;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* 分隔线效果 */
.features-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgb(255 255 255 / 53%);
}

.features-stat-item {
    position: relative;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-title {
        font-size: 36px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .features-stats {
        gap: 30px;
    }
    
    .features-block {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .features-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .features-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .features-header {
        margin-bottom: 40px;
    }
    
    .features-block {
        padding: 40px 15px;
        background-attachment: scroll;
    }
    
    /* 移除分隔线在移动端 */
    .features-stat-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .features-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .features-block {
        min-height: 300px;
        padding: 30px 15px;
    }
}