:root {
  --ink: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #dbe5ef;
  --panel: #ffffff;
  --surface: #f6f9fc;
  --surface-strong: #eef5fb;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --cyan: #0891b2;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --footer: #0b1220;
  --shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(219, 229, 239, .85);
  backdrop-filter: blur(12px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.4;
}

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

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px!important;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

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

.btn svg,
.trust-row svg,
.icon-box svg,
.link-more svg,
.check-list svg,
.menu-toggle svg,
.modal-close svg,
.faq-question svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff!important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, .28);
}

.btn-secondary {
  color: var(--primary);
  background: #fff;
  border-color: #bfdbfe;
}

.btn-secondary:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero {
  background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 54%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 58px;
  align-items: center;
  min-height: min(720px, calc(100vh - 72px));
  padding: 58px 0 52px;
}

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

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.lead {
  max-width: 710px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  margin: 0 0 26px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--soft);
  font-size: 14px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.hero-visual {
  min-width: 0;
}

.window-frame {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

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

.window-dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.screenshot-wrap {
  padding: 12px;
  background: #fff;
}

.screenshot-wrap img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 13px;
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 56px 0;
}

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

.section-dark {
  color: #e2e8f0;
  background: var(--footer);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.section h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section-dark .section-head p {
  color: #cbd5e1;
}

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

.feature-card,
.info-card,
.download-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.feature-card {
  position: relative;
  min-height: 248px;
  padding: 28px;
  overflow: hidden;
  border-bottom-width: 4px;
}

.feature-card:nth-child(1) { border-bottom-color: var(--primary); }
.feature-card:nth-child(2) { border-bottom-color: var(--green); }
.feature-card:nth-child(3) { border-bottom-color: var(--amber); }
.feature-card:nth-child(4) { border-bottom-color: var(--cyan); }
.feature-card:nth-child(5) { border-bottom-color: var(--red); }
.feature-card:nth-child(6) { border-bottom-color: #334155; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
}

.feature-card:nth-child(2) .icon-box { background: var(--green); }
.feature-card:nth-child(3) .icon-box { background: var(--amber); }
.feature-card:nth-child(4) .icon-box { background: var(--cyan); }
.feature-card:nth-child(5) .icon-box { background: var(--red); }
.feature-card:nth-child(6) .icon-box { background: #334155; }

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

.feature-card h3,
.info-card h3,
.download-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.feature-card p,
.info-card p,
.download-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.link-more svg {
  width: 16px;
  height: 16px;
}

.workflow {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.scenario-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.scenario-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: #f8fafc;
  border-right: 1px solid var(--line);
}

.scenario-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.scenario-tab.is-active {
  color: var(--primary);
  background: #fff;
  border-color: #bfdbfe;
}

.scenario-content {
  min-height: 430px;
  padding: 34px;
}

.scenario-item {
  display: none;
  height: 100%;
}

.scenario-item.is-active {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 30px;
  align-items: center;
}

.scenario-copy h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin: 9px 0;
  color: var(--muted);
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--green);
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.image-frame img {
  width: 100%;
}

.page-hero {
  padding: 58px 0;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 42px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--soft);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.hero-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.hero-note strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

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

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.content-main {
  display: grid;
  gap: 24px;
}

.info-card {
  padding: 28px;
}

.info-card h2 {
  margin-top: 0;
}

.info-card ul,
.info-card ol {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.sidebar-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sidebar-box h2,
.sidebar-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.sidebar-box a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  text-decoration: none;
  border-top: 1px solid #edf2f7;
}

.sidebar-box a:first-of-type {
  border-top: 0;
}

.sidebar-box a:hover {
  color: var(--primary);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.compare-table th {
  color: var(--ink);
  background: #f8fafc;
}

.compare-table td {
  color: var(--muted);
}

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

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.download-card {
  padding: 28px;
}

.download-card.featured {
  border-color: #93c5fd;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .12);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

.version-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.version-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.version-row strong {
  color: var(--primary);
}

.version-row p {
  margin: 0;
  color: var(--muted);
}

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

.faq-card {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  padding: 18px 22px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform .2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-card.is-open .faq-answer {
  display: block;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #111c31;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  margin: 10px 0 0;
  color: #cbd5e1;
}

.site-footer {
  color: #94a3b8;
  background: var(--footer);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, .5fr);
  gap: 30px;
  padding: 42px 0;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #64748b;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(15, 23, 42, .62);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(760px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .3);
}

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

.modal-head h2 {
  margin: 0;
  font-size: 22px;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

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

.modal-body {
  padding: 24px;
}

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

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

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 14px;
  border: 8px solid #fff;
  border-radius: 8px;
}

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

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

.modal-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  color: var(--muted);
  background: #f0fdf4;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.only-mobile {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 12px;
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero-grid,
  .workflow,
  .scenario-item.is-active,
  .page-hero-grid,
  .content-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .scenario-panel {
    grid-template-columns: 1fr;
  }

  .scenario-tabs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar {
    position: static;
  }

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

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

  .brand {
    min-width: 0;
  }

  .brand-subtitle {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .only-mobile {
    display: inline-flex;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-actions,
  .download-grid,
  .qr-grid,
  .feature-grid,
  .card-grid,
  .metric-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 42px 0;
  }

  .feature-grid,
  .card-grid,
  .download-grid {
    display: grid;
    gap: 14px;
  }

  .feature-card,
  .info-card,
  .download-card {
    padding: 22px;
  }

  .version-row {
    grid-template-columns: 1fr;
  }
}
