:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --ink: #18212f;
  --muted: #5a6678;
  --line: #d9e1eb;
  --primary: #ff9800;
  --primary-strong: #d97706;
  --accent: #00a676;
  --accent-soft: #e5f7f1;
  --warn: #f59f00;
  --coral: #e75f45;
  --shadow: 0 18px 45px rgba(24, 33, 47, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

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

a:hover {
  color: var(--primary-strong);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 235, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

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

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

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

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

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

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 11px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 22px rgba(255, 152, 0, 0.22);
}

.btn-primary:hover {
  background: var(--primary-strong);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: #bcc9d8;
  background: #f8fafc;
}

.btn-quiet {
  color: var(--primary);
  font-weight: 800;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
  padding: 76px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.hero-meta-wide {
  grid-column: 1 / -1;
  margin-top: -8px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.metric strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

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

.hero-visual {
  position: relative;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid #cbd6e3;
  border-radius: var(--radius);
  background: #0f172a;
  box-shadow: var(--shadow);
}

.screen-bar {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  background: #1d2939;
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
}

.screen-dot:nth-child(2) {
  background: #ffd166;
}

.screen-dot:nth-child(3) {
  background: #06d6a0;
}

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

.floating-note {
  position: absolute;
  right: 20px;
  bottom: -18px;
  width: min(290px, 52%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 33, 47, 0.16);
  padding: 18px;
}

.floating-note strong {
  display: block;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.floating-note span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 74px 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}

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

.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,
.panel,
.download-card,
.quote-card,
.step,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card,
.download-card,
.quote-card,
.step,
.faq-item {
  padding: 24px;
}

.card h3,
.download-card h3,
.quote-card strong,
.step h3,
.faq-item h3 {
  margin-bottom: 10px;
}

.card p,
.download-card p,
.quote-card p,
.step p,
.faq-item p,
.list-muted li {
  color: var(--muted);
}

.feature-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 900;
}

.feature-index.accent {
  background: var(--accent-soft);
  color: #047857;
}

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

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

.image-panel figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 5px #fff;
}

.plain-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.scenario-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

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

.scenario-row strong {
  font-size: 18px;
}

.scenario-row p {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-card p {
  color: #344054;
  font-size: 17px;
}

.quote-card span {
  color: var(--muted);
  font-size: 14px;
}

.download-hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 62px 0;
}

.download-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
}

.download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.download-card .btn {
  margin-top: auto;
  width: fit-content;
}

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

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

.version-table th {
  background: var(--surface-soft);
  color: #344054;
  font-size: 14px;
}

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

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 74px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.faq-item {
  margin-bottom: 14px;
}

.faq-item h3 {
  font-size: 18px;
}

.source-note {
  border-left: 4px solid var(--primary);
  background: #fff;
  padding: 18px 20px;
  color: var(--muted);
}

.cta-band {
  border-top: 1px solid #31506f;
  background: #142338;
  color: #fff;
  padding: 54px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.cta-band p {
  color: #c9d5e4;
  margin-top: 10px;
}

.footer {
  background: #0d1624;
  color: #aab6c8;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, minmax(120px, 0.6fr));
  gap: 28px;
}

.footer h2,
.footer h3 {
  color: #fff;
  font-size: 16px;
}

.footer p,
.footer a,
.footer li {
  color: #aab6c8;
  font-size: 14px;
}

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

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 22, 36, 0.64);
  padding: 20px;
}

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

.modal {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

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

.modal-head p {
  color: var(--muted);
  margin-top: 6px;
}

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

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

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

.qr-card img {
  width: min(210px, 100%);
  margin: 0 auto 14px;
}

.qr-card strong {
  display: block;
  margin-bottom: 6px;
}

.qr-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.modal-foot {
  border-top: 1px solid var(--line);
  padding: 0 24px 24px;
}

.modal-foot p {
  color: var(--muted);
  font-size: 14px;
}

:focus-visible {
  outline: 3px solid rgba(255, 152, 0, 0.36);
  outline-offset: 3px;
}

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

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

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

  .menu-button {
    display: inline-block;
  }

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

  .hero-grid {
    gap: 34px;
    padding-top: 54px;
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

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

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

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

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

  .hero-grid {
    padding: 42px 0 34px;
  }

  .section {
    padding: 52px 0;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .version-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .step {
    padding-left: 24px;
    padding-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
