:root {
  --bg: #f6faff;
  --bg-strong: #edf5ff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #111827;
  --muted: #5c6b7a;
  --line: #d7e3f0;
  --line-strong: #b8cce1;
  --brand: #0f63d8;
  --brand-dark: #0a4ba8;
  --brand-soft: #dfeeff;
  --green: #45a852;
  --green-soft: #e9f8ec;
  --silver: #73849a;
  --shadow: 0 18px 48px rgba(20, 70, 120, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
  gap: 12px;
}

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

.brand strong {
  display: block;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 800;
}

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

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.header-cta {
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

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

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

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

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

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

.hero {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.98), rgba(238,247,255,0.96)),
    radial-gradient(circle at 78% 28%, rgba(15, 99, 216, 0.12), transparent 38%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 52px;
  min-height: 610px;
  padding: 66px 0 58px;
}

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

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #314154;
  font-size: 19px;
}

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

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

.point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #405265;
  font-size: 14px;
  font-weight: 700;
}

.icon-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--brand);
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.device-stage {
  position: absolute;
  inset: 18px 0 0 0;
  border: 1px solid rgba(184, 204, 225, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.test-grid {
  position: absolute;
  top: 34px;
  right: 42px;
  width: 310px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 7px;
}

.test-grid span {
  aspect-ratio: 1;
  border: 1px solid #c9d9e9;
  border-radius: 4px;
  background: #edf5ff;
}

.test-grid span:nth-child(23),
.test-grid span:nth-child(38),
.test-grid span:nth-child(55) {
  background: #7cc66f;
  border-color: #62b954;
}

.drive-art {
  position: absolute;
  left: 60px;
  bottom: 46px;
  width: min(58%, 360px);
}

.status-card {
  position: absolute;
  right: 22px;
  bottom: 62px;
  width: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 32px rgba(30, 74, 118, 0.14);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #415366;
  font-size: 14px;
  font-weight: 700;
}

.status-row span:last-child {
  color: var(--green);
}

.section {
  padding: 76px 0;
  background: #fff;
}

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

.section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  font-weight: 900;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

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

.card,
.review,
.download-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card {
  padding: 26px;
}

.card h3,
.review h3,
.download-card h3,
.faq-item h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

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

.scenario-list {
  display: grid;
  gap: 18px;
}

.scenario-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

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

.scenario-row h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

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

.review {
  padding: 28px;
}

.stars {
  margin-top: 18px;
  color: var(--green);
  font-size: 18px;
  letter-spacing: 2px;
}

.review cite {
  display: block;
  margin-top: 14px;
  color: #506174;
  font-style: normal;
  font-weight: 800;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.download-info {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.download-info h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

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

.meta-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.meta-list strong {
  display: block;
  color: var(--text);
}

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

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

.download-card {
  padding: 22px;
  text-align: center;
}

.download-card img {
  width: 150px;
  height: 150px;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  color: #2f6840;
  font-weight: 700;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

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

.prose h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.22;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 23px;
}

.prose p,
.prose li {
  color: #526274;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.side-box {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.side-box h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.side-box a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-weight: 800;
}

.side-box a:last-child {
  border-bottom: 0;
}

.page-hero {
  padding: 74px 0;
  background: linear-gradient(115deg, #ffffff, #eaf4ff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #405265;
  font-size: 18px;
}

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

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

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

.cta-inner p {
  margin: 8px 0 0;
  color: #d8e7f7;
}

.site-footer {
  padding: 46px 0 24px;
  background: #fff;
  border-top: 1px solid var(--line);
}

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

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #748194;
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 25, 42, 0.58);
}

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

.modal {
  width: min(760px, 100%);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

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

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

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

.modal-body {
  padding: 24px;
}

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

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

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .download-panel,
  .content-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 380px;
  }

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

  .side-box {
    position: static;
  }
}

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

  .brand {
    min-width: 0;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

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

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

  .hero-points,
  .grid-4,
  .grid-3,
  .qr-pair,
  .meta-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .test-grid {
    right: 20px;
    width: 210px;
    gap: 5px;
  }

  .drive-art {
    left: 16px;
    bottom: 38px;
    width: 72%;
  }

  .status-card {
    right: 12px;
    bottom: 34px;
    width: 150px;
    padding: 14px;
  }

  .section {
    padding: 54px 0;
  }

  .card,
  .review,
  .download-info,
  .prose {
    padding: 22px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
