:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #edf2f7;
  --ink: #182230;
  --muted: #667085;
  --line: #d8e0ea;
  --brand: #2563eb;
  --brand-dark: #123f9c;
  --accent: #f28c28;
  --accent-dark: #b85d0d;
  --success: #16815d;
  --danger: #b42318;
  --shadow: 0 14px 34px rgba(24, 34, 48, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: #344054;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
  background: #eef4ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(242, 140, 40, 0.25);
}

.btn-ghost {
  color: var(--brand);
  background: #ffffff;
  border-color: #b8c9ee;
}

.btn-ghost:hover {
  color: #ffffff;
  background: var(--brand);
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.32;
}

.lead {
  color: #475467;
  font-size: 19px;
  line-height: 1.75;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #F0F7FF, #FFFFFF);
  color: var(--ink);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 44px;
  align-items: center;
  padding: 54px 0 62px;
}

.hero-content {
  max-width: 700px;
}

.hero-content .lead {
  color: #475467;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.meta-pill {
  min-height: 78px;
  padding: 14px;
  border: 1px solid #d8e7fb;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.meta-pill strong {
  display: block;
  font-size: 20px;
}

.meta-pill span {
  color: #667085;
  font-size: 13px;
}

.hero-panel {
  border: 1px solid #d8e7fb;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.12);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #f6f9ff;
  border-bottom: 1px solid #d8e7fb;
  color: #344054;
}

.panel-dots {
  display: inline-flex;
  gap: 6px;
}

.panel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8d8f0;
}

.render-preview {
  padding: 24px;
}

.render-frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #eef2f7;
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e7fb;
}

.render-frame::before,
.render-frame::after {
  content: "";
  position: absolute;
  border-radius: 6px;
  transform: rotate(-8deg);
}

.panel-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e4ebf5;
  color: #667085;
  font-size: 14px;
}

.panel-row strong {
  color: #182230;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card.shadow {
  box-shadow: 0 14px 28px rgba(24, 34, 48, 0.08);
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand);
}

.icon-box.orange {
  background: var(--accent);
}

.icon-box.green {
  background: var(--success);
}

.icon-box.dark {
  background: #1f2937;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: #344054;
}

.check-list svg {
  width: 24px;
  height: 24px;
  color: var(--success);
}

.metric-band {
  background: #111827;
  color: #ffffff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.metric {
  padding: 28px;
  background: #111827;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
}

.metric span {
  color: #cbd5e1;
}

.page-hero {
  padding: 76px 0 58px;
  color: #ffffff;
  background: #162033;
}

.page-hero .lead {
  color: #d9e2ef;
  max-width: 780px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a {
  color: #ffffff;
  font-weight: 700;
}

.feature-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.feature-row:first-child {
  border-top: 0;
}

.feature-label {
  color: var(--brand);
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #344054;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.workflow {
  counter-reset: step;
}

.workflow .card {
  position: relative;
  padding-top: 58px;
}

.workflow .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 24px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.download-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.download-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.version-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--success);
  font-size: 13px;
  font-weight: 900;
}

.download-options {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.download-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.download-option h3 {
  margin-bottom: 4px;
}

.download-option p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #fff7ed;
  color: #7c2d12;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #344054;
  background: #f8fafc;
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #475467;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-band {
  padding: 58px 0;
  color: #ffffff;
  background: #1d4ed8;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  margin-bottom: 8px;
}

.cta-inner p {
  margin-bottom: 0;
  color: #eff6ff;
}

.site-footer {
  padding: 52px 0 28px;
  color: #cbd5e1;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 80px rgba(15, 23, 42, 0.36);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin-bottom: 4px;
  font-size: 26px;
}

.modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 26px;
}

.qr-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  text-align: center;
}

.qr-card img {
  width: min(210px, 100%);
  margin: 0 auto 14px;
  border: 8px solid #ffffff;
  border-radius: 6px;
}

.qr-card h3 {
  font-size: 18px;
}

.qr-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-foot {
  padding: 0 26px 24px;
}

.modal-foot .notice {
  margin: 0;
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 64px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-inner,
  .split,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

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

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 54px 0;
  }

  .brand-text span {
    display: none;
  }

  .hero-meta,
  .grid-2,
  .grid-3,
  .grid-4,
  .metric-grid,
  .footer-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .download-option,
  .download-title {
    flex-direction: column;
    align-items: stretch;
  }

  .download-option {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-inner {
    padding: 44px 0 56px;
  }

  .hero-panel {
    display: none;
  }

  .modal {
    padding: 12px;
  }

  .modal-head,
  .qr-grid,
  .modal-foot {
    padding-left: 18px;
    padding-right: 18px;
  }
}
