/* 统一样式文件 - 修复版，不依赖外部字体 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 100vh;
}

/* 页眉样式 */
.publication-header {
    border-bottom: 3px solid #3498db;
    padding-bottom: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.journal-title {
    font-size: 1.2em;
    color: #7f8c8d;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 300;
}

.article-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 2.8em;
    line-height: 1.3;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 25px;
}

/* 元信息样式 */
.article-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95em;
    color: #495057;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    font-weight: 600;
    color: #3498db;
}

/* 摘要和关键词样式 */
.abstract-section {
    margin-bottom: 60px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.section-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.8em;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

.section-title::before {
    counter-increment: section-counter;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    position: absolute;
    left: -15px;
    top: 0;
    width: 35px;
    height: 35px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: 700;
}

.abstract-content, .keywords-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #34495e;
    text-align: justify;
}

.keywords-content {
    font-weight: 500;
    color: #2980b9;
}

/* 导航样式 */
.navigation {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.nav-item {
    display: block;
    padding: 15px 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #1f5f99 100%);
}

/* 章节内容样式 */
.content-section {
    margin-bottom: 80px;
    counter-reset: subsection-counter;
}

.problem-card {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #3498db;
}

.problem-header {
    margin-bottom: 20px;
}

.problem-number {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 10px;
}

.problem-title {
    font-size: 1.5em;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.problem-description {
    font-size: 1.1em;
    color: #5a6c7d;
    line-height: 1.7;
}

.problem-details {
    margin-top: 25px;
}

.detail-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-title {
    font-size: 1.2em;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-content {
    color: #5a6c7d;
    line-height: 1.7;
}

.detail-content ul {
    padding-left: 20px;
    margin-top: 10px;
}

.detail-content li {
    margin-bottom: 8px;
}

/* 贡献部分样式 */
.contribution-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    margin-bottom: 40px;
}

.contribution-title {
    font-size: 1.6em;
    color: #155724;
    font-weight: 600;
    margin-bottom: 20px;
}

.contribution-content {
    font-size: 1.1em;
    color: #155724;
    line-height: 1.8;
}

/* 议程部分样式 */
.agenda-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin-bottom: 40px;
}

.agenda-title {
    font-size: 1.6em;
    color: #856404;
    font-weight: 600;
    margin-bottom: 20px;
}

.agenda-content {
    font-size: 1.1em;
    color: #856404;
    line-height: 1.8;
}

/* 结论部分样式 */
.conclusion-section {
    background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 100%);
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #6c757d;
    margin-bottom: 40px;
}

.conclusion-title {
    font-size: 1.6em;
    color: #383d41;
    font-weight: 600;
    margin-bottom: 20px;
}

.conclusion-content {
    font-size: 1.1em;
    color: #383d41;
    line-height: 1.8;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    background: #2c3e50;
    color: white;
    border-radius: 8px;
}

.footer p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-links a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2980b9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
    
    .article-title {
        font-size: 2.2em;
    }
    
    .article-meta {
        grid-template-columns: 1fr;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    
    .article-title {
        font-size: 1.8em;
    }
    
    .section-title {
        font-size: 1.5em;
    }
}