/* ============ 风之诗 WingSong · 深色版首页样式（OKX 风格） ============ */
:root {
  --bg: #0a0a0c;
  --bg-elev: #111114;
  --bg-elev-2: #17171b;
  --surface: #141418;
  --surface-hover: #1c1c21;
  --line: #232329;
  --line-strong: #2e2e36;
  --text: #f5f5f7;
  --text-strong: #ffffff;
  --muted: #9b9ba4;
  --muted-2: #6b6b74;
  --accent: #ff7a1a;
  --accent-strong: #ff8c3a;
  --accent-soft: rgba(255, 122, 26, 0.14);
  --accent-glow: rgba(255, 122, 26, 0.26);
  --gold: #f5b942;
  --gold-soft: rgba(245, 185, 66, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", -apple-system, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease;
}
.btn-primary {
  color: #1a0d00; background: var(--accent);
  box-shadow: 0 6px 20px rgba(255, 122, 26, 0.28);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 122, 26, 0.4); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); background: var(--bg-elev); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 20px; }
.arw { display: inline-block; transition: transform .15s ease; }
.btn:hover .arw { transform: translate(2px, -2px); }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto; height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-logo { width: 54px; height: 54px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.brand-name { font-size: 18px; font-weight: 700; color: var(--text-strong); letter-spacing: .3px; }
.brand-name em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; font-size: 15px; }

.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 0; background: none; border-radius: 8px;
  color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--text-strong); background: var(--bg-elev); }
.caret { transition: transform .2s ease; }

/* 下拉面板（OKX 式单列卡片） */
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 300px; padding: 8px;
  visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  background: #ffffff; border-radius: var(--radius);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  pointer-events: none; z-index: 200;
}
.dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav-item.has-drop:hover .dropdown,
.nav-item.has-drop:focus-within .dropdown {
  visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto;
}
.nav-item.has-drop:hover .nav-trigger .caret,
.nav-item.has-drop:focus-within .nav-trigger .caret { transform: rotate(180deg); }
.nav-item.has-drop:hover .nav-trigger { color: var(--text-strong); }

