/* ============================================================
   TradeScope · 全球行情图表与交易社区（原创演示模板）
   styles/main.css — 单一样式入口，无任何构建依赖
   ============================================================ */
@import url("https://fonts.googleapis.cn/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

/* ---------- Design Tokens ---------- */
:root {
  --bg-page: #ffffff;
  --bg-panel: #f0f3fa;
  --bg-panel-2: #e9edf5;
  --stroke: #e0e3eb;
  --stroke-strong: #c9cdd8;
  --text-1: #131722;
  --text-2: #5d606b;
  --accent: #2962ff;
  --accent-deep: #1e53e5;
  --bull: #089981;
  --bear: #f23645;
  --warn: #f0b90b;

  --font-sans: "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --radius: 8px;
  --radius-lg: 14px;
  --container: 1200px;
  --sec-gap: 96px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur: 180ms;
  --shadow-1: 0 6px 24px rgba(19, 23, 34, 0.08);
  --shadow-2: 0 18px 60px rgba(19, 23, 34, 0.14);
  --glow-accent: 0 0 0 1px rgba(41, 98, 255, 0.35), 0 8px 30px rgba(41, 98, 255, 0.18);
}

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* hidden 属性必须始终生效：防止组件级 display 规则覆盖 UA 默认的 [hidden]{display:none}
   （否则弹窗外壳等带 hidden 的元素会以透明层形式拦截全站点击） */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-page);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.up { color: var(--bull); }
.down { color: var(--bear); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--sec-gap) 0 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}
.section-head p { color: var(--text-2); font-size: 16px; }

/* ---------- Pills / Buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--text-2);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.pill-accent {
  border-color: rgba(41, 98, 255, 0.45);
  background: linear-gradient(180deg, rgba(41, 98, 255, 0.16), rgba(41, 98, 255, 0.06));
  color: #4d8aff;
}
.pill-accent::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, #1e53e5, var(--accent-deep));
  border: 1px solid rgba(41, 98, 255, 0.4);
  color: #fff;
  box-shadow: 0 4px 18px rgba(41, 98, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(41, 98, 255, 0.45);
}

.btn-ghost {
  border: 1px solid var(--stroke-strong);
  background: var(--bg-panel);
  color: var(--text-1);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #5d606b;
  background: var(--bg-panel-2);
}

.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 顶部行情走马灯 ---------- */
.ticker {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 100%;
  font-size: 12.5px;
  color: var(--text-2);
  border-right: 1px solid rgba(19, 23, 34, 0.14);
  transition: background var(--dur) var(--ease);
}
.tick:hover { background: rgba(41, 98, 255, 0.08); }
.tick-sym { color: var(--text-1); font-weight: 600; }
.tick-name { display: none; }
@media (min-width: 768px) { .tick-name { display: inline; } }
.tick-price { color: var(--text-1); }
.tick-chg { font-size: 12px; }

