/* ===== 暖风AI指南 - 基础样式 ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, PingFang SC, Noto Sans SC, Microsoft YaHei, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ===== 头部 ===== */
header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1d4ed8 100%);
  color: white;
  padding: 0 20px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
header .inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
header .logo {
  font-size: 22px; font-weight: 700; letter-spacing: 1px;
  text-decoration: none; color: white;
}
header .logo span { color: #fbbf24; }
header nav a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  margin-left: 24px; font-size: 15px; transition: 0.2s;
}
header nav a:hover { color: #fbbf24; }

/* ===== 英雄区 ===== */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: white; text-align: center;
  padding: 80px 20px 60px;
}
.hero h1 { font-size: 36px; margin-bottom: 16px; }
.hero h1 span { color: #fbbf24; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }
.hero .tagline { font-size: 14px; opacity: 0.7; }

/* ===== 内容区 ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

.section-title {
  font-size: 24px; margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

/* ===== 文章卡片 ===== */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card {
  background: var(--card-bg); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: all 0.3s ease; cursor: pointer;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.card-body { padding: 24px; }
.card-category {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.card h2 { font-size: 20px; margin-bottom: 12px; line-height: 1.4; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a:hover { color: var(--primary); }
.card p { color: var(--text-light); font-size: 15px; margin-bottom: 16px; }
.card-meta { font-size: 13px; color: #94a3b8; }

/* ===== 文章详情页 ===== */
.article-page { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-page .title { font-size: 32px; margin-bottom: 12px; }
.article-page .meta { color: var(--text-light); font-size: 14px; margin-bottom: 32px; }
.article-page .content { font-size: 16px; line-height: 1.9; }
.article-page .content h2 { font-size: 24px; margin: 36px 0 16px; }
.article-page .content h3 { font-size: 20px; margin: 28px 0 12px; }
.article-page .content p { margin-bottom: 16px; }
.article-page .content ul, .article-page .content ol { margin: 12px 0 16px 24px; }
.article-page .content li { margin-bottom: 8px; }
.article-page .content blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px; margin: 20px 0;
  background: #f1f5f9; border-radius: 0 8px 8px 0;
  color: var(--text-light);
}
.article-page .back { 
  display: inline-block; margin-bottom: 24px;
  color: var(--primary); text-decoration: none; font-size: 15px;
}
.article-page .back:hover { text-decoration: underline; }

/* ===== 页脚 ===== */
footer {
  background: #1e293b; color: #94a3b8; text-align: center;
  padding: 32px 20px; font-size: 14px;
}
footer a { color: #60a5fa; text-decoration: none; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  header .inner { flex-direction: column; height: auto; padding: 12px 0; }
  header nav a { margin: 0 12px; }
  .hero h1 { font-size: 28px; }
  .hero { padding: 50px 20px 40px; }
  .articles { grid-template-columns: 1fr; }
  .article-page .title { font-size: 24px; }
}
CSSEOF
