/* ============================================
   info.86986006.com — 干净利索，爬虫友好
   HTML 结构不动，纯视觉升级
   ============================================ */

:root {
  --bg: #fafbff;
  --fg: #111827;
  --fg2: #4b5563;
  --muted: #9ca3af;
  --brand: #0f172a;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --border: #e5e7eb;
  --shadow: 0 1px 2px rgba(0,0,0,.03);
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 780px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
header {
  background: var(--brand);
  color: #fff;
  padding: 36px 0 20px;
}

header h1 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }

header h1 a { color: #fff; text-decoration: none; }

.subtitle { color: #94a3b8; font-size: .85rem; margin-top: 2px; }

/* ── Nav ── */
nav {
  background: var(--brand);
  padding-bottom: 16px;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  margin-right: 28px;
  font-size: .9rem;
  transition: color .15s;
}

nav a:hover { color: #fff; text-decoration: none; }

/* ── Main ── */
main { padding: 44px 0 64px; }

/* ── Hero ── */
.hero { text-align: center; margin-bottom: 48px; }

.hero h2 { font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }

.hero > p { color: var(--fg2); max-width: 540px; margin: 0 auto 36px; font-size: .93rem; line-height: 1.8; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-card h3 { font-size: .92rem; font-weight: 600; margin-bottom: 6px; }

.feature-card p { color: var(--fg2); font-size: .8rem; line-height: 1.6; }

/* ── Section heading ── */
main > section > h2, .latest h2, .faq-preview h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  letter-spacing: -.01em;
}

/* ── Card ── */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  transition: box-shadow .15s;
}

.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.card time { color: var(--muted); font-size: .78rem; font-weight: 500; }

.card h3 { font-size: .98rem; font-weight: 600; margin: 4px 0 8px; letter-spacing: -.01em; line-height: 1.5; }

.card h3 a { color: var(--fg); }

.card h3 a:hover { color: var(--accent); text-decoration: none; }

.card p { color: var(--fg2); font-size: .88rem; line-height: 1.65; }

.card .meta { margin-top: 12px; display: flex; align-items: center; gap: 10px; }

.tag {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: .75rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 10px;
}

.md-link { color: var(--muted); font-size: .82rem; }
.md-link:hover { color: var(--accent); text-decoration: none; }

/* ── FAQ ── */
details {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}

details summary {
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  outline: none;
}

details p { margin-top: 8px; color: var(--fg2); font-size: .9rem; line-height: 1.7; }

/* ── Article detail ── */
.content { max-width: 720px; margin: 0 auto; }

.article-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }

.article-header h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }

.article-meta {
  color: var(--fg2);
  font-size: .84rem;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.article-body {
  font-size: .97rem;
  line-height: 1.9;
  color: var(--fg);
}

.article-body h2 { font-size: 1.2rem; font-weight: 700; margin: 36px 0 14px; }
.article-body h3 { font-size: 1.05rem; font-weight: 600; margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin-bottom: 18px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { font-weight: 600; }

.article-body blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #1e40af;
  font-size: .93rem;
}

.article-body code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .88em;
  color: #7c3aed;
}

.article-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 18px 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: .85rem;
  line-height: 1.6;
}

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

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.article-body th { background: #f8fafc; font-weight: 600; }

/* ── AI Summary ── */
.ai-summary {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
}

.ai-summary h3 { font-size: .95rem; font-weight: 700; color: #1e40af; margin-bottom: 8px; }

.summary-content { color: #1e40af; font-size: .9rem; line-height: 1.7; }

/* ── Article footer ── */
.article-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--fg2);
  font-size: .85rem;
  text-align: center;
}

.article-footer p { margin-bottom: 4px; }

/* ── Company page ── */
.company-header { text-align: center; }

.company-logo {
  max-width: 120px;
  max-height: 80px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.company-tagline { color: var(--fg2); margin-top: 8px; }

.info-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  font-size: .93rem;
}

.info-grid dt { color: var(--muted); font-weight: 500; }

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

main section { margin-bottom: 36px; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--accent); text-decoration: none; }

.crawler-info { margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 600px) {
  header { padding: 28px 0 16px; }
  header h1 { font-size: 1.2rem; }
  .hero h2 { font-size: 1.2rem; }
  .features { grid-template-columns: 1fr; }
  .hero { margin-bottom: 32px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid dt { margin-top: 8px; }
  nav a { margin-right: 16px; }
}