/* ============================================================================
   Relax Sound — 独立站样式
   风格取自 App 本体：深色玻璃、哑光金属、克制的光（琥珀色按键 + 绿色液晶）。
   无外部字体、无 CDN：字体走系统栈，离线打开也不掉版。
   ============================================================================ */

:root {
  /* 底色：近黑的冷灰，比纯黑柔和，给玻璃留出层次 */
  --bg: #0a0b0c;
  --bg-soft: #0f1113;
  --surface: #16181b;
  --surface-2: #1d2024;
  --surface-3: #24272c;

  --ink: #edeae4;
  --ink-2: #a8a49c;
  --ink-3: #6f6b64;

  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  /* 克制的光：琥珀（按键 / 强调）与液晶绿（屏幕） */
  --amber: #d9a35a;
  --amber-2: #f0c078;
  --amber-soft: rgba(217, 163, 90, .12);
  --amber-line: rgba(217, 163, 90, .32);
  --lcd: #7fe3ab;
  --lcd-dim: rgba(127, 227, 171, .28);

  --ok: #6fce9f;
  --err: #e07a5f;

  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 11px;

  --shadow-lg: 0 40px 90px -34px rgba(0, 0, 0, .92);
  --shadow-card: 0 18px 44px -22px rgba(0, 0, 0, .8);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans",
    "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: var(--amber-soft); color: var(--amber-2); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ============ 顶部进度条 ============ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--amber), var(--lcd));
  transition: width .12s linear;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; letter-spacing: .01em;
  border-radius: 999px;
  padding: 12px 22px; font-size: 15px;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s, background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  color: #17130c; font-weight: 700;
  box-shadow: 0 10px 30px -12px rgba(217, 163, 90, .6), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(217, 163, 90, .72), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--amber-line); color: var(--amber-2); transform: translateY(-2px); }
.btn-outline { background: none; border: 1px solid var(--line-2); color: var(--ink-2); }
.btn-outline:hover { border-color: var(--amber-line); color: var(--amber-2); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 11, 12, .78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(10, 11, 12, .92); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 42px; height: 42px; flex: none; display: block; }
/* 品牌图标 = App 图标（同一份派生图，自带圆角 alpha），不再叠琥珀底托 */
.brand-mark img { width: 100%; height: 100%; display: block; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-en { font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.brand-cn { font-size: 9.5px; font-weight: 600; color: var(--amber); letter-spacing: .22em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); transition: background .18s, color .18s;
}
.nav a:hover { background: rgba(255,255,255,.05); color: var(--ink); }

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

/* 语言切换 */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  transition: border-color .18s, color .18s;
}
.lang-btn:hover { border-color: var(--amber-line); color: var(--ink); }
.lang-menu {
  position: absolute; top: calc(100% + 9px); right: 0; min-width: 158px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--shadow-card); padding: 6px; list-style: none; z-index: 20;
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.lang-switch.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu li button {
  width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; display: flex; align-items: center; justify-content: space-between; color: var(--ink-2);
}
.lang-menu li button:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.lang-menu li button.active { color: var(--amber-2); font-weight: 600; }
.lang-menu li button.active::after { content: "✓"; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: .2s; }

/* ============ Hero ============ */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 560px; height: 560px; background: rgba(217,163,90,.11); top: -220px; right: -120px; }
.glow-2 { width: 460px; height: 460px; background: rgba(127,227,171,.07); bottom: -220px; left: -140px; }
.grid-lines {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 78%);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-soft); color: var(--amber-2); border: 1px solid var(--amber-line);
  font-weight: 600; font-size: 12px; letter-spacing: .16em;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lcd); box-shadow: 0 0 10px var(--lcd); }
.hero-title {
  font-size: clamp(32px, 4.9vw, 54px); font-weight: 700; line-height: 1.16; letter-spacing: -.022em;
}
.hero-title .highlight {
  background: linear-gradient(100deg, var(--amber-2) 10%, var(--lcd) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 24px 0 30px; font-size: 16.5px; color: var(--ink-2); max-width: 500px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lcd); box-shadow: 0 0 0 3px rgba(127,227,171,.16); }