/* ---------- 语言切换 ---------- */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lang-btn:hover { border-color: #5d606b; background: var(--bg-panel-2); transform: translateY(-1px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 36px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-name em {
  font-style: normal;
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 13px;
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--text-2);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover {
  color: var(--text-1);
  background: var(--bg-panel-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text-2);
  font-size: 13px;
  min-width: 200px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.search-btn:hover { border-color: var(--stroke-strong); background: var(--bg-panel-2); }
.search-text { flex: 1; text-align: left; }
.search-btn kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 7px;
  border: 1px solid var(--stroke-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: var(--text-2);
  background: var(--bg-page);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 38px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.hamburger span {
  height: 2px;
  border-radius: 2px;
  background: var(--text-1);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 78% 0%, rgba(41, 98, 255, 0.14), transparent 62%),
    radial-gradient(700px 380px at 8% 30%, rgba(8, 153, 129, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, var(--bg-page) 96%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 23, 34, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 23, 34, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 460px at 60% 18%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 460px at 60% 18%, #000 30%, transparent 78%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: center;
  gap: 56px;
}
.hero-title {
  margin: 18px 0 16px;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.grad-text {
  background: linear-gradient(92deg, #2962ff 8%, var(--bull) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 460px;
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 40px;
  list-style: none;
}
.hero-stats li { display: grid; gap: 2px; }
.hero-stats strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.hero-stats span { font-size: 12.5px; color: var(--text-2); }

.hero-visual { position: relative; }
.hero-shot {
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2), var(--glow-accent);
  background: var(--bg-panel);
}
.hero-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--stroke-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
  font-size: 13px;
  animation: floatBob 6s var(--ease) infinite;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.float-card:hover {
  transform: translateY(-3px);
  border-color: #5d606b;
}
.float-a { top: 6%; left: -34px; animation-delay: 0s; }
.float-b { bottom: 17%; left: -58px; animation-delay: 1.6s; }
.float-c { top: -22px; right: 26px; animation-delay: 3s; }
.fc-sym { font-weight: 600; color: var(--text-1); }
.fc-name { color: var(--text-2); font-size: 12px; }
.fc-price { color: var(--text-1); font-weight: 600; }
.fc-chg { font-weight: 600; font-size: 12.5px; }
.fc-spark { width: 56px; height: 18px; color: var(--bull); flex-shrink: 0; }
.fc-msg b { color: var(--warn); }
.fc-time { color: var(--text-2); font-size: 12px; }
@keyframes floatBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

/* ---------- 信任背书 ---------- */
.trusted { padding: 34px 0 10px; border-top: 1px solid var(--stroke); }
.trusted-label {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.trusted-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 48px;
}
.trusted-item {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #6f7580;
  opacity: 0.85;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.trusted-item:hover { color: var(--text-1); opacity: 1; }

/* ---------- Reveal 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation-duration: 120s; }
  .float-card { animation: none; }
}

/* ---------- 商品矩阵 ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  padding: 22px;
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-strong);
  background: var(--bg-panel-2);
  box-shadow: var(--shadow-1);
}
.pc-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  color: #2f80ff;
  background: linear-gradient(180deg, rgba(41, 98, 255, 0.16), rgba(41, 98, 255, 0.05));
  border: 1px solid rgba(41, 98, 255, 0.28);
}
.pc-icon svg { width: 24px; height: 24px; }
.pc-body { display: grid; gap: 4px; min-width: 0; }
.pc-title { font-size: 16.5px; font-weight: 600; color: var(--text-1); }
.pc-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.pc-arrow {
  margin-left: auto;
  color: var(--text-2);
  font-size: 15px;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.product-card:hover .pc-arrow { transform: translateX(3px); color: var(--accent); }

/* ---------- 商品聚焦（图文交替） ---------- */
.show-row {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 56px;
  align-items: center;
  margin-top: 72px;
}
.show-row:first-of-type { margin-top: 8px; }
.show-row.flip .show-media { order: 2; }
.show-media {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.show-media:hover { transform: translateY(-3px); border-color: var(--stroke-strong); }
.show-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.show-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.show-copy h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.show-copy > p { color: var(--text-2); font-size: 15.5px; margin-bottom: 18px; }
.show-list { list-style: none; margin-bottom: 26px; display: grid; gap: 9px; }
.show-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #565b66;
}
.show-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--bull);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(8, 153, 129, 0.7);
}

/* ---------- 行情总览 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tab {
  padding: 8px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--text-2);
  font-size: 14px;
  transition: all var(--dur) var(--ease);
}
.tab:hover { color: var(--text-1); border-color: var(--stroke-strong); }
.tab[aria-selected="true"] {
  color: #fff;
  border-color: rgba(41, 98, 255, 0.6);
  background: linear-gradient(180deg, rgba(41, 98, 255, 0.22), rgba(41, 98, 255, 0.08));
  box-shadow: var(--glow-accent);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 300px;
}
.market-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 18px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.market-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-1);
}
.mc-top { display: flex; align-items: baseline; gap: 8px; }
.mc-sym { font-weight: 600; font-size: 15px; color: var(--text-1); }
.mc-name { font-size: 12.5px; color: var(--text-2); }
.mc-mid { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mc-price { font-size: 21px; font-weight: 600; color: var(--text-1); }
.mc-chg {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
}
.mc-chg.up { background: rgba(8, 153, 129, 0.14); color: var(--bull); }
.mc-chg.down { background: rgba(242, 54, 69, 0.14); color: var(--bear); }
.mc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
  border-top: 1px solid var(--stroke);
  padding-top: 10px;
  margin-top: 2px;
}
.mc-hint { opacity: 0; transform: translateX(-4px); transition: all var(--dur) var(--ease); }
.market-card:hover .mc-hint { opacity: 1; transform: none; color: var(--accent); }
.market-more { margin-top: 28px; text-align: center; }

/* ---------- 社区 ---------- */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.idea-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.idea-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-1);
}
.idea-head { display: flex; align-items: center; gap: 10px; }
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.idea-author { display: grid; line-height: 1.35; }
.idea-author b { font-size: 13.5px; font-weight: 600; }
.idea-author span { font-size: 11.5px; color: var(--text-2); }
.idea-sym { display: flex; align-items: center; gap: 8px; }
.idea-dir {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
}
.idea-dir.long { color: var(--bull); background: rgba(8, 153, 129, 0.14); }
.idea-dir.short { color: var(--bear); background: rgba(242, 54, 69, 0.14); }
.idea-dir.watch { color: var(--warn); background: rgba(240, 185, 11, 0.13); }
.idea-title { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.idea-snip { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.idea-foot {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
  font-size: 12.5px;
  color: var(--text-2);
}
.community-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding: 26px 30px;
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
}
.cc-stats { display: flex; flex-wrap: wrap; gap: 12px 44px; }
.cc-stat { display: grid; gap: 2px; }
.cc-stat strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.cc-stat span { font-size: 12.5px; color: var(--text-2); }

/* ---------- 订阅方案 ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  padding: 26px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-1);
}
.plan-card.hot {
  border-color: rgba(41, 98, 255, 0.55);
  background: linear-gradient(180deg, rgba(41, 98, 255, 0.1), rgba(41, 98, 255, 0.02)), var(--bg-panel);
  box-shadow: var(--glow-accent);
}
.plan-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #131722;
  background: linear-gradient(90deg, #ffd257, var(--warn));
  box-shadow: 0 4px 14px rgba(240, 185, 11, 0.35);
}
.plan-name { font-size: 16px; font-weight: 600; }
.plan-price-row { display: flex; align-items: baseline; gap: 6px; }
.plan-price { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.plan-unit { font-size: 12.5px; color: var(--text-2); }
.plan-feats { display: grid; gap: 9px; }
.plan-feats i {
  position: relative;
  font-style: normal;
  font-size: 13.5px;
  color: #565b66;
  padding-left: 18px;
}
.plan-feats i::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bull);
  font-weight: 700;
}
.plan-cta { margin-top: auto; justify-content: center; }

.mini-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.mini-plan {
  display: grid;
  gap: 2px;
  padding: 14px;
  text-align: center;
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.mini-plan:hover { border-color: var(--stroke-strong); transform: translateY(-2px); }
.mini-plan b { font-size: 13.5px; }
.mini-plan span { font-size: 18px; font-weight: 600; }
.mini-plan small { color: var(--text-2); font-size: 11px; }
.mini-plan.hot { border-color: rgba(240, 185, 11, 0.5); }

/* ---------- 移动端 ---------- */
.mobile-inner {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 56px;
  align-items: center;
}
.mobile-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 16px 0 14px;
}
.mobile-copy > p { color: var(--text-2); margin-bottom: 20px; max-width: 480px; }
.mobile-visual { position: relative; max-width: 420px; margin: 0 auto; }
.mobile-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-strong);
  box-shadow: var(--shadow-2);
}
.mobile-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(closest-side, rgba(41, 98, 255, 0.22), transparent 70%);
  z-index: -1;
  filter: blur(10px);
  pointer-events: none;
}
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--stroke-strong);
  border-radius: 10px;
  background: var(--bg-panel);
  color: var(--text-1);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.store-badge:hover { transform: translateY(-2px); border-color: #5d606b; }
.sb-txt { display: grid; line-height: 1.25; text-align: left; }
.sb-txt small { font-size: 10px; color: var(--text-2); letter-spacing: 0.04em; }
.sb-txt b { font-size: 15px; }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 32px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 50% -10%, rgba(41, 98, 255, 0.28), transparent 70%),
    var(--bg-panel);
  box-shadow: var(--shadow-1);
}
.cta-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 23, 34, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 23, 34, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(480px 300px at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(480px 300px at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta-panel h2 {
  position: relative;
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-panel > p { position: relative; color: var(--text-2); margin-bottom: 28px; }
.cta-center { justify-content: center; }
.cta-note {
  position: relative;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #5d606b;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: var(--sec-gap);
  border-top: 1px solid var(--stroke);
  background: #f7f9fc;
  padding: 56px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(5, 1fr);
  gap: 36px 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--stroke);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-desc {
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 260px;
  margin-bottom: 18px;
}
.social-row { display: flex; gap: 10px; }
.social-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--text-2);
  background: var(--bg-panel);
  transition: all var(--dur) var(--ease);
}
.social-btn:hover { color: var(--text-1); border-color: var(--stroke-strong); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-1);
  margin-bottom: 6px;
}
.footer-col button {
  font-size: 13.5px;
  color: var(--text-2);
  text-align: left;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-col button:hover { color: var(--text-1); transform: translateX(2px); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 26px;
  font-size: 12.5px;
  color: var(--text-2);
}
.footer-risk { color: #6f7580; }

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 23, 34, 0.42);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(82vh, 720px);
  overflow-y: auto;
  background: var(--bg-panel);
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 28px;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
  overscroll-behavior: contain;
}
.modal.wide .modal-dialog { width: min(720px, 100%); }
.modal.open .modal-overlay { opacity: 1; }
.modal.open .modal-dialog { transform: none; opacity: 1; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--text-2);
  background: var(--bg-panel-2);
  border: 1px solid var(--stroke);
  transition: all var(--dur) var(--ease);
}
.modal-close:hover { color: var(--text-1); border-color: var(--stroke-strong); }
.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--bg-panel-2);
  color: var(--text-2);
  font-size: 13px;
  transition: all var(--dur) var(--ease);
}
.modal-back:hover { color: var(--text-1); border-color: var(--stroke-strong); }

