:root {
  --bg: #080b12;
  --bg-soft: #101622;
  --panel: rgba(255,255,255,0.05);
  --panel-strong: rgba(255,255,255,0.08);
  --line: rgba(255,255,255,0.10);
  --text: #edf2ff;
  --muted: #b6bfd4;
  --accent: #ff3b30;
  --accent-2: #ff7a18;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 59, 48, 0.14), transparent 30%),
    radial-gradient(circle at top left, rgba(255, 122, 24, 0.10), transparent 26%),
    linear-gradient(180deg, #0a0f18 0%, #080b12 100%);
  color: var(--text);
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(8, 11, 18, 0.76);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand img {
  width: 168px;
  max-width: 42vw;
  height: auto;
}
.brand-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #d7dcef;
  font-size: 0.96rem;
}
.main-nav a:hover,
.main-nav a.active { color: #fff; }
.header-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 59, 48, 0.24);
}

.hero {
  padding: 58px 0 36px;
}
.hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-copy { padding: 48px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ffd6d2;
  background: rgba(255, 59, 48, 0.14);
  border: 1px solid rgba(255, 59, 48, 0.22);
  font-size: 0.86rem;
}
.hero h1,
.page-hero h1 {
  margin: 18px 0 14px;
  line-height: 1.15;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}
.hero p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 12px 32px rgba(255, 59, 48, 0.26);
}
.button-secondary {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}
.hero-visual {
  position: relative;
  min-height: 100%;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,11,18,0.08), rgba(8,11,18,0.34));
}

.page-hero {
  padding: 64px 0 26px;
}
.page-hero-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.breadcrumbs {
  color: #c8d0e3;
  font-size: 0.92rem;
}
.breadcrumbs a { color: #fff; }

.section {
  padding: 34px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}
.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 60ch;
}
.card-grid,
.article-grid,
.stat-grid,
.feature-grid {
  display: grid;
  gap: 20px;
}
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.article-card,
.stat-card,
.feature-card,
.content-box,
.notice,
.sidebar-box,
.table-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card,
.feature-card,
.stat-card,
.sidebar-box,
.content-box,
.notice,
.table-wrap { padding: 24px; }
.article-card { overflow: hidden; }
.article-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.article-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body { padding: 22px; }
.tag {
  display: inline-flex;
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.12);
  color: #ffd1cd;
  border: 1px solid rgba(255, 59, 48, 0.18);
}
.meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #bec7db;
  font-size: 0.9rem;
  margin: 14px 0 10px;
}
.article-card h3,
.card h3,
.feature-card h3,
.content-box h2,
.sidebar-box h3 {
  margin: 0 0 12px;
  line-height: 1.3;
}
.card p,
.article-card p,
.feature-card p,
.sidebar-box p,
.content-box p,
.content-box li,
.notice p,
.table-wrap p,
.site-footer p,
.site-footer li {
  color: var(--muted);
}
.card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 59, 48, 0.14);
  border: 1px solid rgba(255, 59, 48, 0.18);
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.stat-card strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.notice-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(255, 59, 48, 0.14);
  border: 1px solid rgba(255, 59, 48, 0.2);
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
}
.content-box + .content-box,
.sidebar-box + .sidebar-box { margin-top: 22px; }
.content-box ul,
.sidebar-box ul { padding-left: 20px; }
.content-box li + li,
.sidebar-box li + li { margin-top: 8px; }
.pull-quote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255,255,255,0.04);
  color: #f2f5ff;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}
.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #dbe1f0;
}
.table-wrap th { color: #fff; font-size: 0.95rem; }
.table-wrap tr:last-child td { border-bottom: none; }

.site-footer {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.footer-wrap {
  padding: 34px 0 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 24px;
}
.footer-wrap h4 {
  margin: 0 0 14px;
}
.footer-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-wrap li + li { margin-top: 8px; }
.footer-bottom {
  padding: 16px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #9ba6bf;
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card, .two-col { grid-template-columns: 1fr; }
  .hero-visual img { min-height: 320px; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .header-wrap {
    min-height: 74px;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.open { display: flex; }
  .header-cta { display: none; }
  .hero { padding-top: 28px; }
  .hero-copy, .page-hero-card { padding: 26px; }
  .feature-grid, .card-grid, .article-grid, .stat-grid, .footer-wrap {
    grid-template-columns: 1fr;
  }
  .notice { grid-template-columns: 1fr; }
}


.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.meta-row,
.article-meta-grid,
.quick-links,
.toc-list,
.check-list,
.faq-list,
.inline-list,
.related-list,
.editorial-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}
.meta-row li,
.article-meta-grid li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dce4f5;
  font-size: 0.9rem;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.quick-links a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
}
.toc-box {
  margin: 0 0 24px;
}
.toc-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.toc-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.check-list,
.related-list,
.editorial-list,
.inline-list,
.faq-list {
  display: grid;
  gap: 12px;
}
.check-list li,
.related-list li,
.inline-list li,
.editorial-list li,
.faq-list li {
  padding-left: 0;
}
.check-list li::before,
.related-list li::before,
.inline-list li::before,
.editorial-list li::before {
  content: "• ";
  color: var(--accent-2);
  font-weight: 700;
}
.faq-item + .faq-item,
.content-box + .content-box,
.table-wrap + .content-box,
.content-box + .table-wrap {
  margin-top: 22px;
}
.faq-item h3,
.content-box h2,
.table-wrap h2,
.sidebar-box h3,
.feature-card h3,
.card h3,
.notice h2 {
  margin-top: 0;
}
.faq-item {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffb8b2;
  font-size: .88rem;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.highlight-card {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.highlight-card p:last-child,
.content-box p:last-child,
.sidebar-box p:last-child,
.notice p:last-child,
.feature-card p:last-child,
.card p:last-child,
.article-card p:last-child { margin-bottom: 0; }
.article-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.callout {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}
.muted-note {
  color: var(--muted);
  font-size: 0.96rem;
}
.hero-copy .lead-strong {
  color: #fff;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}
.author-box {
  display: grid;
  gap: 14px;
}
.author-box .author-name {
  font-weight: 700;
  font-size: 1.05rem;
}
.content-box h2[id], .content-box h3[id] { scroll-margin-top: 110px; }

@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr; }
  .stat-grid, .highlight-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-shell { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    padding: 16px;
    border-radius: 20px;
    background: rgba(8,11,18,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .hero-card, .two-col, .feature-grid { grid-template-columns: 1fr; }
  .hero-copy, .page-hero-card { padding: 28px; }
  .hero-visual img { min-height: 280px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 22px, var(--max)); }
  .card-grid, .feature-grid, .stat-grid, .highlight-grid { grid-template-columns: 1fr; }
  .brand img { width: 138px; }
  .hero { padding-top: 24px; }
  .meta-row { gap: 8px; }
  .meta-row li, .article-meta-grid li { font-size: .82rem; }
}

/* CMS 正文区（后台发布的 HTML） */
.cms-body { max-width: 820px; }
.cms-body h2, .cms-body h3 { margin: 1.5em 0 0.6em; line-height: 1.35; }
.cms-body p { margin: 0 0 1em; }
.cms-body ul, .cms-body ol { margin: 0 0 1em; padding-left: 1.35rem; }
.cms-body img { max-width: 100%; height: auto; border-radius: 12px; }
.cms-body a { color: #ff7a18; text-decoration: underline; text-underline-offset: 3px; }
