:root {
  /* 政务/权威红系 */
  --red: #b01030;
  --red-dark: #8c0d26;
  --red-bright: #c41e3a;
  --red-soft: rgba(176, 16, 48, 0.08);
  --red-line: rgba(176, 16, 48, 0.35);
  --gold: #9a7209;
  --bg-page: #f0f2f5;
  --bg-hero: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  --bg-card: #ffffff;
  --border: #e5e6eb;
  --text: #1d2129;
  --text-heading: #141414;
  --muted: #5c5f66;
  --header-bg: #ffffff;
  --footer-bg: #1e1e22;
  --footer-text: #a8abb2;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  /* 仅系统字体，避免引用境外 CDN（如 Google Fonts）导致大陆访问阻塞 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "WenQuanYi Micro Hei",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red-bright) 50%, var(--red-dark) 100%);
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--red-dark);
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--red);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.9rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--red);
  text-decoration: none;
}

.hero {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text-heading);
}

.hero .lede {
  margin: 0 auto 2rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  text-align: left;
}

@media (min-width: 720px) {
  .hero .lede {
    text-align: center;
  }
}

.lede-strong {
  color: var(--text-heading);
  font-weight: 600;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-heading);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  text-decoration: none;
  border-color: var(--red-line);
  background: var(--red-soft);
  color: var(--red-dark);
}

.btn:active {
  transform: scale(0.99);
}

.btn-primary {
  background: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 55%, var(--red-dark) 100%);
  border-color: var(--red-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #d42845 0%, var(--red-bright) 50%, var(--red) 100%);
  border-color: var(--red-dark);
  color: #fff;
}

.btn svg {
  flex-shrink: 0;
  opacity: 0.95;
}

section {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

section h2 {
  margin: 0 0 1.35rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--red);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  line-height: 1.35;
}

.section-lede {
  margin: 0 0 1.5rem;
  max-width: 48rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.section-note {
  margin: 0 0 1.75rem;
  max-width: 48rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.section-tint {
  background: #faf7f7;
  border-block: 1px solid var(--border);
}

.stat-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 1.5rem;
}

.stat {
  padding: 1.15rem 1.3rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  display: block;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.flow-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.flow-step {
  padding: 1rem 1.1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.flow-n {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.flow-t {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.flow-d {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-highlight h3 {
  color: var(--red);
}

.card {
  padding: 1.35rem 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  padding: 2.25rem 0 2.5rem;
  background: var(--footer-bg);
  border-top: 3px solid var(--red);
  color: var(--footer-text);
  font-size: 0.85rem;
  text-align: center;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0.12em;
}

.footer-co {
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 38rem;
  margin: 0 auto 0.5rem;
  color: var(--footer-text);
}

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.9;
  color: #8d9099;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.75rem 1.35rem;
  border-radius: 4px;
  background: var(--text-heading);
  border: 1px solid #333;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 100;
  max-width: min(90vw, 360px);
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* —— 咨询客服：新窗口打开客服页 —— */
.cs-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  font-family: var(--font-sans);
}

.cs-fab {
  position: relative;
  z-index: 201;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border: 1px solid var(--red-dark);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.cs-fab:hover {
  box-shadow: 0 6px 20px rgba(176, 16, 48, 0.35);
  color: #fff;
  text-decoration: none;
}

.cs-fab:active {
  transform: scale(0.98);
}

.cs-fab[aria-disabled="true"] {
  opacity: 0.88;
}

.cs-fab-icon {
  flex-shrink: 0;
}

@media (max-width: 380px) {
  .cs-fab-text {
    display: none;
  }

  .cs-fab {
    padding: 0.7rem;
    border-radius: 50%;
  }
}

@media (max-width: 720px) {
  header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.82rem;
    width: 100%;
    justify-content: flex-start;
  }
}
