/* ==========================================================
 * 文件: quant-ai-dark/landing-s39.css
 * 版本: 0.1.0 · 更新: 2026-10-23 · 作者: Claude（为李泓锐）
 * 用途: 落地页第 3–9 屏：左文字、右「能读的」数据面板；3D 焦点全部是 CSS 3D（不加 WebGL）
 *   视觉延续第 1、2 屏：近黑底、冰蓝点缀（--violet 在落地页里就是冰蓝 #8fb8ff）、白字三档透明度
 *   表格沿用第 2 屏的 .board 样式；锁定态沿用 shared/member-ui.css 的 .locked-block，这里只调落地页的配色
 *   动效：立方体慢转、波浪慢起伏、悬停高亮；减少动效时全部静止
 * ========================================================== */

.lx { background: radial-gradient(60% 55% at 30% 70%, rgba(28, 41, 107, 0.28), transparent 70%), #05060f; }
/* 落地页没有引 layout.css，这里补涨跌色映射（A 股红涨绿跌 / 美股绿涨红跌） */
.story-page { --color-rise: var(--red); --color-fall: var(--green); }
:root[data-market="us"] .story-page { --color-rise: var(--green); --color-fall: var(--red); }
.lx .is-rise { color: var(--color-rise); }
.lx .is-fall { color: var(--color-fall); }

.lx__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}

.lx__text { position: relative; z-index: 2; }
.lx .story__title { max-width: 10em; font-size: clamp(40px, 5vw, 80px); }
.lx .story__title--md { font-size: clamp(36px, 4.4vw, 72px); }
html[lang="zh-CN"] .lx .story__title { font-size: clamp(32px, 3.8vw, 64px); }

/* 面板：很淡的玻璃 */
.lx__panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 22px 24px;
  border: 1px solid rgba(143, 184, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(20, 28, 72, 0.55), rgba(6, 8, 22, 0.78));
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--ink-2);
}

