/* ============================================================
   琉星羽 · 组件层
   导航 / Hero / 跑马灯 / 功能亮点 / 软件演示 / 宣传片 / 看板娘 / 品牌 / 赞赏 / 页脚
   ============================================================ */

/* ---------- 顶部导航（滚动后毛玻璃） ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(10, 9, 18, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--color-border);
}
.nav-inner {
  width: min(1280px, 94vw);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.25rem;
  letter-spacing: 0.12em;
}
.nav-brand .brand-star { color: var(--color-gold); font-size: 0.85em; }
.nav-logo { width: 26px; height: 26px; border-radius: 8px; box-shadow: var(--shadow-1); }
.nav-links { display: flex; align-items: center; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: var(--fs-small); color: var(--color-muted);
  letter-spacing: 0.14em; padding: 8px 2px;
  position: relative; transition: color var(--dur-fast) ease-out;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small); letter-spacing: 0.12em; font-weight: 500;
  border: 1px solid var(--color-border-strong);
  background: transparent; color: var(--color-text);
  transition: transform var(--dur-fast) ease-out,
              background var(--dur-fast) ease-out,
              box-shadow var(--dur-fast) ease-out,
              border-color var(--dur-fast) ease-out;
}
.btn:hover { transform: translateY(-2px); border-color: var(--color-accent); box-shadow: var(--glow-accent); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-strong), #6f5fe0);
  border-color: transparent; color: #0a0912; font-weight: 700;
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(143, 131, 240, 0.45); }
.btn-gold { border-color: rgba(217, 180, 92, 0.5); color: var(--color-gold); }
.btn-gold:hover { border-color: var(--color-gold); box-shadow: var(--glow-gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); color: var(--color-text); font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}
#starfield {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero-emblem {
  position: absolute; right: 3vw; top: 50%;
  width: clamp(168px, 22vw, 300px); height: clamp(168px, 22vw, 300px);
  object-fit: contain; box-sizing: border-box;
  filter: drop-shadow(0 0 46px rgba(143, 131, 240, 0.5)) drop-shadow(0 0 90px rgba(143, 131, 240, 0.25));
  transform: translateY(-50%);
  opacity: 0.95;
  z-index: 1;
  animation: emblemFloat 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes emblemFloat {
  0%, 100% { transform: translateY(-54%) rotate(0deg); }
  50% { transform: translateY(-58%) rotate(1.6deg); }
}
.hero-content { position: relative; z-index: 2; }
.hero-kicker {
  color: var(--color-gold); letter-spacing: 0.42em;
  font-size: var(--fs-small); margin-bottom: var(--space-4);
  display: flex; align-items: center; gap: 12px;
}
.hero-kicker::before { content: ""; width: 48px; height: 1px; background: var(--color-gold); }
.hero-title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  margin-bottom: var(--space-4);
}
.hero-title .glow {
  background: linear-gradient(120deg, #f2effa 30%, var(--color-accent) 70%, var(--color-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 34em; font-size: 1.125rem; line-height: 1.9;
  margin-bottom: var(--space-5);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-meta {
  margin-top: var(--space-5);
  display: flex; gap: var(--space-5); flex-wrap: wrap;
  color: var(--color-muted); font-size: var(--fs-small);
}
.hero-meta strong { color: var(--color-text); font-size: 1.35rem; display: block; font-family: var(--font-display); }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--color-muted); font-size: var(--fs-tiny);
  letter-spacing: 0.3em; text-align: center;
}
.scroll-hint::after {
  content: ""; display: block; width: 1px; height: 44px;
  margin: 10px auto 0;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: hintDrop 1.8s var(--ease-out) infinite;
}
@keyframes hintDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 关键词跑马灯 ---------- */
.marquee {
  border-block: 1px solid var(--color-border);
  padding-block: 18px;
  overflow: hidden; position: relative; z-index: 2;
  background: rgba(16, 14, 29, 0.6);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  color: var(--color-muted); font-size: var(--fs-small); letter-spacing: 0.22em;
  white-space: nowrap; display: flex; align-items: center; gap: 48px;
}
.marquee-track span::after { content: "✦"; color: var(--color-gold); font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 功能亮点（非对称网格） ---------- */
.feature-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(12, 1fr);
}
.feature-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(29, 25, 48, 0.55), rgba(16, 14, 29, 0.35));
  padding: var(--space-5) var(--space-4) var(--space-4);
  position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-2), var(--glow-accent);
}
.feature-card::before {
  content: attr(data-index);
  position: absolute; top: -18px; right: 8px;
  font-family: var(--font-latin); font-size: 5.5rem; font-weight: 600;
  color: rgba(183, 174, 248, 0.08); line-height: 1;
}
.feature-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.feature-card p { font-size: var(--fs-small); margin: 0; }
.feature-card .tag {
  display: inline-block; margin-bottom: var(--space-3);
  font-size: var(--fs-tiny); letter-spacing: 0.24em; color: var(--color-gold);
}
.feature-card.wide { grid-column: span 7; }
.feature-card.slim { grid-column: span 5; }
.feature-card.hero-card {
  grid-column: span 12;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-5); align-items: center;
  padding: var(--space-6) var(--space-5);
  border-color: rgba(217, 180, 92, 0.35);
}
.feature-card.hero-card::before { font-size: 8rem; top: -26px; }
.ladder-viz { display: flex; flex-direction: column; gap: 8px; }
.ladder-viz .rung {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: var(--fs-tiny);
  padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(10, 9, 18, 0.5);
}
.ladder-viz .rung.buy { border-left: 2px solid var(--color-up); }
.ladder-viz .rung.sell { border-left: 2px solid var(--color-down); }
.ladder-viz .rung em { font-style: normal; color: var(--color-muted); font-family: var(--font-body); letter-spacing: 0.1em; }