.drop-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 10px;
  transition: background .15s ease;
}
.drop-item:hover { background: #f4f4f6; }
.drop-icon {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 10px;
  color: #0e0e10; background: #f0f0f2;
}
.drop-icon svg { width: 20px; height: 20px; }
.drop-item:hover .drop-icon { color: var(--accent); background: var(--accent-soft); }
.drop-copy { min-width: 0; }
.drop-copy strong { display: block; color: #141417; font-size: 15px; font-weight: 600; }
.drop-copy small { display: block; margin-top: 3px; color: #8a8a93; font-size: 12px; line-height: 1.5; }
.drop-copy em { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-style: normal; color: var(--accent); background: var(--accent-soft); vertical-align: 1px; }
.drop-item.is-soon { opacity: .82; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; border: 0; background: none; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 400px at 50% -8%, rgba(255,122,26,.16), transparent 70%),
    radial-gradient(520px 340px at 84% 24%, rgba(255,140,58,.09), transparent 70%),
    radial-gradient(480px 320px at 12% 60%, rgba(255,122,26,.06), transparent 70%);
  animation: glowFloat 9s ease-in-out infinite;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
}
@keyframes glowFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-14px) scale(1.04); opacity: .88; }
}
.hero-inner {
  position: relative; text-align: center;
  width: min(900px, calc(100% - 48px)); margin: 0 auto;
  padding: 116px 0 100px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,122,26,.5); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,122,26,.45); }
  70% { box-shadow: 0 0 0 10px rgba(255,122,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,122,26,0); }
}
.hero-title { margin: 0 0 24px; color: var(--text-strong); font-size: clamp(44px, 8vw, 78px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #ff5c00 0%, #ff9000 55%, #ff5c00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: -200% center; }
}
.hero-sub { margin: 0 auto 38px; max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-proof {
  display: flex; justify-content: center; align-items: center; gap: 34px;
  margin-top: 72px; flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-item strong { display: block; color: var(--text-strong); font-size: 32px; font-weight: 800; letter-spacing: -.5px; }
.proof-item span { display: block; margin-top: 6px; color: var(--muted-2); font-size: 13px; }
.hero-proof > i { width: 1px; height: 34px; background: var(--line-strong); }

/* ============ 跑马灯 ============ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-elev); padding: 18px 0; }
.marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: marquee 267s linear infinite;
  white-space: nowrap;
}
.marquee-track span { color: var(--text); font-size: 20px; font-weight: 700; letter-spacing: 1px; margin-right: 40px; }
.marquee-track b { color: var(--accent); font-size: 16px; margin-right: 40px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ 区块通用 ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { width: min(1180px, calc(100% - 48px)); margin: 0 auto 52px; text-align: center; }
.section-title { margin: 0 0 16px; color: var(--text-strong); font-size: clamp(28px, 4.6vw, 42px); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, #ff7a1a, #ffb26b);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-desc { margin: 0 auto; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ============ 卡片 ============ */
.card-grid { display: grid; gap: 20px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-4px); border-color: var(--line-strong);
  background: var(--surface-hover); box-shadow: var(--shadow-soft);
}
.card-index {
  position: absolute; top: 24px; right: 26px;
  color: var(--muted-2); font-size: 26px; font-weight: 800; letter-spacing: 1px; opacity: .5;
}
.card-icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 20px;
  border-radius: 13px; font-size: 24px; color: var(--accent);
  background: var(--accent-soft);
}
.card-icon.warm { color: #f5b942; background: rgba(245,185,66,.14); }
.card-icon.blue { color: #5b9dff; background: rgba(91,157,255,.14); }
.card-title { margin: 0 0 10px; color: var(--text-strong); font-size: 19px; font-weight: 700; }
.card-desc { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; font-weight: 600; }
.card-link span { transition: transform .15s ease; }
.card:hover .card-link span { transform: translateX(4px); }
.card-link.muted { color: var(--muted-2); cursor: default; }

/* 链接卡片 */
.card-link-card { display: block; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tag { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #0e2b16; background: #2ecc71; }
.tag-muted { color: var(--muted); background: var(--bg-elev-2); }
.is-soon-card { opacity: .72; }
.is-soon-card:hover { opacity: 1; }

/* ============ 定价区 ============ */
.pricing-wrap { margin-top: 80px; padding-top: 10px; }
.pricing-tabs {
  display: flex; justify-content: center; gap: 8px;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto 40px;
  padding: 6px; background: var(--bg-elev-2); border: 1px solid var(--line);
  border-radius: 999px; width: fit-content;
}
.ptab {
  padding: 10px 28px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font-size: 15px; font-weight: 600;
  transition: color .2s ease, background .2s ease;
}
.ptab.is-active { color: #1a0d00; background: var(--accent); }

.price-panel { display: none; }
.price-panel.is-active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.price-grid { display: grid; gap: 20px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.price-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.price-card.hot {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,122,26,.07), var(--surface) 40%);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(255,122,26,.12);
}
.price-badge {
  position: absolute; top: -13px; left: 28px;
  padding: 5px 14px; border-radius: 999px; background: var(--gold);
  color: #1a1200; font-size: 12px; font-weight: 700;
}
.price-name { margin: 0 0 14px; color: var(--muted); font-size: 15px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price strong { color: var(--text-strong); font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.price span { color: var(--muted-2); font-size: 15px; }
.price-tagline { margin: 0 0 22px; color: var(--accent); font-size: 14px; font-weight: 600; }
.price-feats { list-style: none; margin: 0 0 4px; padding: 0; }
.price-feats li {
  position: relative; padding: 9px 0 9px 26px;
  color: var(--muted); font-size: 14px; line-height: 1.6;
  border-top: 1px solid var(--line);
}
.price-feats li:first-child { border-top: 0; }
.price-feats li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 14px; height: 14px;
  background: var(--accent-soft); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  background: var(--accent);
}
.price-note {
  position: relative;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  width: min(1180px, calc(100% - 48px)); margin: 28px auto 0;
  padding: 20px 24px; border-radius: var(--radius);
  text-align: left;
  background: linear-gradient(120deg, rgba(245,185,66,.16), rgba(245,185,66,.05));
  border: 1px solid rgba(245,185,66,.32);
  overflow: hidden;
}
.note-badge {
  position: absolute; top: -1px; left: -1px;
  padding: 5px 16px; border-radius: 0 0 12px 0;
  background: var(--gold); color: #1a1200;
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
}
.note-badge.green { background: var(--accent); color: #1a0d00; }
.note-icon { font-size: 30px; line-height: 1; flex: 0 0 auto; }
.note-body { flex: 1 1 260px; min-width: 200px; }
.note-title { display: block; color: var(--text-strong); font-size: 16px; font-weight: 800; }
.note-text { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 场景包 */
.scene-pack {
  width: min(1180px, calc(100% - 48px)); margin: 64px auto 0;
  padding: 40px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.scene-head { text-align: center; margin-bottom: 36px; }
.scene-head h3 { margin: 0 0 10px; color: var(--text-strong); font-size: 24px; font-weight: 800; }
.scene-head p { margin: 0; color: var(--muted); font-size: 14px; }
.scene-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.scene-item {
  padding: 24px 18px; border-radius: 14px; text-align: center;
  background: var(--bg-elev-2); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.scene-item:hover { transform: translateY(-3px); border-color: var(--accent); }
.scene-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 14px; font-weight: 700; }
.scene-item h4 { margin: 14px 0 8px; color: var(--text-strong); font-size: 16px; font-weight: 700; }
.scene-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* ============ 算力区 ============ */
.compute-section { position: relative; overflow: hidden; }
.compute-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(255,122,26,.10), transparent 70%),
    radial-gradient(500px 320px at 88% 40%, rgba(255,122,26,.06), transparent 70%);
}
.compute-section > * { position: relative; }

.model-wall {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto 40px;
}
.model-chip {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 28px 12px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  cursor: default;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.model-chip::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,122,26,.14) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.model-chip:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 14px 36px rgba(255,122,26,.16); }
.model-chip:hover::before { transform: translateX(100%); }
.mc-name { color: var(--text-strong); font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.mc-tag { color: var(--muted-2); font-size: 12px; }
.model-chip:hover .mc-name { color: var(--accent); }

/* 模型墙 stagger 入场（由容器 reveal 触发） */
.model-wall .model-chip { opacity: 0; transform: translateY(24px); }
.model-wall.is-visible .model-chip { animation: chipIn .5s ease forwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes chipIn { to { opacity: 1; transform: translateY(0); } }

.relay-grid { width: min(1180px, calc(100% - 48px)); }
.relay-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.relay-tags span {
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--muted); background: var(--bg-elev-2); border: 1px solid var(--line);
}
.compute-note {
  position: relative;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  width: min(1180px, calc(100% - 48px)); margin: 40px auto 0;
  padding: 20px 24px; border-radius: var(--radius-lg); text-align: left;
  background: linear-gradient(120deg, rgba(255,122,26,.12), rgba(255,122,26,.04));
  border: 1px solid rgba(255,122,26,.28);
  overflow: hidden;
}

/* ============ 联系区 ============ */
.contact-section { padding: 110px 0; text-align: center; background: var(--bg); }
.contact-inner { width: min(720px, calc(100% - 48px)); margin: 0 auto; }
.contact-inner h2 { margin: 0 0 18px; color: var(--text-strong); font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.contact-inner h2 em { font-style: normal; background: linear-gradient(100deg, #ff7a1a, #ffb26b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.contact-note { margin: 0 auto 34px; max-width: 460px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact-button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 34px; border-radius: 999px;
  background: var(--accent); color: #1a0d00; font-size: 18px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(255,122,26,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,122,26,.42); }
.contact-button span { transition: transform .15s ease; }
.contact-button:hover span { transform: translate(2px, -2px); }
.contact-wechat { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.wechat-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.wc-tag { padding: 3px 10px; border-radius: 999px; background: rgba(7, 193, 96, .16); color: #2ecc71; font-size: 12px; font-weight: 700; }
.wc-id { color: var(--text-strong); font-weight: 600; letter-spacing: .3px; }
.wc-name { color: var(--muted-2); }
.wc-copy {
  padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--bg-elev-2); color: var(--muted); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.wc-copy:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.wc-copy.copied { color: #2ecc71; border-color: #2ecc71; background: rgba(7, 193, 96, .14); }

/* ============ 滚动入场 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ 页脚 ============ */
.footer { border-top: 1px solid var(--line); background: var(--bg-elev); }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 50px;
  text-align: center;
}
.footer-partners { margin: 0; color: var(--text-strong); font-size: 16px; font-weight: 600; letter-spacing: .3px; }
.footer-partners .x { color: var(--accent); font-weight: 700; margin: 0 6px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.footer-btn { padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; }
.footer-links a, .footer-btn { transition: color .15s ease; }
.footer-links a:hover, .footer-btn:hover { color: var(--accent); }

/* ============ 帮助弹窗 ============ */
.help-dialog {
  width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 48px);
  padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  color: var(--text); background: var(--surface); box-shadow: var(--shadow);
}
.help-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.help-head h2 { margin: 0; font-size: 23px; color: var(--text-strong); }
.help-close { width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--bg-elev-2); color: var(--muted); font-size: 25px; line-height: 1; }
.help-dialog h3 { margin: 24px 0 8px; font-size: 15px; color: var(--text-strong); }
.help-dialog p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.help-dialog a { color: var(--accent); text-underline-offset: 3px; }
.help-dialog form { display: flex; justify-content: flex-end; margin-top: 26px; }
.help-done { padding: 10px 20px; border: 0; border-radius: 999px; color: #1a0d00; background: var(--accent); font-weight: 600; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .nav-menu {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 24px 20px; background: var(--bg-elev);
    border-bottom: 1px solid var(--line-strong); box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-link { padding: 14px 8px; font-size: 16px; }
  .nav-burger { display: flex; }
  .dropdown { position: static; visibility: visible; opacity: 1; transform: none; min-width: 0; background: transparent; border: 0; box-shadow: none; pointer-events: auto; padding: 4px 0 8px; }
  .dropdown::before { display: none; }
  .drop-item { padding: 12px 8px; }
  .drop-item:hover { background: var(--surface-hover); }
  .drop-item:hover .drop-icon { color: var(--accent); background: var(--accent-soft); }
  .drop-copy strong { color: var(--text-strong); }
  .drop-copy small { color: var(--muted); }
  .drop-icon { color: var(--text); background: var(--bg-elev-2); }
  .cols-3 { grid-template-columns: 1fr; }
  .model-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .relay-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 76px 0 64px; }
  .hero-proof { gap: 20px; margin-top: 48px; }
  .section { padding: 64px 0; }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-pack { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
