/* ══════════════════════════════════════════════════════════
   妙启轮盘 官网样式
   配色沿用软件本身的深色视觉：石墨底 + 蓝色高亮
   ══════════════════════════════════════════════════════════ */

/* ── 字体：与软件内图标同一套 FontAwesome 6 ── */
@font-face {
  font-family: "FontAwesome6Solid";
  src: url("../assets/fonts/fa6-solid.ttf") format("truetype");
  font-display: block;
}
@font-face {
  font-family: "FontAwesome6Brands";
  src: url("../assets/fonts/fa6-brands.ttf") format("truetype");
  font-display: block;
}

/* ── 设计变量 ── */
:root {
  --bg:        #0b0d12;
  --bg-soft:   #10131a;
  --surface:   rgba(255, 255, 255, 0.038);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.17);

  --text:      #eef1f6;
  --text-soft: #a8b0c0;
  --text-dim:  #6f7787;

  /* 蓝：取自软件轮盘的选中色 */
  --accent:      #3d8bfd;
  --accent-lite: #6aa8ff;
  --accent-deep: #2464c8;
  --violet:      #8b5cf6;
  --cyan:        #22d3ee;

  --radius:    18px;
  --radius-sm: 12px;
  --wrap:      1160px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 24px 70px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px -12px rgba(61, 139, 253, 0.55);
}

/* ── 基础 ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
               "Segoe UI", "Microsoft YaHei UI", "PingFang SC",
               "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  /* 这里刻意不用 overflow-x: hidden。hidden 会把 body 自身变成滚动容器
     （另一轴的 overflow 会被一并算成 auto），于是 html 上的 scroll-snap
     就作用在了一个不滚动的元素上，吸附整个失效。
     clip 只裁剪、不创建滚动容器，正是这里想要的效果。 */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: rgba(61, 139, 253, 0.35); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0c10; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-deep), #1a2436);
  border-radius: 10px;
  border: 2px solid #0a0c10;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

code, kbd {
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: 0.88em;
}
kbd {
  display: inline-block;
  padding: 0.12em 0.5em;
  background: var(--surface-2);
  border: 1px solid var(--border-hi);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.84em;
}
code {
  padding: 0.14em 0.42em;
  background: rgba(61, 139, 253, 0.11);
  border: 1px solid rgba(61, 139, 253, 0.2);
  border-radius: 5px;
  color: var(--accent-lite);
  /* 优先在反斜杠、下划线等分隔符处换行，实在放不下才断词。
     break-all 会把 %APPDATA%\MiaoQiWheel\ 从中间劈开，很难读。 */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ── FontAwesome 图标 ── */
i[class*="fa-"] {
  font-style: normal;
  display: inline-block;
  line-height: 1;
  speak: never;
}
/* 默认给正体字体。用 [class*="fa-"] 而不是 [class^="fa-"]：后者要求
   fa- 出现在 class 属性最开头，只要把顺序写成 class="warn fa-solid" 就失效。
   下面再用 brands 规则覆盖，顺序不可颠倒。 */
.fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-sharp,
i[class*="fa-"] {
  font-family: "FontAwesome6Solid";
  font-weight: 900;
}
i[class*="fa-brands"] { font-family: "FontAwesome6Brands"; font-weight: 400; }
.fa-fw { width: 1.25em; text-align: center; }

/* 伪元素同样需要正体与图标字体：<i> 上的 font-style/family 不会可靠地
   传递到 ::before，尤其是 <i> 同时带有 text/brand 两类类名时。
   这里默认给正体，再由下面的 brands 规则覆盖 —— 顺序不能反，否则 brands
   会被正体规则压掉（两条选择器特指度相同时后写的赢）。 */
i[class*="fa-"]::before {
  font-family: "FontAwesome6Solid";
  font-style: normal;
  font-weight: 900;
  display: inline-block;
  line-height: 1;
}
/* 用属性子串而不是 i.fa-brands：子串写法对 class 里同时挂多个类名、
   或将来写成 data 属性的情况都成立，不会因为少写一个 fa-brands 而静默变方块。 */
i[class*="fa-brands"]::before { font-family: "FontAwesome6Brands"; font-weight: 400; }

/* ══════════ 图标码位 ══════════
   全部从 fa6-solid.ttf / fa6-brands.ttf 的 cmap 反查生成，勿手写：
   手写极易记错（例如 folder 实为 F114，F07B 是另一个图标）。 */
.fa-arrow-down::before { content: "\f063"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-arrow-up::before { content: "\f062"; }
.fa-arrows-up-down-left-right::before { content: "\f047"; }
.fa-check::before { content: "\f00c"; }
.fa-chevron-down::before { content: "\f078"; }
.fa-circle-info::before { content: "\f05a"; }
.fa-circle-play::before { content: "\f144"; }
.fa-circle-question::before { content: "\f29c"; }
.fa-coins::before { content: "\f51e"; }
.fa-crosshairs::before { content: "\f05b"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-feather::before { content: "\f52d"; }
.fa-file-arrow-down::before { content: "\f56d"; }
.fa-file-zipper::before { content: "\f1c6"; }
.fa-hand-pointer::before { content: "\f25a"; }
.fa-hard-drive::before { content: "\f0a0"; }
.fa-layer-group::before { content: "\f5fd"; }
.fa-lightbulb::before { content: "\f0eb"; }
.fa-microchip::before { content: "\f2db"; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-sliders::before { content: "\f1de"; }
.fa-triangle-exclamation::before { content: "\f071"; }
.fa-wifi::before { content: "\f1eb"; }
.fa-github::before { content: "\f09b"; font-family: "FontAwesome6Brands"; }
.fa-windows::before { content: "\f17a"; font-family: "FontAwesome6Brands"; }


/* ══════════ 背景层 ══════════ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 极光光斑 */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.aurora-a {
  width: 62vw; height: 62vw;
  top: -22vw; left: -14vw;
  background: radial-gradient(circle, rgba(61,139,253,0.55), transparent 68%);
  animation: drift-a 26s ease-in-out infinite;
}
.aurora-b {
  width: 54vw; height: 54vw;
  top: 24vh; right: -18vw;
  background: radial-gradient(circle, rgba(139,92,246,0.42), transparent 68%);
  animation: drift-b 32s ease-in-out infinite;
}
.aurora-c {
  width: 48vw; height: 48vw;
  bottom: -18vw; left: 22vw;
  background: radial-gradient(circle, rgba(34,211,238,0.26), transparent 68%);
  animation: drift-c 29s ease-in-out infinite;
}
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(7vw, 5vh) scale(1.14); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1.06); }
  50%      { transform: translate(-6vw, 7vh) scale(0.92); }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(0.95); }
  50%      { transform: translate(5vw, -6vh) scale(1.12); }
}

