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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f0f4f8;
    color: #1e293b;
    line-height: 1.6;
}

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

/* 头部导航 */
.header {
    background: #0f172a;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
}
.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
}
.logo span { color: #3b82f6; }
.nav-menu { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.nav-menu a { color: #cbd5e1; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: #3b82f6; }
.btn-download { background: #3b82f6; padding: 0.5rem 1.2rem; border-radius: 40px; color: white !important; }
.btn-download:hover { background: #2563eb; color: white !important; }

/* 新闻详情卡片 */
.news-detail {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.news-detail h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0f172a;
    line-height: 1.3;
}
.news-detail .meta {
    color: #64748b;
    font-size: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}
.news-detail .content {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
}
.news-detail .content p {
    margin-bottom: 1rem;
}
.news-detail .content h2 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    color: #0f172a;
}
.news-detail .content h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: #1e293b;
}
.news-detail .content ul, .news-detail .content ol {
    margin: 0.5rem 0 1rem 1.8rem;
}
.news-detail .content li {
    margin-bottom: 0.3rem;
}
.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}
.back-link:hover { text-decoration: underline; }

/* 新闻列表页样式 */
.section { padding: 40px 0; }
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #0f172a;
}
.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #3b82f6;
    margin: 0.8rem auto 0;
    border-radius: 2px;
}
.news-list { display: flex; flex-direction: column; gap: 1rem; }
.news-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: block;
}
.news-item:hover {
    border-color: #3b82f6;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.news-item h3 { margin-bottom: 0.5rem; color: #0f172a; font-size: 1.1rem; }
.news-meta { color: #64748b; font-size: 0.85rem; }

/* 首页卡片 */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; color: #0f172a; }
.card p { color: #475569; font-size: 0.9rem; }

/* 官方入口区域 */
.entry-area {
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
}
.badge {
    background: #0f172a;
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.btn-primary {
    background: #3b82f6;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s;
}
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); }
.btn-outline {
    border: 1px solid #3b82f6;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    background: transparent;
}

/* 页脚 */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #1e293b;
}
.footer h4 { color: white; margin-bottom: 0.8rem; font-size: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.4rem; }
.footer a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.footer a:hover { color: white; }
.copyright { text-align: center; padding-top: 1.5rem; font-size: 0.8rem; }

/* 关于我们页面 */
.about-section {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
}
.about-section h2 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    color: #0f172a;
}
.about-section ul, .about-section p {
    color: #334155;
    margin-left: 1.2rem;
}
.about-section li {
    margin-bottom: 0.3rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .header .container { flex-direction: column; text-align: center; }
    .nav-menu { justify-content: center; gap: 1rem; }
    .news-detail h1 { font-size: 1.4rem; }
    .news-detail { padding: 1.2rem; }
    .section-title { font-size: 1.5rem; }
    .container { padding: 0 16px; }
}