/* ---------- 软件演示窗 ---------- */
.app-win {
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-3), var(--glow-accent);
  overflow: hidden;
  transform: perspective(1600px) rotateY(0deg);
}
.app-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--color-bg-2);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-tiny); color: var(--color-muted); letter-spacing: 0.1em;
}
.app-titlebar .win-dot { display: inline-flex; gap: 6px; margin-right: 12px; }
.app-titlebar .win-dot i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-border-strong); font-style: normal;
}
.app-body { display: grid; grid-template-columns: 172px 1fr; min-height: 420px; }
.app-side {
  border-right: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  display: flex; flex-direction: column;
}
.app-side button {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; background: none; border: none;
  color: var(--color-muted); font-size: var(--fs-small); letter-spacing: 0.12em;
  border-left: 2px solid transparent;
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.app-side button.active, .app-side button:hover {
  color: var(--color-text); background: rgba(143, 131, 240, 0.08);
  border-left-color: var(--color-accent-strong);
}
.app-side .side-note {
  margin-top: auto; padding: 12px 18px 0;
  font-size: var(--fs-tiny); color: var(--color-muted); opacity: 0.7;
  border-top: 1px dashed var(--color-border);
}
.app-main { padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.app-quote-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 2px 6px 8px; border-bottom: 1px dashed var(--color-border);
}
.app-quote-head .q-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.app-quote-head .q-price { font-size: 1.5rem; font-weight: 600; }
.app-quote-head .q-chg { font-size: var(--fs-small); }
.q-up { color: var(--color-up); }
.q-down { color: var(--color-down); }
.chart-wrap { position: relative; flex: 1; min-height: 300px; }
.chart-wrap svg { width: 100%; height: 100%; display: block; }
.chart-tip {
  position: absolute; pointer-events: none; z-index: 3;
  background: rgba(10, 9, 18, 0.92);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 10px; font-family: var(--font-mono); font-size: var(--fs-tiny);
  line-height: 1.6; white-space: nowrap;
  opacity: 0; transition: opacity var(--dur-fast) ease-out;
}
.chart-tip.show { opacity: 1; }
.app-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 8px; }
.app-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.app-tabs button {
  padding: 7px 14px; min-height: 36px;
  background: none; border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  color: var(--color-muted); font-size: var(--fs-tiny); letter-spacing: 0.1em;
  transition: all var(--dur-fast) ease-out;
}
.app-tabs button.active {
  border-color: var(--color-accent-strong); color: var(--color-text);
  background: rgba(143, 131, 240, 0.12);
}
.play-btn {
  margin-left: auto;
  padding: 7px 16px; min-height: 36px;
  border: 1px solid rgba(217, 180, 92, 0.45); border-radius: var(--radius-pill);
  background: none; color: var(--color-gold); font-size: var(--fs-tiny); letter-spacing: 0.14em;
  transition: all var(--dur-fast) ease-out;
}
.play-btn:hover { background: rgba(217, 180, 92, 0.12); }
.play-btn.playing { border-color: var(--color-down); color: var(--color-down); }
.app-ladder {
  border-left: 1px solid var(--color-border);
  padding: var(--space-3);
  display: flex; flex-direction: column; gap: 6px;
}
.app-ladder h4 {
  font-size: var(--fs-tiny); font-family: var(--font-body); font-weight: 500;
  letter-spacing: 0.28em; color: var(--color-muted); margin: 0 0 4px;
}
.ladder-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: var(--fs-tiny);
  padding: 7px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all var(--dur-base) var(--ease-out);
}
.ladder-row .lbl { font-family: var(--font-body); letter-spacing: 0.12em; color: var(--color-muted); }
.ladder-row.hit-below { border-color: rgba(229, 72, 77, 0.6); background: rgba(229, 72, 77, 0.10); }
.ladder-row.hit-above { border-color: rgba(61, 214, 140, 0.6); background: rgba(61, 214, 140, 0.10); }
.ladder-row.hit-below .state, .ladder-row.hit-above .state { color: var(--color-text); }
.ladder-row .state { color: var(--color-muted); }
.demo-shot { margin: 0; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.demo-shot img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); border: 1px solid var(--color-border); background: var(--color-bg-2); transition: opacity 0.26s var(--ease-out); }
.demo-shot img.swapping { opacity: 0; }
.demo-cap { display: flex; align-items: center; justify-content: space-between; padding: 10px 4px 0; font-size: var(--fs-small); letter-spacing: 0.08em; }
.demo-cap #demoCap { color: var(--color-text); }
.demo-note {
  margin-top: var(--space-3); font-size: var(--fs-tiny);
  color: var(--color-muted); opacity: 0.75; text-align: right;
}

