* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #fafafa;
    font-size: 16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航 - 极简风格 */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2c3e50;
}

/* 首页 Hero - 简洁直接 */
.hero {
    padding: 80px 20px;
    text-align: left;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
}

.hero .container {
    max-width: 700px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
    line-height: 1.3;
}

.hero-sub {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-desc {
    font-size: 16px;
    color: #888;
    margin-bottom: 32px;
}

/* 技术栈 - 简单列表 */
.tech-stack {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #555;
}

.tech-icon {
    font-size: 20px;
}

.tech-name {
    font-weight: 500;
    color: #2c3e50;
}

.tech-desc {
    color: #888;
    font-size: 14px;
}

.job-contact {
    margin-top: 32px;
    font-size: 15px;
    color: #666;
}

.job-contact a {
    color: #2c3e50;
    text-decoration: none;
    border-bottom: 1px dashed #2c3e50;
}

/* 内容区 - 简约卡片 */
.content-section {
    padding: 60px 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.article-card {
    background: #fff;
    padding: 32px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: #2c3e50;
}

.article-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
}

.article-title a:hover {
    text-decoration: underline;
}

.article-summary {
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 3px;
}

/* 文章详情 */
.article-detail {
    max-width: 700px;
    background: #fff;
    padding: 40px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
}

.article-detail h1 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.article-content {
    color: #2c3e50;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.article-content h3 {
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #2c3e50;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

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

.article-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
}

.article-content pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content blockquote {
    border-left: 3px solid #2c3e50;
    padding-left: 16px;
    color: #666;
    margin-bottom: 16px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.article-content th,
.article-content td {
    border: 1px solid #eaeaea;
    padding: 10px;
    text-align: left;
}

.article-content th {
    background: #f5f5f5;
    font-weight: 600;
}

.article-content a {
    color: #2c3e50;
    text-decoration: underline;
}

/* 关于页面 */
.about-section {
    background: #fff;
    padding: 40px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    margin-bottom: 32px;
}

.about-section h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.about-section p {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.7;
}

.contact-list {
    list-style: none;
    margin-top: 16px;
}

.contact-list li {
    margin-bottom: 12px;
    color: #666;
}

.contact-list a {
    color: #2c3e50;
    text-decoration: none;
}

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

/* 筛选按钮 */
.filter-bar {
    margin-bottom: 32px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.filter-btn.active {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}

/* 加载状态 */
.loading-text {
    text-align: center;
    color: #999;
    padding: 40px;
}

/* 返回按钮 */
.back-btn {
    display: inline-block;
    margin-bottom: 24px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.back-btn:hover {
    color: #2c3e50;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #eaeaea;
    padding: 32px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.footer-links {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 12px;
}

.footer-links a:hover {
    color: #2c3e50;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .article-detail,
    .about-section {
        padding: 24px;
    }
}
