/* ══════════════════════════════════════════════
   Mo记输入法 · 落地页
   气质：深夜终端 / 精密仪器
   墨绿黑 + 荧光绿 + 等宽标签，零外部字体依赖
   ══════════════════════════════════════════════ */

:root {
  --bg: #070b0a;
  --bg-raise: #0c1311;
  --bg-card: rgba(14, 22, 19, 0.72);
  --ink: #e9f4ef;
  --sub: #8fa79d;
  --faint: #5c7168;
  --acc: #35e6a8;
  --acc-deep: #1b7f5a;
  --amber: #ffb454;
  --line: rgba(53, 230, 168, 0.16);
  --line-soft: rgba(233, 244, 239, 0.08);
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --r-lg: 20px;
  --r-md: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--acc); color: #04120c; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); letter-spacing: 0.06em; }
.accent { color: var(--acc); }

/* ─────────── 氛围层：网格 / 极光 / 噪点 ─────────── */

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 230, 168, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 230, 168, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
.aurora::before {
  top: -18vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(27, 127, 90, 0.55), transparent 65%);
}
.aurora::after {
  right: -16vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(53, 230, 168, 0.22), transparent 65%);
  animation-delay: -13s;
}
@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, 4vw, 0) scale(1.15); }
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

main, .site-header, .site-footer { position: relative; z-index: 2; }

/* 锚点跳转时避开固定导航 */
section { scroll-margin-top: 84px; }

/* ─────────── 头部 ─────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: linear-gradient(rgba(7, 11, 10, 0.82), rgba(7, 11, 10, 0.55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, #10201a, #0a1511);
  border: 1px solid var(--line);
  color: var(--acc);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 0 18px rgba(53, 230, 168, 0.22), inset 0 0 10px rgba(53, 230, 168, 0.08);
}
.brand-mark-sm { width: 26px; height: 26px; font-size: 13px; border-radius: 7px; }

.brand-name { font-weight: 700; letter-spacing: 0.04em; font-size: 15px; }

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  font-size: 14px;
  color: var(--sub);
  transition: color 0.25s;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--acc);
  transition: right 0.3s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }

/* ─────────── 按钮 ─────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: linear-gradient(160deg, var(--acc), #1fae7e);
  color: #04150e;
  box-shadow: 0 8px 30px rgba(53, 230, 168, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(53, 230, 168, 0.4); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(53, 230, 168, 0.05);
}
.btn-ghost:hover { border-color: var(--acc); background: rgba(53, 230, 168, 0.1); }

.btn-mini {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 9px;
  background: rgba(53, 230, 168, 0.1);
  border-color: var(--line);
  color: var(--acc);
}
.btn-mini:hover { background: rgba(53, 230, 168, 0.18); }

.btn-size {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
  padding-left: 10px;
  border-left: 1px solid rgba(4, 21, 14, 0.3);
}
.btn-big { padding: 18px 34px; font-size: 16.5px; border-radius: 14px; }

/* ─────────── Hero ─────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: 100svh;
  padding: clamp(110px, 16vh, 160px) clamp(20px, 5vw, 56px) clamp(60px, 9vh, 110px);
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.32em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.h1-line { display: block; }
.h1-gradient {
  background: linear-gradient(92deg, var(--acc) 10%, #9df5d6 45%, var(--acc-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(53, 230, 168, 0.3));
}

.typewriter {
  font-family: var(--mono);
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--sub);
  min-height: 3.2em;
  max-width: 30em;
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}
.caret {
  display: inline-block;
  width: 9px;
  height: 1.15em;
  margin-left: 3px;
  vertical-align: text-bottom;
  background: var(--acc);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.14em;
}
.hero-meta li { display: flex; align-items: center; }
.hero-meta li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 14px;
  border-radius: 50%;
  background: var(--acc-deep);
}

/* ─────────── 手机模型 ─────────── */

.hero-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.device-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 84%;
  background: radial-gradient(ellipse at center, rgba(53, 230, 168, 0.17), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: clamp(250px, 24vw, 312px);
  aspect-ratio: 9 / 19.2;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #232b28 0%, #0d1211 42%, #1a221f 100%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(233, 244, 239, 0.09),
    inset 0 1px 1px rgba(255, 255, 255, 0.14);
  animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-16px) rotate(0.8deg); }
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #050807;
  border-radius: 14px;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #0a0f0d;
}