/* 网格 */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 62% at 50% 34%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 34%, #000 30%, transparent 78%);
}

/* 噪点 */
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ══════════ 导航 ══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s, border-color 0.45s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 30px; height: 30px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 15px; }
.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14px;
  color: var(--text-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.28s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.36s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ══════════ 侧边指示点 ══════════ */
.section-dots {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  position: relative;
  transition: all 0.36s var(--ease);
}
.section-dots button::after {
  content: attr(data-label);
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-size: 12px;
  color: var(--text-soft);
  background: rgba(16,19,26,0.94);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.section-dots button:hover { background: var(--text-soft); transform: scale(1.3); }
.section-dots button:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.section-dots button.active {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(61,139,253,0.2), 0 0 18px rgba(61,139,253,0.8);
  transform: scale(1.25);
}

/* ══════════ 通用布局 ══════════ */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.wrap-narrow { max-width: 840px; }

.section {
  position: relative;
  padding: 130px 0;
  z-index: 1;
}

.sec-head { max-width: 660px; margin-bottom: 62px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 5px 12px;
  border: 1px solid rgba(61,139,253,0.28);
  border-radius: 100px;
  background: rgba(61,139,253,0.07);
}
.sec-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin-bottom: 18px;
}
.sec-desc { font-size: 16.5px; color: var(--text-soft); line-height: 1.75; }

.gradient-text {
  background: linear-gradient(100deg, var(--accent-lite) 0%, var(--cyan) 45%, var(--violet) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }

/* ── 3D 倾斜卡片：transform 由 JS 写入行内样式，这里只声明过渡与透视 ── */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.42s var(--ease), border-color 0.42s,
              box-shadow 0.42s, background 0.42s;
}
/* 鼠标按住拖拽时不要留下倾斜的残影 */
.tilt:active { transition-duration: 0.12s; }

/* ══════════ 按钮 ══════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
              background 0.3s, border-color 0.3s, color 0.3s;
  overflow: hidden;
  isolation: isolate;
}
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* 主按钮：渐变 + 光扫 */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 55%, var(--violet) 100%);
  background-size: 200% 200%;
  box-shadow: 0 12px 34px -12px rgba(61,139,253,0.75),
              inset 0 1px 0 rgba(255,255,255,0.24);
  animation: grad-shift 6s ease infinite;
}
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,0.42) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease);
  z-index: -1;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px -12px rgba(61,139,253,0.92),
              inset 0 1px 0 rgba(255,255,255,0.3);
}

