:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5e6b7d;
  --line: #d9e1ea;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --teal: #0e9f91;
  --teal-dark: #08776d;
  --blue: #2f6fed;
  --amber: #cf8a13;
  --red: #c54242;
  --shadow: 0 16px 42px rgba(22, 34, 46, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(217, 225, 234, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

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

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: #eef3f7;
  text-decoration: none;
}

.nav .cta {
  margin-left: 8px;
  color: #fff;
  background: var(--teal);
}

.nav .cta:hover {
  color: #fff;
  background: var(--teal-dark);
}

.hero {
  min-height: calc(100vh - 148px);
  max-height: 820px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 96px 40px 128px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 22, 32, 0.88), rgba(12, 22, 32, 0.64), rgba(12, 22, 32, 0.18)),
    url("assets/app-preview.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82px;
  background: linear-gradient(180deg, transparent, rgba(245, 247, 250, 0.96));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #d5fffa;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow.dark {
  border-color: rgba(23, 32, 42, 0.14);
  color: var(--teal-dark);
  background: #e7f7f4;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 900;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
  border-color: var(--teal);
}

.button.primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.dark {
  color: #fff;
  background: #17202a;
  border-color: #17202a;
}

.band {
  padding: 72px 40px;
}

.band.white {
  background: #fff;
}

.inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.section-head h2,
.content h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.2;
}

.section-head p,
.content .lead {
  margin: 0;
  color: var(--muted);
}

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

.feature-card,
.step-card,
.faq-item,
.contact-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 22px;
}

.feature-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.feature-card p,
.step-card p,
.faq-item p,
.plan-card p {
  margin: 0;
  color: var(--muted);
}

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

.step-card {
  padding: 22px;
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #e7f7f4;
  color: var(--teal-dark);
  font-weight: 900;
}

.format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.format-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.page-hero {
  padding: 78px 40px 54px;
  background: #14202b;
  color: #fff;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  padding: 48px 40px 76px;
}

.toc {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.toc a {
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 750;
}

.toc a:hover {
  color: var(--ink);
  background: #eef3f7;
  text-decoration: none;
}

.article {
  display: grid;
  gap: 24px;
}

.article section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article ul,
.article ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.article li + li {
  margin-top: 8px;
}

.note {
  margin-top: 16px;
  padding: 14px;
  border-left: 4px solid var(--amber);
  background: #fff7e8;
  color: #5c4317;
}

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

.faq-item {
  padding: 20px;
}

.faq-item h2 {
  font-size: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  padding: 22px;
}

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

.plan-card {
  padding: 24px;
}

.wechat-license-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
  box-shadow: var(--shadow);
}

.wechat-copy h2 {
  margin: 14px 0 10px;
  font-size: 30px;
  line-height: 1.18;
}

.wechat-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.wechat-id {
  width: max-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid #bfe4dc;
  border-radius: 8px;
  background: #fff;
}

.wechat-id span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.wechat-id strong {
  font-size: 22px;
  line-height: 1;
  color: var(--teal-dark);
  letter-spacing: 0;
}

.wechat-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.wechat-qr img {
  width: 230px;
  aspect-ratio: 1 / 1.34;
  object-fit: contain;
}

.wechat-qr span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.request-form {
  display: grid;
  gap: 14px;
  max-width: 860px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.request-form.compact {
  max-width: none;
}

.form-status {
  max-width: 860px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #afe6d8;
  border-radius: 8px;
  color: #145c4a;
  background: #e9faf5;
  font-weight: 800;
}

.form-status.error {
  color: #8d332f;
  border-color: #efb6b6;
  background: #fff0f0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.request-form input,
.request-form select {
  height: 44px;
  padding: 0 12px;
}

.request-form textarea {
  min-height: 120px;
  resize: vertical;
  padding: 10px 12px;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 159, 145, 0.14);
}

.release-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.release-card,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.release-card {
  padding: 28px;
}

.release-heading {
  display: grid;
  gap: 10px;
}

.release-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

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

.release-badge {
  width: max-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f7f4;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.meta-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.meta-grid span,
.meta-grid strong {
  display: block;
}

.meta-grid span {
  color: var(--muted);
  font-size: 13px;
}

.meta-grid strong {
  margin-top: 4px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.download-panel {
  padding: 22px;
}

.download-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.download-panel ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.download-panel li + li {
  margin-top: 8px;
}

.price {
  margin: 16px 0;
  font-size: 32px;
  font-weight: 900;
}

.site-footer {
  padding: 32px 40px;
  background: #111922;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .page-hero,
  .band,
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: calc(100vh - 132px);
    background-position: center;
  }

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

  .feature-grid,
  .workflow,
  .contact-grid,
  .plan-grid,
  .wechat-license-panel,
  .release-grid,
  .meta-grid,
  .form-row,
  .content {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .wechat-license-panel {
    padding: 22px;
  }

  .wechat-copy h2 {
    font-size: 26px;
  }

  .wechat-id {
    width: 100%;
    justify-content: space-between;
  }

  .wechat-qr img {
    width: min(260px, 100%);
  }
}