/* ---------- 宣传片预留区 ---------- */
.trailer-frame {
  position: relative; aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(42rem 26rem at 50% 120%, rgba(143, 131, 240, 0.22), transparent 60%),
    var(--color-bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-4);
  cursor: pointer;
  box-shadow: var(--shadow-2);
}
.trailer-frame img.emblem {
  width: clamp(120px, 18vw, 200px); opacity: 0.9;
  filter: drop-shadow(0 0 40px rgba(217, 180, 92, 0.25));
  mix-blend-mode: screen;
  transition: transform var(--dur-slow) var(--ease-out);
}
.trailer-frame:hover img.emblem { transform: scale(1.05); }
.trailer-frame .play-ring {
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); font-size: 1.4rem;
  background: rgba(10, 9, 18, 0.5);
  backdrop-filter: blur(6px);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}
.trailer-frame .play-ring::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(183, 174, 248, 0.3);
  animation: ringPulse 2.4s var(--ease-out) infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.trailer-frame:hover .play-ring { border-color: var(--color-accent); box-shadow: var(--glow-accent); }
.trailer-frame .t-label { color: var(--color-muted); font-size: var(--fs-small); letter-spacing: 0.3em; }
.trailer-video {
  width: 100%; aspect-ratio: 4 / 3; display: block; background: #000;
  border-radius: 18px; border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-2); outline: none;
}