/* 幽灵按钮 */
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(61,139,253,0.5);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -14px rgba(0,0,0,0.8);
}

/* 禁用态（下载地址为空时） */
.btn.is-disabled {
  pointer-events: none;
  opacity: 0.5;
  filter: grayscale(0.65);
  animation: none;
}
.btn.is-disabled .btn-text::after { content: " · 即将推出"; font-weight: 500; opacity: 0.85; }

/* ══════════ HERO ══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 26px;
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.2);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.2); }
  50%      { box-shadow: 0 0 0 7px rgba(52,211,153,0.05); }
}

.hero-title {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; }

.hero-sub {
  font-size: 17.5px;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-facts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-dim);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts i { color: var(--accent); font-size: 13px; }

/* 轮盘舞台 */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.wheel-stage {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wheel-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,139,253,0.3), transparent 66%);
  filter: blur(42px);
  animation: glow-breathe 6.5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.09); }
}
#heroWheel {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 540px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  cursor: crosshair;
}
.wheel-hint {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(11,13,18,0.72);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.45s var(--ease);
  white-space: nowrap;
}
.wheel-hint.hide { opacity: 0; }

/* 滚动提示 */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  z-index: 3;
}
.scroll-cue:hover { color: var(--accent); }
.scroll-cue-mouse {
  width: 24px; height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 14px;
  position: relative;
  display: block;
}
.scroll-cue-dot {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  background: currentColor;
  border-radius: 2px;
  animation: cue-scroll 1.9s ease-in-out infinite;
}
@keyframes cue-scroll {
  0%   { opacity: 0; transform: translateY(0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(13px); }
}

/* ══════════ 特性卡片 ══════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.052), rgba(255,255,255,0.016));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.42s var(--ease), border-color 0.42s, box-shadow 0.42s;
  transform-style: preserve-3d;
}
/* 悬停时跟随鼠标的高光 */
.card::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,139,253,0.17), transparent 62%);
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.42s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,139,253,0.7), transparent);
  opacity: 0;
  transition: opacity 0.42s;
}
.card:hover::after { opacity: 1; }
.card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-lg), 0 0 44px -22px rgba(61,139,253,0.55);
}

.card-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 19px;
  color: var(--accent-lite);
  background: linear-gradient(145deg, rgba(61,139,253,0.19), rgba(139,92,246,0.11));
  border: 1px solid rgba(61,139,253,0.24);
  margin-bottom: 20px;
  transition: transform 0.42s var(--ease), box-shadow 0.42s;
}
.card:hover .card-icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 26px -10px rgba(61,139,253,0.7);
}
.card h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 11px;
  letter-spacing: -0.012em;
}
.card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.78; }

/* ══════════ 动作库墙 ══════════ */
.action-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 12px;
}
.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 22px 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.36s var(--ease), background 0.36s,
              border-color 0.36s, box-shadow 0.36s;
  position: relative;
  overflow: hidden;
}
.action-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(61,139,253,0.22), transparent 68%);
  opacity: 0;
  transition: opacity 0.36s;
}
.action-item:hover {
  transform: translateY(-6px) scale(1.035);
  background: var(--surface-2);
  border-color: rgba(61,139,253,0.42);
  box-shadow: 0 18px 36px -18px rgba(61,139,253,0.62);
}
.action-item:hover::after { opacity: 1; }
.action-item i {
  font-size: 22px;
  color: var(--text-soft);
  transition: color 0.36s, transform 0.36s var(--ease);
  position: relative;
  z-index: 1;
}
.action-item:hover i { color: var(--accent-lite); transform: scale(1.14); }
.action-item span {
  font-size: 12.5px;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
  line-height: 1.35;
}
.action-item em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.wall-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 9px;
}
.wall-note i { color: var(--accent); }