/* 报价弹窗 */
.qm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.qm-sym { font-size: 20px; font-weight: 700; color: var(--text-1); }
.qm-name { margin-left: 10px; color: var(--text-2); font-size: 14px; }
.qm-dir { font-size: 12.5px; font-weight: 600; }
.qm-price-row { display: flex; align-items: baseline; gap: 14px; }
.qm-price { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.qm-chg { font-size: 17px; font-weight: 600; }
.qm-spark-wrap {
  margin: 16px 0 14px;
  height: 110px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-page);
  padding: 10px;
}
.qm-spark { width: 100%; height: 100%; }
.qm-range { margin-bottom: 18px; }
.qm-range-bar {
  position: relative;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(242, 54, 69, 0.5), rgba(120, 123, 134, 0.35), rgba(8, 153, 129, 0.6));
}
.qm-range-bar i {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}
.qm-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-2);
}
.qm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.qm-stats > div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: var(--bg-panel-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}
.qm-stats span { font-size: 11.5px; color: var(--text-2); }
.qm-stats b { font-size: 13.5px; font-weight: 600; }
.qm-note { font-size: 12px; color: #6f7580; margin: 10px 0 16px; }
.qm-actions, .pm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 商品 / 方案 / 观点弹窗 */
.pm-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.pm-icon { width: 52px; height: 52px; }
.pm-tag { display: block; font-size: 11.5px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 4px; }
.pm-title { font-size: 24px; letter-spacing: -0.02em; line-height: 1.3; }
.pm-desc { color: var(--text-2); font-size: 14.5px; margin-bottom: 16px; }
.pm-img {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.pm-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pm-feats { list-style: none; display: grid; gap: 9px; margin-bottom: 20px; }
.pm-feats li { position: relative; padding-left: 20px; font-size: 14px; color: #565b66; }
.pm-feats li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--bull);
  transform: rotate(45deg);
}
.im-head { display: flex; align-items: center; gap: 12px; }
.im-chart {
  margin: 16px 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-page);
  padding: 14px;
}
.im-chart svg { width: 100%; height: 96px; display: block; }
.im-chart span { font-size: 11.5px; color: var(--text-2); }

