/* 自定义Features部分样式 */

/* Features部分整体样式 */
#features {
    position: relative;
    overflow: hidden;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,113,0,0.05) 100%);
    z-index: -1;
}

/* 标题部分样式优化 */
#features .title-content h6 {
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 113, 0, 0.1);
    border-radius: 20px;
    color: #ff7100 !important;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

#features .title-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
}

#features .title-content h2 span {
    color: #ff7100;
    position: relative;
}

#features .title-content h2 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff7100;
    border-radius: 3px;
}

#features .title-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* Features盒子样式 */
.features-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.features-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 113, 0, 0.2);
}

.features-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ff7100, #ff9d00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.features-box:hover::after {
    transform: scaleX(1);
}

/* 图标样式优化 */
.features-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 113, 0, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
}

.features-box:hover .features-icon {
    background: #ff7100;
    transform: rotateY(180deg);
}

.features-icon i {
    font-size: 28px;
    color: #ff7100;
    transition: all 0.3s ease;
}

.features-box:hover .features-icon i {
    color: #000;
    transform: rotateY(180deg);
}

/* 标题和文本样式 */
.features-box h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.features-box:hover h5 {
    color: #ff7100;
}

.features-box p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .features-box {
        margin-bottom: 30px;
    }
    
    #features .title-content h2 {
        font-size: 28px;
    }
}

/* 添加动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.features-box:hover .features-icon {
    animation: pulse 1.5s infinite;
}