/* ---------- 看板娘 ---------- */
.mascot-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: var(--space-6); align-items: center;
}
.mascot-figure {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-3), var(--glow-accent);
  transform: rotate(-1.2deg);
}
.mascot-figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mascot-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 18, 0.55), transparent 42%);
  pointer-events: none;
}
.mascot-figure .fig-cap {
  position: absolute; left: 20px; bottom: 14px; z-index: 2;
  font-size: var(--fs-tiny); letter-spacing: 0.26em; color: var(--color-text);
}
.mascot-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--color-accent);
  box-shadow: var(--glow-accent);
}
.mascot-dialog .who {
  display: flex; align-items: center; gap: 14px; margin-bottom: var(--space-4);
}
.mascot-dialog .who .name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.mascot-dialog .who .role { color: var(--color-muted); font-size: var(--fs-tiny); letter-spacing: 0.2em; }
.speech-bubble {
  position: relative;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(29, 25, 48, 0.7), rgba(16, 14, 29, 0.5));
  padding: var(--space-4) var(--space-4);
  font-size: 1.0625rem; line-height: 1.9; min-height: 108px;
  color: var(--color-text);
}
.speech-bubble::before {
  content: ""; position: absolute; left: 34px; top: -9px;
  width: 16px; height: 16px; transform: rotate(45deg);
  background: var(--color-surface-2);
  border-left: 1px solid var(--color-border-strong);
  border-top: 1px solid var(--color-border-strong);
}
.speech-bubble .caret { display: inline-block; width: 2px; height: 1em; background: var(--color-accent); margin-left: 3px; vertical-align: -0.15em; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mascot-actions { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.mascot-facts { margin-top: var(--space-5); display: grid; gap: 10px; }
.mascot-facts li {
  list-style: none; display: flex; gap: 12px; align-items: baseline;
  color: var(--color-muted); font-size: var(--fs-small);
}
.mascot-facts li::before { content: "✦"; color: var(--color-gold); font-size: 0.75em; }

/* ---------- 品牌视觉（logo 展示） ---------- */
.brand-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: var(--space-3); }
.brand-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-3); min-height: 260px;
  background: var(--color-bg-2);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.brand-card:hover { transform: translateY(-4px); border-color: var(--color-border-strong); }