/* 弹窗内导航 chips */
.nav-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nav-chip {
  padding: 8px 15px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--bg-panel-2);
  color: var(--text-1);
  font-size: 13px;
  transition: all var(--dur) var(--ease);
}
.nav-chip:hover {
  border-color: rgba(41, 98, 255, 0.55);
  background: rgba(41, 98, 255, 0.12);
  transform: translateY(-2px);
}

/* 弹窗内搜索 / 表单 */
.search-form { display: flex; gap: 10px; margin-top: 16px; }
.search-input, .auth-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius);
  background: var(--bg-page);
  color: var(--text-1);
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--dur) var(--ease);
}
.search-input:focus, .auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.18);
}
.search-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--text-2); }
.auth-form { display: grid; gap: 14px; margin-top: 16px; }
.auth-form label { display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.auth-alt { font-size: 13px; color: var(--text-2); text-align: center; }
.link-btn { color: var(--accent); font-size: 13px; }
.link-btn:hover { text-decoration: underline; }
.demo-screen {
  display: grid;
  place-items: center;
  gap: 12px;
  height: 180px;
  margin: 14px 0 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-page);
  color: var(--text-2);
  font-size: 12px;
}
.demo-bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; }
.demo-bars i {
  width: 12px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--bull), rgba(8, 153, 129, 0.35));
  animation: demoPulse 1.6s var(--ease) infinite;
}
.demo-bars i:nth-child(1) { height: 38%; animation-delay: 0s; }
.demo-bars i:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.demo-bars i:nth-child(3) { height: 44%; animation-delay: 0.2s; }
.demo-bars i:nth-child(4) { height: 70%; animation-delay: 0.3s; }
.demo-bars i:nth-child(5) { height: 58%; animation-delay: 0.4s; }
.demo-bars i:nth-child(6) { height: 82%; animation-delay: 0.5s; }
.demo-bars i:nth-child(7) { height: 95%; animation-delay: 0.6s; }
@keyframes demoPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.12); }
}
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bull);
  box-shadow: 0 0 10px var(--bull);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 120;
  transform: translate(-50%, 16px);
  padding: 12px 22px;
  border: 1px solid rgba(8, 153, 129, 0.5);
  border-radius: 999px;
  background: rgba(19, 23, 34, 0.06);
  backdrop-filter: blur(8px);
  color: var(--text-1);
  font-size: 14px;
  box-shadow: var(--shadow-1);
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --sec-gap: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .ideas-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .show-row, .mobile-inner { grid-template-columns: 1fr; gap: 28px; }
  .show-row.flip .show-media { order: 0; }
  .show-copy { text-align: left; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .float-a { left: 8px; }
  .float-b { left: 8px; bottom: 8%; }
}