/* ---------- 卡带机（Hero 主视觉，纯 CSS/HTML 现画） ---------- */
.hero-visual { display: flex; justify-content: center; min-width: 0; }
.deck { width: min(440px, 100%); min-width: 0; position: relative; }
.deck-shell {
  position: relative; border-radius: 28px; padding: 18px 18px 12px;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.014) 0 2px, transparent 2px 4px),
    linear-gradient(168deg, #262a2f 0%, #191c20 42%, #101214 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.1), inset 0 -1px 0 rgba(0,0,0,.6);
}
.deck-shell::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -46px; height: 60px; z-index: -1;
  background: radial-gradient(50% 100% at 50% 0%, rgba(0,0,0,.7), transparent 72%);
  filter: blur(6px);
}
.deck-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 12px; }
.deck-brand { font-size: 10px; letter-spacing: .3em; color: var(--amber); font-weight: 600; }
.deck-screws { display: inline-flex; gap: 8px; }
.deck-screws i {
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a4f55, #1b1e21);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.07);
}

/* 扬声器格栅：底图 + 竖栅条 + 呼吸光 */
.deck-grille {
  position: relative; height: 196px; border-radius: 15px; overflow: hidden; background: #0b0d0f;
  box-shadow: inset 0 2px 12px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.05);
}
.grille-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform .9s ease;
  filter: saturate(.85) brightness(.62) contrast(1.05);
}
.deck.is-playing .grille-photo { opacity: .62; transform: scale(1); }
/* 静止时也留一点底图（很淡），免得格栅看起来像一块黑洞 */
.grille-photo.idle { opacity: .15; transform: scale(1); filter: saturate(1.15) brightness(.5); }
.grille-slats {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.075) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.62) 0 5px, rgba(0,0,0,.18) 5px 13px);
}
.grille-glow {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(62% 74% at 50% 52%, rgba(127,227,171,.3), rgba(127,227,171,.05) 55%, transparent 74%);
}
.deck.is-playing .grille-glow { opacity: 1; animation: breathe 4.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .42; } 50% { opacity: 1; } }

/* 液晶屏 */
.deck-screen {
  margin-top: 14px; border-radius: 11px; padding: 11px 14px 12px;
  background: linear-gradient(180deg, #0e1a14, #08100c);
  border: 1px solid var(--lcd-dim);
  box-shadow: inset 0 0 26px rgba(127,227,171,.07), inset 0 1px 0 rgba(127,227,171,.14);
  font-family: var(--mono); color: var(--lcd); font-size: 13px;
  text-shadow: 0 0 11px rgba(127,227,171,.45);
}
.lcd-line1 { display: flex; align-items: center; gap: 10px; }
.lcd-tape { display: inline-flex; gap: 5px; opacity: .5; }
.lcd-tape i {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.4px solid var(--lcd); position: relative;
}
.lcd-tape i::after { content: ""; position: absolute; inset: 2.4px; border-radius: 50%; background: var(--lcd); opacity: .5; }
.deck.is-playing .lcd-tape { opacity: 1; }
.deck.is-playing .lcd-tape i { animation: reel 1.9s linear infinite; }
@keyframes reel { to { transform: rotate(360deg); } }
.lcd-title { letter-spacing: .07em; text-transform: uppercase; }
.deck.is-playing .lcd-title { animation: flicker 5.5s ease-in-out infinite; }
@keyframes flicker { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .72; } }
.lcd-line2 { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; font-size: 11.5px; opacity: .82; }
.lcd-status { letter-spacing: .06em; }
.lcd-meter { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 13px; }
.lcd-meter i { width: 3px; height: 30%; background: var(--lcd); opacity: .35; border-radius: 1px; transition: height .3s ease, opacity .3s ease; }
.deck.is-playing .lcd-meter i { opacity: 1; animation: meter 1.1s ease-in-out infinite; }
.deck.is-playing .lcd-meter i:nth-child(2) { animation-delay: .18s; }
.deck.is-playing .lcd-meter i:nth-child(3) { animation-delay: .36s; }
.deck.is-playing .lcd-meter i:nth-child(4) { animation-delay: .54s; }
.deck.is-playing .lcd-meter i:nth-child(5) { animation-delay: .72s; }
@keyframes meter { 0%, 100% { height: 26%; } 50% { height: 100%; } }

