/* ── 配色参考 HarmonyOS 官网：白底、深灰文字、鸿蒙蓝点缀、大圆角 ── */
:root {
  --blue: #0A59F7;
  --blue-hover: #2B7BFF;
  --blue-press: #0047CC;
  --blue-weak: #E9F1FF;
  --text: #191919;
  --text-2: #666666;
  --text-3: #999999;
  --line: #E5E5E5;
  --bg: #FFFFFF;
  --bg-alt: #F4F5F7;
  --surface: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1120px;
  --font: "HarmonyOS Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--primary:active { background: var(--blue-press); transform: translateY(1px); }
.btn--sm { height: 36px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 36px; font-size: 18px; box-shadow: 0 8px 24px rgba(10, 89, 247, .25); }
.btn--lg:hover { box-shadow: 0 10px 28px rgba(10, 89, 247, .32); }
.btn--disabled, .btn--disabled:hover { background: #C9C9C9; color: #fff; box-shadow: none; cursor: not-allowed; }

/* ── 导航 ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav--scrolled { border-bottom-color: var(--line); }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  color: var(--text-2);
}
.nav__links a:not(.btn):hover { color: var(--text); }

/* ── Hero ── */
.hero {
  padding: 96px 0 0;
  text-align: center;
  background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 60%);
  overflow: hidden;
}
.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-weak);
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.hero__title {
  margin-top: 20px;
  font-size: 56px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero__desc {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 18px;
  color: var(--text-2);
}
.hero__actions { margin-top: 36px; }
.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-3);
}
.hero__meta b { font-weight: 500; color: var(--text-2); }
.hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.hero__sha {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  word-break: break-all;
}

/* ── 产品示意窗口 ── */
.mock {
  max-width: auto;
  margin: 64px auto -1px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .06);
  overflow: hidden;
  text-align: left;
}
.mock__bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #FAFAFA;
}
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #DADADA; }
.mock__body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  padding: 24px;
  background: #F6F7F9;
}
.mock__shot {
  display: block;
  width: 100%;
  height: auto;        /* 不要 100%、不要固定 px */
  max-height: none;
  object-fit: contain; /* 从 cover 改成 contain，宁可留白也不裁 */
  background: #F6F7F9;
}

/* ── 通用区块 ── */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.section__desc {
  text-align: center;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 17px;
}

/* ── 功能卡片 ── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .06); }
.card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--blue-weak);
  color: var(--blue);
  display: grid; place-items: center;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-top: 22px; font-size: 18px; font-weight: 600; }
.card p { margin-top: 10px; font-size: 14px; color: var(--text-2); }

/* ── 安装步骤 ── */
.steps {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.step h3 { margin-top: 20px; font-size: 18px; font-weight: 600; }
.step p { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
}

/* ── 系统要求 ── */
.req {
  max-width: 720px;
  margin: 48px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.req__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.req__row:last-child { border-bottom: 0; }
.req__row span { color: var(--text-3); }
.req__row b { font-weight: 500; }

/* ── 页脚 ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 13px;
  color: var(--text-3);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__brand { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; }
.footer__icp a:hover { color: var(--text); text-decoration: underline; }

/* ── 响应式 ── */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 44px; }
}
@media (max-width: 680px) {
  .nav__links { gap: 18px; font-size: 14px; }
  .nav__links a:not(.btn) { display: none; }
  .hero { padding-top: 64px; }
  .hero__title { font-size: 34px; }
  .hero__desc { font-size: 16px; }
  .btn--lg { height: 50px; padding: 0 28px; font-size: 16px; }
  .mock { margin-top: 44px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__tag { display: none; }
  .section { padding: 64px 0; }
  .section__title { font-size: 28px; }
  .grid, .steps { grid-template-columns: 1fr; margin-top: 36px; }
  .req__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 20px; }
}