.lx .board__head { padding-bottom: 0; }
.lx .board__table td { height: 30px; }
.lx .board__table tbody tr { transition: background var(--hover) var(--ease-hover); }
.lx .board__table tbody tr:hover,
.lx .board__table tbody tr.is-hot { background: rgba(143, 184, 255, 0.07); }
.lx .board__table tr.is-flag td { color: #ffffff; }
.lx .board__num { text-align: right; font-family: var(--font-num); font-variant-numeric: tabular-nums; }

.lx__note { font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.lx__note--warn { color: #ffd28a; }
.lx__label {
  margin-top: 4px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lx__link { justify-self: start; font-size: 13px; color: var(--violet); }
.lx__link:hover { color: #ffffff; }
.lx .mono { font-family: var(--font-num); }

.lx-tag {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid rgba(143, 184, 255, 0.35);
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--violet);
  white-space: nowrap;
}
.lx-tag--warn { border-color: rgba(255, 196, 120, 0.5); color: #ffd28a; }

/* ---------- 焦点层：放在左栏文字下方 ---------- */
.lx__focal {
  position: absolute;
  left: clamp(20px, 6vw, 96px);
  bottom: 8vh;
  z-index: 1;
  width: min(40vw, 520px);
  height: 30vh;
  pointer-events: none;
  perspective: 900px;
}

/* 3 屏：三个慢转的立方体 IN / BT / RQ */
.lx-cubes { display: flex; gap: 56px; align-items: center; height: 100%; padding-left: 24px; }
.lx-cube {
  position: relative;
  width: 64px;
  height: 64px;
  transform-style: preserve-3d;
  animation: lx-spin 18s linear infinite;
  animation-delay: calc(var(--i) * -6s);
}
.lx-cube__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 184, 255, 0.45);
  background: rgba(30, 48, 130, 0.16);
  font-family: var(--font-num);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  backface-visibility: hidden;
}
.lx-cube__face--front { transform: translateZ(32px); }
.lx-cube__face--back { transform: rotateY(180deg) translateZ(32px); }
.lx-cube__face--right { transform: rotateY(90deg) translateZ(32px); }
.lx-cube__face--left { transform: rotateY(-90deg) translateZ(32px); }
.lx-cube__face--top { transform: rotateX(90deg) translateZ(32px); }
.lx-cube__face--bottom { transform: rotateX(-90deg) translateZ(32px); }
@keyframes lx-spin { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

/* 4 屏：3D 时间轴（倾斜平面上的 5 段） */
.wf3d { height: 112px; perspective: 700px; }
.wf3d__plane {
  display: grid;
  gap: 8px;
  padding: 6px 0;
  transform: rotateX(48deg) rotateZ(-6deg);
  transform-origin: 50% 70%;
  transform-style: preserve-3d;
}
.wf3d__row { position: relative; height: 12px; border-radius: 2px; background: rgba(255, 255, 255, 0.04); transition: transform var(--hover) var(--ease-hover); }
.wf3d__row.is-hot { transform: translateZ(14px); }
.wf3d__seg { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.wf3d__seg--train, .wf3d__key--train::before { background: rgba(143, 184, 255, 0.28); }
.wf3d__seg--valid, .wf3d__key--valid::before { background: rgba(143, 184, 255, 0.6); }
.wf3d__seg--hold, .wf3d__key--hold::before { background: #ffffff; }
.wf3d__row.is-hot .wf3d__seg--hold { box-shadow: 0 0 14px rgba(143, 184, 255, 0.8); }
.wf3d__legend { display: flex; gap: 16px; font-size: 11px; color: var(--ink-3); }
.wf3d__key::before { content: ""; display: inline-block; width: 10px; height: 6px; margin-right: 6px; border-radius: 1px; vertical-align: middle; }

.lx-ddbox { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; }
.lx-dd { width: 100%; height: 36px; }
.lx-dd__area { fill: rgba(255, 120, 120, 0.12); }
.lx-dd__line { fill: none; stroke: rgba(255, 150, 150, 0.8); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* 5 屏：涨跌家数条、行业条、波浪曲面焦点 */
.lx-breadth { display: flex; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.lx-breadth__up { background: var(--color-rise); }
.lx-breadth__flat { background: rgba(255, 255, 255, 0.25); }
.lx-breadth__down { background: var(--color-fall); }

.lx-sectors { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.lx-sectors li { display: grid; grid-template-columns: 8.5em 1fr 4em; gap: 8px; align-items: center; font-size: 12px; }
.lx-sectors__bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.05); }
.lx-sectors__bar > span { display: block; height: 100%; border-radius: inherit; background: currentColor; opacity: 0.7; }

.lx-wave { width: 100%; height: 100%; perspective: 900px; }
.lx-wave__plane {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px 14px;
  width: 100%;
  transform: rotateX(62deg) rotateZ(-28deg);
  transform-style: preserve-3d;
}
.lx-wave__bar {
  height: 16px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.4;
  transform-origin: bottom;
  transform: translateZ(calc(var(--h) * 34px));
  animation: lx-wave 6s ease-in-out infinite alternate;
  animation-delay: var(--d);
}
@keyframes lx-wave { to { transform: translateZ(calc(var(--h) * 10px)); opacity: 0.2; } }

/* 落地页里的锁定态：配色跟冰蓝走，高度压低 */
.lx .locked-block { min-height: 112px; border-color: rgba(143, 184, 255, 0.14); border-radius: 8px; }
.lx .locked-block__veil { gap: 4px; padding: 12px; background: linear-gradient(180deg, rgba(5, 6, 15, 0.35), rgba(5, 6, 15, 0.86)); }
.lx .locked-block__icon { width: 16px; height: 16px; color: var(--violet); }
.lx .locked-block__tag { font-size: 11px; color: var(--violet); }
.lx .locked-block__title { font-size: 14px; font-weight: 600; color: #ffffff; }
.lx .locked-block__line { font-size: 12px; color: var(--ink-2); }
.lx .locked-block .btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 4px;
  background: #ffffff;
  color: #05060f;
  font-size: 12px;
  font-weight: 600;
}
.lx .locked-block .skeleton { background: rgba(255, 255, 255, 0.14); border-radius: 3px; }
.lx .locked-block .table { width: 100%; }
.lx .locked-block .table td { height: 26px; }

/* 6 屏：叠层 + 漏斗条 */
.lx-stack { position: relative; height: 104px; perspective: 800px; }
.lx-stack__layer {
  position: absolute;
  left: 50%;
  bottom: calc(var(--i) * 16px);
  width: calc(var(--w) * 92%);
  height: 44px;
  display: grid;
  place-items: center end;
  padding-right: 10px;
  border: 1px solid rgba(143, 184, 255, 0.3);
  border-radius: 4px;
  background: rgba(30, 48, 130, calc(0.1 + var(--i) * 0.06));
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%) rotateX(64deg);
  transition: border-color var(--hover) var(--ease-hover), background var(--hover) var(--ease-hover);
}
.lx-stack__layer:last-child { border-color: #ffffff; color: #ffffff; }
.lx-stack__layer.is-hot { border-color: #ffffff; background: rgba(143, 184, 255, 0.3); }

.lx-funnel { list-style: none; padding: 0; display: grid; gap: 6px; }
.lx-funnel li { display: grid; grid-template-columns: 11em 1fr 5.5em; gap: 10px; align-items: center; padding: 2px 4px; border-radius: 4px; }
.lx-funnel li.is-hot { background: rgba(143, 184, 255, 0.07); }
.lx-funnel__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); }
.lx-funnel__bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-deep), var(--violet)); }
.lx-funnel li:last-child .lx-funnel__label { color: #ffffff; }

/* 7 屏：例句 + JSON 卡（略微倾斜） */
.lx-chips { display: grid; gap: 6px; }
.lx-chip {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  color: var(--ink-2);
  transition: border-color var(--hover) var(--ease-hover), color var(--hover) var(--ease-hover);
}
.lx-chip:hover { color: #ffffff; }
.lx-chip[aria-pressed="true"] { border-color: rgba(143, 184, 255, 0.6); color: #ffffff; }
.lx-json { perspective: 900px; }
.lx-json__code {
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(143, 184, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 5, 16, 0.8);
  font-family: var(--font-num);
  font-size: 12px;
  line-height: 1.55;
  color: #cfe0ff;
  white-space: pre;
  overflow-x: auto;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-origin: left center;
  box-shadow: 18px 18px 40px rgba(0, 0, 0, 0.45);
}

/* 8 屏：时间线 + 规则 */
.lx-pipe { list-style: none; padding: 0; position: relative; display: grid; gap: 10px; }
.lx-pipe::before { content: ""; position: absolute; left: 3.9em; top: 6px; bottom: 6px; width: 1px; background: rgba(143, 184, 255, 0.25); }
.lx-pipe li { display: grid; grid-template-columns: 3em 14px 1fr auto; gap: 10px; align-items: center; }
.lx-pipe__time { color: var(--ink-3); }
.lx-pipe__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px rgba(143, 184, 255, 0.7); }
.lx-pipe li:last-child .lx-pipe__dot { background: #ffffff; }
.lx-rules { display: grid; gap: 4px; padding-left: 1.1em; list-style: disc; }
.lx-rules li::marker { color: var(--violet); }

/* ---------- 9 屏 ---------- */
.lx__end { display: grid; gap: 22px; justify-items: start; }
.lx--s9 .story__title { max-width: 14em; }
.lx__plans { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--ink-2); }
.lx-plan.is-current { color: #ffffff; }
.lx-plan.is-current::before { content: "● "; color: var(--violet); }
.lx__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(960px, 100%); }
.lx-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(143, 184, 255, 0.12);
  border-radius: 10px;
  background: rgba(14, 20, 56, 0.5);
  transition: border-color var(--hover) var(--ease-hover), transform 600ms var(--ease-expo);
}
.lx-card:hover { border-color: rgba(143, 184, 255, 0.5); transform: translateY(-2px); }
.lx-card__icon { width: 18px; height: 18px; color: var(--violet); }
.lx-card__title { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: #ffffff; }
.lx-card__body { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.lx__cta { margin-top: 0; }
.lx__share-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--violet); }
.lx__share-line:hover { color: #ffffff; }
.lx__foot-links { display: flex; gap: 18px; }
.lx__foot-links a:hover { color: #ffffff; }

/* 首屏：两个按钮 */
.hero-neb__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-neb__btn--ghost { background: transparent; color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.hero-neb__btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .lx { height: auto; min-height: 100svh; padding-block: 12vh 10vh; }
  .lx__grid { grid-template-columns: 1fr; gap: 32px; }
  .lx__focal { opacity: 0.35; bottom: auto; top: 6vh; width: 80vw; }
  .lx__cards { grid-template-columns: 1fr; }
  .lx--s9 .story-foot { position: static; margin-top: 40px; }
}

@media (max-width: 560px) {
  .lx__panel { padding: 16px; }
  .lx-sectors { grid-template-columns: 1fr; }
  .lx-funnel li { grid-template-columns: 1fr 4.5em; }
  .lx-funnel__bar { grid-column: 1 / -1; grid-row: 2; }
  .lx-ddbox { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-cube, .lx-wave__bar { animation: none; }
}

/* 顶栏右侧「样稿」小下拉：返回样稿总览 + 跳到其他样稿页（评审用，不是产品导航） */
.story-nav__more { position: relative; margin-left: auto; font-size: 13px; }
.story-nav__more + .story-nav__globe { margin-left: 0; }
.story-nav__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}
.story-nav__more > summary::-webkit-details-marker { display: none; }
.story-nav__more > summary::after { content: "▾"; font-size: 10px; }
.story-nav__more > summary:hover, .story-nav__more[open] > summary { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.story-nav__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  min-width: 220px;
  padding: 6px;
  border: 1px solid rgba(143, 184, 255, 0.16);
  border-radius: 10px;
  background: rgba(8, 10, 28, 0.96);
  backdrop-filter: blur(12px);
}
.story-nav__menu a { padding: 8px 10px; border-radius: 6px; color: var(--ink-2); }
.story-nav__menu a:hover { background: rgba(143, 184, 255, 0.08); color: #ffffff; }
.story-nav__menu a:first-child { border-bottom: 1px solid rgba(255, 255, 255, 0.06); border-radius: 6px 6px 0 0; }
