/* 关于我们页面专用样式 - 支持深色/浅色模式自适应 */

/* 页面容器 */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面头部 */
.about-header {
    text-align: center;
    padding: 40px 0 60px;
    margin-bottom: 40px;
}

.about-header .art-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--tb--content, #333);
    margin: 0 0 20px;
}

/* 英雄区域 */
.about-hero {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 50px 40px;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid var(--tb--border, #e8ecf0);
    transition: all 0.3s ease;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--tb--content, #333);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--tb--gray, #666);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    border: 1px solid var(--tb--border, #e8ecf0);
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--tb--main, #007cba);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--tb--gray, #666);
    font-weight: 500;
}

/* 关于我们区域 */
.about-sections {
    margin-bottom: 50px;
}

.about-section {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--tb--border, #e8ecf0);
    transition: all 0.3s ease;
}

.section-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--tb--main, #007cba);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon i {
    font-size: 1.5rem;
    color: white;
}

/* 图标字体备用方案 */
.section-icon i:before {
    content: attr(data-icon);
}

/* 如果图标字体不加载，使用Unicode字符 */
.mission-section .section-icon i:before {
    content: "🚀";
}

.values-section .section-icon i:before {
    content: "❤";
}

.team-section .section-icon i:before {
    content: "👥";
}

.contact-section .section-icon i:before {
    content: "✉";
}

.section-content {
    flex: 1;
}

.section-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tb--content, #333);
    margin-bottom: 15px;
}

.section-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--tb--gray, #666);
    margin-bottom: 15px;
}

/* 价值观网格 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid var(--tb--border, #e8ecf0);
    transition: all 0.3s ease;
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tb--main, #007cba);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--tb--gray, #666);
    margin: 0;
}

/* 团队亮点 */
.team-highlights {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: flex-start;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid var(--tb--border, #e8ecf0);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.highlight-item i {
    font-size: 0.9rem;
    color: var(--tb--main, #007cba);
    width: 14px;
    text-align: center;
}

.highlight-item span {
    font-weight: 500;
    color: var(--tb--content, #333);
    font-size: 0.85rem;
}

/* 联系方式 */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--tb--border, #e8ecf0);
    transition: all 0.3s ease;
}

.contact-method i {
    font-size: 1.2rem;
    color: var(--tb--main, #007cba);
    margin-top: 3px;
}

.contact-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tb--content, #333);
    margin-bottom: 6px;
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--tb--gray, #666);
    margin: 0;
}

.contact-info a {
    color: var(--tb--main, #007cba);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 额外内容区域 */
.about-additional-content {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--tb--border, #e8ecf0);
    transition: all 0.3s ease;
}

.about-additional-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tb--content, #333);
    margin-bottom: 15px;
}

/* 深色模式适配 */
body.darking .about-hero,
html[data-night="1"] .about-hero {
    background: var(--tb--bdbg, #2a2a2a) !important;
    border-color: var(--tb--border, #404040) !important;
    color: var(--tb--content, #ffffff) !important;
}

body.darking .stat-item,
body.darking .about-section,
body.darking .value-item,
body.darking .contact-method,
body.darking .about-additional-content,
html[data-night="1"] .stat-item,
html[data-night="1"] .about-section,
html[data-night="1"] .value-item,
html[data-night="1"] .contact-method,
html[data-night="1"] .about-additional-content {
    background: var(--tb--bdbg, #2a2a2a) !important;
    border-color: var(--tb--border, #404040) !important;
    color: var(--tb--content, #ffffff) !important;
}

body.darking .highlight-item,
html[data-night="1"] .highlight-item {
    background: var(--tb--bdbg, #2a2a2a) !important;
    border-color: var(--tb--border, #404040) !important;
}

/* 暗黑模式下的文字颜色调整 */
body.darking .about-header .art-title,
body.darking .hero-text h2,
body.darking .section-content h3,
body.darking .value-item h4,
body.darking .contact-info h4,
body.darking .highlight-item span,
body.darking .about-additional-content h3,
html[data-night="1"] .about-header .art-title,
html[data-night="1"] .hero-text h2,
html[data-night="1"] .section-content h3,
html[data-night="1"] .value-item h4,
html[data-night="1"] .contact-info h4,
html[data-night="1"] .highlight-item span,
html[data-night="1"] .about-additional-content h3 {
    color: var(--tb--content, #ffffff) !important;
}

body.darking .hero-subtitle,
body.darking .section-content p,
body.darking .value-item p,
body.darking .contact-info p,
body.darking .stat-label,
body.darking .about-additional-content p,
html[data-night="1"] .hero-subtitle,
html[data-night="1"] .section-content p,
html[data-night="1"] .value-item p,
html[data-night="1"] .contact-info p,
html[data-night="1"] .stat-label,
html[data-night="1"] .about-additional-content p {
    color: var(--tb--gray, #cccccc) !important;
}

body.darking .stat-number,
html[data-night="1"] .stat-number {
    color: var(--tb--main, #007cba) !important;
}

/* 深色模式下的阴影调整 */
body.darking .stat-item,
body.darking .about-section,
body.darking .contact-method,
body.darking .about-additional-content,
html[data-night="1"] .stat-item,
html[data-night="1"] .about-section,
html[data-night="1"] .contact-method,
html[data-night="1"] .about-additional-content {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-page {
        padding: 0 15px;
    }
    
    .about-header {
        padding: 30px 0 40px;
    }
    
    .about-header .art-title {
        font-size: 2rem;
    }
    
    .about-hero {
        padding: 30px 20px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .section-icon i {
        font-size: 1.2rem;
    }
    
    .section-content h3 {
        font-size: 1.3rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .team-highlights {
        justify-content: center;
        gap: 10px;
    }
    
    .highlight-item {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .team-highlights {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .highlight-item {
        flex: 0 0 auto;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* 动画效果 */
.about-section:hover,
.stat-item:hover,
.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.darking .about-section:hover,
body.darking .stat-item:hover,
body.darking .contact-method:hover,
html[data-night="1"] .about-section:hover,
html[data-night="1"] .stat-item:hover,
html[data-night="1"] .contact-method:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* 平滑过渡效果 */
.about-hero,
.about-section,
.stat-item,
.value-item,
.highlight-item,
.contact-method,
.about-additional-content {
    transition: all 0.3s ease;
}

/* 确保在主题切换时平滑过渡 */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}