:root {
  --blue: #366bb3;
  --blue-dark: #0047a6;
  --brand: #4d6faf;
  --line: #587ab9;
  --hero: #2b333a;
  --bg: #f7f7f7;
  --card: #ffffff;
  --text: #243040;
  --muted: #6b7785;
  --hot: #df0000;
  --accent: #12c0ff;
  --border: #dae2ec;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--brand); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; }

.container {
  width: auto;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-nav {
  background: #fff;
  border-bottom: 5px solid var(--line);
  box-shadow: 0 1px 3px rgba(20, 35, 60, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-size: 20px;
  margin-right: auto;
}

.brand strong { font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: #334155;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  background: #eef3fb;
}

.nav-toggle,
.btn-green {
  border: 0;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: #e8eef6;
  color: #243040;
  padding: 8px 12px;
}

.btn-green {
  background: #198754;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
}

.btn-green:hover { background: #146c43; color: #fff; }

.hero {
  background: var(--hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  padding: 54px 260px 12px 0;
  min-height: 280px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.35;
  text-shadow: #000 2px 0 0, #000 0 2px 0, #000 -2px 0 0, #000 0 -2px 0;
}

.hero h1 span { color: var(--accent); }

.badge {
  display: inline-block;
  margin-left: 8px;
  background: var(--hot);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  padding: 3px 8px;
  vertical-align: middle;
  font-style: normal;
  text-shadow: none;
}

.lead {
  margin: 8px 0;
  font-size: 18px;
  text-shadow: #000 1px 0 0, #000 0 1px 0, #000 -1px 0 0, #000 0 -1px 0;
}

.hero-illu {
  position: absolute;
  right: 0;
  top: 36px;
  width: 230px;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-illu p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.hero-illu strong { display: block; color: var(--text); font-size: 14px; }
.bubble {
  background: #eef6ff;
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
  font-size: 13px;
}

.dl-label { color: #8492a2; padding-bottom: 4px; }

.dl-row {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 28px;
  position: relative;
  z-index: 2;
}

.btn-dl {
  width: 150px;
  height: 50px;
  margin: 8px 12px 8px 0;
  background: var(--blue);
  border: 1px solid #3f60a1;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.btn-dl:hover { background: var(--blue-dark); color: #fff; }

.btn-dl i {
  width: 50px;
  text-align: center;
  font-style: normal;
  font-size: 20px;
}

.chevron-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 18px;
}

.chevron {
  width: 16px;
  height: 16px;
  border-right: 3px solid #8492a2;
  border-bottom: 3px solid #8492a2;
  transform: rotate(45deg);
  animation: bob 1.3s infinite;
}

.chevron:nth-child(2) { animation-delay: 0.15s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.45; }
  50% { transform: translateY(6px) rotate(45deg); opacity: 1; }
}

.panel { padding: 36px 0; }

.cols-3, .card-grid, .foot-grid {
  display: grid;
  gap: 22px;
}

.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }

.col, .post-card, .soft-card, .daily-box, .prose, .table-wrap {
  background: var(--card);
  border: 1px solid #e6ebf2;
  border-radius: 12px;
}

.col, .post-card, .soft-card { padding: 22px 18px; text-align: center; }
.col h2, .post-card h2, .block-title { color: #131313; }
.col p, .post-card p { color: #526173; font-size: 14px; }

.mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: #e7f0fb;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.center-title, .page-title { text-align: center; color: #131313; }

.preview {
  background: #fff;
  border-top: 1px solid var(--blue);
  border-radius: 10px;
  overflow: hidden;
}

.preview-bar {
  background: #2b333a;
  color: #d5dde8;
  padding: 8px 14px;
  font-size: 13px;
}

.preview-body { display: grid; grid-template-columns: 180px 1fr; min-height: 220px; }
.preview-side { background: #f3f6fb; padding: 12px; border-right: 1px solid var(--border); }
.preview-side span, .reply {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 13px;
}
.preview-main { padding: 16px; }
.reply b { color: var(--blue); font-weight: 700; }
.tag {
  display: inline-block;
  min-width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.tag.green { background: #22a06b; }
.tag.orange { background: #e0892f; }
.tag.red { background: #d64545; }

.feature-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.g-card {
  width: 150px;
  height: 150px;
  margin: 5px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  gap: 8px;
}

.g-card:hover { border-color: #adbed4; }

.g-card .mark { width: 46px; height: 46px; margin: 0; }

.prose, .daily-box { padding: 22px 24px; }
.prose h2, .daily-box h2, .article-body h2 { font-size: 22px; margin: 1.4em 0 0.4em; }
.prose p, .article-body p { margin: 0.7em 0; }

.post-card { text-align: left; display: flex; flex-direction: column; }
.post-card h2 { font-size: 18px; margin: 8px 0; }
.post-card a.more { margin-top: auto; font-weight: 700; text-decoration: none; }

.page-head { padding: 28px 0 8px; }
.page-head h1 { margin-bottom: 6px; font-size: 32px; }
.crumb, .meta { color: var(--muted); font-size: 14px; }
.crumb a { color: var(--muted); }

.warn {
  background: #fdecec;
  color: #8d2430;
  border-radius: 8px;
  padding: 12px 14px;
}

.soft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.soft-card h2 { font-size: 20px; margin: 8px 0; }
.soft-card p { font-size: 14px; color: #526173; min-height: 72px; }

.req {
  margin-top: 18px;
  background: var(--line);
  color: #fff;
  border-radius: 8px;
  padding: 22px;
  text-align: center;
}
.req p { margin: 8px 0; }

.table-wrap { padding: 8px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border-bottom: 1px solid #edf1f6; padding: 10px 12px; text-align: left; }
thead th { background: #515456; color: #f3f4f6; }
tbody th { font-weight: 600; }
.yes { color: #1f9d4d; font-weight: 700; }
.no { color: #c44747; font-weight: 700; }

.faq details {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.article-body { background: #fff; border: 1px solid #e6ebf2; border-radius: 12px; padding: 8px 26px 26px; }
.daily-box { margin-top: 18px; background: #f8fbff; }
.related { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 0 20px; }
.related a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 28px 0 40px;
  margin-top: 20px;
  color: var(--muted);
}
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.foot-title { margin: 0 0 8px; color: #243040; font-weight: 700; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; margin: 4px 0; }
.site-footer a:hover { color: var(--brand); }
.copy { margin: 8px 0 0; }
.legal { font-size: 13px; }

@media (max-width: 900px) {
  .cols-3, .card-grid, .soft-grid, .foot-grid, .preview-body { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; line-height: 1.45; }
  .hero-inner { display: flex; flex-direction: column; padding-right: 0; }
  .hero-inner h1,
  .hero-inner .lead { min-width: 0; max-width: 100%; }
  .badge { display: table; margin: 10px 0 0; }
  .hero-illu { position: static; order: 2; width: min(100%, 280px); margin-top: 16px; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 73px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 14px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .btn-green { display: none; }
}

@media (max-width: 520px) {
  .btn-dl { width: calc(50% - 10px); margin-right: 8px; font-size: 16px; }
}
