/* ==========================================================================
   /visibility — AI recommendation intelligence page (loaded after styles.css, features.css, flow.css)
   Shared UI language: thin borders, subtle surfaces, compact data pills, fine connectors, one accent (--fl-a).
   ========================================================================== */
@property --ax-fill { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.ax { --expo: cubic-bezier(.19, 1, .22, 1); --a: var(--fl-a, #01c2e1); --a-soft: rgba(1,194,225,.12); --a-line: rgba(1,194,225,.4); --surface: rgba(255,255,255,.015); --surface-2: rgba(255,255,255,.035); }
.vx .eyebrow { display: block; font-size: 13px; letter-spacing: .02em; color: var(--fg-3); margin-bottom: 14px; }
.vx .section-head.vx-head { padding: 104px 0 36px; }
.vx .section-head.vx-head h2 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.03em; }
.vx .section-head.vx-head p { max-width: 560px; }
.vx .section-head--row.vx-head > div { max-width: 680px; }
.vx .split.vx-split { padding: 88px 0; gap: 64px; align-items: center; }
.vx .split.vx-split h2 { font-size: clamp(28px, 3.2vw, 36px); letter-spacing: -0.03em; max-width: 440px; }
.vx .split.vx-split > div:first-child > p { max-width: 460px; }
.vx .split.vx-split .eyebrow { margin-bottom: 12px; }
.vx-aside { font-size: 14px; color: var(--fg-3); }
.vx-aside a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.vx .sw-pill { flex: none; margin-left: auto; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 11px; color: var(--fg-3); white-space: nowrap; }
.vx .mock-top b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx .btn .btn-arrow, .vx .btn span[aria-hidden] { transition: transform .3s; }
.vx .btn:hover span[aria-hidden] { transform: translateX(3px); }

/* Sub navigation */
.vx-subnav { border-bottom: 1px solid var(--line-soft); background: #050505; }
.vx-subnav .container { display: flex; align-items: center; gap: 14px; height: 44px; font-size: 13px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.vx-subnav a { color: var(--fg-3); transition: color .15s; }
.vx-subnav a:hover, .vx-subnav a.on { color: var(--fg); }
.vx-subnav i { flex: none; width: 1px; height: 14px; background: #3a3a3a; }

/* ---------- 01 Hero ---------- */
.vx-hero { padding: 72px 0 48px; background: radial-gradient(90% 60% at 0% 0%, #141415 0%, #0a0a0b 45%, #000 100%); }
.vx-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.vx-hero-copy h1 { margin-top: 22px; font-size: clamp(36px, 4.2vw, 54px); font-weight: 500; line-height: 1.06; letter-spacing: -0.04em; }
.vx-hero-copy > p { margin-top: 18px; max-width: 460px; font-size: 17px; color: var(--fg-2); }
.vx-hero-copy .hero-cta { justify-content: flex-start; margin-top: 26px; }
.vx-hero-more { display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--fg-3); transition: color .2s; }
.vx-hero-more:hover { color: var(--fg); }
.vx-hero-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.vx-hero-facts li { display: grid; gap: 2px; }
.vx-hero-facts b { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.vx-hero-facts span { font-size: 12.5px; color: var(--fg-3); }

/* The demo window: question → engines → analysis → action, revealed in sequence */
.vx-demo { font-size: 12.5px; box-shadow: 0 40px 120px rgba(0,0,0,.6); background: #0b0b0c; }
.vx-demo .mock-top { padding: 10px 14px; }
.vx-trace { display: flex; gap: 0; margin: 0; padding: 10px 14px 0; list-style: none; counter-reset: trace; }
.vx-trace li { position: relative; flex: 1; min-width: 0; padding: 0 8px 10px 0; font-size: 10px; letter-spacing: .02em; color: var(--fg-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.vx-trace li::before { content: ""; display: block; height: 2px; margin-bottom: 7px; border-radius: 2px; background: #1f1f21; transition: background .4s, box-shadow .4s; }
.vx-trace li.on { color: var(--fg-2); }
.vx-trace li.on::before { background: var(--a); box-shadow: 0 0 10px rgba(1,194,225,.5); }
.vx-trace li.done::before { background: rgba(1,194,225,.35); }
.vx-demo-body { display: grid; gap: 12px; padding: 6px 14px 14px; }
.vx-demo-body > * { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--expo), transform .7s var(--expo); }
.vx-demo.s1 .vx-q, .vx-demo.s2 .vx-engines, .vx-demo.s4 .vx-analysis, .vx-demo.s6 .vx-action { opacity: 1; transform: none; }
.vx-q { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.vx-q small, .vx-metric small, .vx-action small, .vx-src-answer small, .vx-src-detail small, .vx-story-group small, .vx-story-act small, .vx-bench-act small, .vx-matrix-foot small, .vx-winlose small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.vx-q-text { margin: 0; font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; min-height: 1.4em; }
.vx-q-text::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--fg); opacity: 0; }
.vx-demo.typing .vx-q-text::after { opacity: 1; animation: axBlink .8s steps(2) infinite; }
@keyframes axBlink { 50% { opacity: 0; } }
.vx-engines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vx-eng { padding: 10px 11px 9px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--surface); min-width: 0; }
.vx-eng h5 { margin: 0 0 8px; font-size: 11px; font-weight: 500; color: var(--fg-2); display: flex; align-items: center; gap: 6px; }
.vx-eng h5::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #3a3a3d; transition: background .3s, box-shadow .3s; }
.vx-demo.s2 .vx-eng h5::before { background: var(--a); box-shadow: 0 0 8px rgba(1,194,225,.6); animation: vxPing 1.2s ease-out; }
@keyframes vxPing { 0% { box-shadow: 0 0 0 0 rgba(1,194,225,.5); } 100% { box-shadow: 0 0 0 8px rgba(1,194,225,0); } }
.vx-eng ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.vx-eng li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; align-items: center; padding: 4px 7px; border-radius: 6px; color: var(--fg-2); opacity: 0; transform: translateX(-6px); transition: opacity .45s var(--expo), transform .5s var(--expo); transition-delay: calc(var(--i, 0) * 90ms + var(--e, 0) * 60ms); }
.vx-demo.s3 .vx-eng li { opacity: 1; transform: none; }
.vx-eng li b { font-weight: 500; color: var(--fg-4); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.vx-eng li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-eng li.you { background: var(--a-soft); color: var(--fg); }
.vx-eng li.you b { color: var(--a); }
.vx-eng li.gone { border: 1px dashed rgba(255,176,32,.45); color: var(--amber); }
.vx-eng li.gone b { color: var(--amber); }
.vx-eng li.gone span { font-size: 10.5px; }
.vx-analysis { display: grid; grid-template-columns: 1.25fr .8fr .9fr 1.25fr 1.5fr; gap: 8px; }
.vx-metric { display: grid; gap: 3px; align-content: start; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--surface); min-width: 0; }
.vx-metric strong { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--fg); }
.vx-metric em { font-style: normal; font-size: 11px; color: var(--green); }
.vx-metric--lead { border-color: var(--a-line); background: linear-gradient(180deg, rgba(1,194,225,.1), rgba(1,194,225,.02)); }
.vx-metric--lead strong { font-size: 26px; }
.vx-metric--text strong { font-size: 12.5px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 500; }
.vx-metric--text small { order: -1; }
.vx-action { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--a-line); border-radius: 10px; background: linear-gradient(90deg, rgba(1,194,225,.09), rgba(1,194,225,0) 60%); }
.vx-action > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vx-action strong { font-size: 14px; font-weight: 500; color: var(--fg); }
.vx-action span { font-size: 11.5px; color: var(--fg-2); }
.vx-action .btn { flex: none; }
.vx-demo-dots { display: flex; gap: 6px; margin: 0; padding: 0 14px 12px; list-style: none; }
.vx-demo-dots li { width: 18px; height: 3px; border-radius: 2px; background: #222; cursor: pointer; transition: background .3s, width .3s; }
.vx-demo-dots li.on { width: 28px; background: var(--a); }

/* ---------- 02 Ask → Appear → Understand → Act ---------- */
.vx-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 32px; }
.vx-step { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); transition: border-color .4s, transform .6s var(--expo), background .4s; }
.vx-step small { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.vx-step small b { font-weight: 500; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.vx-step h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.vx-step p { font-size: 13.5px; color: var(--fg-2); }
.vx-step .vx-sample { margin-top: 8px; display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--surface); font-size: 12px; color: var(--fg-2); opacity: .55; transform: translateY(4px); transition: opacity .45s, transform .5s var(--expo), border-color .4s; }
.vx-step .vx-sample em { font-style: normal; font-size: 11px; color: var(--fg-3); }
.vx-step .vx-sample-row { display: flex; align-items: center; gap: 7px; }
.vx-step .vx-sample-row i.ok { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(8,255,182,.6); }
.vx-step .vx-sample-act { color: var(--fg); font-weight: 500; }
.vx-step.on, .vx-step:hover { border-color: #3a3a3d; transform: translateY(-3px); background: #0e0e10; }
.vx-step.on .vx-sample, .vx-step:hover .vx-sample { opacity: 1; transform: none; border-color: var(--a-line); }
.vx-step.on small, .vx-step:hover small { color: var(--a); }
/* connector between steps: a thin line with a pulse that travels when the step is active */
.vx-step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: 100%; width: 14px; height: 1px; background: rgba(255,255,255,.18); }
.vx-step:not(:last-child)::before { content: ""; position: absolute; top: 34px; left: 100%; width: 5px; height: 5px; border-radius: 50%; background: var(--a); box-shadow: 0 0 8px var(--a); opacity: 0; }
.vx-step.on:not(:last-child)::before { animation: vxTravel 1.1s var(--expo) .3s; }
@keyframes vxTravel { 0% { opacity: 0; transform: translateX(-2px); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(11px); } }

/* ---------- 03 Question explorer: diagnosis + prescription ---------- */
.vx-qsec .section-head.vx-head { padding-bottom: 28px; }
.ax-qx { font-size: 13px; box-shadow: 0 40px 120px rgba(0,0,0,.6); background: #0b0b0c; }
.ax-qx-legend { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 11px; color: var(--fg-3); }
.ax-qx-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #555; margin-left: 4px; }
.ax-qx-legend i.win { background: var(--green); } .ax-qx-legend i.comp { background: var(--a); } .ax-qx-legend i.miss { background: var(--amber); } .ax-qx-legend i.open { background: #8a8a8a; }
.ax-qx-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 2.05fr); min-height: 480px; }
.ax-qx-list { border-right: 1px solid var(--line-soft); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.ax-qx-list li { display: grid; grid-template-columns: 8px minmax(0, 1fr); grid-template-rows: auto auto; gap: 3px 10px; align-items: center; padding: 11px 12px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; color: var(--fg-2); transition: background .25s, border-color .25s, color .25s, transform .4s var(--expo); }
.ax-qx-list li::before { content: ""; grid-row: 1 / span 2; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #555); box-shadow: 0 0 8px var(--c, transparent); }
.ax-qx-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-qx-list li small { display: flex; gap: 8px; font-size: 11px; color: var(--fg-3); white-space: nowrap; }
.ax-qx-list li small b { font-weight: 500; color: var(--c, var(--fg-3)); }
.ax-qx-list li:hover { background: rgba(255,255,255,.03); color: var(--fg); }
.ax-qx-list li.on { background: #151517; border-color: #2e2e31; color: var(--fg); transform: translateX(4px); }
.ax-qx-panel { padding: 18px 22px 20px; min-width: 0; display: flex; flex-direction: column; gap: 14px; animation: axPanel .5s var(--expo); }
@keyframes axPanel { from { opacity: 0; transform: translateY(8px); } }
.ax-qx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ax-qx-head h4 { margin: 0; font-size: 16px; font-weight: 500; color: var(--fg); line-height: 1.35; letter-spacing: -0.01em; }
.ax-qx-head .st { flex: none; }
.ax-qx-plats { display: flex; gap: 6px; flex-wrap: wrap; }
.ax-qx-plats button { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-3); font-size: 12px; transition: color .2s, border-color .2s, background .2s; }
.ax-qx-plats button:hover { color: var(--fg); }
.ax-qx-plats button.on { color: #000; background: var(--fg); border-color: var(--fg); }
.ax-qx-cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; flex: 1; }
.ax-qx-col { display: grid; gap: 10px; align-content: start; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface); min-width: 0; }
.ax-qx-col > small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); display: flex; align-items: center; gap: 8px; }
.ax-qx-col > small::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.ax-qx-col--rx { border-color: var(--a-line); background: linear-gradient(180deg, rgba(1,194,225,.07), rgba(1,194,225,.01)); }
.ax-qx-brands { display: grid; gap: 6px; }
.ax-qx-brands li { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(0, 70px); gap: 8px; align-items: center; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-soft); background: #0f0f10; animation: axPanel .5s var(--expo) backwards; animation-delay: calc(var(--i) * 60ms); }
.ax-qx-brands li b { font-weight: 500; color: var(--fg-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.ax-qx-brands li span { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-qx-brands li .mock-bar { height: 4px; }
.ax-qx-brands li.you { border-color: var(--a-line); background: var(--a-soft); }
.ax-qx-brands li.you b { color: var(--a); }
.ax-qx-brands li.gone { border-style: dashed; background: transparent; }
.ax-qx-brands li.gone span, .ax-qx-brands li.gone b { color: var(--amber); }
.ax-qx-brands li.gone .mock-bar { visibility: hidden; }
.ax-qx-brands li.gone span { white-space: normal; font-size: 12px; }
.ax-qx-src { display: grid; gap: 3px; font-size: 12px; color: var(--fg-2); }
.ax-qx-src b { font-weight: 500; color: var(--fg); }
.ax-qx-src a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); word-break: break-all; }
.ax-qx-vis { display: flex; align-items: baseline; gap: 8px; }
.ax-qx-vis strong { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ax-qx-vis span { font-size: 11.5px; color: var(--fg-3); }
.ax-qx-why { display: grid; gap: 6px; font-size: 12.5px; color: var(--fg-2); }
.ax-qx-why li { position: relative; padding-left: 14px; line-height: 1.45; }
.ax-qx-why li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.ax-qx-why.ok li::before { background: var(--green); }
.ax-qx-opp { display: grid; gap: 3px; font-size: 13px; font-weight: 500; color: var(--fg); line-height: 1.4; }
.ax-qx-opp .lbl { font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.ax-qx-types { display: flex; flex-wrap: wrap; gap: 5px; }
.ax-qx-types span { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 10.5px; color: var(--fg-4); }
.ax-qx-types span.on { color: var(--a); border-color: var(--a-line); background: var(--a-soft); }
.ax-qx-act { display: grid; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.ax-qx-act strong { font-size: 13px; font-weight: 500; color: var(--fg); }
.ax-qx-act .btn { justify-self: start; gap: 8px; }
.ax-qx-act small { font-size: 11.5px; color: var(--fg-3); }
.vx .net-note { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: var(--fg-3); }

/* ---------- 04 Trends ---------- */
.vx-points { display: grid; gap: 6px; margin: 20px 0 24px; font-size: 14px; color: var(--fg-2); }
.vx-points li { display: flex; gap: 8px; align-items: baseline; }
.vx-points b { font-weight: 500; color: var(--fg); min-width: 92px; }
.vx-kpi { display: flex; align-items: center; gap: 12px; }
.vx-kpi strong { font-size: 34px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.vx-kpi small { display: block; font-size: 12px; color: var(--fg-2); }
.vx-kpi em { display: block; font-style: normal; font-size: 12px; color: var(--green); }
.vx-kpi em.down { color: var(--pink); }
.vx-trend .mock-body { gap: 12px; }
.vx-topics { display: grid; gap: 2px; }
.vx-topic { display: grid; grid-template-columns: minmax(0, 1fr) 48px 44px 92px; gap: 10px; align-items: center; padding: 8px 8px; border-radius: 8px; cursor: pointer; color: var(--fg-2); transition: background .25s, color .25s; }
.vx-topic:hover, .vx-topic.on { background: rgba(255,255,255,.04); color: var(--fg); }
.vx-topic span { display: flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-topic span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 6px var(--tc); flex: none; }
.vx-topic b { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; text-align: right; }
.vx-topic em { font-style: normal; font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; color: var(--fg-3); }
.vx-topic em.up { color: var(--green); } .vx-topic em.down { color: var(--pink); }
.vx-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); font-style: normal; font-size: 10.5px; text-align: center; color: var(--fg-3); transition: transform .4s var(--expo), box-shadow .3s; }
.vx-badge.good { color: var(--green); border-color: rgba(8,255,182,.35); }
.vx-badge.bad { color: var(--pink); border-color: rgba(224,30,90,.45); background: rgba(224,30,90,.08); }
.vx-badge.open { color: var(--amber); border-color: rgba(255,176,32,.4); background: rgba(255,176,32,.08); }
.vx-badge.flat { color: var(--fg-3); }
.vx-topic:hover .vx-badge.bad, .vx-topic:hover .vx-badge.open { transform: translateX(-2px); box-shadow: 0 0 14px rgba(255,176,32,.2); }
.vx-topic:hover .vx-badge.bad { box-shadow: 0 0 14px rgba(224,30,90,.25); }

/* ---------- 05 Narrative ---------- */
.vx-story .mock-body { gap: 14px; }
.vx-story-group { display: grid; gap: 7px; }
.vx-story .mock-nodes { gap: 6px; }
.vx-story .mock-tag { font-size: 12px; padding: 4px 10px; color: var(--fg); border-color: #2c2c2e; }
.vx-story .mock-tag.dim { color: var(--fg-3); border-style: dashed; }
.vx-story .mock-tag.risk { color: var(--pink); border-color: rgba(224,30,90,.4); }
.vx-story-sent { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.vx-story-sent .vx-kpi { flex-direction: column; align-items: flex-start; gap: 2px; }
.vx-story-sent .vx-kpi strong { font-size: 26px; }
.vx-sent-rows { display: grid; }
.vx-sent-rows .mock-row { padding: 5px 0; border: 0; }
.vx-sent-rows .mock-row span:first-child { min-width: 58px; font-size: 12px; }
.vx-sent-rows .mock-row span:last-child { min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.vx-story-act, .vx-bench-act, .vx-matrix-foot { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--a-line); border-radius: 10px; background: linear-gradient(90deg, rgba(1,194,225,.08), rgba(1,194,225,0) 70%); font-size: 12.5px; color: var(--fg); }
.vx-story-act span, .vx-bench-act span, .vx-matrix-foot span { flex: 1; }
.vx-story-act .btn, .vx-bench-act .btn { flex: none; }
.ax-kw { cursor: pointer; transition: opacity .35s, color .3s, border-color .3s, transform .5s var(--expo), background .3s; }
.ax-kw:hover { transform: translateY(-2px); background: rgba(255,255,255,.05); }
.ax-kw[data-s="pos"]:hover, .ax-sentiment[data-s="pos"] .ax-kw[data-s="pos"] { color: var(--a); border-color: var(--a-line); }
.ax-kw[data-s="neu"]:hover, .ax-sentiment[data-s="neu"] .ax-kw[data-s="neu"] { color: var(--fg); border-color: #4a4a4a; }
.ax-kw[data-s="neg"]:hover, .ax-sentiment[data-s="neg"] .ax-kw[data-s="neg"] { color: var(--pink); border-color: rgba(224,30,90,.6); }
.ax-sentiment[data-s="pos"] .ax-kw:not([data-s="pos"]), .ax-sentiment[data-s="neu"] .ax-kw:not([data-s="neu"]), .ax-sentiment[data-s="neg"] .ax-kw:not([data-s="neg"]) { opacity: .25; }
.ax-sent { cursor: pointer; }

/* ---------- 06 Sources ---------- */
.vx-src-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 56px; padding: 18px 16px 10px; align-items: center; }
.vx-src-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vx-src-lines path { fill: none; stroke: rgba(255,255,255,.14); stroke-linecap: round; transition: stroke .3s, opacity .3s; }
.vx-src-lines path.base.on { stroke: rgba(255,255,255,.28); }
.vx-src-lines path.flow { stroke: var(--c); stroke-dasharray: 4 12; opacity: 0; filter: drop-shadow(0 0 4px var(--c)); }
.vx-src-lines path.flow.on { opacity: 1; animation: vxDash 1.4s linear infinite; }
.st--comp { --c: var(--fl-a, #01c2e1); }
.vx-metric em.down { color: var(--pink); }
.vx-matrix-row i[data-logo]::before { content: attr(data-ico); }
.vx-src-list { position: relative; z-index: 1; display: grid; gap: 6px; }
.vx-src-node { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #0f0f10; cursor: pointer; color: var(--fg-2); transition: border-color .3s, color .3s, background .3s, transform .4s var(--expo); }
.vx-src-node b { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.vx-src-node:hover, .vx-src-node.on { border-color: var(--c, #3a3a3d); color: var(--fg); background: #141416; transform: translateX(3px); }
.vx-src-answer { position: relative; z-index: 1; display: grid; gap: 5px; padding: 12px 12px; border: 1px solid var(--a-line); border-radius: 12px; background: linear-gradient(180deg, rgba(1,194,225,.1), rgba(1,194,225,.02)); box-shadow: 0 0 0 4px rgba(1,194,225,.06); }
.vx-src-answer strong { font-size: 12px; font-weight: 500; color: var(--fg); line-height: 1.35; }
.vx-src-answer span { font-size: 11px; color: var(--fg-3); }
.vx-src-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, 1.6fr); gap: 10px; align-items: center; margin: 4px 16px 16px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--surface); animation: axPanel .4s var(--expo); }
.vx-src-detail b { font-weight: 500; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-src-detail span { display: grid; gap: 2px; min-width: 0; }
.vx-src-detail em { font-style: normal; font-size: 12px; color: var(--fg); line-height: 1.35; }
.vx-src-detail em.lo { color: var(--pink); } .vx-src-detail em.mid { color: var(--amber); } .vx-src-detail em.hi { color: var(--green); }

/* ---------- 07 Competition ---------- */
.vx-winlose { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 24px; }
.vx-winlose > div { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-1); }
.vx-winlose ul { display: grid; gap: 4px; font-size: 13.5px; color: var(--fg); }
.vx-winlose li { display: flex; align-items: center; gap: 8px; }
.vx-winlose li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.vx-winlose > div:last-child li::before { background: var(--green); }
.vx-bench .mock-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 42px; gap: 10px; align-items: center; padding: 9px 8px; border: 0; border-radius: 8px; transition: opacity .3s, background .3s; }
.vx-bench .mock-row > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--fg); }
.vx-bench .mock-row > b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; color: var(--fg); }
.vx-bench .mock-row.you { background: var(--a-soft); }
.vx-you { display: inline-block; padding: 1px 6px; border-radius: 999px; background: var(--a); color: #000; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.vx-bench .ax-delta { grid-column: 1 / -1; min-width: 0; text-align: left; font-size: 11.5px; color: var(--fg-3); opacity: 0; max-height: 0; overflow: hidden; transform: translateY(-4px); transition: opacity .3s, max-height .4s var(--expo), transform .4s var(--expo); }
.vx-bench .mock-row:hover .ax-delta { opacity: 1; max-height: 24px; transform: none; }
.vx-bench .mock-body:hover .mock-row:not(:hover) { opacity: .55; }
.vx-bench .mock-row:hover .mock-bar i { filter: brightness(1.2); }
.vx-bench .mock-row:hover { background: rgba(255,255,255,.04); }
.vx-bench .mock-row.you:hover { background: rgba(1,194,225,.16); }

/* ---------- 08 Platform matrix ---------- */
.vx-matrix { padding: 6px 10px 12px; }
.vx-matrix-head, .vx-matrix-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 48px; gap: 12px; align-items: center; padding: 7px 8px; }
.vx-matrix-head { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--line-soft); margin-bottom: 4px; }
.vx-matrix-head span:last-child { text-align: right; }
.vx-matrix-row { border-radius: 8px; color: var(--fg-2); cursor: default; transition: background .25s, color .25s, opacity .3s; }
.vx-matrix-row > span:first-child { display: flex; align-items: center; gap: 9px; color: var(--fg); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-matrix-row i[data-logo] { flex: none; width: 16px; height: 16px; border-radius: 4px; background: #1b1b1d; border: 1px solid #2a2a2c; display: grid; place-items: center; color: var(--fg-3); font-style: normal; font-size: 8px; font-weight: 600; letter-spacing: 0; }
.vx-matrix-bar { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; }
.vx-matrix-bar i { display: block; flex: 1; height: 6px; border-radius: 3px; background: #1c1c1e; overflow: hidden; position: relative; }
.vx-matrix-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 3px; background: #3a3a3d; transform-origin: left; transition: background .3s; }
.vx-matrix-bar b { flex: none; width: 36px; text-align: right; font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; font-size: 12px; }
.vx-matrix-rank { text-align: right; font-weight: 500; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.vx-matrix-row.hi .vx-matrix-bar i::after, .vx-matrix-row:hover .vx-matrix-bar i::after { background: var(--a); }
.vx-matrix-row:hover { background: rgba(255,255,255,.04); }
.vx-matrix:hover .vx-matrix-row.hi:not(:hover) .vx-matrix-bar i::after { background: #3a3a3d; }
.vx-matrix:hover .vx-matrix-row:not(:hover) { opacity: .6; }
.vx .mock-wrap:hover .vx-matrix-bar i::after { animation: axGrowW .9s var(--expo) backwards; }
.vx-matrix-row:nth-child(3) .vx-matrix-bar i::after { animation-delay: .05s; } .vx-matrix-row:nth-child(4) .vx-matrix-bar i::after { animation-delay: .1s; } .vx-matrix-row:nth-child(5) .vx-matrix-bar i::after { animation-delay: .15s; } .vx-matrix-row:nth-child(6) .vx-matrix-bar i::after { animation-delay: .2s; } .vx-matrix-row:nth-child(7) .vx-matrix-bar i::after { animation-delay: .25s; } .vx-matrix-row:nth-child(8) .vx-matrix-bar i::after { animation-delay: .3s; } .vx-matrix-row:nth-child(9) .vx-matrix-bar i::after { animation-delay: .35s; }
@keyframes axGrowW { from { width: 0; } }
.vx-matrix-foot { margin: 8px 0 0; }

/* ---------- 09 Principles ---------- */
.vx-principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 8px; }
.vx-principles > div { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #000; transition: background .3s; }
.vx-principles > div:hover { background: #070708; }
.vx-principles small { font-size: 11px; letter-spacing: .1em; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.vx-principles h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.vx-principles p { font-size: 14px; color: var(--fg-2); }
.vx-principles > div.accent { background: linear-gradient(180deg, rgba(1,194,225,.12), rgba(1,194,225,.02)); }
.vx-principles > div.accent::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--a); box-shadow: 0 0 12px rgba(1,194,225,.6); }
.vx-principles > div.accent small { color: var(--a); }
.vx-principles > div.accent a { margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--fg); }
.vx-principles > div.accent a:hover span { transform: translateX(3px); }
.vx-principles > div.accent a span { display: inline-block; transition: transform .3s; }

/* ---------- 10 Loop ---------- */
.vx-loop.lp-wrap { padding-bottom: 104px; }
.vx-loop .lp-core small { color: var(--a); }
.vx-loop .lp-copy h3 { font-size: 22px; max-width: 420px; }
.vx-vs { display: grid; grid-template-columns: 92px 1fr; gap: 8px 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); font-size: 13px; }
.vx-vs span { color: var(--fg-3); }
.vx-vs em { font-style: normal; color: var(--fg-2); }
.vx-vs em.hi { color: var(--fg); font-weight: 500; }

/* ---------- 12 Final CTA ---------- */
.vx-cta .container { max-width: 820px; }
.vx-cta h2 { max-width: 760px; }
.vx-cta .vx-hero-more { margin-top: 18px; }
.vx-proc { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 auto 30px; font-size: 12.5px; color: var(--fg-3); }
.vx-proc span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-1); transition: color .3s, border-color .3s, background .3s, box-shadow .3s; }
.vx-proc span.on { color: var(--fg); border-color: var(--a-line); background: var(--a-soft); box-shadow: 0 0 16px rgba(1,194,225,.18); }
.vx-proc i { width: 22px; height: 1px; background: rgba(255,255,255,.18); }

/* ---------- Shared hover physics (kept from the earlier page) ---------- */
.ax .mock-wrap, .ax .vx-demo-wrap { perspective: 1100px; }
.ax .mock-wrap .mock { transition: transform .7s var(--expo), box-shadow .7s var(--expo), border-color .4s; will-change: transform; }
.ax .mock-wrap:hover .mock { border-color: #3d3d3d; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.ax .mock-bar i { transition: background .4s, filter .4s; }
.ax .mock:hover .mock-bar i { animation: axGrowW .9s var(--expo) backwards; }
.ax .mock:hover .mock-row:nth-child(2) .mock-bar i { animation-delay: .07s; }
.ax .mock:hover .mock-row:nth-child(3) .mock-bar i { animation-delay: .14s; }
.ax .mock:hover .mock-row:nth-child(4) .mock-bar i { animation-delay: .21s; }
.ax-chart { overflow: visible; cursor: crosshair; touch-action: pan-y; }
.ax-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke .4s; }
.ax-chart.ax-redraw .ax-line { animation: axDraw 1.3s var(--expo); }
@keyframes axDraw { from { stroke-dashoffset: 1; } }
.ax-cross { stroke: #4a4a4a; stroke-dasharray: 3 3; opacity: 0; transition: opacity .2s; }
.ax-dot { stroke: #0a0a0b; stroke-width: 2; opacity: 0; transition: opacity .2s, fill .4s; }
.ax-chart.ax-scrub .ax-cross, .ax-chart.ax-scrub .ax-dot { opacity: 1; }
@keyframes vxDash { to { stroke-dashoffset: -40; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .vx-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .vx-hero-copy { max-width: 620px; }
  .vx-flow { grid-template-columns: 1fr 1fr; }
  .vx-step:nth-child(2):not(:last-child)::after, .vx-step:nth-child(2):not(:last-child)::before { display: none; }
  .vx-principles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .vx .split.vx-split { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .vx .split--rev.vx-split .split-visual { order: 0; }
  .vx .split.vx-split h2, .vx .split.vx-split > div:first-child > p { max-width: 560px; }
  .ax-qx-cols { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .vx-hero { padding: 48px 0 40px; }
  .vx-trace { display: none; }
  .vx-engines { grid-template-columns: 1fr 1fr; }
  .vx-analysis { grid-template-columns: 1fr 1fr; }
  .vx-metric:not(.vx-metric--lead):not(:last-child) { display: none; }
  .vx-action { flex-direction: column; align-items: flex-start; }
  .ax-qx-body { grid-template-columns: 1fr; }
  .ax-qx-list { border-right: 0; border-bottom: 1px solid var(--line-soft); flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .ax-qx-list li { flex: none; max-width: 240px; }
  .ax-qx-list li.on { transform: none; }
  .ax-qx .mock-top .ax-qx-legend { display: none; }
  .vx-src-body { grid-template-columns: 1fr; gap: 14px; }
  .vx-src-lines { display: none; }
  .vx-src-answer { order: -1; }
  .vx-src-detail { grid-template-columns: 1fr 1fr; }
  .vx-topic { grid-template-columns: minmax(0, 1fr) 44px 80px; }
  .vx-topic em { display: none; }
  .vx-story-sent { grid-template-columns: 1fr; gap: 8px; }
  .vx-matrix-head, .vx-matrix-row { grid-template-columns: 110px minmax(0, 1fr) 40px; gap: 8px; }
  .vx-bench .mock-row { grid-template-columns: 90px minmax(0, 1fr) 40px; }
  .vx-bench .ax-delta { opacity: 1; max-height: 24px; transform: none; }
  .vx-vs { grid-template-columns: 1fr; gap: 4px 0; }
  .vx-vs span { margin-top: 6px; }
  .vx-proc { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .vx-flow { grid-template-columns: 1fr; }
  .vx-step:not(:last-child)::after { top: 100%; left: 32px; width: 1px; height: 14px; }
  .vx-step:not(:last-child)::before { display: none; }
  .vx-principles { grid-template-columns: 1fr; }
  .vx-hero-facts { gap: 18px; }
  .vx-winlose { grid-template-columns: 1fr; }
  .vx-story-act, .vx-bench-act, .vx-matrix-foot { flex-wrap: wrap; }
  .vx-story-act small, .vx-bench-act small, .vx-matrix-foot small { flex-basis: 100%; }
  .vx-story-act span, .vx-bench-act span, .vx-matrix-foot span { flex-basis: 100%; }
  .vx-src-detail { grid-template-columns: 1fr 1fr; }
  .vx-src-detail b { grid-column: 1 / -1; }
  .vx-engines { grid-template-columns: 1fr 1fr; gap: 6px; }
  .vx-eng { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ax .mock:hover .mock-bar i, .ax-chart.ax-redraw .ax-line, .vx .mock-wrap:hover .vx-matrix-bar i::after, .vx-step.on:not(:last-child)::before, .vx-demo.s2 .vx-eng h5::before { animation: none; }
  .ax .mock-wrap .mock { transform: none !important; }
  .vx-demo-body > *, .vx-eng li { transition: none; }
}