.phone-screen .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 1.4s ease;
}
.phone-screen .slide.active { opacity: 1; transform: scale(1); }

.screen-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, transparent 32%, transparent 68%, rgba(255, 255, 255, 0.05) 100%);
}

.phone-home {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 5px;
  border-radius: 3px;
  background: rgba(233, 244, 239, 0.55);
  z-index: 3;
}

.slide-dots { display: flex; gap: 10px; }
.dot {
  width: 26px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(233, 244, 239, 0.16);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.dot.active { background: var(--acc); width: 40px; box-shadow: 0 0 10px rgba(53, 230, 168, 0.6); }

.device-caption {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--faint);
}

/* ─────────── Features ─────────── */

.features {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) clamp(20px, 5vw, 56px);
}

.section-head { margin-bottom: 54px; }
.section-head h2, .voice-copy h2, .download-info h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 30px 26px 34px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 160px at var(--mx, 50%) 0%, rgba(53, 230, 168, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-7px);
  border-color: var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(53, 230, 168, 0.08);
}
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 13px;
  color: var(--acc);
  letter-spacing: 0.2em;
  margin-bottom: 44px;
  position: relative;
}
.card-icon::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--acc), transparent);
}

.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; position: relative; }
.card p { font-size: 14.5px; color: var(--sub); position: relative; }

/* ─────────── Learning：打字即学 ─────────── */

.learning {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) clamp(20px, 5vw, 56px);
}

.learning-lead { color: var(--sub); font-size: 16px; margin: 22px 0 34px; max-width: 34em; }

.learn-points { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.learn-points li { display: flex; gap: 16px; align-items: flex-start; }
.lp-mark {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--acc);
  font-size: 13px;
  background: rgba(53, 230, 168, 0.07);
  box-shadow: inset 0 0 12px rgba(53, 230, 168, 0.06);
}
.learn-points strong { display: block; font-size: 16.5px; margin-bottom: 3px; }
.learn-points li > div > span { font-size: 13.5px; color: var(--sub); }
.learn-points li > div > span.mono { font-size: 12.5px; color: var(--faint); letter-spacing: 0.03em; }

/* 候选译词演示框 */
.learning-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.demo-tabs {
  display: flex;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
}
.demo-tab {
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-soft);
  color: var(--faint);
  transition: color 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.demo-tab.active {
  color: var(--acc);
  border-color: var(--line);
  background: rgba(53, 230, 168, 0.08);
  box-shadow: 0 0 16px rgba(53, 230, 168, 0.15);
}

.cand-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 324px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(320px 160px at 20% 0%, rgba(53, 230, 168, 0.1), transparent 65%),
    var(--bg-raise);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.cand-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 230, 168, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 230, 168, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.lang-set {
  position: absolute;
  inset: 0;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.lang-set.active { opacity: 1; transform: none; }

.cand-preedit {
  font-size: 15px;
  color: var(--faint);
  letter-spacing: 0.1em;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--line-soft);
}

.cand-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(233, 244, 239, 0.045);
  border: 1px solid var(--line-soft);
  transition: background 0.3s, border-color 0.3s;
}
.cand-row:first-of-type {
  background: rgba(53, 230, 168, 0.1);
  border-color: var(--line);
}
.cand-word { font-size: 21px; font-weight: 700; letter-spacing: 0.06em; }
.cand-gloss {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--acc);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* 实拍截图卡 */
.real-shots {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 460px;
}
.shot-card {
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--bg-raise);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.shot-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(53, 230, 168, 0.1);
}
.shot-card img {
  width: 100%;
  height: auto;
  display: block;
}
.shot-card figcaption {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--faint);
  padding: 9px 12px;
  background: rgba(233, 244, 239, 0.035);
  border-top: 1px solid var(--line-soft);
}

/* ─────────── Voice ─────────── */

.voice {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) clamp(20px, 5vw, 56px);
}

.voice-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.phone-sm { width: clamp(230px, 21vw, 274px); animation-duration: 8s; }

.wave {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 44px;
}
.wave span {
  width: 5px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--acc), var(--acc-deep));
  box-shadow: 0 0 12px rgba(53, 230, 168, 0.5);
  animation: wave-bar 1.1s ease-in-out infinite;
}
.wave span:nth-child(2) { animation-delay: 0.14s; }
.wave span:nth-child(3) { animation-delay: 0.28s; }
.wave span:nth-child(4) { animation-delay: 0.42s; }
.wave span:nth-child(5) { animation-delay: 0.21s; }
.wave span:nth-child(6) { animation-delay: 0.35s; }
.wave span:nth-child(7) { animation-delay: 0.07s; }
@keyframes wave-bar {
  0%, 100% { height: 10px; opacity: 0.65; }
  50% { height: 42px; opacity: 1; }
}