/* ══════════ 截图 ══════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.shot { border-radius: var(--radius); overflow: hidden; }
.shot-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #14171e;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.shot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(61,139,253,0.14), transparent 46%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.shot:hover .shot-frame {
  transform: translateY(-7px);
  border-color: rgba(61,139,253,0.4);
  box-shadow: 0 26px 54px -22px rgba(0,0,0,0.9), 0 0 42px -20px rgba(61,139,253,0.6);
}
.shot:hover .shot-frame::after { opacity: 1; }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  margin-top: 13px;
  font-size: 13.5px;
  color: var(--text-dim);
  text-align: center;
  transition: color 0.4s;
}
.shot:hover figcaption { color: var(--text-soft); }

/* ══════════ 三步流程 ══════════ */
.steps {
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 40px;
}
.step {
  flex: 1;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  transition: transform 0.42s var(--ease), border-color 0.42s, box-shadow 0.42s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(61,139,253,0.4);
  box-shadow: 0 22px 46px -22px rgba(61,139,253,0.6);
}
.step-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  opacity: 0.85;
}
.step h3 { font-size: 20px; font-weight: 750; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-soft); line-height: 1.75; }
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  font-size: 15px;
  opacity: 0.5;
}

.tech-note, .callout {
  display: flex;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: rgba(61,139,253,0.055);
  border: 1px solid rgba(61,139,253,0.2);
  border-left: 3px solid var(--accent);
}
.tech-note > i, .callout > i {
  font-size: 19px;
  color: var(--accent-lite);
  flex-shrink: 0;
  margin-top: 2px;
}
.tech-note strong, .callout strong { color: var(--text); }
.tech-note p, .callout p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-top: 7px;
}
.tech-note strong { display: block; font-size: 15.5px; }

/* ══════════ 下载 ══════════ */
.ver-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-lite);
  background: rgba(61,139,253,0.13);
  border: 1px solid rgba(61,139,253,0.3);
  font-family: "Cascadia Code", Consolas, monospace;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}
.dl-card {
  position: relative;
  padding: 34px 30px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,0.058), rgba(255,255,255,0.016));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: transform 0.42s var(--ease), border-color 0.42s, box-shadow 0.42s;
  overflow: hidden;
}
.dl-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.dl-primary {
  border-color: rgba(61,139,253,0.42);
  box-shadow: 0 0 0 1px rgba(61,139,253,0.12), var(--shadow-glow);
}
.dl-primary:hover {
  border-color: rgba(61,139,253,0.68);
  box-shadow: 0 26px 60px -24px rgba(61,139,253,0.8), var(--shadow-lg);
}
.dl-ribbon {
  position: absolute;
  top: 18px; right: -34px;
  transform: rotate(38deg);
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 40px;
  box-shadow: 0 6px 20px -6px rgba(61,139,253,0.8);
}
.dl-head {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.dl-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 26px -10px rgba(61,139,253,0.85);
}
.dl-card:not(.dl-primary) .dl-icon {
  color: var(--accent-lite);
  background: linear-gradient(145deg, rgba(61,139,253,0.18), rgba(255,255,255,0.05));
  border: 1px solid rgba(61,139,253,0.24);
  box-shadow: none;
}
.dl-head h3 { font-size: 20px; font-weight: 750; margin-bottom: 5px; }
.dl-note { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

.dl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  flex: 1;
}
.dl-list li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}
.dl-list i { color: #34d399; font-size: 13px; margin-top: 4px; flex-shrink: 0; }
.dl-list i.warn { color: #fbbf24; }

.dl-meta {
  margin-top: 13px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  min-height: 18px;
}

.req-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.req-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.36s, background 0.36s;
}
.req-item:hover { border-color: var(--border-hi); background: var(--surface-2); }
.req-item > i { font-size: 19px; color: var(--accent); flex-shrink: 0; }
.req-item div { display: flex; flex-direction: column; line-height: 1.4; }
.req-item span { font-size: 11.5px; color: var(--text-dim); }
.req-item strong { font-size: 14px; font-weight: 600; }

/* ══════════ 安装步骤 ══════════ */
.install-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  counter-reset: none;
}
.install-steps li {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  border: 1px solid var(--border);
  transition: transform 0.42s var(--ease), border-color 0.42s, box-shadow 0.42s;
}
.install-steps li:hover {
  transform: translateY(-6px);
  border-color: rgba(61,139,253,0.4);
  box-shadow: 0 22px 46px -22px rgba(61,139,253,0.6);
}
.is-index {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--violet));
  margin-bottom: 18px;
  box-shadow: 0 8px 22px -8px rgba(61,139,253,0.9);
}
.install-steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.install-steps p { font-size: 14.5px; color: var(--text-soft); line-height: 1.78; }

