/* 云市场基础样式 */
.cloud-market {
    background: linear-gradient(135deg, #fff8f8 0%, #fef5f5 100%);
    padding: 80px 0;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 1s ease forwards;
    animation-delay: 0.2s;
}

.market-header {
    text-align: center;
    margin-bottom: 40px;
}

.market-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.market-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.market-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* 左侧内容 */
.market-left {
    flex: 1;
    min-width: 400px;
}

.market-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.market-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.advantage-item {
    padding: 12px 20px;
    background: #f0f9ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0f2fe;
}

.advantage-icon {
    width: 16px;
    height: 16px;
    background: url('/web/WWW/icon/d.png') center/cover no-repeat;
    border-radius: 50%;
}

.advantage-item span {
    font-size: 14px;
    color: #333;
}

/* 右侧服务卡片 */
.market-right {
    flex: 1;
    min-width: 400px;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card-item {
    background: #fef5f5;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 8px 8px 16px rgba(0,0,0,0.06), -8px -8px 16px rgba(255,255,255,0.8);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card-item img {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    display: block;
}

.service-card-item h3 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* 动画效果 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cloud-market > div {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease forwards;
}

.cloud-market .market-header {
    animation-delay: 0.4s;
}

.cloud-market .market-content {
    animation-delay: 0.6s;
}

.service-card-item {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.6s ease forwards;
}

.service-card-item:nth-child(1) {
    animation-delay: 1s;
}

.service-card-item:nth-child(2) {
    animation-delay: 1.1s;
}

.service-card-item:nth-child(3) {
    animation-delay: 1.2s;
}

.service-card-item:nth-child(4) {
    animation-delay: 1.3s;
}

.service-card-item:nth-child(5) {
    animation-delay: 1.4s;
}

.service-card-item:nth-child(6) {
    animation-delay: 1.5s;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .cloud-market {
        padding: 40px 0;
    }
    
    .market-header {
        margin-bottom: 30px;
    }
    
    .market-header h2 {
        font-size: 24px;
    }
    
    .market-header p {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .market-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .market-left,
    .market-right {
        flex: none;
        min-width: 100%;
    }
    
    /* 左侧内容优化 */
    .market-left {
        order: 2;
    }
    
    /* 右侧服务卡片优化 */
    .market-right {
        order: 1;
    }
    
    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .service-card-item {
        padding: 15px 10px;
    }
    
    .service-card-item img {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
    }
    
    .service-card-item h3 {
        font-size: 12px;
    }
    
    /* 优势卡片优化 */
    .market-advantages {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .advantage-item {
        padding: 10px 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .market-content {
        gap: 20px;
    }
    
    .market-left,
    .market-right {
        min-width: 300px;
    }
    
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
