/* ============ 股链浏览器官网 ============ */
/* 默认主题：鎏金（低调高级）；可选青瓷 / 绛红，见 html[data-theme] */
:root {
  --bg: #181c26;
  --bg-soft: #1d2230;
  --panel: #232939;
  --panel-2: #283048;
  --line: #353e54;
  --text: #e8ebf2;
  --text-2: #9aa4b6;
  --text-3: #75809a;
  --accent: #d4af37;
  --accent-2: #e9d190;
  --ac-rgb: 212, 175, 55;
  --ac2-rgb: 233, 209, 144;
  --btn-fg: #241b00;
  --accent-dim: rgba(var(--ac-rgb), 0.12);
  --warn: #ffb454;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
  --maxw: 1140px;
  /* 表面色（浅色主题整体覆盖） */
  --card-end: #1f2534;
  --hero-top: #1b202d;
  --frame-1: #282f42;
  --frame-2: #1f2534;
  --nav-bg: rgba(24, 28, 38, 0.86);
  --nav-line: rgba(53, 62, 84, 0.6);
  --menu-bg: rgba(29, 34, 48, 0.98);
  --footer-bg: #151926;
  --ghost-bg: rgba(255, 255, 255, 0.03);
  --dash-line: rgba(53, 62, 84, 0.55);
  --soft-line: rgba(53, 62, 84, 0.5);
}
/* 月白（浅色亮背景） */
html[data-theme="light"] {
  --bg: #f7f4ec;
  --bg-soft: #f0ebdf;
  --panel: #fffef9;
  --panel-2: #faf7ef;
  --card-end: #fbf8f1;
  --line: #e3dccb;
  --text: #2c2a23;
  --text-2: #6d675a;
  --text-3: #9c9484;
  --accent: #a67c10;
  --accent-2: #d4af37;
  --ac-rgb: 166, 124, 16;
  --ac2-rgb: 212, 175, 55;
  --btn-fg: #241b00;
  --warn: #a86200;
  --shadow: 0 12px 32px rgba(96, 78, 40, 0.12);
  --hero-top: #f2edde;
  --frame-1: #fffef9;
  --frame-2: #f1ecdf;
  --nav-bg: rgba(250, 247, 239, 0.88);
  --nav-line: rgba(205, 192, 160, 0.65);
  --menu-bg: rgba(252, 250, 244, 0.98);
  --footer-bg: #f0ebdf;
  --ghost-bg: rgba(122, 98, 45, 0.05);
  --dash-line: rgba(160, 143, 105, 0.4);
  --soft-line: rgba(185, 168, 130, 0.45);
}
/* 青瓷（原终端风） */
html[data-theme="cyan"] {
  --accent: #00e5c0;
  --accent-2: #4dd0e1;
  --ac-rgb: 0, 229, 192;
  --ac2-rgb: 77, 208, 225;
  --btn-fg: #06231f;
}
/* 绛红（A股红） */
html[data-theme="red"] {
  --accent: #e06052;
  --accent-2: #f0976b;
  --ac-rgb: 224, 96, 82;
  --ac2-rgb: 240, 151, 107;
  --btn-fg: #2b0a06;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
code {
  font-family: Consolas, "JetBrains Mono", monospace;
  background: rgba(var(--ac-rgb), 0.09);
  border: 1px solid rgba(var(--ac-rgb), 0.18);
  color: var(--accent);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.88em;
}
b { color: var(--text); font-weight: 650; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 11px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--btn-fg);
  box-shadow: 0 6px 22px rgba(var(--ac-rgb), 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--ac-rgb), 0.4); }
.btn-ghost {
  background: var(--ghost-bg);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 30px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-line);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: 0.5px; }
.brand-logo { display: grid; place-items: center; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-size: 14.5px;
  padding: 7px 13px; border-radius: 8px; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-dim); }
