/* Clash Pulse — 晨光纸质感编辑风（珊瑚 × 墨蓝） */
:root {
  --coral: #e85d4c;
  --coral-soft: #fdf0ee;
  --navy: #1e3a5f;
  --navy-light: #2d5a8e;
  --cream: #faf7f2;
  --paper: #fffef9;
  --ink: #2c2420;
  --ink-soft: #5c534c;
  --ink-muted: #8a8279;
  --shadow: 0 8px 32px rgba(30, 58, 95, 0.08);
  --radius: 20px;
  --font-serif: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
  min-height: 100vh;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; }
a { color: var(--navy-light); text-decoration: none; transition: 0.25s; }
a:hover { color: var(--coral); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(30, 58, 95, 0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; max-width: 1120px; margin: 0 auto; flex-wrap: wrap; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.logo img { width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--shadow); }
.nav-links { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink-soft); padding: 8px 16px; font-size: 0.9rem; font-weight: 500;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a.active { color: var(--coral); background: var(--coral-soft); }

.hero {
  padding: 72px 0 60px;
  background: linear-gradient(160deg, var(--coral-soft) 0%, var(--cream) 50%, #eef4fa 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-text h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.18; margin-bottom: 20px; color: var(--navy);
}
.hero-text .lead { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge {
  padding: 6px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: var(--paper); color: var(--coral); box-shadow: var(--shadow);
}
.badge-navy { color: var(--navy); background: #e8eef5; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-weight: 600; font-size: 0.92rem;
  border-radius: 999px; cursor: pointer; transition: 0.25s; border: none;
}
.btn-primary { background: var(--coral); color: white; box-shadow: 0 4px 16px rgba(232, 93, 76, 0.35); }
.btn-primary:hover { background: #d44e3e; color: white; transform: translateY(-2px); }
.btn-download {
  padding: 16px 36px; font-size: 1.08rem; font-weight: 700;
  background: linear-gradient(135deg, #e85d4c 0%, #c94a3a 100%);
  color: white;
  box-shadow: 0 8px 28px rgba(232, 93, 76, 0.5);
}
.btn-download:hover {
  background: linear-gradient(135deg, #f06b5a 0%, #d44e3e 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(232, 93, 76, 0.55);
}
.btn-outline { background: var(--paper); color: var(--navy); box-shadow: var(--shadow); }
.btn-outline:hover { box-shadow: 0 8px 24px rgba(30, 58, 95, 0.12); }
.hero-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow), 0 20px 60px rgba(30, 58, 95, 0.15); }
.hero-image img { width: 100%; }

.section { padding: 68px 0; }
.section-alt { background: var(--paper); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 1.9rem; color: var(--navy); margin-bottom: 14px; }
.section-header p { color: var(--ink-soft); max-width: 600px; margin: 0 auto; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  text-align: center; padding: 32px 20px; background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat-number { font-family: var(--font-serif); font-size: 2.2rem; color: var(--coral); font-weight: 700; }
.stat-label { font-size: 0.82rem; color: var(--ink-muted); margin-top: 6px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  padding: 32px; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(30, 58, 95, 0.12); }
.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--navy); }
.feature-card p { font-size: 0.92rem; color: var(--ink-soft); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: 0.3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card img { width: 100%; height: 185px; object-fit: cover; border-radius: 0; }
.news-card-body { padding: 24px; }
.news-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--coral); margin-bottom: 10px; }
.news-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.45; color: var(--navy); }
.news-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 14px; }
.news-meta { font-size: 0.8rem; color: var(--ink-muted); }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.category-block {
  display: flex; gap: 20px; padding: 28px; background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow); align-items: flex-start;
}
.category-block img { width: 140px; height: 105px; object-fit: cover; flex-shrink: 0; }

.timeline { max-width: 720px; margin: 0 auto; }
.timeline-item {
  padding: 24px 28px; margin-bottom: 20px; background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--coral);
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.timeline-item p { font-size: 0.9rem; color: var(--ink-soft); }

.compare-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; font-size: 0.9rem; }
.compare-table th { background: var(--navy); color: white; }
.compare-table td { color: var(--ink-soft); border-bottom: 1px solid #eee; }

.faq-list { display: flex; flex-direction: column; gap: 18px; max-width: 800px; margin: 0 auto; }
.faq-item { padding: 26px 30px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy); }
.faq-item p { font-size: 0.92rem; color: var(--ink-soft); }

.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.platform-card {
  padding: 32px; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; gap: 22px;
}
.platform-icon { font-size: 2.8rem; }

.article-hero { padding: 48px 0 28px; text-align: center; }
.article-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: var(--navy); margin-bottom: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.article-meta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; color: var(--ink-muted); font-size: 0.88rem; margin-bottom: 28px; }
.article-cover { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 900px; margin-left: auto; margin-right: auto; }
.article-cover img { width: 100%; max-height: 440px; object-fit: cover; }
.article-content { max-width: 740px; margin: 0 auto; }
.article-content h2 { font-size: 1.5rem; margin: 40px 0 16px; color: var(--navy); }
.article-content h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--coral); }
.article-content p { margin-bottom: 18px; color: var(--ink-soft); }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; color: var(--ink-soft); }
.article-content code { background: var(--coral-soft); padding: 2px 8px; border-radius: 6px; font-size: 0.88em; color: var(--coral); }
.article-content pre { background: var(--navy); color: #e8eef5; border-radius: 12px; padding: 22px; overflow-x: auto; margin: 20px 0; font-size: 0.85rem; }
.article-content blockquote { border-left: 4px solid var(--coral); padding: 16px 24px; margin: 24px 0; background: var(--coral-soft); color: var(--ink-soft); font-style: italic; border-radius: 0 12px 12px 0; }

.breadcrumb { padding: 16px 0; font-size: 0.86rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-soft); }

.site-footer { padding: 60px 0 36px; background: var(--navy); color: #b8c9de; margin-top: 48px; }
.site-footer a { color: #b8c9de; }
.site-footer a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: white; }
.footer-brand p { font-size: 0.9rem; margin-top: 14px; opacity: 0.85; }
.footer-col h4 { font-size: 0.92rem; margin-bottom: 16px; color: white; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; opacity: 0.75; }

@media (max-width: 900px) {
  .hero-inner, .feature-grid, .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid, .category-grid, .footer-grid { grid-template-columns: 1fr; }
  .category-block { flex-direction: column; }
  .category-block img { width: 100%; height: 160px; }
}
