/* =============================================================================
   ShortCut 官网 · 页面级样式 v2（质感升级）
   -----------------------------------------------------------------------------
   1. 设备框 + 玻璃反光 + 浮动 + 动画 SC球（纯 CSS，无需截图）
   2. 首页：统计条、优势、更新摘要
   3. 功能页 / 下载页 / 更新日志 / FAQ
   ========================================================================== */

/* ═══ 1. 设备框（产品示意图外壳）═════════════════════════════════════════ */
.device {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #121826, #0b0f16);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 0 0 1px rgba(0, 0, 0, .4);
  overflow: hidden;
  user-select: none;
  isolation: isolate;
}

/* 玻璃反光斜扫 */
.device::before {
  content: "";
  position: absolute;
  inset: -60% -20%;
  z-index: 5;
  background: linear-gradient(102deg,
    transparent 38%,
    rgba(255, 255, 255, .045) 47%,
    rgba(255, 255, 255, .1) 50%,
    rgba(255, 255, 255, .045) 53%,
    transparent 62%);
  transform: translateX(-18%);
  pointer-events: none;
}

/* 底部渐隐 */
.device::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(6, 8, 12, .5));
  pointer-events: none;
}

.device__bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  background: linear-gradient(180deg, #1a2130, #141a26);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  position: relative;
  z-index: 6;
}
.device__dots { display: flex; gap: 7px; }
.device__dots i {
  width: 10px; height: 10px; border-radius: 50%;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.device__dots i:nth-child(1) { background: linear-gradient(180deg, #ff7b72, #f85149); }
.device__dots i:nth-child(2) { background: linear-gradient(180deg, #ffd08a, #f0a028); }
.device__dots i:nth-child(3) { background: linear-gradient(180deg, #7ee787, #38a852); }
.device__title {
  margin-left: 4px;
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: .04em;
  font-weight: 550;
}
.device__actions { margin-left: auto; display: flex; gap: 6px; }
.device__actions i {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .05);
  display: block;
}

/* 主面板布局 */
.pane { display: grid; grid-template-columns: 132px 1fr; min-height: 320px; position: relative; z-index: 2; }

.pane__side {
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent);
  display: flex; flex-direction: column; gap: 5px;
}
.pane__item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: 11.5px;
  color: #78829a;
  white-space: nowrap;
}
.pane__item b {
  width: 15px; height: 15px; border-radius: 5px;
  background: #2b3446; flex: 0 0 auto;
}
.pane__item.is-active {
  background: linear-gradient(90deg, rgba(232, 93, 4, .16), rgba(232, 93, 4, .05));
  color: #ffb27a;
  box-shadow: inset 0 0 0 1px rgba(232, 93, 4, .22);
}
.pane__item.is-active b {
  background: linear-gradient(150deg, #ff9a5a, var(--accent));
  box-shadow: 0 0 12px rgba(232, 93, 4, .5);
}

.pane__main { padding: 16px; display: flex; flex-direction: column; gap: 13px; position: relative; }

.pane__search {
  height: 31px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .28);
  display: flex; align-items: center; gap: 8px;
  padding: 0 11px;
  font-size: 11.5px;
  color: #55607a;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
}
.pane__search::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.4px solid #46516a;
  flex: 0 0 auto;
}

.pane__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.tile {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  display: grid; place-items: center;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tile::after {
  content: "";
  width: 46%; height: 46%;
  border-radius: 8px;
  background: var(--tint, #4a5670);
  opacity: .9;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.tile:nth-child(1) { --tint: linear-gradient(150deg, #4ade80, #16a34a); }
.tile:nth-child(2) { --tint: linear-gradient(150deg, #60a5fa, #2563eb); }
.tile:nth-child(3) { --tint: linear-gradient(150deg, #fdba74, #ea580c); }
.tile:nth-child(4) { --tint: linear-gradient(150deg, #c084fc, #7c3aed); }
.tile:nth-child(5) { --tint: linear-gradient(150deg, #fde68a, #d97706); }
.tile:nth-child(6) { --tint: linear-gradient(150deg, #67e8f9, #0891b2); }
.tile:nth-child(7) { --tint: linear-gradient(150deg, #fda4af, #e11d48); }
.tile:nth-child(8) { --tint: linear-gradient(150deg, #a5b4fc, #4f46e5); }
.tile:nth-child(9) { --tint: linear-gradient(150deg, #6ee7b7, #059669); }
.tile:nth-child(10) { --tint: linear-gradient(150deg, #cbd5e1, #64748b); }

/* 键盘选中态：呼吸光环 */
.tile.is-selected {
  border-color: rgba(232, 93, 4, .8);
  transform: translateY(-3px) scale(1.03);
  animation: tile-breathe 3.2s var(--ease) infinite;
}
@keyframes tile-breathe {
  0%, 100% { box-shadow: 0 0 0 2px rgba(232, 93, 4, .28), 0 10px 26px rgba(232, 93, 4, .22); }
  50% { box-shadow: 0 0 0 4px rgba(232, 93, 4, .14), 0 14px 34px rgba(232, 93, 4, .34); }
}

/* ═══ 动画 SC球（首屏"活"细节）══════════════════════════════════════════ */
.island-live {
  position: absolute;
  top: -19px; left: 50%;
  transform: translateX(-50%);
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24, 27, 35, .98), rgba(14, 16, 22, .98));
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .6),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 0 0 1px rgba(0, 0, 0, .3);
  display: flex; align-items: center; gap: 10px;
  z-index: 9;
  white-space: nowrap;
  animation: island-float 6s ease-in-out infinite;
}
@keyframes island-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}
.island-live .il-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
  animation: dot-pulse 2.2s var(--ease-out) infinite;
}
.island-live .il-text { font-size: 10.5px; color: #c9d1e0; letter-spacing: .01em; }
.island-live .il-track {
  width: 58px; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.island-live .il-fill {
  height: 100%; width: 8%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi), var(--accent-hi));
  box-shadow: 0 0 10px rgba(232, 93, 4, .7);
  animation: il-progress 8s linear infinite;
}
@keyframes il-progress {
  0% { width: 8%; }
  100% { width: 92%; }
}
.island-live .il-wave { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.island-live .il-wave i {
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  animation: wave 1.1s ease-in-out infinite;
}
.island-live .il-wave i:nth-child(1) { height: 40%; animation-delay: 0s; }
.island-live .il-wave i:nth-child(2) { height: 75%; animation-delay: .12s; }
.island-live .il-wave i:nth-child(3) { height: 100%; animation-delay: .24s; }
.island-live .il-wave i:nth-child(4) { height: 62%; animation-delay: .36s; }
.island-live .il-wave i:nth-child(5) { height: 34%; animation-delay: .48s; }
@keyframes wave {
  0%, 100% { transform: scaleY(.45); opacity: .75; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* 首屏容器：透视 + 浮动 + 光晕 + 地面倒影 */
.hero__figure {
  position: relative;
  perspective: 1100px;
  perspective-origin: 62% 42%;
  padding-top: 26px;
}
/* 浮动层与倾斜层分离：CSS 动画负责上下浮动，JS 负责鼠标倾斜，互不覆盖 */
.figure-float {
  animation: figure-float 9s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes figure-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
/* 常态：平放（只有极轻微的静态倾斜，避免完全平板） */
.hero__figure .device {
  transform: rotateX(2deg) rotateY(-3deg) scale(1);
  transform-origin: 50% 50%;
  transition: transform .7s var(--ease-out), box-shadow .5s;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
/* 鼠标移入并移动时：跟随光标倾斜（由 motion.js 写入 --rx/--ry/--sc） */
.hero__figure.is-tilting .device {
  transform:
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    scale(var(--sc, 1.02));
  transition: transform .1s linear, box-shadow .4s;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}
/* 反光随光标移动 */
.hero__figure.is-tilting .device::before {
  transform: translate(calc(var(--gx, 0) * 1px), calc(var(--gy, 0) * 1px));
  transition: transform .1s linear;
}
.hero__figure::before {
  content: "";
  position: absolute;
  inset: 14% -8% -14% -8%;
  background: radial-gradient(closest-side, rgba(232, 93, 4, .3), transparent 68%);
  filter: blur(46px);
  z-index: -1;
  pointer-events: none;
  animation: halo-breathe 7s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.hero__figure::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: -34px;
  height: 30px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255, 138, 61, .22), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

/* ═══ 2. 首页统计条 ═════════════════════════════════════════════════════ */




/* ═══ 3. 手机示意 ═══════════════════════════════════════════════════════ */
.phone {
  width: 208px;
  margin: 0 auto;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(180deg, #121826, #0a0e15);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 0 0 5px rgba(255, 255, 255, .022);
  padding: 10px;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 5px; border-radius: 3px;
  background: #232b3d;
  z-index: 3;
}
.phone__screen {
  border-radius: 21px;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(232, 93, 4, .09), transparent 70%),
    #080a0f;
  padding: 30px 13px 16px;
  min-height: 330px;
  display: flex; flex-direction: column; gap: 10px;
}
.phone__title {
  font-size: 11px; color: var(--muted); letter-spacing: .04em;
  margin-bottom: 3px; display: flex; align-items: center; gap: 6px;
}
.phone__card {
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  padding: 10px 11px;
  display: flex; align-items: center; gap: 9px;
  font-size: 10.8px; color: #b9c2d4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.phone__card .pc-dot {
  width: 18px; height: 18px; border-radius: 6px;
  background: #2b3446; flex: 0 0 auto;
}
.phone__card.is-accent {
  border-color: rgba(232, 93, 4, .4);
  background: linear-gradient(180deg, rgba(232, 93, 4, .16), rgba(232, 93, 4, .05));
  color: #ffb98d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 6px 18px rgba(232, 93, 4, .14);
}
.phone__card.is-accent .pc-dot {
  background: linear-gradient(150deg, #ff9a5a, var(--accent));
  box-shadow: 0 0 10px rgba(232, 93, 4, .5);
}
.phone__typing {
  margin-top: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .3);
  padding: 9px 11px;
  font-size: 10.5px; color: #55607a;
  display: flex; align-items: center; gap: 6px;
}
.phone__typing .caret-line {
  width: 1.4px; height: 11px;
  background: var(--accent-hi);
  animation: caret-blink 1.1s steps(2) infinite;
}
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ═══ 4. 链路示意 ═══════════════════════════════════════════════════════ */
.link-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-xs), var(--inset-hi);
}
.link-node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted);
}
.link-node .ln-icon {
  width: 50px; height: 50px; border-radius: 14px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(150deg, rgba(232, 93, 4, .16), rgba(232, 93, 4, .04));
  display: grid; place-items: center;
  color: var(--accent-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 8px 22px rgba(232, 93, 4, .12);
}
.link-arrow { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.link-arrow .la-line {
  width: 64px; height: 1px; position: relative;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  overflow: hidden;
}
.link-arrow .la-line::after {
  content: "";
  position: absolute; top: -1px; left: -30%;
  width: 30%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-hi), transparent);
  animation: data-flow 2.6s linear infinite;
}
@keyframes data-flow {
  0% { left: -30%; }
  100% { left: 100%; }
}
.link-arrow span { font-size: 10.5px; color: var(--muted-2); letter-spacing: .04em; }

/* ═══ 5. 首页其它区块 ═══════════════════════════════════════════════════ */
.home-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.value-item {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-xs), var(--inset-hi);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.value-item:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-sm), var(--inset-hi); }
.value-item .vi-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-strong);
  color: var(--accent-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.value-item b { display: block; margin-bottom: 5px; font-size: 15.5px; }
.value-item p { color: var(--muted); font-size: 13.5px; line-height: 1.75; margin: 0; }

.update-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(60% 140% at 0% 0%, rgba(232, 93, 4, .16), transparent 62%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.update-strip h3 { font-size: 17.5px; margin: 0; letter-spacing: -.02em; }
.update-strip ul { color: var(--muted); font-size: 14px; margin: 10px 0 0; padding-left: 1.1em; }
.update-strip ul li { margin: .3em 0; }

/* ═══ 6. 功能页 ═════════════════════════════════════════════════════════ */
.feature-lead {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: center;
  padding: 24px 0 64px;
}
.feature-lead--flip .feature-lead__text { order: 2; }

.capability {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-xs), var(--inset-hi);
  transition: border-color .28s, transform .28s var(--ease), box-shadow .28s;
}
.capability:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(232, 93, 4, .08) inset;
}
.capability .cap-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(232, 93, 4, .18), rgba(232, 93, 4, .05));
  border: 1px solid var(--accent-line);
  color: var(--accent-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.capability b { display: block; margin-bottom: 4px; font-size: 15px; letter-spacing: -.01em; }
.capability p { color: var(--muted); font-size: 13.5px; line-height: 1.75; margin: 0; }

/* ═══ 7. 下载页 ═════════════════════════════════════════════════════════ */
.dl-hero {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 46px; align-items: center;
  padding: 24px 0 56px;
}
.dl-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 26px; }
.dl-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.dl-fact {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-xs), var(--inset-hi);
}
.dl-fact b { display: block; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dl-fact span { font-size: 11.5px; color: var(--muted-2); }

.channel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.channel-icon {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  color: var(--muted);
}
.card--channel.is-recommend .channel-icon {
  border-color: var(--accent-line);
  background: linear-gradient(150deg, rgba(255, 107, 26, .2), rgba(255, 107, 26, .05));
  color: var(--accent-hi);
}
.channel-note { font-size: 11.5px; color: var(--warn); margin-top: 9px; line-height: 1.6; }

.android-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(61, 214, 140, .28);
  background:
    radial-gradient(60% 140% at 0% 0%, rgba(61, 214, 140, .1), transparent 62%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-sm), var(--inset-hi);
}
.android-card .ac-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(61, 214, 140, .2), rgba(61, 214, 140, .05));
  border: 1px solid rgba(61, 214, 140, .34);
  color: var(--good);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 22px rgba(61, 214, 140, .1);
}

.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 15px; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(232, 93, 4, .2), rgba(232, 93, 4, .06));
  border: 1px solid var(--accent-line);
  color: var(--accent-hi); font-size: 13px; font-weight: 750;
}
.step b { display: block; font-size: 15px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; line-height: 1.75; }

/* ═══ 8. 更新日志 ═══════════════════════════════════════════════════════ */
.latest-release {
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(70% 150% at 0% 0%, rgba(232, 93, 4, .18), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.latest-release::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hi), var(--accent), transparent);
  background-size: 200% 100%;
  animation: sheen 5s linear infinite;
}
.latest-release__head { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-bottom: 16px; }
.latest-release h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.latest-release ul { color: var(--text-dim); font-size: 14.5px; line-height: 1.8; }

/* ═══ 9. FAQ ════════════════════════════════════════════════════════════ */
.faq-layout { display: grid; grid-template-columns: 210px 1fr; gap: 46px; align-items: start; }
.faq-toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-toc a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--muted); font-size: 14px;
  transition: background .18s, color .18s, padding-left .2s var(--ease);
}
.faq-toc a:hover { background: rgba(255, 255, 255, .05); color: var(--text); padding-left: 17px; }

/* ═══ 10. 响应式 ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .home-values { grid-template-columns: 1fr; }
  .feature-lead { grid-template-columns: 1fr; gap: 34px; }
  .feature-lead--flip .feature-lead__text { order: 0; }
  .dl-hero { grid-template-columns: 1fr; gap: 34px; }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .pane { grid-template-columns: 104px 1fr; }
  .pane__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .update-strip { grid-template-columns: 1fr; gap: 16px; }
  .channel-grid { grid-template-columns: 1fr; }
  .android-card { grid-template-columns: auto 1fr; }
  .android-card .btn { grid-column: 1 / -1; width: 100%; }
  .dl-facts { grid-template-columns: 1fr; }

  .pane { grid-template-columns: 1fr; }
  .pane__side {
    flex-direction: row; overflow-x: auto;
    border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 10px;
  }
  .pane__item { flex: 0 0 auto; }
  .pane__grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .island-live { height: 29px; padding: 0 11px; gap: 7px; }
  .island-live .il-text { font-size: 9.5px; }
  .island-live .il-wave { display: none; }
  .island-live .il-track { width: 44px; }
  .hero__figure .device { transform: none; }
  .link-arrow .la-line { width: 44px; }
  .latest-release { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .island-live, .island-live .il-dot, .island-live .il-fill,
  .island-live .il-wave i, .tile.is-selected,
  .hero__figure::before, .link-arrow .la-line::after,
  .latest-release::after, .phone__typing .caret-line { animation: none !important; }
}

/* 亮色模式下：设备框刻意保持深色（深色界面截图在浅底上对比更强） */
html[data-mode="light"] .hero__figure::before {
  background: radial-gradient(closest-side, rgba(224, 90, 12, .16), transparent 70%);
}
html[data-mode="light"] .hero__figure::after {
  background: radial-gradient(50% 100% at 50% 0%, rgba(20, 19, 17, .16), transparent 72%);
}
html[data-mode="light"] .link-diagram { background: #fff; }
html[data-mode="light"] .link-node .ln-icon {
  background: linear-gradient(150deg, rgba(17, 16, 14, .06), rgba(17, 16, 14, .015));
  border-color: var(--line-strong);
  color: var(--text-dim);
}
html[data-mode="light"] .channel-icon {
  background: linear-gradient(150deg, rgba(17, 16, 14, .05), rgba(17, 16, 14, .012));
}
html[data-mode="light"] .card--channel.is-recommend { background: linear-gradient(180deg, rgba(224, 90, 12, .06), #fff 58%); }
html[data-mode="light"] .android-card {
  border-color: rgba(20, 140, 90, .28);
  background: radial-gradient(60% 140% at 0% 0%, rgba(20, 140, 90, .07), transparent 62%), #fff;
}
html[data-mode="light"] .capability .cap-ico,
html[data-mode="light"] .android-card .ac-icon { background: linear-gradient(150deg, rgba(17, 16, 14, .06), rgba(17, 16, 14, .015)); border-color: var(--line-strong); color: var(--text-dim); }
html[data-mode="light"] .phone { background: linear-gradient(180deg, #121826, #0a0e15); }
html[data-mode="light"] .step::before { background: linear-gradient(150deg, rgba(224, 90, 12, .16), rgba(224, 90, 12, .05)); }
html[data-mode="light"] .faq-toc a:hover { background: rgba(17, 16, 14, .05); }
html[data-mode="light"] .latest-release { border-color: var(--accent-line); }
html[data-mode="light"] .update-strip { border-color: var(--accent-line); }
html[data-mode="light"] .modal__code { background: linear-gradient(180deg, rgba(224, 90, 12, .1), rgba(224, 90, 12, .04)); border-color: var(--accent-line); color: var(--accent-lo); text-shadow: none; }

/* ═══ 回到顶部 ══════════════════════════════════════════════════════════ */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 940;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  color: var(--text-dim);
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow), var(--inset-hi);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.94);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s,
              background .2s, color .2s, border-color .2s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover {
  background: var(--accent-fill-1);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-accent);
}
.to-top svg { width: 18px; height: 18px; }
/* 滚动进度环（沿按钮边缘） */
.to-top__ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p, 0) * 1%), transparent 0);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  pointer-events: none;
}
@media (max-width: 640px) {
  .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}

/* ═══ 便签墙示意（任务墙页）═════════════════════════════════════════════ */
.sticky-mock {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, .03), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-sm), var(--inset-hi);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sticky {
  position: relative;
  padding: 14px 15px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #1b1a17;
  background: linear-gradient(180deg, #f7e7a3, #f2dc86);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
  transform: rotate(var(--rot, -1deg));
  transition: transform .3s var(--ease);
}
.sticky:nth-child(2) { --rot: 1.4deg; background: linear-gradient(180deg, #bfe6d0, #a8dbc0); }
.sticky:nth-child(3) { --rot: -.8deg; background: linear-gradient(180deg, #f8d5c4, #f4c4ad); }
.sticky:nth-child(4) { --rot: 1deg;  background: linear-gradient(180deg, #cddcf7, #b7cdf2); }
.sticky:hover { transform: rotate(0) translateY(-3px); }
.sticky b { display: block; font-size: 13px; margin-bottom: 5px; }
.sticky .sticky__meta {
  display: flex; align-items: center; gap: 5px;
  margin-top: 8px; font-size: 10.5px; opacity: .62;
}
.sticky .sticky__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ═══ 文件列表示意（快传页）═════════════════════════════════════════════ */
.file-mock {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-sm), var(--inset-hi);
  overflow: hidden;
}
.file-mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px; color: var(--muted-2);
}
.file-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.file-row:last-child { border-bottom: 0; }
.file-row__ico {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 10px; font-weight: 700;
}
.file-row__name { color: var(--text-dim); }
.file-row__meta { font-size: 11px; color: var(--muted-2); }
.file-row__pct { font-size: 11px; color: var(--accent-hi); font-variant-numeric: tabular-nums; }

/* ═══ 设置行示意（SC球页）═══════════════════════════════════════════════ */
.setting-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-xs);
  font-size: 14px;
}
.setting-row + .setting-row { margin-top: 9px; }
.setting-row small { display: block; color: var(--muted-2); font-size: 12px; margin-top: 2px; }
.switch {
  width: 42px; height: 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--line-strong);
  position: relative; flex: 0 0 auto;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; opacity: .55;
  transition: transform .2s, opacity .2s;
}
.switch.is-on { background: var(--accent-fill-1); border-color: transparent; }
.switch.is-on::after { transform: translateX(18px); opacity: 1; }

/* 亮色模式下的示意组件 */
html[data-mode="light"] .sticky-mock { background: #fff; }
html[data-mode="light"] .file-mock,
html[data-mode="light"] .setting-row { background: #fff; }
html[data-mode="light"] .file-row__ico { background: rgba(17, 16, 14, .05); }
html[data-mode="light"] .switch { background: rgba(17, 16, 14, .12); }

/* ═══ 版本历史：可展开时间轴 ═════════════════════════════════════════════ */
.version-index {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  margin-top: 18px;
}
.version-index__label {
  font-size: 11.5px; color: var(--muted-2);
  letter-spacing: .1em; text-transform: uppercase;
  margin-right: 4px;
}
.version-index a {
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
  transition: background .16s, color .16s, border-color .16s;
}
.version-index a:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-hi);
}

/* 每个版本 = 一个可展开的时间点 */
.rel {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
.rel:hover { border-color: var(--line-strong); }
.rel[open] { border-color: var(--accent-line); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255, 107, 26, .07) inset; }
.rel > .timeline__head {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 11px;
}
.rel > .timeline__head::-webkit-details-marker { display: none; }
.rel__count {
  margin-left: auto;
  font-size: 11.5px; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.rel__chev {
  width: 8px; height: 8px;
  border-right: 1.7px solid var(--muted); border-bottom: 1.7px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .24s var(--ease), border-color .2s;
}
.rel[open] .rel__chev { transform: rotate(-135deg) translateY(-2px); border-color: var(--accent-hi); }
.rel__body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.rel-group + .rel-group { margin-top: 14px; }
.rel-group h4 {
  font-size: 12px; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: .1em;
  margin: 0 0 8px; font-weight: 700;
}
.rel-group ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 14px; line-height: 1.8; }
.rel-group li { margin: .32em 0; }
.tag--accent { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-hi); }

/* 时间轴上的圆点改为跟随 details */
.timeline .rel::before {
  content: "";
  position: absolute;
  left: -30px; top: 21px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.timeline .rel:first-child::before { box-shadow: 0 0 0 5px var(--accent-soft), 0 0 18px rgba(255, 107, 26, .45); }

/* ═══ 问题反馈表单 ══════════════════════════════════════════════════════ */
.fb-form { display: grid; gap: 16px; }
.fb-field { display: grid; gap: 7px; }
.fb-field label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.fb-field label small { color: var(--muted-2); font-weight: 400; margin-left: 6px; }
.fb-input,
.fb-select,
.fb-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.fb-input:focus,
.fb-select:focus,
.fb-textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: rgba(0, 0, 0, .3);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.fb-textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fb-hint { font-size: 12px; color: var(--muted-2); }
.fb-status { font-size: 13.5px; min-height: 22px; }
.fb-status.is-ok { color: var(--good); }
.fb-status.is-err { color: #ff7a6b; }
/* 蜜罐字段：人类看不见，机器人会填 */
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

html[data-mode="light"] .fb-input,
html[data-mode="light"] .fb-select,
html[data-mode="light"] .fb-textarea { background: #fff; }
html[data-mode="light"] .rel { background: #fff; }
html[data-mode="light"] .version-index a { background: rgba(17, 16, 14, .04); }

@media (max-width: 640px) {
  .fb-row { grid-template-columns: 1fr; }
  .rel__count { margin-left: 0; }
}

/* 提示盒 */
.hint-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, .02);
  font-size: 13.5px;
  color: var(--muted);
}
.hint-box b { display: block; color: var(--text-dim); margin-bottom: 8px; font-size: 13.5px; }
.hint-box ul { margin: 0; padding-left: 1.1em; }
.hint-box li { margin: .35em 0; }
html[data-mode="light"] .hint-box { background: rgba(17, 16, 14, .03); }