/* 推子 + 定时 */
.deck-mid { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 0 2px; }
.deck-fader { flex: 1; }
.fader-track {
  display: block; position: relative; height: 7px; border-radius: 4px;
  background: linear-gradient(180deg, #0a0c0d, #1b1e21);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.9), inset 0 -1px 0 rgba(255,255,255,.05);
}
.fader-knob {
  position: absolute; top: 50%; left: 58%; width: 26px; height: 17px; border-radius: 5px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #4c5259, #22262a);
  box-shadow: 0 3px 7px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.22);
  transition: left .25s cubic-bezier(.2,.8,.3,1);
}
.fader-knob::after { content: ""; position: absolute; inset: 7px 5px; background: rgba(217,163,90,.6); border-radius: 2px; }
.fader-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9px; color: var(--ink-3); font-family: var(--mono); }
.deck-timer { text-align: right; }
.timer-label { display: block; font-size: 9px; letter-spacing: .22em; color: var(--ink-3); }
.timer-value { font-family: var(--mono); font-size: 15px; color: var(--lcd); text-shadow: 0 0 10px rgba(127,227,171,.4); }

/* 按键排 */
/* 这里必须是 minmax(0, 1fr) 而不是 1fr ——
   1fr 隐含的最小值是 auto（= 按键字幕的「完整不换行宽度」，德语能到 99px），
   六列相加会把整台卡带机的最小内容宽度顶到 511px，
   在手机上撑破 hero 再被 .hero{overflow:hidden} 静默裁掉。
   换成 minmax(0,1fr) 后列可以真正收缩，字幕的 ellipsis 才会生效。 */
.deck-keys { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.deck-key {
  min-width: 0;
  border-radius: 9px; padding: 9px 3px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: linear-gradient(180deg, #303539, #1d2124);
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 4px 0 #0b0c0d, 0 7px 12px -4px rgba(0,0,0,.7);
  transition: transform .09s ease, box-shadow .09s ease, background .18s;
}
.deck-key:active, .deck-key.active { transform: translateY(4px); box-shadow: 0 0 0 #0b0c0d, inset 0 2px 6px rgba(0,0,0,.7); }
.deck-key.active { background: linear-gradient(180deg, var(--amber-2), var(--amber)); border-top-color: rgba(255,255,255,.5); }
.deck-key-num { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.deck-key.active .deck-key-num { color: #241b0d; }
.deck-key-name {
  font-size: 9px; line-height: 1.25; color: var(--ink-3); text-align: center;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.deck-key.active .deck-key-name { color: rgba(36,27,13,.78); }
.deck-nameplate {
  margin-top: 16px; padding-top: 11px; border-top: 1px solid var(--line);
  text-align: center; font-size: 9px; letter-spacing: .34em; color: var(--ink-3);
}
.deck-hint { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--ink-3); transition: opacity .4s; }
.deck-hint.hide { opacity: 0; }

/* ============ Stats ============ */
.stats { border-block: 1px solid var(--line); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 30px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-value {
  display: block; font-size: 30px; font-weight: 700; color: var(--amber-2); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13px; color: var(--ink-3); }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 16px; }

/* ============ Features ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), border-color .22s, box-shadow .22s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--amber-line); box-shadow: var(--shadow-card); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber-line);
}
.feature-card h3 { font-size: 17px; font-weight: 650; margin-bottom: 9px; letter-spacing: -.01em; }
.feature-card p { font-size: 14px; color: var(--ink-2); }

/* ============ Sounds ============ */
.sounds { background: var(--bg-soft); border-block: 1px solid var(--line); }
.sounds-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--line-2); color: var(--ink-2); transition: .18s;
}
.filter-chip:hover { border-color: var(--amber-line); color: var(--ink); }
.filter-chip.active { background: var(--amber-soft); border-color: var(--amber-line); color: var(--amber-2); font-weight: 600; }
.filter-chip .count { opacity: .6; margin-left: 5px; font-family: var(--mono); font-size: 12px; }
.sounds-note { font-size: 13px; color: var(--ink-3); }

.sounds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 18px; }
.sound-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), border-color .22s, box-shadow .22s;
}
.sound-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.sound-thumb {
  position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center;
  filter: saturate(.9) brightness(.78);
}
.sound-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,12,.15) 0%, rgba(10,11,12,.05) 45%, rgba(16,18,20,.92) 100%);
}
.sound-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px;
  background: rgba(10,11,12,.72); border: 1px solid var(--line-2); color: var(--ink-2);
  backdrop-filter: blur(6px);
}
.sound-badge.plus { color: var(--amber-2); border-color: var(--amber-line); background: rgba(217,163,90,.16); }
.sound-body { padding: 14px 16px 16px; }
.sound-name { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.sound-desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; min-height: 40px; }
.sound-play {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,11,12,.6); border: 1px solid var(--line-2); color: var(--ink);
  backdrop-filter: blur(8px); transition: .18s;
}
.sound-play:hover { background: var(--amber); border-color: var(--amber); color: #17130c; }
.sound-play.playing { background: var(--amber); border-color: var(--amber); color: #17130c; }
.sound-card.playing { border-color: var(--amber-line); }
.sound-card.playing .sound-thumb { filter: saturate(1) brightness(.95); }
.sounds-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-3); padding: 40px 0; }

