:root {
  --canvas-start: #ffffff;
  --canvas-mid: #f8fafb;
  --canvas-end: #f6f8fa;
  --ink: #1a1b25;
  --heading: #1a1b25;
  --muted: #666d80;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-soft: #f6f8fa;
  --border: #e5e7eb;
  --border-strong: #dfe1e7;
  --rail: #1a1b25;
  --primary: #1a1b25;
  --primary-strong: #5e4cff;
  --primary-soft: rgba(94, 76, 255, 0.1);
  --accent: #27d3bc;
  --accent-strong: #17a56b;
  --yellow: #ffc800;
  --coral: #ff492c;
  --sand-soft: rgba(94, 76, 255, 0.08);
  --shadow-soft: 0 18px 42px rgba(26, 27, 37, 0.1);
  --shadow-button: 0 14px 32px rgba(26, 27, 37, 0.16);
  --radius: 10px;
  color: var(--ink);
  font-family:
    "Microsoft YaHei UI",
    Inter,
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 200, 0, 0.14), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(39, 211, 188, 0.12), transparent 30%),
    linear-gradient(rgba(54, 57, 74, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(54, 57, 74, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, var(--canvas-start) 0%, var(--canvas-mid) 48%, var(--canvas-end) 100%);
}

body,
button,
a {
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.brand,
.nav-links,
.nav-download,
.primary-download,
.secondary-link {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  justify-self: start;
  font-size: 16px;
  font-weight: 800;
  color: var(--heading);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
}

.nav-links {
  gap: 4px;
  justify-self: center;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--heading);
  background: var(--sand-soft);
}

.nav-download {
  justify-self: end;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--primary);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-button);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 32px));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("./assets/client-preview.png");
  background-position: center;
  background-size: cover;
  opacity: 0.4;
  filter: saturate(0.98) contrast(1.04);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.52) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(246, 248, 250, 0.94));
}

.hero-content {
  width: min(720px, calc(100% - 32px));
  margin-left: clamp(16px, 8vw, 120px);
  padding: clamp(54px, 9vw, 108px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 850;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 20px;
  color: var(--heading);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 860;
}

.mobile-title-break {
  display: none;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.primary-download {
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--primary);
  box-shadow: var(--shadow-button);
  font-size: 16px;
  font-weight: 850;
}

.primary-download svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-download:hover,
.nav-download:hover {
  transform: translateY(-1px);
}

.primary-download.is-downloading,
.nav-download.is-downloading {
  filter: saturate(1.08) brightness(0.98);
}

.primary-download:active,
.nav-download:active {
  transform: translateY(1px);
}

.secondary-link {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--heading);
  font-size: 15px;
  font-weight: 760;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.release-meta div {
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.release-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.release-meta dd {
  margin: 0;
  color: var(--heading);
  font-size: 14px;
  font-weight: 850;
}

.content-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 88px) 0;
}

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

.section-heading h2 {
  margin-bottom: 0;
  color: var(--heading);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 640;
}

.product-preview {
  margin: 0;
}

.product-preview img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.product-preview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.feature-grid article,
.feature-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 20px;
  line-height: 1.24;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 22px;
  line-height: 1.22;
}

.feature-grid p,
.feature-card p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  font-weight: 620;
}

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 200, 0, 0.15), rgba(39, 211, 188, 0.08)),
    var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.price-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 900;
}

.price {
  display: block;
  margin-bottom: 12px;
  color: var(--heading);
  font-size: clamp(54px, 8vw, 86px);
  line-height: 0.95;
  font-weight: 900;
}

.pricing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 650;
}

.pricing-card ul,
.contact-notes ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li,
.contact-notes li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.pricing-card li::before,
.contact-notes li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
  counter-reset: install;
}

.install-steps li {
  position: relative;
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-solid);
  counter-increment: install;
}

.install-steps li::before {
  content: counter(install);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--heading);
  background: var(--yellow);
  font-weight: 900;
}

.install-steps strong,
.download-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 18px;
}

.install-steps span,
.download-strip span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  font-weight: 620;
}

.download-strip span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

code {
  padding: 2px 5px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--heading);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.download-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--rail);
  color: #fffaf0;
}

.download-strip strong {
  color: #fffaf0;
}

.download-strip span {
  color: rgba(255, 250, 240, 0.72);
}

.primary-download.compact {
  min-height: 46px;
  padding: 12px 18px;
  flex: 0 0 auto;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

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

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 820;
}

.faq-list p {
  padding: 0 20px 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 42px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--heading);
  font-weight: 850;
}

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

.site-footer nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a:hover {
  color: var(--heading);
}

.site-footer [role="button"] {
  cursor: pointer;
}

.site-footer [data-copied="true"]::after {
  content: " 已复制";
  color: var(--accent-strong);
  font-weight: 850;
}

.legal-page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 76px) 0;
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 70px);
}

.legal-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 650;
}

.legal-content,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(26, 27, 37, 0.06);
}

.legal-content {
  padding: clamp(22px, 4vw, 34px);
}

.legal-content h2,
.contact-card h2 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 22px;
  line-height: 1.25;
}

.legal-content p,
.legal-content li,
.contact-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 620;
}

.legal-content p {
  margin-bottom: 22px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--primary-strong);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-card {
  padding: 24px;
}

.primary-contact {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(94, 76, 255, 0.1), rgba(39, 211, 188, 0.1)),
    var(--surface-solid);
}

.contact-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 900;
}

.contact-card p {
  margin: 0 0 18px;
}

.contact-card .primary-download {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    margin-left: clamp(16px, 5vw, 42px);
  }

  .feature-grid,
  .pricing-card,
  .contact-grid,
  .install-steps {
    grid-template-columns: 1fr;
  }

  .primary-contact {
    grid-row: auto;
  }

  .download-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-download.compact {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 62px;
    gap: 10px;
  }

  .brand span {
    font-size: 15px;
  }

  .nav-download {
    min-height: 38px;
    padding: 9px 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: min(342px, calc(100vw - 48px));
    max-width: min(342px, calc(100vw - 48px));
    margin-right: 0;
    margin-left: 24px;
    padding-right: 0;
    padding-left: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.05;
    word-break: break-all;
  }

  .mobile-title-break {
    display: block;
  }

  .section-heading h2 {
    font-size: 24px;
    line-height: 1.16;
    word-break: break-all;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 15px;
    word-break: break-all;
  }

  .legal-page {
    width: min(100% - 24px, 960px);
    padding-top: 34px;
  }

  .legal-content,
  .contact-card,
  .pricing-card {
    padding: 18px;
  }

  .hero-actions,
  .release-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-download,
  .secondary-link {
    width: 100%;
  }
}
