:root {
  --brand: #55c2dc;
  --brand-dark: #1595b7;
  --brand-deep: #0f5f78;
  --ink: #14232b;
  --text: #31444d;
  --muted: #6c8088;
  --line: #dce9ee;
  --soft: #f4f9fb;
  --soft-2: #eaf6f9;
  --white: #ffffff;
  --success: #1b9b74;
  --warning: #b56b18;
  --shadow: 0 18px 44px rgba(23, 91, 112, 0.13);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--brand-deep);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand-deep);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 233, 238, 0.9);
  backdrop-filter: blur(16px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}

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

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

.nav a {
  padding: 10px 12px;
  color: #31434b;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--brand-deep);
  background: var(--soft-2);
}

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

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

.menu-toggle svg,
.icon svg {
  width: 20px;
  height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(21, 149, 183, 0.24);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--brand-deep);
}

.btn-secondary {
  color: var(--brand-deep);
  background: var(--white);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--soft);
}

.btn-soft {
  color: var(--brand-deep);
  background: var(--soft-2);
  border-color: #cdebf2;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(85, 194, 220, 0.18), rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 82%);
}

.hero .container {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 56px;
  padding: 58px 0 42px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.hero-copy p,
.page-hero p {
  margin: 22px 0 0;
  max-width: 660px;
  color: #49616b;
  font-size: 19px;
  overflow-wrap: break-word;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  min-width: 120px;
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

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

.hero-art {
  position: relative;
  min-height: 470px;
}

.product-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.product-panel {
  width: min(100%, 520px);
  max-width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.dot-group {
  display: flex;
  gap: 7px;
}

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

.dashboard-preview {
  display: grid;
  gap: 14px;
}

.meter-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
}

.meter-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius);
}

.meter-card h2,
.meter-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.meter-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.meter-value {
  color: var(--brand-deep);
  font-weight: 900;
  font-size: 24px;
}

.taskbar-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  color: #d7f5fb;
  background: #17333e;
  border-radius: var(--radius);
  font-size: 13px;
}

.floating-shot {
  position: absolute;
  right: -14px;
  bottom: 34px;
  width: 210px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(20, 35, 43, 0.13);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

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

.section-head h2,
.content-block h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.section-head p,
.content-block > p {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

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

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card h3 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

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

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--brand-deep);
  background: var(--soft-2);
  border-radius: var(--radius);
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: auto;
}

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

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.download-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 35, 43, 0.94), rgba(15, 95, 120, 0.92)),
    var(--brand-deep);
}

.download-band h2,
.download-band p {
  color: var(--white);
}

.download-band p {
  opacity: 0.86;
}

.page-hero {
  background: linear-gradient(180deg, #f5fbfd 0%, #ffffff 100%);
}

.page-hero .container {
  padding: 82px 0 56px;
}

.breadcrumb {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.side-nav a {
  padding: 9px 10px;
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 700;
}

.side-nav a:hover {
  color: var(--brand-deep);
  background: var(--soft-2);
}

.content-block {
  margin-bottom: 54px;
}

.content-block h2 {
  font-size: clamp(25px, 2.5vw, 34px);
}

.content-block h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 22px;
}

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

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

.spec-table th {
  color: var(--ink);
  background: var(--soft-2);
}

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

.download-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.version-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.version-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.version-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.version-meta li {
  padding: 5px 9px;
  color: var(--brand-deep);
  background: var(--soft-2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--brand-dark);
  border-radius: var(--radius);
  font-weight: 900;
}

.changelog-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.changelog-item:first-child {
  padding-top: 0;
}

.changelog-item h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 28px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.tag {
  padding: 4px 9px;
  color: var(--brand-deep);
  background: var(--soft-2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 48px 0 28px;
  color: #c7d6dc;
  background: #102630;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 17px;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #c7d6dc;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9cb0b8;
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 23, 30, 0.6);
}

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

.download-modal {
  width: min(860px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

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

.modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

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

.close-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.modal-body {
  padding: 24px 30px 30px;
}

.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: var(--radius);
  background: var(--soft);
}

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 14px;
  border: 8px solid var(--white);
  border-radius: var(--radius);
}

.qr-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  text-align: center;
}

.qr-card p {
  margin: 0 0 14px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.qr-card .btn {
  width: 100%;
}

.download-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #50656e;
  background: #fff9ec;
  border: 1px solid #f1ddad;
  border-radius: var(--radius);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero .container,
  .media-row,
  .download-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero .container {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-art {
    min-height: 430px;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .side-nav {
    position: static;
  }
}

@media (max-width: 700px) {
  .nav-wrap,
  .container {
    width: min(100% - 28px, var(--container));
  }

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

  .brand {
    font-size: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 26px;
    line-height: 1.18;
    word-break: break-word;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    min-width: 112px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-meta {
    gap: 16px 28px;
  }

  .hero-meta li {
    min-width: 108px;
  }

  .hero-meta li:last-child {
    flex-basis: 100%;
  }

  .hero-meta li:last-child strong {
    font-size: 20px;
  }

  .hero-art {
    min-height: 330px;
    overflow: hidden;
  }

  .product-panel {
    width: 100%;
    padding: 14px;
  }

  .window-bar {
    display: none;
  }

  .floating-shot {
    display: none;
  }

  .meter-card {
    grid-template-columns: 46px 1fr;
  }

  .meter-value {
    grid-column: 2;
    font-size: 22px;
  }

  .taskbar-strip {
    font-size: 12px;
    overflow: hidden;
  }

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

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

  .modal-backdrop {
    padding: 12px;
  }

  .modal-head,
  .modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: 25px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 16px;
  }

  .hero .container {
    gap: 32px;
  }
}

@media (max-width: 360px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: 23px;
  }
}

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