/* 关于我们页面专用样式 */

/* 基础布局 - 确保页脚固定在底部 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 主内容区域 - 占据剩余空间 */
main {
    flex: 1;
}

/* 加载占位符样式 */
.loading-placeholder {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* 错误状态样式 */
.loading-placeholder.error {
    color: #ff4444;
}

/* 页头占位符 - 确保固定页头不会遮挡内容 */
#pc-header-placeholder,
#mobile-header-placeholder {
    height: 70px;
    margin: 0;
    padding: 0;
    display: block;
}

/* 英雄区域样式 */
.about-hero {
    background: linear-gradient(135deg, #2c6bed 0%, #1a56d6 100%);
    color: white;
    padding: 130px 0 80px; /* 恢复原来的内边距，因为占位符已经补偿了页头空间 */
    text-align: center;
    margin-top: 0;
}

.about-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 按钮样式 - 使用主站一致的样式 */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-size: 17px;
    text-align: center;
}

.btn-primary {
    background: #2c6bed;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #1a56d6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 107, 237, 0.4);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* 内容区域基础样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #2c6bed;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* 我们是谁区域 */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    padding: 30px 0;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 1200px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 15px;
    color: #6c757d;
    line-height: 1.8;
    font-size: 1.05rem;
}

.challenges {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8f9fa;
    padding: 15px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.challenge-item div {
    max-width: calc(100% - 36px); /* 确保文本不会超出图片左边距 */
}

.challenge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.challenge-item i {
    color: white;
    background-color: #2c6bed;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.challenge-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.challenge-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
    margin-top: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 价值主张区域 */
.values {
    background-color: white;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2c6bed;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 已经在上面定义了悬停效果 */

.value-icon {
    font-size: 2.8rem;
    color: #2c6bed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 107, 237, 0.1), rgba(44, 107, 237, 0.05));
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.value-icon i {
    font-size: 24px;
    color: #2c6bed;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
}

.value-card:hover h3 {
    color: #2c6bed;
}

.value-card p {
    color: #6c757d;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 数据展示区域 */
.stats {
    background: linear-gradient(135deg, #2c6bed 0%, #1a56d6 100%);
    color: white;
    text-align: center;
}

.stats .section-title h2 {
    color: white;
}

.stats .section-title h2:after {
    background: white;
}

.stats .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.stat-item p {
    opacity: 0.9;
    margin: 0;
}

/* 团队介绍区域 */
.team {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.team-content {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #e9ecef;
}

.member-photo i {
    font-size: 50px;
    color: #2c6bed;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.team-member p {
    color: #6c757d;
    margin-bottom: 10px;
}

.team-description {
    text-align: center;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #6c757d;
    line-height: 1.8;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, #2c6bed 0%, #1a56d6 100%);
    color: white;
    text-align: center;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
    color: white;
}

.cta p {
    margin-bottom: 35px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cta .hotline {
    margin-top: 40px;
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
}

.cta .btn-primary {
    background: white;
    color: #2c6bed;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .jx-container {
        padding: 0 30px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-text,
    .about-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .jx-container {
        padding: 0 20px;
    }
    
    .about-hero h2 {
        font-size: 2.2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-image {
        height: 300px;
        margin-top: 0;
    }
    
    /* 移动端价值主张卡片改为单列显示 */
    .value-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    .cta .btn-primary {
        padding: 15px 35px;
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .value-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 90px 0 60px; /* 增加上边距30px */
    }
    
    .about-hero h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .challenges {
        grid-template-columns: 1fr;
    }
    
    .value-cards,
    .team-grid,
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .cta {
        padding: 40px 20px;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 90px 0 60px; /* 增加上边距30px */
    }
    
    .about-hero h2 {
        font-size: 1.8rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 1.6rem;
    }
}