:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef4f8;
  --ink: #141821;
  --muted: #5d6678;
  --line: #dce4ec;
  --dark: #101318;
  --dark-2: #191d24;
  --cyan: #21b8d7;
  --violet: #9d34f2;
  --green: #23a26d;
  --shadow: 0 18px 48px rgba(20, 24, 33, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 236, 0.82);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

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

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #394152;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  background: #eef5f8;
  color: var(--ink);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(33, 184, 215, 0.18);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 8%, rgba(33, 184, 215, 0.34), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(157, 52, 242, 0.26), transparent 28%),
    linear-gradient(145deg, #101318 0%, #151922 58%, #20232a 100%);
  color: #fff;
}

.hero .container {
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 58px;
  padding: 74px 0 86px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.hero-facts span {
  display: block;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-facts strong {
  display: block;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
}

.product-stack {
  position: relative;
  min-height: 480px;
}

.product-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #151922;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.product-card.main {
  inset: 30px 16px auto 0;
}

.product-card.secondary-shot {
  right: 0;
  bottom: 20px;
  width: 60%;
}

.product-card img {
  width: 100%;
  height: auto;
}

.floating-status {
  position: absolute;
  left: 24px;
  bottom: 0;
  width: min(340px, 62%);
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.floating-status b {
  display: block;
  font-size: 15px;
}

.progress {
  height: 8px;
  margin: 12px 0 8px;
  border-radius: 999px;
  background: #e7edf3;
}

.progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 58px 0;
}

.section.dark {
  background: var(--dark);
  color: #fff;
}

.section.alt {
  background: #fff;
}

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

.section-head h2,
.split h2,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-head p,
.split p,
.page-hero p {
  max-width: 660px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-head p,
.dark .split p {
  color: rgba(255, 255, 255, 0.68);
}

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

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

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

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

.dark .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

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

.dark .card p {
  color: rgba(255, 255, 255, 0.68);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eef8fb;
  color: #087f98;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 54px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 28px;
  position: relative;
  color: #384254;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

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

.reviews {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 650;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
}

.dark .quote blockquote {
  color: #f5f8fb;
}

.dark .quote cite {
  color: rgba(255, 255, 255, 0.7);
}

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

.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
}

.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  padding: 76px 0 64px;
}

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

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

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.download-card a {
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

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

th {
  background: #f0f5f8;
  font-size: 13px;
  text-transform: uppercase;
  color: #596374;
}

td a {
  color: #0d8098;
  font-weight: 750;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  position: relative;
  padding-left: 76px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-weight: 850;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: #eefaf5;
  border-radius: 8px;
  color: #25463a;
}

.site-footer {
  padding: 44px 0;
  background: #0f1116;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: end;
}

.footer-links a {
  color: #fff;
  font-weight: 650;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.66);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.38);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0 44px 8px 0;
  font-size: 28px;
  line-height: 1.2;
}

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

.qr-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.qr-item img {
  width: 168px;
  height: 168px;
  margin: 0 auto 12px;
}

.qr-item strong {
  display: block;
  margin-bottom: 4px;
}

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

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav .button {
    display: none;
  }

  .hero .container,
  .split,
  .reviews,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero .container {
    min-height: auto;
    gap: 34px;
    padding: 56px 0 70px;
  }

  .product-stack {
    min-height: 420px;
  }

  .grid.three,
  .grid.four,
  .download-grid,
  .hero-facts,
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

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

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: block;
  }

  .grid.three,
  .grid.four,
  .download-grid,
  .hero-facts,
  .metric-row,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .product-stack {
    min-height: 360px;
  }

  .product-card.main {
    inset: 0 0 auto;
  }

  .product-card.secondary-shot {
    width: 68%;
  }

  .floating-status {
    left: 0;
    width: 78%;
  }

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

  .download-card a {
    width: 100%;
  }

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