/* ══════════ FAQ ══════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.36s, background 0.36s;
}
.faq:hover { border-color: var(--border-hi); }
.faq[open] {
  background: var(--surface-2);
  border-color: rgba(61,139,253,0.38);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-lite); }
.faq summary i {
  font-size: 13px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), color 0.3s;
}
.faq[open] summary i { transform: rotate(180deg); color: var(--accent); }
.faq-body {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.84;
}
.faq-body p { animation: faq-in 0.45s var(--ease); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-body strong { color: var(--text); }

/* ══════════ 收尾 CTA ══════════ */
.cta-final { padding-bottom: 140px; }
.cta-box {
  position: relative;
  padding: 74px 40px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(165deg, rgba(61,139,253,0.1), rgba(139,92,246,0.055) 55%, rgba(255,255,255,0.02));
  border: 1px solid rgba(61,139,253,0.26);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 620px; height: 620px;
  left: 50%; top: -46%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,139,253,0.3), transparent 64%);
  filter: blur(56px);
  animation: glow-breathe 7s ease-in-out infinite;
  pointer-events: none;
}
.cta-box h2 {
  position: relative;
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}
.cta-box p {
  position: relative;
  font-size: 16.5px;
  color: var(--text-soft);
  margin-bottom: 34px;
}
.cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════ 页脚 ══════════ */
.footer {
  position: relative;
  z-index: 2;
  padding: 56px 0 46px;
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 14, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.footer-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand { display: flex; gap: 13px; align-items: center; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.45; }
.footer-brand strong { font-size: 15px; font-weight: 700; }
.footer-brand span { font-size: 12.5px; color: var(--text-dim); }
.footer-meta p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 9px;
}
.footer-meta a {
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.footer-meta a:hover { color: var(--accent-lite); border-bottom-color: var(--accent-lite); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-soft);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent-lite); }

/* ══════════ 返回顶部 ══════════ */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 95;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  color: var(--text);
  background: rgba(22, 26, 36, 0.88);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: all 0.42s var(--ease);
  box-shadow: 0 10px 26px -10px rgba(0,0,0,0.8);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(61,139,253,0.9);
}

/* ══════════ 滚动揭示动画 ══════════ */
/* 默认（无 JS / 脚本未执行）为可见态，避免内容被永久藏住。
   只有 html.js（由 <head> 里的内联脚本同步加上）才启用初始隐藏。 */
.reveal { opacity: 1; transform: none; }

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero 入场：逐行上浮 */
html.js .hero .reveal { transition-duration: 1s; }

