/* 我们的优势 区块样式 */
.advantages-section {
    padding: 60px 0;
    background: linear-gradient(to right, #f8f9fa 50%, var(--primary) 50%);
    position: relative;
    overflow: hidden;
}

.advantage-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 25px 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(244, 121, 32, 0.1);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff6b35);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(244, 121, 32, 0.15);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon-div {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(244, 121, 32, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-icon i {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 80px;
    text-align: center;
}

.advantage-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), #ff6b35);
    color: white;
}

.advantage-card:hover .advantage-icon::before {
    left: 100%;
}

.advantage-icon-div h3 {
    margin-bottom: 0;
    margin-left: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.advantage-card:hover .advantage-icon-div h3 {
    color: var(--primary);
}

.advantage-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.advantage-card:hover p {
    color: #555;
}

.core-values {
    background: linear-gradient(135deg, var(--primary), #ff6b35);
    border-radius: 20px;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(244, 121, 32, 0.4), 
                0 5px 15px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.core-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    pointer-events: none;
}

.core-values:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(244, 121, 32, 0.5), 
                0 8px 20px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.core-value {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.core-value:nth-child(2) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.core-value:nth-child(3) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.core-value:nth-child(4) {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.core-value:nth-child(5) {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.core-value:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.core-value:hover .value-icon {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.value-icon i {
    color: white;
    font-size: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.core-values h3 {
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    position: relative;
}

.core-values h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

/* 区块头部 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* 颜色小助手 */
@media (min-width: 993px) {
  .ys{
    color: #ffffff;
  }
}

/* H5 优化 */
@media (max-width: 992px) {
    .advantages-section {
        background: #f8f9fa;
        padding: 50px 0;
    }
    .core-values {
        background: var(--primary) !important;
        margin-top: 30px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .advantage-card {
        padding: 20px;
    }
}

/* 动画效果 */
.advantage-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}
.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }
.advantage-card:nth-child(5) { animation-delay: 0.5s; }
.advantage-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.core-values {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.3s forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