@media (max-width: 768px) {
  .search-btn { min-width: 0; }
  .search-text, .search-btn kbd { display: none; }
  .main-nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.24s var(--ease), opacity 0.24s var(--ease), visibility 0.24s;
  }
  body.nav-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link { padding: 13px 14px; font-size: 15.5px; border-bottom: 1px solid rgba(19, 23, 34, 0.12); }
  .hamburger { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .show-row { margin-top: 56px; }
  .qm-price { font-size: 32px; }
}

@media (max-width: 560px) {
  :root { --sec-gap: 56px; }
  .container { padding: 0 18px; }
  .hero { padding: 56px 0 72px; }
  .hero-stats { gap: 10px 24px; }
  .float-card { padding: 9px 12px; font-size: 12px; }
  .float-c { display: none; }
  .products-grid, .market-grid, .ideas-grid, .plans-grid { grid-template-columns: 1fr; }
  .show-list { margin-bottom: 20px; }
  .community-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-plans { grid-template-columns: repeat(2, 1fr); }
  .modal-dialog { padding: 22px 18px; max-height: 86vh; }
  .qm-stats { grid-template-columns: repeat(2, 1fr); }
  .trusted-row { gap: 10px 26px; }
}

/* 滚动条（终端风格） */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: #c9cdd8; border-radius: 6px; border: 2px solid var(--bg-page); }
::-webkit-scrollbar-thumb:hover { background: #c9cdd8; }

::selection { background: rgba(41, 98, 255, 0.35); color: #fff; }

/* ---------- i18n 弹窗视图补丁 ---------- */
.idea-spark { width: 64px; height: 32px; flex-shrink: 0; margin-left: auto; }
.idea-spark.big { width: 100%; height: 72px; margin: 2px 0 4px; }
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  text-align: left;
  background: var(--bg-panel-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--stroke-strong); }
.chip b { font-size: 13.5px; font-weight: 600; }
.chip small { font-size: 11.5px; color: var(--text-2); }
.chip-mini {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  background: var(--bg-panel-2);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  transition: border-color var(--dur) var(--ease);
}
.chip-mini:hover { border-color: var(--stroke-strong); }
.trend-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; margin-top: 16px; }
.trend-row > span { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.trend-row > div { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-price-line { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.pm-price-line b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.pm-unit { font-size: 13px; color: var(--text-2); }
.api-snippet {
  margin-top: 16px;
  padding: 14px 16px;
  background: #f7f9fc;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow-x: auto;
}
.api-snippet pre { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: #565b66; }
.ok-dot { color: var(--bull); font-size: 10px; }
.demo-bars i:nth-child(n) { height: var(--h, 40%); }

@media (max-width: 768px) {
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .chip-grid { grid-template-columns: 1fr; }
}

/* ---------- 演示视频 ---------- */
.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #f7f9fc;
}
.demo-video:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