.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 132px 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(640px 340px at 18% -4%, rgba(var(--ac-rgb), 0.13), transparent 65%),
    radial-gradient(560px 320px at 88% 8%, rgba(var(--ac2-rgb), 0.09), transparent 60%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 88%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--ac-rgb),0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ac-rgb),0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(820px 460px at 60% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-badges { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.badge {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px;
  padding: 4px 13px; border-radius: 999px;
  background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(var(--ac-rgb), 0.3);
}
.badge-ghost { background: var(--ghost-bg); color: var(--text-2); border-color: var(--line); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px); line-height: 1.22; font-weight: 800; letter-spacing: 1px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 22px 0 30px; color: var(--text-2); font-size: 17px; max-width: 560px; }
.hero-sub b { color: var(--text); }
.hero-cta { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-meta { margin-top: 20px; color: var(--text-3); font-size: 13.5px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-meta i { font-style: normal; color: var(--line); }
.hero-targets { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-targets span {
  font-size: 12.5px; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 7px; padding: 3px 11px; background: var(--ghost-bg);
}
.hero-targets span:last-child { color: var(--accent); border-color: rgba(var(--ac-rgb),0.3); }

.hero-shot { position: relative; }
.shot-frame {
  background: linear-gradient(180deg, var(--frame-1), var(--frame-2));
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(var(--ac-rgb),0.06), 0 24px 70px rgba(0,0,0,0.5);
  padding: 10px 10px 12px;
  transform: perspective(1400px) rotateY(-4.5deg) rotateX(1.6deg);
}
.shot-dots { display: flex; gap: 6px; margin: 2px 4px 9px; }
.shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a4152; }
.shot-dots i:nth-child(1) { background: #ff5f57; } .shot-dots i:nth-child(2) { background: #febc2e; } .shot-dots i:nth-child(3) { background: #28c840; }
.shot-frame img { border-radius: 9px; border: 1px solid rgba(0,0,0,0.4); }
.hero-shot figcaption { margin-top: 14px; text-align: center; color: var(--text-3); font-size: 13px; }

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); }
.section-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; text-align: center; letter-spacing: 1px; }
.section-title::after {
  content: ""; display: block; width: 52px; height: 3px; margin: 14px auto 0;
  border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.section-sub { text-align: center; color: var(--text-2); margin: 16px 0 46px; font-size: 16px; }

/* ---------- 卡片 ---------- */
.card {
  background: linear-gradient(180deg, var(--panel), var(--card-end));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { border-color: rgba(var(--ac-rgb), 0.4); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- 功能 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 28px 26px; }
.f-icon {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 17px;
  display: grid; place-items: center;
  background: var(--accent-dim); border: 1px solid rgba(var(--ac-rgb),0.22);
}
.f-icon svg { width: 24px; height: 24px; color: var(--accent); }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.feature-card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 截图画廊 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot-card { overflow: hidden; cursor: zoom-in; }
.shot-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top;
  border-bottom: 1px solid var(--line); transition: transform 0.25s ease;
}
.shot-card:hover img { transform: scale(1.03); }
.shot-card figcaption { padding: 14px 18px 16px; }
.shot-card figcaption b { display: block; font-size: 15px; margin-bottom: 3px; }
.shot-card figcaption span { color: var(--text-2); font-size: 13px; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { display: flex; gap: 16px; padding: 26px 24px; }
.step-no {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 17px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--btn-fg);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14.5px; }
.callout {
  margin-top: 26px; padding: 18px 24px; border-radius: var(--radius);
  background: rgba(255, 180, 84, 0.07); border: 1px solid rgba(255, 180, 84, 0.25);
  color: var(--text-2); font-size: 14.5px;
}
.callout b { color: var(--warn); }

/* ---------- 下载 ---------- */
.dl-wrap { padding: 36px 38px; }
.dl-main { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.dl-icon {
  flex: none; width: 84px; height: 84px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--accent-dim); border: 1px solid rgba(var(--ac-rgb),0.25);
}
.dl-icon svg { width: 44px; height: 44px; color: var(--accent); }
.dl-info { flex: 1; min-width: 260px; }
.dl-info h3 { font-size: 22px; font-weight: 800; }
.ver {
  font-size: 13px; font-weight: 700; color: var(--accent);
  background: var(--accent-dim); border: 1px solid rgba(var(--ac-rgb),0.3);
  padding: 2px 10px; border-radius: 999px; margin-left: 8px; vertical-align: 3px;
}
.dl-meta { margin-top: 8px; color: var(--text-2); font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.dl-meta i { font-style: normal; color: var(--line); }
.dl-note { margin-top: 10px; color: var(--text-3); font-size: 13.5px; }
.dl-btn { flex: none; }
.dl-activate {
  margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line);
}
.dl-activate h4 { font-size: 15px; margin-bottom: 6px; color: var(--accent); }
.dl-activate p { color: var(--text-2); font-size: 14px; }
.dl-foot { text-align: center; margin-top: 26px; color: var(--text-2); font-size: 14.5px; }

/* ---------- 指南 ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { padding: 26px 24px; }
.guide-card h3 { font-size: 16.5px; margin-bottom: 10px; color: var(--accent); }
.guide-card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 13px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 24px;
  font-weight: 650; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋"; color: var(--accent); font-size: 18px; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-body { padding: 0 24px 20px; color: var(--text-2); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.footer-cta {
  text-align: center; padding: 84px 24px;
  background:
    radial-gradient(700px 300px at 50% 110%, rgba(var(--ac-rgb), 0.12), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--soft-line);
}
.footer-cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: 1px; }
.footer-cta p { color: var(--text-2); margin: 14px 0 30px; font-size: 16px; }
.footer { border-top: 1px solid var(--nav-line); padding: 40px 0 36px; background: var(--footer-bg); }
.footer-inner { display: flex; gap: 36px; align-items: flex-start; flex-wrap: wrap; }
.footer-brand p { color: var(--text-3); font-size: 13px; margin-top: 6px; }
.footer-links { display: flex; gap: 18px; margin-left: auto; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-meta { width: 100%; border-top: 1px solid var(--soft-line); margin-top: 8px; padding-top: 18px; }
.footer-meta p { color: var(--text-3); font-size: 12.5px; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10, 13, 20, 0.93); backdrop-filter: blur(6px);
  flex-direction: column; align-items: center; justify-content: center; padding: 46px 60px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lightbox-cap { margin-top: 14px; color: var(--text-2); font-size: 14px; }
.lightbox-close {
  position: absolute; top: 16px; right: 22px; background: none; border: 0;
  color: var(--text-2); font-size: 34px; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { color: var(--accent); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--text-2);
  font-size: 30px; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
}
.lightbox-nav:hover { color: var(--accent); border-color: var(--accent); }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }

/* ---------- Hero 三大特色条 ---------- */
.pillars { list-style: none; margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.pillars li {
  padding: 12px 14px; border-radius: 12px;
  background: var(--ghost-bg); border: 1px solid var(--line);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.pillars li:hover { border-color: rgba(var(--ac-rgb),0.45); transform: translateY(-2px); }
.pillars b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.pillars span { font-size: 12.5px; color: var(--text-3); line-height: 1.5; display: block; }

/* ---------- 痛点对比 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card { padding: 26px 26px 22px; }
.pain-card h3 { font-size: 17.5px; margin-bottom: 16px; font-weight: 700; }
.pain-row { display: flex; gap: 14px; align-items: flex-start; }
.pain-row + .pain-row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--dash-line); }
.pain-row span {
  flex: none; width: 44px; text-align: center; margin-top: 2px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  border-radius: 6px; padding: 3px 0;
}
.pain-old span { background: rgba(255, 92, 92, 0.12); color: #ff7b72; }
.pain-old p { color: var(--text-3); font-size: 14px; text-decoration: line-through; text-decoration-color: rgba(255, 92, 92, 0.4); }
.pain-new span { background: var(--accent-dim); color: var(--accent); }
.pain-new p { color: var(--text-2); font-size: 14px; }

/* ---------- AI 选股 · 框选导入板块 ---------- */
.board-entries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.board-entry { padding: 28px 28px 24px; }
.be-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.be-tag {
  flex: none; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--btn-fg); border-radius: 999px; padding: 3px 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.be-head h3 { font-size: 18.5px; font-weight: 750; }
.be-list { list-style: none; counter-reset: be; }
.be-list li {
  counter-increment: be; position: relative;
  padding: 0 0 12px 34px; color: var(--text-2); font-size: 14.5px;
}
.be-list li::before {
  content: counter(be); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(var(--ac-rgb),0.3);
}
.be-list li:last-child { padding-bottom: 0; }
.be-list b { color: var(--text); }
.be-tip { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--dash-line); color: var(--accent); font-size: 13.5px; }
.board-safety { margin-top: 22px; padding: 24px 28px; }
.board-safety h3 { font-size: 16px; color: var(--accent); margin-bottom: 12px; }
.board-safety ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.board-safety li { color: var(--text-2); font-size: 14px; padding-left: 22px; position: relative; }
.board-safety li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* ---------- 主题选择器 ---------- */
.theme-picker { position: relative; flex: none; }
.theme-btn {
  width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
  display: grid; place-items: center;
  background: var(--ghost-bg); border: 1px solid var(--line); color: var(--text-2);
  transition: color 0.15s, border-color 0.15s;
}
.theme-btn:hover { color: var(--accent); border-color: var(--accent); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 130;
  min-width: 138px; padding: 6px;
  background: var(--menu-bg); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
  display: none; flex-direction: column; gap: 2px;
}
.theme-menu.open { display: flex; }
.theme-menu button {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border: 0; border-radius: 8px; cursor: pointer;
  background: none; color: var(--text-2); font-size: 13.5px; text-align: left;
  font-family: inherit; line-height: 1.4;
}
.theme-menu button:hover { background: var(--accent-dim); color: var(--text); }
.theme-menu button.active { color: var(--accent); }
.theme-dot {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255,255,255,0.28);
}
.dot-gold { background: linear-gradient(135deg, #d4af37, #e9d190); }
.dot-cyan { background: linear-gradient(135deg, #00e5c0, #4dd0e1); }
.dot-red { background: linear-gradient(135deg, #e06052, #f0976b); }
.dot-light { background: linear-gradient(135deg, #fdfcf6, #e6ddc6); }
.theme-menu .def { margin-left: auto; font-size: 11px; color: var(--text-3); }

/* ---------- Hero K线蜡烛装饰（股票元素） ---------- */
.hero-kline {
  position: absolute; left: -4%; right: -4%; bottom: -6px; z-index: 0;
  pointer-events: none;
  color: rgba(var(--ac-rgb), 0.55);
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 80%, transparent 99%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 80%, transparent 99%);
}
.hero-kline svg { width: 100%; height: auto; display: block; }
.hero-kline .wick { stroke: currentColor; stroke-width: 1.2; opacity: 0.38; }
.hero-kline .body-up { fill: currentColor; opacity: 0.22; }
.hero-kline .body-dn { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: 0.42; }
.hero-kline .tline {
  stroke: currentColor; stroke-width: 1.8; fill: none;
  opacity: 0.5; stroke-linecap: round;
}
.hero-kline .karea { fill: url(#kfill); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 9px; font-size: 14px; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .shot-frame { transform: none; }
  .features-grid, .gallery, .guide-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .board-entries { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
  .board-safety ul { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; padding: 14px 22px 20px; gap: 2px;
    background: var(--menu-bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 8px; }
  .nav > .nav-inner > .btn { display: none; }
  .nav-burger { display: block; }
  .features-grid, .gallery, .guide-grid, .steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .step { flex-direction: column; }
  .dl-main { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 46px 14px; }
  .lightbox-nav { display: none; }
  .footer-links { margin-left: 0; }
}
