:root {
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-dark: #0f1b2d;
  --text: #112033;
  --text-muted: #516074;
  --line: rgba(17, 32, 51, 0.1);
  --line-strong: rgba(17, 32, 51, 0.16);
  --primary: #1f4b99;
  --primary-strong: #153a7d;
  --accent: #dce8fb;
  --shadow: 0 24px 60px rgba(17, 32, 51, 0.08);
  --shadow-soft: 0 16px 40px rgba(17, 32, 51, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --space-section: 112px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 75, 153, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 36%, #f6f8fb 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a.button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 251, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(17, 32, 51, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f4b99, #2f67c7);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 75, 153, 0.24);
}

.brand-mark-image {
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 24px rgba(31, 75, 153, 0.18);
}

.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.34);
  transform-origin: center;
}

.brand-text {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
}

.nav-cta {
  background: rgba(31, 75, 153, 0.1);
  color: var(--primary) !important;
}

.hero {
  padding: 44px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 36px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1,
.section-heading h2,
.trust-copy h2,
.cta-copy h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 40rem;
  margin: 24px 0 0;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #2d62bc);
  color: #fff;
  box-shadow: 0 18px 34px rgba(31, 75, 153, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 42px rgba(31, 75, 153, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: var(--line);
}

.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--text-muted);
}

.hero-points li {
  position: relative;
  padding-left: 24px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(31, 75, 153, 0.1);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card,
.wechat-panel,
.info-card,
.feature-card,
.contrast-card,
.step-card,
.trust-list article,
.faq-list details,
.cta-shell,
.cta-note {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-card,
.wechat-panel,
.info-card,
.feature-card,
.contrast-card,
.step-card,
.trust-list article,
.cta-note {
  border-radius: var(--radius-lg);
}

.hero-card {
  padding: 28px;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #36c78b;
  box-shadow: 0 0 0 8px rgba(54, 199, 139, 0.14);
}

.hero-metrics {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.hero-metrics article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.hero-metrics strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.hero-metrics span {
  color: var(--text-muted);
}

.wechat-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
}

.wechat-label {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
}

.wechat-panel h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.24;
}

.wechat-panel p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 182px;
  min-height: 198px;
  padding: 18px 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(235, 241, 249, 0.88));
  border: 1px solid rgba(17, 32, 51, 0.12);
  text-align: center;
}

.qr-placeholder p,
.qr-placeholder span {
  margin: 0;
}

.qr-placeholder-image {
  gap: 14px;
}

.qr-placeholder-image img {
  width: 100%;
  max-width: 128px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(17, 32, 51, 0.1);
}

.qr-placeholder p {
  font-weight: 700;
  margin-top: 14px;
}

.qr-placeholder span {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.section {
  padding: var(--space-section) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.value-grid,
.feature-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.feature-card,
.step-card {
  padding: 26px;
}

.card-index,
.feature-tag,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.info-card h3,
.feature-card h3,
.contrast-card h3,
.step-card h3,
.trust-list h3 {
  margin: 16px 0 0;
  font-size: 1.22rem;
  line-height: 1.3;
}

.info-card p,
.feature-card p,
.contrast-list span,
.step-card p,
.trust-list p,
.cta-note p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.feature-card ul,
.contrast-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card ul {
  display: grid;
  gap: 12px;
}

.feature-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
}

.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.contrast-section {
  background: linear-gradient(180deg, rgba(220, 232, 251, 0.28), rgba(244, 247, 251, 0));
}

.contrast-grid,
.trust-grid,
.cta-shell {
  display: grid;
  gap: 22px;
}

.contrast-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contrast-card {
  padding: 28px;
}

.contrast-card-accent {
  background:
    linear-gradient(180deg, rgba(31, 75, 153, 0.08), rgba(255, 255, 255, 0.88));
}

.contrast-list {
  display: grid;
  gap: 16px;
}

.contrast-list li {
  display: grid;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 32, 51, 0.08);
}

.contrast-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contrast-list strong {
  font-size: 1rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 18px;
  font-size: 1rem;
}

.trust-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: start;
}

.trust-copy p:last-child {
  margin: 20px 0 0;
  max-width: 40rem;
  color: var(--text-muted);
}

.trust-list {
  display: grid;
  gap: 16px;
}

.trust-list article {
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border-radius: var(--radius-md);
  padding: 0 22px;
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 30px 20px 0;
  position: relative;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.cta-shell {
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(226, 236, 250, 0.84));
}

.cta-copy p:last-of-type {
  margin: 18px 0 0;
  max-width: 38rem;
  color: var(--text-muted);
}

.cta-panel {
  display: grid;
  gap: 18px;
}

.cta-qr {
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 32, 51, 0.09);
}

.qr-placeholder-large {
  width: 100%;
  max-width: 320px;
  min-height: 280px;
}

.qr-placeholder-large img {
  max-width: 220px;
  border-radius: 24px;
}

.site-footer {
  padding: 26px 0 42px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  color: var(--text-muted);
}

.footer-brand {
  font-weight: 700;
  color: var(--text);
}

.footer-line {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.7;
}

.footer-record {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  text-align: center;
}

.footer-record a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-record a:hover,
.footer-record a:focus-visible {
  color: var(--primary);
}

@media (max-width: 1120px) {
  .value-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .trust-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  :root {
    --space-section: 88px;
  }

  .header-inner {
    min-height: 80px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .wechat-panel,
  .contrast-grid,
  .steps-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .wechat-panel {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --space-section: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero h1 {
    max-width: none;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .brand-text {
    font-size: 1.28rem;
  }

  .footer-line {
    font-size: 1rem;
    gap: 8px;
  }

  .value-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .wechat-panel,
  .info-card,
  .feature-card,
  .contrast-card,
  .step-card,
  .trust-list article,
  .cta-shell,
  .cta-note {
    border-radius: 22px;
  }

  .hero-card,
  .wechat-panel,
  .info-card,
  .feature-card,
  .contrast-card,
  .step-card,
  .trust-list article,
  .cta-shell {
    padding: 22px;
  }

  .button,
  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .qr-placeholder,
  .qr-placeholder-large {
    width: 100%;
    max-width: none;
  }

  .faq-list details {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
