/* ==========================================================================
   sogou-chat 视觉升级层（polish.css）
   只叠加视觉与动效，不改原模板结构
   ========================================================================== */

/* ---------------------------------------------------------------- 0. 变量 */
:root {
  --sc-ink: #12161b;
  --sc-line: #e9eef4;
  --sc-shadow: 0 22px 50px rgba(18, 22, 27, .10);
  --sc-ease: cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------- 1. 滚动进度条 + 排版 */
.sc-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #ff6a00, #ffb400 46%, #2f7cff);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.sc-progress.on { opacity: 1; }

body { font-size: 16.5px; letter-spacing: -.005em; }
::selection { background: rgba(255, 106, 0, .18); }
.section { padding: 92px 0; }
.sec-head { margin-bottom: 52px; }
.sec-head .kicker {
  letter-spacing: .2em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 106, 0, .08);
  font-size: 11.5px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.025em;
}
.sec-head p { font-size: 16px; color: #6d7783; }

/* -------------------------------------------------------------- 2. 头部 */
.site-nav {
  background: rgba(255, 255, 255, .82);
  transition: box-shadow .3s var(--sc-ease), background .3s;
}
.site-nav.is-stuck {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(18, 22, 27, .08);
  border-bottom-color: transparent;
}
.nav-menu a { position: relative; font-weight: 500; }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff6a00, #ffb400);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s var(--sc-ease);
}
.nav-menu a:hover::after { transform: scaleX(1); }
.brand img { transition: transform .3s var(--sc-ease); }
.brand:hover img { transform: scale(1.05); }

/* -------------------------------------------------------------- 3. Hero */
.hero {
  padding: 84px 0 108px;
  background:
    radial-gradient(880px 460px at 80% 6%, rgba(255, 205, 60, .30), transparent 62%),
    radial-gradient(720px 520px at 16% -6%, #ffe6d1, transparent 58%),
    radial-gradient(620px 400px at 52% 96%, #fff2e2, transparent 70%),
    linear-gradient(180deg, #fff8f1 0%, #ffffff 70%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -140px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 147, 20, .30), rgba(255, 210, 63, .05) 62%, transparent 72%);
  filter: blur(12px);
  animation: scBlob 22s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scBlob {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 50px, 0) scale(1.12); }
}
.hero h1 {
  font-size: clamp(42px, 4.9vw, 66px);
  letter-spacing: -.035em;
  line-height: 1.12;
}
.hero h1 em {
  background: linear-gradient(100deg, #ff6a00, #ffb400 40%, #ff6a00 70%, #ffb400);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: scPan 8s linear infinite;
}
@keyframes scPan {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
.hero-tag {
  box-shadow: 0 8px 22px rgba(255, 106, 0, .12);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 106, 0, .16);
  backdrop-filter: blur(6px);
}
.hero-tag i { animation: scDot 2.2s ease-in-out infinite; }
@keyframes scDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 106, 0, .16); }
  50% { box-shadow: 0 0 0 9px rgba(255, 106, 0, .05); }
}
.hero-sub { font-size: 17.5px; color: #5d6874; }
.btn-primary, .btn-light { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 42%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  animation: scShine 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scShine {
  0% { left: -60%; }
  46%, 100% { left: 130%; }
}
.btn-ghost { background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }

/* 首屏候选框：立体化 */
.hero-visual { min-height: 430px; }
.hero-ip { max-width: 412px; margin-left: auto; margin-right: -6px; }
.ime-card {
  width: 296px;
  left: -8px;
  bottom: 2px;
  padding: 12px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 106, 0, .16);
  box-shadow: 0 24px 56px rgba(18, 22, 27, .16), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  background: rgba(255, 255, 255, .94);
}
.ime-words span {
  transition: background .3s, color .3s, box-shadow .3s, transform .3s;
}
.ime-words span.on {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 106, 0, .30);
  transform: translateY(-1px);
}
.ime-bar b { box-shadow: 0 4px 10px rgba(255, 106, 0, .14); }

