/* 合作伙伴页面专属样式 */
.partners-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #165DFF 0%, #0E46D9 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.partners-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.partners-hero p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 合作伙伴介绍 - 优化版样式 */
.partners-intro {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.partners-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(22, 93, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.partners-intro::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 93, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.partners-intro-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 介绍头部 */
.intro-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.intro-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(22, 93, 255, 0.1);
    color: #165DFF;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.intro-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 介绍网格 */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

/* 介绍文本 */
.intro-text {
    animation: fadeInLeft 0.8s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

/* 介绍统计 */
.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    animation: fadeInRight 0.8s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.intro-stats .stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 224, 224, 0.6);
}

.intro-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #165DFF;
}

.intro-stats .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #165DFF;
    margin-bottom: 10px;
    line-height: 1;
}

.intro-stats .stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 介绍特性 */
.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.intro-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 224, 224, 0.6);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.intro-features .feature-item:nth-child(1) {
    animation-delay: 0.6s;
}

.intro-features .feature-item:nth-child(2) {
    animation-delay: 0.8s;
}

.intro-features .feature-item:nth-child(3) {
    animation-delay: 1s;
}

.intro-features .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #165DFF;
}

/* 去掉feature-icon的图标，只保留容器样式 */
.intro-features .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #165DFF 0%, #0E46D9 100%);
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 93, 255, 0.3);
}

.intro-features .feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.intro-features .feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.intro-features .feature-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 合作伙伴分类 */
.partners-categories {
    padding: 80px 0;
    background: white;
}

.partners-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-section {
    margin-bottom: 80px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-header h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.category-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #165DFF;
    border-radius: 2px;
}

.category-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 合作伙伴网格 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 合作伙伴卡片 */
.partner-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 224, 224, 0.6);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #165DFF;
}

/* 合作伙伴logo */
.partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    background: #e8f0fe;
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 合作伙伴信息 */
.partner-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.partner-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 合作伙伴链接 */
.partner-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.partner-link {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #165DFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.partner-link:hover {
    background: #165DFF;
    color: white;
    transform: translateY(-3px);
}

/* 合作申请 */
.partner-application {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
    text-align: center;
}

.application-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.application-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.application-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.btn-apply {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: #165DFF;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 93, 255, 0.3);
}

.btn-apply:hover {
    background: #0E46D9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 93, 255, 0.4);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .intro-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {

    /* 英雄区 */
    .partners-hero {
        padding: 100px 0 60px;
    }

    .partners-hero h1 {
        font-size: 36px;
    }

    .partners-hero p {
        font-size: 16px;
    }

    /* 合作伙伴介绍 */
    .partners-intro {
        padding: 80px 0;
    }

    .intro-header {
        margin-bottom: 40px;
    }

    .intro-header h2 {
        font-size: 28px;
    }

    .intro-grid {
        margin-bottom: 60px;
    }

    .intro-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-stats .stat-number {
        font-size: 36px;
    }

    .intro-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-features .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .intro-features .feature-icon {
        margin: 0 auto 20px;
    }

    /* 合作伙伴分类 */
    .partners-categories,
    .partner-application {
        padding: 60px 0;
    }

    .category-section {
        margin-bottom: 60px;
    }

    .category-header h3,
    .application-content h2 {
        font-size: 28px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 联系我们 */
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    /* 英雄区 */
    .partners-hero h1 {
        font-size: 28px;
    }

    /* 合作伙伴介绍 */
    .partners-intro {
        padding: 60px 0;
    }

    .intro-header h2 {
        font-size: 24px;
    }

    .intro-text p {
        font-size: 15px;
    }

    .intro-stats .stat-item {
        padding: 20px;
    }

    .intro-stats .stat-number {
        font-size: 32px;
    }

    .intro-features .feature-item {
        padding: 20px;
    }

    /* 合作伙伴卡片 */
    .partner-card {
        padding: 20px;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
    }

    .partner-logo img {
        max-width: 60px;
        max-height: 60px;
    }

    /* 合作伙伴分类 */
    .category-header h3,
    .application-content h2 {
        font-size: 24px;
    }
}