/* 全球合作伙伴区域 - 优化样式 */
.partners-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--surface-50) 100%);
    position: relative;
    border-top: 1px solid var(--surface-200);
}

.partners-section .section-header {
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.partner-card {
    background: white;
    border: 2px solid var(--surface-200);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-300);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-subtle);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    position: relative;
    z-index: 1;
}

.partner-card:hover .partner-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.partner-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.partner-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    min-height: 3em;
}

.partner-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid var(--primary-200);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-count {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 2rem 0;
    }
    
    .partners-section .section-header {
        margin-bottom: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .partner-card {
        padding: 1.5rem 1rem;
    }
    
    .partner-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .partner-card h3 {
        font-size: 1.1rem;
    }
    
    .partner-card p {
        font-size: 0.875rem;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