/* ------------------------------------------------------------ 4. 数据条 */
.stats-inner {
  padding: 30px 10px;
  border-radius: 26px;
  border-color: rgba(255, 106, 0, .10);
  box-shadow: 0 24px 54px rgba(255, 138, 0, .10), 0 2px 0 rgba(255, 255, 255, .8) inset;
  background: linear-gradient(180deg, #fff, #fffaf5);
}
.stat { position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 14%;
  height: 72%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 0, .18), transparent);
}
.stat b { font-size: 34px; letter-spacing: -.03em; }
.stat span { font-size: 13px; letter-spacing: .02em; }

/* -------------------------------------------------- 5. 功能卡 + 视觉舞台 */
.grid-3 { gap: 24px; }
.feature {
  padding: 0 0 30px;
  border-radius: 20px;
  border-color: var(--sc-line);
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 22, 27, .05);
  transition: transform .35s var(--sc-ease), box-shadow .35s var(--sc-ease), border-color .35s;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(255, 106, 0, .16);
  border-color: rgba(255, 106, 0, .22);
}
.feature .ico {
  position: relative;
  width: 46px; height: 46px;
  margin: 22px 26px 0;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(255, 106, 0, .12);
  margin-bottom: 0;
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 14px 26px 6px; font-size: 17.5px; letter-spacing: -.01em; }
.feature p { margin: 0 26px; font-size: 14px; color: #6b7580; }

/* 舞台：卡顶部的演示条 */
.fstage {
  position: relative;
  height: 112px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(18, 22, 27, .05);
}
.fstage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 22, 27, .055) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .8;
  pointer-events: none;
}
.feat-1 .fstage { background: linear-gradient(150deg, #fff6ee, #fffdfb); }
.feat-2 .fstage { background: linear-gradient(150deg, #f2f7ff, #fbfdff); }
.feat-3 .fstage { background: linear-gradient(150deg, #fff9e8, #fffdf3); }
.feat-4 .fstage { background: linear-gradient(150deg, #f0fbf6, #fbfffd); }
.feat-5 .fstage { background: linear-gradient(150deg, #f7f3ff, #fdfbff); }
.feat-6 .fstage { background: linear-gradient(150deg, #fff2f6, #fffbfc); }

/* 舞台 1：拼音 → 候选 */
.st-type {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 22, 27, .07);
  border: 1px solid rgba(47, 124, 255, .16);
}
.st-pinyin {
  font-size: 12.5px;
  font-style: italic;
  color: #8a94a0;
  letter-spacing: .04em;
}
.st-caret {
  width: 1.5px; height: 14px;
  background: #2f7cff;
  border-radius: 2px;
  animation: scCaret 1.1s steps(1, end) infinite;
}
@keyframes scCaret { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
.st-arrow { position: relative; z-index: 1; width: 16px; height: 2px; background: #ffc08a; border-radius: 2px; }
.st-arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-right: 2px solid #ffc08a;
  border-top: 2px solid #ffc08a;
  transform: rotate(45deg);
}
.st-out { position: relative; z-index: 1; display: flex; gap: 6px; }
.st-out i {
  font-style: normal;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #fff;
  color: #6f7986;
  box-shadow: 0 6px 14px rgba(18, 22, 27, .06);
  animation: scPick 4.8s ease-in-out infinite;
}
.st-out i:nth-child(2) { animation-delay: 1.6s; }
.st-out i:nth-child(3) { animation-delay: 3.2s; }
@keyframes scPick {
  0%, 26% { background: linear-gradient(135deg, #4a94ff, #2f7cff); color: #fff; box-shadow: 0 10px 22px rgba(47, 124, 255, .34); }
  34%, 100% { background: #fff; color: #6f7986; box-shadow: 0 6px 14px rgba(18, 22, 27, .06); }
}

/* 舞台 2：词条漂浮 */
.st-chip {
  position: absolute;
  z-index: 1;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #5f6b78;
  box-shadow: 0 8px 18px rgba(47, 124, 255, .10);
  animation: scChipFloat 7s ease-in-out infinite;
}
.st-chip-1 { left: 18px; top: 20px; animation-delay: -.2s; }
.st-chip-2 { left: 78px; top: 14px; animation-delay: -2.4s; }
.st-chip-3 { left: 134px; top: 24px; animation-delay: -4.1s; }
.st-chip-4 { left: 24px; bottom: 20px; animation-delay: -1.3s; }
.st-chip-5 { left: 86px; bottom: 26px; animation-delay: -3.2s; }
.st-chip-6 { left: 148px; bottom: 16px; animation-delay: -5.1s; }
@keyframes scChipFloat {
  0%, 100% { transform: translateY(0); opacity: .92; }
  50% { transform: translateY(-9px); opacity: 1; }
}
.st-count {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 2;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #2f7cff;
  background: linear-gradient(135deg, #4a94ff, #2f7cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.st-count em { font-style: normal; font-size: 14px; }

/* 舞台 3：速度 */
.fstage-3 { gap: 0; }
.st-speed {
  position: absolute;
  left: 30px; right: 30px; bottom: 22px;
  height: 4px;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  display: flex;
  gap: 2px;
}
.st-speed em {
  flex: 1;
  background: linear-gradient(90deg, #ffcf5c, #ff6a00);
  border-radius: 3px;
  transform-origin: 0 50%;
  animation: scSpeed 1.8s ease-in-out infinite;
}
.st-speed em:nth-child(2) { animation-delay: .18s; }
.st-speed em:nth-child(3) { animation-delay: .36s; }
.st-speed em:nth-child(4) { animation-delay: .54s; }
.st-speed em:nth-child(5) { animation-delay: .72s; }
@keyframes scSpeed {
  0%, 100% { transform: scaleX(.12); opacity: .5; }
  50% { transform: scaleX(1); opacity: 1; }
}
.st-ms { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 3px; color: #ff6a00; }
.st-ms b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.st-ms i { font-style: normal; font-size: 12px; font-weight: 600; color: #b08a52; }
.st-bolt {
  position: absolute;
  right: 34px; top: 18px;
  width: 18px; height: 26px;
  background: linear-gradient(180deg, #ffd23f, #ff6a00);
  clip-path: polygon(52% 0, 18% 52%, 46% 52%, 30% 100%, 82% 40%, 54% 40%);
  animation: scBolt 2.6s ease-in-out infinite;
}
@keyframes scBolt {
  0%, 62%, 100% { opacity: .55; transform: scale(.9); }
  70%, 78% { opacity: 1; transform: scale(1.15); }
}

/* 舞台 4：语音波形 */
.st-wave { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; height: 46px; }
.st-wave em {
  display: block;
  width: 5px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7ee0b8, #14a97a);
  transform-origin: 50% 50%;
  animation: scWave 1.4s ease-in-out infinite;
  animation-delay: calc(var(--n) * .09s);
}
@keyframes scWave {
  0%, 100% { transform: scaleY(.34); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}
.st-mic {
  position: absolute;
  right: 26px; top: 18px;
  width: 26px; height: 34px;
  border-radius: 14px;
  border: 1.6px solid rgba(20, 169, 122, .55);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 3px;
}
.st-mic span {
  width: 2px; height: 12px;
  background: #14a97a;
  border-radius: 2px;
  animation: scWave 1.4s ease-in-out infinite;
}

/* 舞台 5：笔画 */
.st-stroke { position: relative; z-index: 1; width: 62%; height: 62%; stroke-dasharray: 300; stroke-dashoffset: 300; animation: scDraw 4.2s ease-in-out infinite; }
@keyframes scDraw {
  0% { stroke-dashoffset: 300; opacity: .2; }
  55%, 78% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -300; opacity: .2; }
}
.st-tip {
  position: absolute;
  right: 20px; bottom: 14px;
  font-size: 11.5px;
  color: #7a6ba8;
  background: rgba(255, 255, 255, .9);
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(122, 107, 168, .12);
}

/* 舞台 6：皮肤色板 */
.st-swatch {
  position: relative;
  z-index: 1;
  width: 26px; height: 26px;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(18, 22, 27, .12);
  animation: scSwatch 5s ease-in-out infinite;
}
.st-swatch.s1 { background: linear-gradient(135deg, #ff7a1a, #ffd23f); }
.st-swatch.s2 { background: linear-gradient(135deg, #ff9ec0, #ffd6e2); animation-delay: .5s; }
.st-swatch.s3 { background: linear-gradient(135deg, #7ee0b8, #c8f3e0); animation-delay: 1s; }
.st-swatch.s4 { background: linear-gradient(135deg, #b39ddb, #e7ddff); animation-delay: 1.5s; }
@keyframes scSwatch {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.08); }
}
.st-skinline {
  position: absolute;
  left: 22px; right: 22px; bottom: 16px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff7a1a, #ff9ec0, #7ee0b8, #b39ddb, #ff7a1a);
  background-size: 200% 100%;
  animation: scPan 4s linear infinite;
  opacity: .7;
}

/* hover 时整卡微调 */
.feature:hover .fstage { border-bottom-color: rgba(255, 106, 0, .12); }

/* -------------------------------------------------------------- 6. 皮肤 */
.skins { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skin {
  height: 172px;
  padding: 16px 14px 14px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 30px rgba(18, 22, 27, .10);
  transition: transform .38s var(--sc-ease), box-shadow .38s var(--sc-ease);
  overflow: hidden;
}
.skin:hover { transform: translateY(-7px) scale(1.015); box-shadow: 0 26px 52px rgba(18, 22, 27, .18); }
.skin::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, .55), transparent 58%);
  opacity: .55;
  pointer-events: none;
}
.skin-preview { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.skin-cand {
  display: flex;
  gap: 4px;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 22px rgba(18, 22, 27, .12);
}
.skin-cand i {
  font-style: normal;
  font-size: 12.5px;
  padding: 3px 8px;
  border-radius: 6px;
  color: #6d7783;
  animation: scCandOn 6.4s ease-in-out infinite;
}
.skin-cand i:nth-child(2) { animation-delay: 1.6s; }
.skin-cand i:nth-child(3) { animation-delay: 3.2s; }
.skin-cand i:nth-child(4) { animation-delay: 4.8s; }
.skin-2 .skin-cand i, .skin-3 .skin-cand i { animation-name: scCandOnDark; }
@keyframes scCandOn {
  0%, 22% { background: var(--sk-a, #ff6a00); color: #fff; box-shadow: 0 6px 14px rgba(255, 106, 0, .26); }
  29%, 100% { background: transparent; color: #6d7783; box-shadow: none; }
}
@keyframes scCandOnDark {
  0%, 22% { background: var(--sk-a, #8ec5ff); color: #12161b; box-shadow: 0 6px 14px rgba(18, 22, 27, .16); }
  29%, 100% { background: transparent; color: #7c8794; box-shadow: none; }
}
.skin-bar { display: flex; align-items: center; gap: 6px; padding-left: 2px; }
.skin-bar b {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 1px 7px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}
.skin-bar span {
  position: static;
  left: auto;
  bottom: auto;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .82);
  letter-spacing: .06em;
}
.skin-bar em { width: 12px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .5); }
.skin-bar em + em { margin-left: 1px; }
.skin-name {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.skin-2 .skin-bar b, .skin-2 .skin-bar span, .skin-2 .skin-name,
.skin-4 .skin-bar b, .skin-4 .skin-bar span, .skin-4 .skin-name,
.skin-5 .skin-bar b, .skin-5 .skin-bar span, .skin-5 .skin-name,
.skin-6 .skin-bar b, .skin-6 .skin-bar span, .skin-6 .skin-name,
.skin-7 .skin-bar b, .skin-7 .skin-bar span, .skin-7 .skin-name,
.skin-8 .skin-bar b, .skin-8 .skin-bar span, .skin-8 .skin-name {
  color: #2c3440;
  text-shadow: none;
}
.skin-2 .skin-bar b, .skin-4 .skin-bar b, .skin-5 .skin-bar b,
.skin-6 .skin-bar b, .skin-7 .skin-bar b, .skin-8 .skin-bar b {
  background: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .7);
}
.skin-2 .skin-bar span, .skin-4 .skin-bar span, .skin-5 .skin-bar span,
.skin-6 .skin-bar span, .skin-7 .skin-bar span, .skin-8 .skin-bar span { color: rgba(44, 52, 64, .68); }
.skin-2 .skin-bar em, .skin-4 .skin-bar em, .skin-5 .skin-bar em,
.skin-6 .skin-bar em, .skin-7 .skin-bar em, .skin-8 .skin-bar em { background: rgba(44, 52, 64, .28); }

/* 8 套配色 */
.skin-1 { --sk-a: #ff6a00; background: linear-gradient(140deg, #ff7a1a, #ffcf3f); }
.skin-2 { --sk-a: #2f7cff; background: linear-gradient(140deg, #a9d3ff, #e7f2ff); }
.skin-3 { --sk-a: #ffd23f; background: linear-gradient(140deg, #262b31, #59626d); }
.skin-4 { --sk-a: #ff6f9c; background: linear-gradient(140deg, #ffb3c1, #ffe4ea); }
.skin-5 { --sk-a: #14a97a; background: linear-gradient(140deg, #8fe6c4, #ddf8ee); }
.skin-6 { --sk-a: #7b5bd6; background: linear-gradient(140deg, #b39ddb, #ece4ff); }
.skin-7 { --sk-a: #d98c3c; background: linear-gradient(140deg, #ffd3b6, #fff2e6); }
.skin-8 { --sk-a: #2b8ed6; background: linear-gradient(140deg, #b7e1ff, #f0f9ff); }

/* ---------------------------------------------------------- 7. 平台下载 */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.platform {
  flex: 1 1 178px;
  max-width: 224px;
  padding: 28px 18px 24px;
  border-radius: 18px;
  border-color: var(--sc-line);
  box-shadow: 0 8px 22px rgba(18, 22, 27, .05);
}
.platform .pico {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(150deg, #fff4ea, #fff9f4);
  border: 1px solid rgba(255, 106, 0, .12);
  box-shadow: 0 10px 22px rgba(255, 106, 0, .10);
  animation: scFloatSm 5.4s ease-in-out infinite;
}
.platform:nth-child(2) .pico { animation-delay: -.9s; }
.platform:nth-child(3) .pico { animation-delay: -1.8s; }
.platform:nth-child(4) .pico { animation-delay: -2.7s; }
.platform:nth-child(5) .pico { animation-delay: -3.6s; }
@keyframes scFloatSm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.platform h3 { font-size: 15.5px; margin-top: 4px; }
.platform small {
  font-size: 11.5px;
  color: #9aa3ae;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.platform .dl {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, .22);
  background: rgba(255, 244, 234, .7);
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.platform:hover .dl {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(255, 106, 0, .26);
  transform: translateY(-1px);
}
.platform .dl:hover { text-decoration: none; }

/* ---------------------------------------------------------------- 8. FAQ */
.faq {
  max-width: 900px;
  padding: 8px 28px;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(18, 22, 27, .06);
}
.faq-item { border-bottom: 1px solid #f1f4f8; }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  font-size: 15.5px;
  padding: 20px 2px;
  transition: color .25s;
}
.faq-q:hover { color: var(--orange); }
.faq-q i {
  width: 30px; height: 30px;
  font-size: 15px;
  box-shadow: 0 6px 14px rgba(255, 106, 0, .10);
  transition: transform .3s var(--sc-ease), background .25s, color .25s, box-shadow .25s;
}
.faq-item.open .faq-q i { box-shadow: 0 8px 18px rgba(255, 106, 0, .28); }
.faq-item.open .faq-q { color: var(--orange); }
.faq-a { transition: max-height .4s var(--sc-ease); }
.faq-a p { font-size: 14px; color: #6b7580; line-height: 1.85; padding: 0 34px 22px 2px; }

/* ---------------------------------------------------------------- 9. CTA */
.cta {
  padding: 74px 40px 70px;
  border-radius: 30px;
  background:
    radial-gradient(560px 300px at 18% 8%, rgba(255, 255, 255, .26), transparent 60%),
    radial-gradient(420px 260px at 88% 96%, rgba(255, 210, 63, .26), transparent 62%),
    linear-gradient(132deg, #ff7a1a, #ff5b00 52%, #ff9a22);
  box-shadow: 0 30px 64px rgba(255, 90, 0, .30);
  isolation: isolate;
}
.cta::before, .cta::after { display: none; }
.cta > * { position: relative; z-index: 2; }
.cta-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .7;
  pointer-events: none;
}
.cta-sweep {
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 48%, transparent 62%);
  animation: scCTA 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scCTA {
  0% { transform: translateX(-46%); opacity: 0; }
  12% { opacity: 1; }
  62%, 100% { transform: translateX(46%); opacity: 0; }
}
.cta h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.025em; }
.cta p { font-size: 15.5px; }
.cta .btn {
  height: 56px;
  padding: 0 32px;
  font-size: 16.5px;
  box-shadow: 0 18px 38px rgba(120, 40, 0, .26);
}
.cta .btn:hover { transform: translateY(-3px); }

/* -------------------------------------------------------------- 10. 页脚 */
.site-footer {
  position: relative;
  margin-top: 0;
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(255, 106, 0, .12), transparent 62%),
    #12161b;
  padding: 68px 0 26px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, .7), rgba(255, 210, 63, .6), transparent);
}
.footer-brand img { height: 22px; }
.footer-col h4 { position: relative; padding-bottom: 10px; }
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff6a00, #ffd23f);
}
.footer-col a { position: relative; }
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: rgba(255, 210, 63, .5);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .28s var(--sc-ease);
}
.footer-col a:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------- 11. 入场动效 */
.reveal { transition-duration: .85s; }
.reveal.in { transform: none; }
.skins.reveal .skin { opacity: 1; }

/* 卡片鼠标光斑（--mx / --my 由 JS 写入） */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 138, 0, .10), transparent 62%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; z-index: 1; }

/* --------------------------------------------------------- 12 响应式 */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .skins { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1023px) {
  .skins { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .skins { grid-template-columns: repeat(2, 1fr); }
  .platform { flex: 1 1 46%; max-width: none; }
  .faq { padding: 4px 18px; }
  .cta { padding: 52px 24px; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); }
  .stats { margin-top: -34px; }
  .stat + .stat::before { display: none; }
}
@media (max-width: 560px) {
  .skins { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .platform { flex: 1 1 100%; }
  .fstage { height: 96px; }
  .st-out i.dim { display: none; }
}

/* --------------------------------------------------- 13 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
  .sc-progress,
  .hero::before,
  .hero h1 em,
  .hero-tag i,
  .btn-primary::after,
  .btn-light::after,
  .feature,
  .fstage *,
  .skin *,
  .platform .pico,
  .cta-sweep { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 首屏主按钮文案变长，左右留白略放宽 */
.hero-actions .btn { padding-left: 32px; padding-right: 32px; }
.hero-actions .btn-primary { font-size: 15px; }

/* 热门皮肤真实预览卡 */
.skins .skin-card {
  display: block; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 10px 26px rgba(18, 22, 27, .08);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  text-decoration: none;
}
.skins .skin-card:hover { transform: translateY(-7px); box-shadow: 0 24px 46px rgba(18, 22, 27, .16); }
.skins .skin-card img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.skins .skin-card-name {
  display: block; padding: 12px 16px; font-size: 14px; color: #12161b;
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
