:root {
  color-scheme: light;
  --ink: #071527;
  --muted: #52647c;
  --line: #d8e2ee;
  --panel: #ffffff;
  --soft: #f3f7fb;
  --green: #0f8f68;
  --green-deep: #064f45;
  --navy: #0b2036;
  --blue: #2f6fed;
  --gold: #b88018;
  --danger: #c23b3b;
  --shadow: 0 22px 60px rgba(7, 21, 39, 0.16);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 40px;
  color: #fff;
  background: rgba(7, 21, 39, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  font-weight: 800;
}

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

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

.site-nav a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  font-size: 14px;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-contact,
.nav-download,
.primary-action,
.secondary-action,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.nav-download,
.primary-action,
.download-button {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(15, 143, 104, 0.28);
}

.nav-contact {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.nav-contact:hover {
  background: rgba(255, 255, 255, 0.18);
}

.secondary-action {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.is-disabled {
  cursor: default;
  background: #7c8b9c;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 39, 0.94) 0%, rgba(7, 21, 39, 0.82) 42%, rgba(7, 21, 39, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 21, 39, 0.08), rgba(7, 21, 39, 0.54));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin-left: max(48px, calc((100vw - 1180px) / 2));
  padding-top: 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #13b685;
  font-size: 13px;
  font-weight: 900;
}

.hero h1,
.section-head h2,
.workflow-copy h2,
.deploy-text h2,
.download-section h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 680px;
  font-size: 64px;
  font-weight: 900;
}

.hero h1 span {
  display: inline;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 48px));
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-band div {
  min-height: 116px;
  padding: 28px;
  background: #fff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-band span,
.section-head p,
.feature-card p,
.workflow-copy p,
.workflow-steps span,
.deploy-text p,
.deploy-list span,
.download-section p,
.site-footer {
  color: var(--muted);
  line-height: 1.75;
}

.section,
.workflow-section,
.deploy-section,
.download-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0 0;
}

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

.section-head h2,
.workflow-copy h2,
.deploy-text h2,
.download-section h2 {
  font-size: 40px;
}

.section-head p {
  margin: 16px 0 0;
}

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

.feature-card,
.price-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3,
.price-card h3 {
  margin: 20px 0 10px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
}

.workflow-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  padding: 96px 0;
}

.workflow-steps {
  display: grid;
  gap: 12px;
}

.workflow-steps div,
.deploy-list div {
  padding: 20px 22px;
  border-left: 4px solid var(--green);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 21, 39, 0.08);
}

.workflow-steps strong,
.workflow-steps span,
.deploy-list strong,
.deploy-list span {
  display: block;
}

.workflow-steps strong,
.deploy-list strong {
  margin-bottom: 4px;
}

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

.price-card {
  min-height: 190px;
}

.price-card strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.price-card span {
  color: var(--muted);
}

.price-card.highlight {
  border-color: rgba(184, 128, 24, 0.42);
  background: #fff8ea;
}

.price-card.highlight strong {
  color: var(--gold);
}

.deploy-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  padding: 96px 0;
}

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

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-section p {
  margin: 14px 0 0;
}

.download-button {
  min-width: 220px;
  min-height: 54px;
}

.download-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  min-width: 240px;
}

.secondary-download {
  color: var(--green);
  background: #ecfdf5;
  box-shadow: none;
  border: 1px solid #b7e4d4;
}

.download-password {
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.modal-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 21, 39, 0.58);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none;
}

.contact-modal {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.contact-modal h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.contact-modal p {
  color: var(--muted);
  line-height: 1.75;
}

.modal-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.contact-phone {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
}

.contact-phone span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.contact-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
}

.contact-qr {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px dashed #c7d4e4;
  border-radius: 8px;
  color: var(--muted);
  background: #f8fbfe;
  font-size: 14px;
  text-align: center;
}

.contact-qr img {
  display: block;
  max-width: calc(100% - 18px);
  max-height: calc(100% - 18px);
  object-fit: contain;
}

.contact-empty {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #f0d7a3;
  border-radius: 8px;
  background: #fff8ea;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero h1 {
    font-size: 46px;
  }

  .trust-band,
  .feature-grid,
  .pricing-grid,
  .workflow-section,
  .deploy-section {
    grid-template-columns: 1fr;
  }

  .trust-band {
    margin-top: 0;
    width: 100%;
  }

  .workflow-section,
  .deploy-section {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
    gap: 12px;
  }

  .brand span {
    max-width: 132px;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-download {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-contact {
    display: none;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 80px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 34px;
  }

  .hero h1 span {
    display: block;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 21, 39, 0.98) 0%, rgba(7, 21, 39, 0.92) 58%, rgba(7, 21, 39, 0.68) 100%),
      linear-gradient(180deg, rgba(7, 21, 39, 0.08), rgba(7, 21, 39, 0.64));
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.75;
  }

  .section,
  .workflow-section,
  .deploy-section {
    width: calc(100% - 32px);
    padding-top: 72px;
  }

  .section-head h2,
  .workflow-copy h2,
  .deploy-text h2,
  .download-section h2 {
    font-size: 30px;
  }

  .download-section {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .download-actions {
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 16px;
  }

  .contact-modal {
    padding: 22px;
  }

  .contact-modal h2 {
    font-size: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