/* ============ Craft ============ */
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.craft-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
}
.craft-visual {
  height: 168px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 22px;
  background: radial-gradient(70% 70% at 50% 40%, rgba(255,255,255,.045), transparent 72%), #0c0e10;
  border: 1px solid var(--line);
}
.craft-card h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 8px; }
.craft-card p { font-size: 13.5px; color: var(--ink-2); }

/* 锁屏卡片 mock */
.lockscreen {
  width: 176px; padding: 14px 14px 16px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, #1b1e22, #101214);
  border: 1px solid var(--line-2); box-shadow: 0 16px 30px -18px rgba(0,0,0,.9);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.ls-time { font-family: var(--mono); font-size: 13px; color: var(--ink-2); letter-spacing: .06em; }
.ls-art {
  width: 78px; height: 78px; border-radius: 12px;
  background: linear-gradient(150deg, #2a3a3a, #17272a 55%, #0f1a1c), radial-gradient(circle at 70% 25%, rgba(127,227,171,.3), transparent 60%);
  border: 1px solid var(--line-2);
}
.ls-title { font-size: 11px; color: var(--ink-2); letter-spacing: .04em; }
.ls-pause { display: inline-flex; gap: 5px; margin-top: 2px; }
.ls-pause i { width: 4px; height: 14px; border-radius: 1.5px; background: var(--lcd); box-shadow: 0 0 8px rgba(127,227,171,.5); }

.trail-visual { width: 88%; height: auto; }

.mini-grille {
  position: relative; width: 176px; height: 84px; border-radius: 12px; overflow: hidden;
  background: #0b0d0f; border: 1px solid var(--line-2);
}
.mini-slats {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.6) 0 4px, rgba(0,0,0,.15) 4px 9px);
}
.mini-glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 55%, rgba(127,227,171,.34), transparent 70%);
  animation: breathe 4.6s ease-in-out infinite;
}
.craft-note {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 34px; font-size: 13.5px; color: var(--ink-3); text-align: center;
}
.craft-note svg { color: var(--amber); flex: none; }

/* ============ How ============ */
.how { background: var(--bg-soft); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; text-align: center;
}
.step-num {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--amber-2);
  background: var(--amber-soft); border: 1px solid var(--amber-line);
}
.step h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 9px; }
.step p { font-size: 13.5px; color: var(--ink-2); }

/* ============ Pricing ============ */
.benefits {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
  list-style: none; margin-bottom: 40px;
}
.benefits li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-2);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 999px;
}
.benefits li::before { content: "✓"; color: var(--lcd); font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), border-color .22s, box-shadow .22s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.plan.featured { border-color: var(--amber-line); background: linear-gradient(180deg, rgba(217,163,90,.09), var(--bg-soft)); }
.plan-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; white-space: nowrap;
  padding: 4px 11px; border-radius: 999px;
  background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: #17130c;
}
.plan-name { font-size: 15px; font-weight: 650; margin-bottom: 12px; }
.plan-price { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.plan-per { font-size: 12.5px; color: var(--amber-2); margin-top: 4px; min-height: 18px; }
.plan-desc { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.6; }
.plan-trial {
  margin-top: 14px; font-size: 11.5px; color: var(--lcd);
  border-top: 1px dashed var(--line-2); padding-top: 12px;
}
.pricing-notes { text-align: center; margin-top: 34px; font-size: 13px; color: var(--ink-2); max-width: 760px; margin-inline: auto; }
.pricing-notes .muted { color: var(--ink-3); font-size: 12.5px; margin-top: 6px; }
.pricing-cta { text-align: center; margin-top: 30px; }

/* ============ Subscribe ============ */
.subscribe-card {
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(217,163,90,.14), transparent 62%),
    linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--amber-line); border-radius: 30px; padding: 56px 48px;
}
.subscribe-card .section-head { margin-bottom: 34px; }
.subscribe-form { max-width: 560px; margin: 0 auto; }
.input-row { display: flex; gap: 10px; }
.input-row .text-input { flex: 1; }
.text-input {
  width: 100%; padding: 13px 17px; font-size: 15px;
  border: 1px solid var(--line-2); border-radius: 13px;
  background: rgba(10,11,12,.6); color: var(--ink);
  transition: border-color .18s, box-shadow .18s; outline: none;
}
.text-input::placeholder { color: var(--ink-3); }
.text-input:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(217,163,90,.12); }
.interests { margin-top: 20px; }
.interests-label { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line-2); color: var(--ink-2); transition: .16s;
}
.chip:hover { border-color: var(--amber-line); color: var(--ink); }
.chip.active { background: var(--amber-soft); border-color: var(--amber-line); color: var(--amber-2); font-weight: 600; }
.form-msg { margin-top: 14px; font-size: 13.5px; min-height: 20px; }
.form-msg.success { color: var(--ok); }
.form-msg.error { color: var(--err); }