/* ══════════ 响应式 ══════════ */
@media (max-width: 1024px) {
  .section-dots { display: none; }
  .hero-wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .hero-visual .wheel-stage { width: min(100%, 420px); }
  .hero-title { font-size: clamp(34px, 8vw, 52px); }
  .steps { flex-wrap: wrap; }
  .step { min-width: 240px; }
  .step-arrow { display: none; }
  .footer-wrap { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    flex-direction: column;
    gap: 0;
    background: rgba(14, 17, 24, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: 13px 16px; border-radius: 9px; }
  .nav-links.open a:hover { background: var(--surface-2); }
  .nav-links.open a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .section { padding: 84px 0; }
  .wrap { padding: 0 20px; }
  .sec-head { margin-bottom: 42px; }
  .hero { padding: 104px 0 74px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 16px; font-size: 12.5px; }
  .action-wall { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .action-item { padding: 17px 8px 14px; }
  .action-item i { font-size: 19px; }
  .action-item span { font-size: 11.5px; }
  .cta-box { padding: 50px 22px; }
  .dl-card, .card, .step { padding: 26px 22px; }
  .scroll-cue { display: none; }
  .to-top { right: 18px; bottom: 20px; }
}

/* ══════════ 降低动效偏好 ══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════
   整屏分页（fullpage 式滚动吸附）
   ──────────────────────────────────────────────────────────
   用原生 scroll-snap 实现，不引入 fullpage.js —— 那套库会劫持滚轮事件，
   触控板上很难受。原生做法：每个 .section 至少占满一屏，滚动结束时吸附到
   区块边界；scroll-snap-stop: always 再拦住"一次惯性连跳好几屏"。

   html 上的 .snap 类由 <head> 里的同步脚本添加，且只在用户没有开启
   "减少动态效果"时添加。放同步脚本里是为了避免页面先按普通长页面
   渲染一帧、再跳变成吸附模式的闪动。

   ⚠ 内容高于一屏的区块必须退出吸附，否则会被卡死：
   scroll-snap-stop: always 会让浏览器每次都把你拽回该区块的顶部，
   底部的文字永远看不到。CSS 自己判断不了内容高度，所以这类区块由
   main.js 的 initSnap() 打上 .snap-off —— 这段必须配合 JS 才成立。
   ══════════════════════════════════════════════════════════ */

html.snap {
  /* 吸附模式下不要 scroll-padding：区块要正好贴满视口。
     顶部导航是半透明悬浮条，区块自身的 130px 内边距足够让开它。 */
  scroll-padding-top: 0;

  /* ⚠ 这里必须是 proximity，不能是 mandatory。实测教训：
     mandatory 下"停在非吸附区域"并不会保持不变，浏览器会把你拽到最近的
     吸附点。本站 download 区块高 1477px 而视口只有 900px，滚到该区块中部
     停手后，页面被硬拽回上一个吸附区块 tech 的起点（4527），一次倒退
     1073px，中间内容根本读不到。proximity 只在已经靠近吸附点时才吸，
     在长区块内部不会乱动。 */
  scroll-snap-type: y proximity;
}

/* 所有区块都装得下一屏时，才升级为强制翻页（由 initSnap 加这个类）。
   只要有一个区块超出视口，mandatory 就会把停在它内部的人拽到最近的吸附点
   （实测一次倒退 1000+ px），所以那种情况必须留在 proximity。 */
html.snap.snap-strict {
  scroll-snap-type: y mandatory;
}

html.snap .section {
  /* 这里刻意只加吸附，不动区块的高度与对齐 —— 不要写 min-height: 100svh，
     也不要用 flex 垂直居中。
     曾经加过一版 min-height: 100svh + justify-content: center，结果内容不足
     一屏的区块（安装 / 问答 / 收尾）从"内容贴顶、区块高度贴合内容"变成
     "内容吊在屏幕正中、上下大片空白"，区块之间的疏密节奏整体走样，观感
     明显变差。吸附是滚动行为，不应该顺手把版式也改了。 */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* 内容高于一屏：取消吸附，交回普通滚动（由 initSnap 判定后加上） */
html.snap .section.snap-off {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

/* 页脚不是 .section，得单独给一个吸附点，
   否则 mandatory 模式下它永远滚不到（会被最后一个区块吸回去） */
html.snap .footer {
  scroll-snap-align: end;
}

/* 视口太矮时不吸附：一屏根本装不下正文，吸附只会让人原地打转 */
@media (max-height: 560px) {
  html.snap { scroll-snap-type: none; }
}

/* 用户要求减少动效时不吸附 */
@media (prefers-reduced-motion: reduce) {
  html.snap { scroll-snap-type: none; }
}

/* ══════════════════════════════════════════════════════════
   紧凑化：让「特性 / 界面 / 下载」三个区块能装进一屏
   ──────────────────────────────────────────────────────────
   这是整屏翻页的前置条件 —— 真正的 fullpage 要求每个区块正好一屏。
   1440×900 下原本超出的量：特性 +120、界面 +257、下载 +85。
   压缩手段只有两类：收紧间距与字号、删减内容。**区块本身的 130px 内边距
   一律不动**，那是整体疏密节奏的基准，动了就会像之前那样整体走样。

   这些规则刻意放在文件最末：选择器与原始规则同级，靠书写顺序覆盖，
   不靠提高权重，这样以后改原始规则时行为仍然可预期。
   ══════════════════════════════════════════════════════════ */

/* 标题区下沿收紧，四个区块都受益 */
.sec-head { margin-bottom: 34px; }

/* ── 特性卡片 ──
   多留了约 25px 余量：中文换行位置随字体回退而变，行数偶尔会差一行，
   卡在 900px 边缘会导致在别人机器上又超出去。 */
.feature-grid { gap: 12px; }
.card { padding: 20px 26px; }
.card-icon {
  width: 40px; height: 40px;
  font-size: 16px;
  border-radius: 11px;
  margin-bottom: 12px;
}
.card h3 { font-size: 17px; margin-bottom: 7px; }
.card p { font-size: 14px; line-height: 1.55; }

/* ── 下载卡片 ── */
.dl-grid { margin-bottom: 22px; }
.dl-card { padding: 26px 26px; }
.dl-head { margin-bottom: 16px; }
.dl-list { gap: 8px; margin-bottom: 18px; }
.dl-list li { line-height: 1.5; }
.dl-meta { margin-top: 9px; }
.req-item { padding: 14px 18px; }
