:root {
    --primary: #00f2fe;
    --gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --bg: #dce1ec;
    --card-bg: rgba(30, 41, 59, 0.9);
    --text: #0e5bc1;
}

.advantage-section {
    padding: var(--section-spacing) var(--content-padding);
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(20px, 3vw, 30px);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-spacing) 0;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: clamp(25px, 4vw, 35px);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 12px;
}

.card-icon i {
    font-size: clamp(20px, 2.5vw, 24px);
    color: #007bff;
}

.card-title {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    color: #2c3e50;
}

.card-content {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.8;
    color: #666;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        padding: 20px;
    }
    
    .advantage-card {
        padding: 25px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }
}

@media (min-width: 1025px) {
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 手机端 */
@media (max-width: 576px) {
  .box { width: 100%; }
}

/* 平板 */
@media (min-width: 577px) and (max-width: 992px) {
  .box { width: 50%; }
}

/* 桌面端 */
@media (min-width: 993px) {
  .box { width: 25%; }
}