/* 页面通用样式 */
.advantages-page {
    padding: 80px 0;
    background: transparent;
}

/* 页面介绍部分 */
.section-intro {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 15px;
}

.section-intro h2 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 600;
}

.section-intro h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b00 0%, #ff9d4d 100%);
    border-radius: 2px;
}

.section-intro p {
    font-size: 18px;
    color: #5a6c7d;
    max-width: 1200px;  /* 增加最大宽度 */
    margin: 0 auto;
    line-height: 1.8;
    white-space: nowrap;  /* 确保文本在一行显示 */
    overflow: hidden;  /* 防止内容溢出 */
    text-overflow: ellipsis;  /* 如果内容过长，显示省略号 */
}

/* 优势列表样式 */
.advantage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 15px;
}

.advantage-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.advantage-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #fff6f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    background: #ffe4cc;
}

.advantage-icon i {
    font-size: 36px;
    color: #ff6b00;
}

.advantage-content {
    flex-grow: 1;
}

.advantage-title {
    color: #ff6b00;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .advantage-list {
        gap: 30px;
    }
    
    .advantage-item {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .advantage-list {
        grid-template-columns: 1fr;
    }
    
    .section-intro h2 {
        font-size: 36px;
    }
    
    .page-banner h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .advantages-page {
        padding: 60px 0;
    }
    
    .section-intro {
        margin-bottom: 60px;
    }
    
    .section-intro h2 {
        font-size: 32px;
    }
    
    .section-intro p {
        font-size: 16px;
        max-width: 90%;  /* 使用百分比宽度以适应不同屏幕 */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .advantage-item {
        padding: 25px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .advantage-icon {
        width: 70px;
        height: 70px;
    }
    
    .advantage-icon i {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon i {
        font-size: 28px;
    }
    
    .advantage-title {
        font-size: 18px;
    }
}