.brand-card .b-label { font-size: var(--fs-tiny); letter-spacing: 0.3em; color: var(--color-muted); }
.brand-card.light { background: #efeaf8; }
.brand-card.light .b-label { color: #6b6390; }
.brand-card img.logo-main { width: 72%; }
.brand-card img.emblem-main { width: 68%; mix-blend-mode: screen; }
.brand-card img.icon-main { width: 56%; filter: drop-shadow(0 10px 26px rgba(143, 131, 240, 0.35)); }

/* ---------- 喜欢作者 ---------- */
.support-wrap {
  border: 1px solid rgba(217, 180, 92, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 6vw, var(--space-7));
  background:
    radial-gradient(40rem 20rem at 85% 0%, rgba(217, 180, 92, 0.10), transparent 60%),
    var(--color-bg-2);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: center;
}
.support-copy h2 { color: var(--color-gold); }
.support-copy .gold-line { color: var(--color-gold); }
.support-ways { display: flex; flex-direction: column; gap: var(--space-3); }
.qr-slot {
  position: relative;
  border: 1px dashed rgba(217, 180, 92, 0.5);
  border-radius: var(--radius-md);
  width: min(240px, 100%); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: rgba(10, 9, 18, 0.5);
}
.qr-slot img { width: 100%; height: 100%; object-fit: contain; }
.qr-slot .qr-hint {
  text-align: center; color: var(--color-muted); font-size: var(--fs-tiny);
  letter-spacing: 0.18em; line-height: 2; padding: var(--space-3);
}
.qr-slot .qr-hint .feather { font-size: 1.6rem; color: var(--color-gold); display: block; margin-bottom: 6px; }

/* ---------- 人机验证：滑动验证（通过后才能查看赞赏码） ---------- */
.verify { width: 100%; max-width: 340px; }
.verify-track {
  position: relative; height: 48px; border-radius: 999px;
  background: rgba(10, 9, 18, 0.6); border: 1px solid var(--color-border-strong);
  overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
}
.verify-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 43px;
  background: linear-gradient(90deg, rgba(143, 131, 240, 0.35), rgba(217, 180, 92, 0.30));
  transition: width 0.08s linear;
}
.verify-handle {
  position: absolute; top: 3px; left: 3px; width: 42px; height: 42px;
  border-radius: 50%; background: linear-gradient(150deg, #ffffff, #d9d4f0);
  color: #2a2350; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; cursor: grab; z-index: 2; touch-action: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: left 0.08s linear;
}
.verify-handle:active { cursor: grabbing; }
.verify-handle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.verify-text {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-muted); font-size: var(--fs-small);
  letter-spacing: 0.12em; pointer-events: none;
}
.verify.done .verify-fill { background: linear-gradient(90deg, rgba(61, 214, 140, 0.40), rgba(61, 214, 140, 0.18)); }
.verify.done .verify-handle { background: linear-gradient(150deg, #6ee7a8, #3dd68c); color: #06281a; cursor: default; }
.verify.done .verify-text { color: var(--color-down); }
#revealQRBtn:disabled { opacity: 0.45; cursor: not-allowed; }
/* 验证通过后展示的赞赏码（默认 hidden，需显式覆盖 qr-slot 的 display:flex） */
#qrReveal[hidden] { display: none !important; }
#qrReveal {
  flex-direction: column; aspect-ratio: auto; padding: 16px; gap: 10px;
}
#qrReveal img {
  width: 100%; max-width: 200px; height: auto; margin: 0 auto;
  border-radius: var(--radius-sm); background: #fff;
}
#qrReveal .qr-hint { position: static; padding: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 80px);
  background: rgba(22, 19, 38, 0.95); border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill); padding: 12px 24px;
  font-size: var(--fs-small); letter-spacing: 0.1em; color: var(--color-text);
  z-index: 80; opacity: 0; pointer-events: none;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  box-shadow: var(--shadow-2);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0 var(--space-5);
  background: var(--color-bg-2);
  position: relative; z-index: 2;
}
.footer-grid { display: flex; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.footer-brand { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; letter-spacing: 0.14em; }
.footer-brand .brand-star { color: var(--color-gold); }
.footer-slogan { color: var(--color-muted); font-size: var(--fs-small); margin-top: 6px; }
.footer-links { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { color: var(--color-muted); font-size: var(--fs-small); letter-spacing: 0.14em; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  margin-top: var(--space-5); padding-top: var(--space-4);
  border-top: 1px dashed var(--color-border);
  display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;
  color: var(--color-muted); opacity: 0.8; font-size: var(--fs-tiny); letter-spacing: 0.1em;
}

/* ---------- 免责声明横幅（显著位置） ---------- */
.disclaimer-banner {
  position: relative; z-index: 3;
  background: linear-gradient(180deg, rgba(217, 180, 92, 0.12), rgba(217, 180, 92, 0.04));
  border-block: 1px solid rgba(217, 180, 92, 0.35);
  padding: 14px clamp(16px, 5vw, 40px);
}
.disclaimer-banner .disc-inner {
  width: min(1280px, 94vw); margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  color: var(--color-gold); font-size: var(--fs-small); line-height: 1.75;
  letter-spacing: 0.02em;
}
.disclaimer-banner .disc-mark {
  flex: none; font-size: 1.35rem; line-height: 1;
  filter: drop-shadow(0 0 8px rgba(217, 180, 92, 0.4));
}
.disclaimer-banner strong { color: var(--color-text); font-weight: 700; }

/* ---------- 功能开放说明（免费 / 会员） ---------- */
.open-note { padding-block: var(--space-6); background: rgba(16, 14, 29, 0.4); }
.open-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); }
.open-col {
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-5); background: var(--color-bg-2);
}
.open-col.paid {
  border-color: rgba(217, 180, 92, 0.4);
  background: linear-gradient(160deg, rgba(29, 25, 48, 0.6), rgba(16, 14, 29, 0.4));
}
.open-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.open-head h3 { font-size: var(--fs-h3); margin: 0; }
.open-head .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.open-head .dot.free { background: var(--color-up); box-shadow: 0 0 12px rgba(61, 214, 140, 0.6); }
.open-head .dot.paid { background: var(--color-gold); box-shadow: 0 0 12px rgba(217, 180, 92, 0.6); }
.open-col ul { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 8px; }
.open-col ul li { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-small); color: var(--color-text); }
.open-col ul li::before { content: "✓"; color: var(--color-up); font-weight: 700; }
.open-col.paid ul li::before { content: "✦"; color: var(--color-gold); }
.open-col p { font-size: var(--fs-small); color: var(--color-muted); margin: 0 0 var(--space-2); }
.open-note-tip { color: var(--color-text) !important; }
.open-col.paid .btn { margin-top: var(--space-2); }