.voice-lead { color: var(--sub); font-size: 16px; margin: 22px 0 34px; max-width: 34em; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--acc);
  font-size: 14px;
  background: rgba(53, 230, 168, 0.07);
  box-shadow: inset 0 0 12px rgba(53, 230, 168, 0.06);
}
.steps strong { display: block; font-size: 16.5px; margin-bottom: 2px; }
.steps span:not(.step-n) { font-size: 14px; color: var(--sub); }

.voice-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--acc);
  background: rgba(53, 230, 168, 0.06);
}

/* ─────────── Download ─────────── */

.download {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 90px) clamp(20px, 5vw, 56px) clamp(80px, 12vh, 140px);
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: clamp(38px, 5vw, 66px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(53, 230, 168, 0.12), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(27, 127, 90, 0.18), transparent 60%),
    var(--bg-raise);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 230, 168, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 230, 168, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
  pointer-events: none;
}

.download-info { position: relative; }
.dl-desc { color: var(--sub); margin: 18px 0 22px; max-width: 34em; }

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 32px;
}
.dl-meta span { display: flex; align-items: center; gap: 8px; }
.dl-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--acc);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--acc);
}

.dl-note { margin-top: 18px; font-size: 13px; color: var(--faint); }

.download-qr {
  position: relative;
  text-align: center;
  padding: 20px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 0 40px rgba(53, 230, 168, 0.16);
}
.download-qr p { color: #0b1a14; font-size: 12px; letter-spacing: 0.24em; margin-top: 10px; }
.download-qr img, .download-qr canvas { display: block; margin: 0 auto; }

/* ─────────── Footer ─────────── */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 13.5px;
}
.footer-left { display: flex; align-items: center; gap: 12px; }
.site-footer .mono { font-size: 11.5px; letter-spacing: 0.22em; }

/* ─────────── 宣传视频 ─────────── */

.promo {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px clamp(20px, 5vw, 56px) 10px;
}
.promo .section-head { margin-bottom: 34px; text-align: center; }
.promo-frame {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 42px rgba(53, 230, 168, 0.08);
  transform: translateZ(0);   /* 强制同层合成，治微信 video 层穿透溢出 */
}
/* 内盒自撑 16:9：padding-top 基准=盒子自身宽度，配合 max-width 不跑比例 */
.promo-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.promo-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050807;
}
/* 自动播放被浏览器拦截时的兜底播放键 */
.promo-frame.is-paused { cursor: pointer; }
.promo-frame.is-paused::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(7, 11, 10, 0.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2335e6a8'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 34px no-repeat;
  border: 1px solid rgba(53, 230, 168, 0.55);
  box-shadow: 0 0 34px rgba(53, 230, 168, 0.28);
  pointer-events: none;
}

/* ─────────── 实拍画廊（键盘章节） ─────────── */

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1180px;
  margin: 48px auto 0;
}
.gallery .shot-card {
  flex: 0 1 calc((100% - 32px) / 3);
}
.gallery .shot-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}
.gallery .shot-card figcaption {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 10px 8px;
}
.gallery-note {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* ─────────── Trust 信任条 ─────────── */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 10px clamp(20px, 5vw, 56px) 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--line-soft);
  overflow: hidden;
}
.trust-item {
  padding: 26px 22px;
  background: var(--bg-raise);
}
.trust-item strong {
  display: block;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.trust-item span { font-size: 12.5px; color: var(--faint); }

/* ─────────── 滚动入场 ─────────── */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }

/* ─────────── 响应式 ─────────── */

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery .shot-card { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 120px; }
  .hero-device { order: 2; margin-top: 10px; }
  .learning { grid-template-columns: 1fr; }
  .voice { grid-template-columns: 1fr; }
  .voice-visual { order: 2; }
  .download-card { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .gallery .shot-card { flex-basis: 100%; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .btn-big { font-size: 14.5px; padding: 16px 20px; }
  .phone { width: min(72vw, 280px); }
}

/* ─────────── 动效降级 ─────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
