/* 公司介绍 */
.company-intro {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.company-intro h1 {
    font-size: 35x;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.intro-content p {
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 5px;
}

.intro-content p:hover {
    color: #333;
    transform: translateX(5px);
}

.intro-content p:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #2196F3, transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.intro-content p:hover:before {
    opacity: 1;
}

/* 合作伙伴 */
.partners {
    padding: 60px 0;
    background-color: white;
    position: relative;
    transition: all 0.3s ease;
}

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

.partners h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 35px;
    position: relative;
    transition: all 0.3s ease;
}

.section-description {
    color: #666;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.partner-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.partner-categories .category {
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.partner-categories .category:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.partner-categories .category.active {
    background-color: #2196F3;
    color: white;
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.35);
    transform: translateY(-3px);
    font-weight: 600;
}

.partner-categories .category:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.partner-categories .category:hover:before {
    left: 100%;
}

.partner-logos {
    margin-top: 30px;
    transition: all 0.3s ease;
}

.logo-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
    padding: 10px;
}


.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateZ(0);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 180px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.logo-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* .logo-item:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(0deg);
    transition: transform 0.8s ease, opacity 0.5s ease;
    z-index: 1;
    opacity: 0;
} */

.logo-item:hover:before {
    transform: rotate(45deg);
    opacity: 1;
}

.logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.logo-item:hover .logo-inner {
    transform: translateY(-5px);
}

.partner-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    filter: grayscale(30%);
}

.logo-item:hover .partner-logo {
    transform: scale(1.15);
    filter: grayscale(0%);
}

.logo-name {
    font-size: 15px;
    color: #555;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    font-weight: 500;
}

.logo-item:hover .logo-name {
    color: #2196F3;
    font-weight: 600;
}

/* 加入我们 */
.join-us {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 
.join-us:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 25s linear infinite;
    z-index: 1;
    pointer-events: none;
} */

.join-us h2 {
    margin-bottom: 30px;
    font-size: 40px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: #6441ff;
}

@media (max-width: 992px) {
    .logo-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .company-intro {
        padding: 60px 0;
    }

    .company-intro h1 {
        font-size: 26px;
    }

    .intro-content {
        padding: 0 20px;
        font-size: 15px;
    }


    .logo-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .logo-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}