:root {
  --brand: #0090e0;
  --brand-dark: #006eb0;
  --brand-soft: #e5f6ff;
  --ink: #1f2933;
  --muted: #5d6b7a;
  --line: #d9e2ec;
  --panel: #ffffff;
  --panel-alt: #f6f9fc;
  --warning: #b45309;
  --warning-bg: #fff7ed;
  --success: #047857;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

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

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

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

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

.brand span {
  display: block;
  line-height: 1.15;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 144, 224, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

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

.btn-light {
  background: #fff;
  color: var(--brand-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 144, 224, 0.14), rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, #f7fbff 0%, #fff 78%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 52px;
  align-items: center;
  min-height: 620px;
  padding: 66px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #bdeaff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 660px;
}

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

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

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

.stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

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

.product-window {
  background: var(--panel);
  border: 1px solid #c7d3df;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f0f5f9;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.window-shot {
  padding: 12px;
}

.window-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--panel-alt);
}

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

.section-head h2,
.content-block h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

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

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

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

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

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

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

.icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  margin-bottom: 18px;
  font-weight: 800;
}

.scenario {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}

.scenario-number {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.quote {
  position: relative;
}

.quote p {
  color: var(--ink);
  font-size: 17px;
}

.quote footer {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.page-hero {
  padding: 70px 0 54px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

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

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

.content-block {
  max-width: 860px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 0;
}

.mini-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
}

.mini-panel ul,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mini-panel li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--muted);
}

.mini-panel li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 72px;
  margin: 0 0 30px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

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

.warning {
  border: 1px solid #fed7aa;
  border-left: 5px solid #f59e0b;
  background: var(--warning-bg);
  color: #7c2d12;
  padding: 18px 20px;
  border-radius: var(--radius);
}

.download-panel {
  display: grid;
/*  grid-template-columns: minmax(0, 1fr) 330px; */
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.meta-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-alt);
}

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

.meta-item strong {
  overflow-wrap: anywhere;
}

.code {
  display: block;
  padding: 14px 16px;
  border-radius: 6px;
  background: #111827;
  color: #e5e7eb;
  overflow-x: auto;
  font-family: Consolas, "SFMono-Regular", monospace;
}

.qr-stack {
  display: grid;
  gap: 14px;
}

.qr-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  background: #fff;
}

.qr-card img {
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
}

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

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.faq-item h2,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

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

.cta-band {
  background: #10263a;
  color: #fff;
  padding: 54px 0;
}

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

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.cta-band p {
  margin: 0;
  color: #cbd5e1;
}

.site-footer {
  padding: 40px 0;
  background: #0f172a;
  color: #cbd5e1;
}

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

.site-footer h2,
.site-footer h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 18px;
}

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

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: #e0f2fe;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #94a3b8;
  font-size: 13px;
}

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

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

.modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}

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

.modal-head h2 {
  margin: 0;
  font-size: 24px;
}

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

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

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

.modal-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.modal-downloads .qr-card img {
  width: 180px;
  height: 180px;
}

.modal-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero-grid,
  .feature-row,
  .download-panel,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    min-height: auto;
    padding-top: 42px;
  }

  .download-panel {
    display: grid;
  }
}

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

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow);
  }

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

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

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

  .hero-stats,
  .release-meta,
  .modal-downloads {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding: 46px 0;
  }

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

  .step {
    padding-left: 0;
    padding-top: 60px;
  }
}