/* 功能卡上的开放标记（由 JS 注入） */
.plan-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: var(--fs-tiny); letter-spacing: 0.16em;
  padding: 3px 10px; border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 214, 140, 0.5); color: var(--color-up);
  background: rgba(61, 214, 140, 0.08);
}
.plan-badge.paid {
  border-color: rgba(217, 180, 92, 0.55); color: var(--color-gold);
  background: rgba(217, 180, 92, 0.10);
}

/* 演示区角标（与真实界面同源） */
.shot-badge {
  font-size: var(--fs-tiny); letter-spacing: 0.16em; padding: 2px 9px;
  border-radius: var(--radius-pill); border: 1px solid rgba(61, 214, 140, 0.5); color: var(--color-up);
}
.shot-badge.paid { border-color: rgba(217, 180, 92, 0.55); color: var(--color-gold); }

/* 演示侧栏会员标记 */
.app-side button.lock { position: relative; }
.app-side button.lock::after {
  content: "会员"; margin-left: auto; font-size: var(--fs-tiny);
  color: var(--color-gold); border: 1px solid rgba(217, 180, 92, 0.5);
  border-radius: var(--radius-pill); padding: 1px 7px; letter-spacing: 0.1em;
}

/* 页脚免责 */
.footer-disclaimer {
  margin-top: var(--space-5); padding-top: var(--space-4);
  border-top: 1px dashed var(--color-border);
  color: var(--color-muted); font-size: var(--fs-tiny); line-height: 1.8; letter-spacing: 0.04em;
}
.footer-disclaimer strong { color: var(--color-text); letter-spacing: 0.2em; margin-right: 8px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .feature-card.wide, .feature-card.slim { grid-column: span 6; }
  .feature-card.hero-card { grid-column: span 12; }
  .app-body { grid-template-columns: 1fr; }
  .app-side {
    flex-direction: row; flex-wrap: wrap; gap: 8px;
    border-right: none; border-bottom: 1px solid var(--color-border);
    padding: 12px;
  }
  .app-side button { flex: 1 1 auto; justify-content: center; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brand-card:first-child { grid-column: span 2; }
  .open-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 9, 18, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-2) 0 var(--space-3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all var(--dur-base) var(--ease-out);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { display: block; padding: 14px 6vw; font-size: var(--fs-body); }
  .nav-toggle { display: block; }
  .hero-emblem { opacity: 0.55; right: -8vw; width: 150px; height: 150px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .feature-card.wide, .feature-card.slim, .feature-card.hero-card { grid-column: span 12; }
  .feature-card.hero-card { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .mascot-grid, .support-wrap { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card:first-child { grid-column: auto; }
  .disclaimer-banner { font-size: var(--fs-tiny); }
  .section { padding-block: var(--space-7); }
  /* 手机端：让图片完整显示，不再被容器裁切 */
  .demo-shot { flex: none; min-height: 0; }
  .demo-shot img { width: 100%; height: auto; max-height: none; object-fit: contain; background: transparent; }
  .app-body { min-height: 0; }
  .mascot-figure { transform: none; }
  .mascot-figure img { aspect-ratio: auto; object-fit: contain; background: var(--color-bg-2); }
  .mascot-figure::after { display: none; }
  .mascot-figure .fig-cap { position: static; padding: 10px 14px 0; }
  .speech-bubble { min-height: 104px; }
}