/* ============ Feedback ============ */
.feedback-form {
  max-width: 720px; margin: 0 auto; padding: 38px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field select.text-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f6b64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field select.text-input option { background: var(--surface-2); color: var(--ink); }
.stars { display: flex; gap: 4px; }
.star { font-size: 26px; line-height: 1; color: #3a3a38; transition: color .13s, transform .13s; }
.star:hover { transform: scale(1.14); }
.star.active { color: var(--amber); text-shadow: 0 0 14px rgba(217,163,90,.4); }
.feedback-actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.feedback-actions .form-msg { margin-top: 0; }

/* ============ Footer ============ */
.site-footer { background: #070808; border-top: 1px solid var(--line); padding: 62px 0 28px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 34px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tagline { font-size: 13.5px; color: var(--ink-3); max-width: 250px; margin-bottom: 20px; }
.footer-col h4 {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 15px; font-weight: 600;
}
.footer-col a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--ink-2); transition: color .15s; }
.footer-col a:hover { color: var(--amber-2); }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--ink-3);
}
.footer-icp { color: var(--ink-3); text-decoration: none; }
.footer-icp:hover { color: var(--ink-2); text-decoration: underline; }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 90px);
  background: var(--surface-3); border: 1px solid var(--line-2); color: var(--ink);
  padding: 13px 22px; border-radius: 14px; font-size: 14px;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.85);
  opacity: 0; transition: opacity .3s cubic-bezier(.2,.8,.2,1), transform .3s cubic-bezier(.2,.8,.2,1);
  z-index: 1000; pointer-events: none; max-width: 90%;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.success { border-color: rgba(111,206,159,.4); color: var(--ok); }
.toast.error { border-color: rgba(224,122,95,.4); color: var(--err); }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Honeypot ============ */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-note { justify-content: center; }
  .features-grid, .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 660px) {
  .nav, .header-cta { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-soft); padding: 16px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
  }
  .nav.open a { width: 100%; padding: 11px 14px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .lang-btn span#langLabel { display: none; }
  .header-inner { gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .features-grid, .craft-grid, .plans { grid-template-columns: 1fr; }
  .sounds-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .sound-body { padding: 12px 13px 14px; }
  .sound-name { font-size: 14px; }
  .sound-desc { font-size: 12px; min-height: 0; }
  .input-row { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .subscribe-card { padding: 34px 22px; }
  .feedback-form { padding: 26px 20px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .sounds-toolbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  /* 六键挤一行时，德语/法语的声音名（"Regen auf dem Schirm"）只剩 6 个字符可看。
     手机上改成 3×2，字幕两行显示，按键也更好点。 */
  .deck-keys { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .deck-key { padding: 9px 6px 9px; }
  .deck-key-name {
    white-space: normal; line-height: 1.2; min-height: 2.4em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .deck-shell { padding: 16px 14px 12px; }
}
@media (max-width: 420px) {
  /* 小屏上 22 张卡如果单列排，页面会长到不可收拾；用自适应双列压回来 */
  .sounds-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 11px; }
  .sound-body { padding: 11px 12px 13px; }
  .sound-name { font-size: 13.5px; }
  .sound-desc { font-size: 11.5px; }
  .sound-play { left: 11px; bottom: 11px; width: 34px; height: 34px; }
  .deck-grille { height: 168px; }
}

/* ============ 尊重「减弱动态效果」 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .deck.is-playing .grille-glow { opacity: .7; }
  .reveal { opacity: 1; transform: none; }
}
