@charset "UTF-8";

:root {
  --brand: #2F6BFF;
  --brand-deep: #1B4ED6;
  --accent: #2FD07A;
  --ink: #0D1526;
  --ink-soft: #1C2942;
  --paper: #f4f7fd;
  --card: #ffffff;
  --muted: #5a6980;
  --line: #dbe5f6;
  --r: 16px;
  --r-sm: 9px;
  --shell: 1180px;
  --hh: 74px;
  --shadow: 0 18px 42px rgba(28, 55, 110, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 44px), var(--shell));
  margin: 0 auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }
.icon-route::before { background-image: url("../icons/route.svg"); }
.icon-book::before { background-image: url("../icons/book.svg"); }

/* ===== 顶部导航 ===== */
.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(10px);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 44px), var(--shell));
  min-height: var(--hh);
  margin: 0 auto;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: contain;
  background: #eef3ff;
}

.primary-nav {
  margin-left: 6px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 8px 2px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a:hover {
  color: var(--brand);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 40px;
  margin-left: auto;
  padding: 0 18px;
  gap: 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(140deg, #3d7bff, #2158e0);
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.28);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-download .icon,
.button-primary .icon,
.button-light .icon {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 107, 255, 0.36);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 19px;
  height: 19px;
}

/* ===== 英雄区 ===== */
.hero {
  position: relative;
  padding: 54px 0 62px;
  overflow: hidden;
  background:
    radial-gradient(760px 320px at 88% 0%, rgba(47, 107, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #ecf2ff 0%, #f6f9ff 62%, #f4f7fd 100%);
  scroll-margin-top: calc(var(--hh) + 14px);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(rgba(47, 107, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(46px, 5.6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 14px 0 14px;
  color: var(--ink-soft);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.hero-summary {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 480px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  gap: 9px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #3f7dff, #1b4fdb);
  box-shadow: 0 14px 26px rgba(31, 84, 224, 0.28);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(31, 84, 224, 0.34);
}

/* ===== 英雄区：设备性能仪表盘 ===== */
.hero-gauges {
  width: 100%;
  max-width: 452px;
  justify-self: end;
  padding: 20px 22px 18px;
  border: 1px solid #24365c;
  border-radius: 20px;
  color: #e9f0ff;
  background: linear-gradient(165deg, #101b33 0%, #0b1427 100%);
  box-shadow: 0 26px 48px rgba(12, 25, 51, 0.34);
}

.hg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid #233656;
}

.hg-top b {
  font-size: 14px;
  letter-spacing: 0.4px;
}

.hg-chip {
  padding: 4px 10px;
  border-radius: 999px;
  color: #062515;
  background: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.hg-rings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 0 6px;
}

.hg-ring {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 10px 6px 0;
}

.hg-dial {
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #0b1427 76%, transparent 77%),
    conic-gradient(var(--brand) calc(var(--p) * 1%), #1e2f4d 0);
}

.hg-dial.is-gpu {
  background:
    radial-gradient(closest-side, #0b1427 76%, transparent 77%),
    conic-gradient(var(--accent) calc(var(--p) * 1%), #1e2f4d 0);
}

.hg-dial span {
  color: #fff;
  font-family: "DIN Alternate", "Bahnschrift", Consolas, monospace;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.hg-dial i {
  margin-left: 1px;
  font-size: 12px;
  font-style: normal;
  opacity: 0.7;
}

.hg-ring b {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
}

.hg-ring small {
  color: #7f93b8;
  font-size: 10.5px;
}

.hg-rows {
  display: grid;
  gap: 1px;
  margin: 12px 0 12px;
  border: 1px solid #223452;
  border-radius: 12px;
  overflow: hidden;
  background: #223452;
}

.hg-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 9px 14px;
  background: #0d1830;
}

.hg-row span {
  color: #93a7c9;
  font-size: 12px;
}

.hg-row strong {
  color: #fff;
  font-family: "DIN Alternate", "Bahnschrift", Consolas, monospace;
  font-size: 19px;
  font-weight: 700;
}

.hg-row small {
  margin-left: 3px;
  color: #6f86ad;
  font-size: 10px;
  font-weight: 500;
}

.hg-shot {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #223452;
  border-radius: 11px;
  background: #0d1830;
}

.hg-shot img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.hg-shot span {
  color: #8ea4c7;
  font-size: 11.5px;
  line-height: 1.5;
}

/* ===== 核心特色：2×2 卡阵 ===== */
.routes {
  padding: 68px 0 74px;
  background: #fff;
  scroll-margin-top: calc(var(--hh) + 14px);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.2;
}

.section-heading > p:last-child {
  margin-top: 11px;
  color: var(--muted);
  font-size: 14.5px;
}

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

.four {
  position: relative;
  padding: 24px 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: 0 5px 0 #e4ebf9;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.four:hover {
  transform: translateY(-3px);
  border-color: #b9cdf3;
  box-shadow: 0 8px 0 #dbe6f8, 0 14px 26px rgba(32, 66, 134, 0.08);
}

.four .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  border-radius: 7px;
  color: var(--brand);
  background: #ecf2ff;
  font-family: "DIN Alternate", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.four h3 {
  margin: 12px 0 7px;
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

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

/* ===== 界面展示：深色带 ===== */
.screens {
  padding: 70px 0 78px;
  color: #fff;
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(47, 208, 122, 0.12), transparent 70%),
    #0d1526;
  scroll-margin-top: calc(var(--hh) + 14px);
}

.section-heading-dark h2 {
  color: #fff;
}

.section-heading-dark > p:last-child {
  color: #93a7c9;
}

.section-heading-dark .eyebrow {
  color: var(--accent);
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.covers figure {
  min-width: 0;
}

.covers figure:nth-child(even) {
  margin-top: 26px;
}

.covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #253758;
  border-radius: 12px;
  background: #101c33;
}

.covers figcaption {
  margin-top: 10px;
}

.covers figcaption b {
  display: block;
  color: #eaf1ff;
  font-size: 13.5px;
}

.covers figcaption small {
  display: block;
  margin-top: 2px;
  color: #8298bd;
  font-size: 11.5px;
}

/* ===== FAQ 双栏 ===== */
.faq {
  padding: 72px 0 40px;
  background: var(--paper);
  scroll-margin-top: calc(var(--hh) + 14px);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: calc(var(--hh) + 20px);
  margin-bottom: 0;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  width: 15px;
  height: 15px;
  filter: invert(39%) sepia(93%) saturate(2660%) hue-rotate(208deg) brightness(99%) contrast(101%);
  transition: transform 180ms ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 15px;
}

.faq-answer p {
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13.8px;
}

/* ===== 官方入口 ===== */
.official {
  padding: 6px 0 70px;
}

.official .section-heading {
  margin-bottom: 20px;
}

.official-fold {
  border: 1px solid #bcd0f4;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f5f9ff);
}

.official-fold summary {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  color: var(--brand-deep);
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 800;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "+";
  font-size: 20px;
  font-weight: 700;
}

.official-fold[open] summary::after {
  content: "–";
}

.official-link {
  padding: 14px 20px 18px;
  border-top: 1px dashed #c9d9f6;
}

.official-link p {
  color: var(--muted);
  font-size: 14px;
}

.official-link a {
  color: var(--brand-deep);
  font-weight: 700;
  word-break: break-all;
}

/* ===== 用户评价 ===== */
.reviews {
  padding: 72px 0 76px;
  background: #fff;
  scroll-margin-top: calc(var(--hh) + 14px);
}

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

.review-card {
  position: relative;
  padding: 22px 22px 20px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}

.review-card::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 4px;
  content: "";
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.review-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.review-card .who b {
  font-size: 14px;
  font-weight: 800;
}

.review-card time {
  color: #8695ae;
  font-family: "DIN Alternate", Consolas, monospace;
  font-size: 11.5px;
  white-space: nowrap;
}

.review-card > p {
  margin: 11px 0 0;
  color: #46546c;
  font-size: 13.8px;
  line-height: 1.85;
}

.rv-site {
  margin-top: 11px;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--brand-deep);
  background: #eef3ff;
  font-size: 11.5px;
  font-weight: 700;
}

/* ===== 下载模块 ===== */
.download-cta {
  padding: 66px 0 70px;
  background: var(--paper);
  scroll-margin-top: calc(var(--hh) + 14px);
}

.download-panel {
  padding: 40px 42px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(420px 200px at 92% 8%, rgba(47, 208, 122, 0.28), transparent 70%),
    linear-gradient(135deg, #2456c8, #163a92);
  box-shadow: var(--shadow);
  text-align: center;
}

.download-panel .section-heading {
  max-width: 640px;
  margin: 0 auto 22px;
}

.download-panel .eyebrow {
  color: #9fe8c4;
}

.download-panel h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

.download-panel .section-heading > p:last-child {
  color: #c9d8f7;
}

.button-light {
  color: #12306e;
  background: #fff;
  box-shadow: 0 12px 24px rgba(8, 26, 66, 0.28);
}

.button-light .icon {
  filter: invert(18%) sepia(56%) saturate(2894%) hue-rotate(212deg) brightness(92%) contrast(96%);
}

.button-light:hover {
  transform: translateY(-2px);
  background: #eaf1ff;
}

.disclaimer {
  max-width: 620px;
  margin: 18px auto 0;
  color: #b5c8ee;
  font-size: 12.5px;
  line-height: 1.7;
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 26px 0;
  color: #a8b9d8;
  background: #0b1322;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

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

.site-footer a:hover {
  color: #fff;
}

.icp {
  margin: 0;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(23, 66, 170, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 9px;
  height: 9px;
  content: "";
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--brand-deep);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-gauges {
    max-width: 100%;
    justify-self: stretch;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-layout .section-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --hh: 62px;
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
  }

  body {
    padding-top: var(--hh);
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 9px;
  }

  .brand {
    font-size: 16.5px;
  }

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

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -15px;
    padding: 0 15px 12px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 11px;
  }

  .primary-nav a {
    display: block;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #f8fbff;
    font-size: 13px;
  }

  .nav-download {
    min-width: auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
    box-shadow: none;
  }

  .nav-download .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 34px 0 40px;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.2px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-summary {
    font-size: 14px;
  }

  .hero-gauges {
    padding: 16px 16px 14px;
  }

  .hg-dial {
    width: 84px;
    height: 84px;
  }

  .hg-dial span {
    font-size: 21px;
  }

  .routes,
  .screens,
  .reviews,
  .download-cta {
    padding: 48px 0 52px;
  }

  .faq {
    padding: 48px 0 26px;
  }

  .official {
    padding: 2px 0 48px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

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

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

  .covers figure:nth-child(even) {
    margin-top: 16px;
  }

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

  .download-panel {
    padding: 30px 20px;
  }

  .download-panel .button-light {
    width: 100%;
  }

  .footer-inner {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 6px;
  }

  .to-top {
    right: 16px;
    bottom: 136px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 14.5px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
  }

  .primary-nav ul {
    grid-template-columns: 1fr;
  }
}
