/* 益丰专题页 · 在主站 styles.css 之上的页面样式 */
.yf { --yf: #00a870; }
.yf .eyebrow { color: var(--yf); }
.yf .dark .eyebrow, .yf .hero .eyebrow { color: #34d399; }
#storeNet { position: absolute; inset: 0; width: 100%; height: 100%; }
.sub-h { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin-top: 80px; }
.sub-p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

/* 概览数字 */
.yf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.yf-kpis > div { background: #fff; border-radius: var(--radius); padding: 28px 24px; }
.yf-kpis b { display: block; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.03em; line-height: 1.05; }
.yf-kpis span { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; }
.yf-kpis em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-2); }

/* 时间线：线条随进入视口生长，节点依次点亮 */
.tl { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.tl2 { grid-template-columns: repeat(6, 1fr); margin-top: 28px; }
.tl-line { position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--line); }
.tl2 .tl-line { left: 8.33%; right: 8.33%; }
.tl-line i { position: absolute; inset: 0; width: 0; background: var(--yf); transition: width 2.2s var(--ease) .3s; }
.tl.in .tl-line i { width: 100%; }
.tl-st { position: relative; text-align: center; padding-top: 30px; }
.tl-st::before {
  content: ""; position: absolute; top: 2px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); transition: background .4s, border-color .4s, transform .4s;
  transition-delay: calc(.3s + var(--i) * .5s);
}
.tl.in .tl-st::before { background: var(--yf); border-color: var(--yf); transform: scale(1.1); }
.tl2.in .tl-st::before { transition-delay: calc(.3s + var(--i) * .36s); }
.tl-st b { display: block; font-size: 17px; }
.tl-st span { font-size: 13px; color: var(--ink-2); }

/* 获奖作品 */
.wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.win { background: var(--bg-light); border-radius: 18px; padding: 18px 20px; display: grid; gap: 2px; }
.win i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.win.gold i { color: #b8860b; }
.win b { font-size: 17px; }
.win span { font-size: 13px; color: var(--ink-2); }
.wins .reveal:nth-child(3n+2) { transition-delay: .08s; }
.wins .reveal:nth-child(3n+3) { transition-delay: .16s; }

/* 工具型 → 决策型 */
.shift { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; margin-top: 56px; }
.shift-col { border-radius: var(--radius); padding: 30px; background: var(--bg-light); text-align: center; }
.shift-col.next { background: #0b2b20; color: #fff; }
.shift-k { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.shift-col.next .shift-k { color: #34d399; }
.shift-col h3 { font-size: 32px; letter-spacing: -.02em; margin: 4px 0 6px; }
.shift-col p { font-size: 15px; color: var(--ink-2); }
.shift-col.next p { color: #a7f3d0; }
.shift-q { margin-top: 14px; font-size: 17px !important; color: var(--ink) !important; }
.shift-col.next .shift-q { color: #fff !important; }
.shift-arrow { position: relative; height: 2px; margin: 0 14px; background: var(--line); overflow: visible; }
.shift-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--yf); border-right: 2px solid var(--yf); transform: rotate(45deg); }
.shift-arrow i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--yf); animation: shiftRun 2.4s infinite var(--ease); }
@keyframes shiftRun { 0% { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

/* 场景主链：8 站，令牌 8s 一圈 */
.yf-chain { grid-template-columns: repeat(8, 1fr); margin-top: 56px; }
.yf-chain .vc-token { animation-duration: 8s; background: var(--yf); box-shadow: 0 0 0 5px rgba(0,168,112,.2), 0 0 16px rgba(0,168,112,.7); }
.yf-chain .vc-ai, .yf-chain .vc-node { animation-duration: 8s; }
.yf-chain .vc-node { font-size: 14px; }
.yf-chain .vc-ai { font-size: 12.5px; padding: 6px 10px; }
.yf-chain .vc-ai { animation-name: yfAi; }
@keyframes yfAi {
  0% { color: #fff; background: var(--yf); border-color: var(--yf); transform: translateY(-3px); box-shadow: 0 8px 20px -6px rgba(0,168,112,.7); }
  22% { color: #047857; background: #ecfdf5; border-color: #a7f3d0; transform: none; box-shadow: none; }
  100% { color: var(--ink-2); background: #fff; border-color: var(--line); }
}

/* 价值 × 可行性 气泡图 */
.quad-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; margin-top: 24px; background: #fff; border-radius: 28px; padding: 24px; }
.bq { width: 100%; height: auto; display: block; }
.bq text { font-family: var(--font); }
.bq-frame { fill: none; stroke: var(--line); }
.bq-hot { fill: rgba(0,168,112,.08); }
.bq-grid { stroke: var(--line); stroke-dasharray: 3 5; }
.bq-zone { font-size: 15px; font-weight: 700; fill: var(--yf); }
.bq-zone2 { font-size: 13px; font-weight: 600; fill: #aeaeb2; }
.bq-axis { font-size: 13px; fill: var(--ink-2); }
.bq-dot { cursor: pointer; }
.bq-dot circle { fill: var(--c); fill-opacity: .18; stroke: var(--c); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .7s cubic-bezier(.3,1.4,.5,1), fill-opacity .3s; transition-delay: var(--d); }
.bq-dot text { font-size: 12.5px; font-weight: 600; fill: var(--ink); text-anchor: middle; opacity: 0; transition: opacity .5s; transition-delay: calc(var(--d) + .3s); pointer-events: none; }
#bubbles.in .bq-dot circle { transform: scale(1); }
#bubbles.in .bq-dot text { opacity: 1; }
.bq-dot:hover circle, .bq-dot.on circle { fill-opacity: .45; }
.bq-dot.on circle { stroke-width: 3; }
.bq-card { background: var(--bg-light); border-radius: 20px; padding: 22px; min-height: 210px; }
.bq-card .k { font-size: 12px; font-weight: 600; color: var(--yf); }
.bq-card h4 { font-size: 24px; letter-spacing: -.01em; margin: 4px 0 8px; }
.bq-card p { font-size: 15px; color: var(--ink-2); }
.bq-card ul { margin-top: 12px; display: grid; gap: 6px; }
.bq-card li { font-size: 14px; padding-left: 14px; position: relative; }
.bq-more { display: inline-block; margin-top: 14px; font-size: 15px; }
.bq-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--yf); }

/* 价值测算器 */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: 56px; background: #111113; border: 1px solid #222; border-radius: 28px; padding: 32px; }
.calc-rows { display: grid; gap: 22px; }
.cr { display: grid; gap: 8px; cursor: pointer; }
.cr-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cr-h b { font-size: 17px; }
.cr-h em { font-style: normal; font-size: 14px; color: #34d399; white-space: nowrap; }
.cr-h output { font-weight: 700; font-variant-numeric: tabular-nums; }
.cr-base { font-size: 12px; color: #8e8e93; }
.cr input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #00a870 var(--p, 50%), #3a3a3c var(--p, 50%)); outline: none; }
.cr input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.cr input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; }
.cr input[type=range]:focus-visible { box-shadow: 0 0 0 3px rgba(52,211,153,.5); }
.calc-out { position: relative; display: flex; flex-direction: column; align-items: center; }
.ring { width: 220px; height: 220px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #2c2c2e; stroke-width: 14; }
.ring-fg { fill: none; stroke: #34d399; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .6s var(--ease); }
.calc-total { position: absolute; top: 0; width: 220px; height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.calc-total p { font-size: 13px; color: #8e8e93; }
.calc-total b { font-size: 56px; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-total span { font-size: 14px; color: #a1a1a6; }
.calc-pct { margin-top: 6px; }
.calc-pct em { font-style: normal; color: #34d399; font-weight: 600; }
.calc-bars { width: 100%; display: grid; gap: 8px; margin-top: 20px; }
.calc-bars li { display: grid; grid-template-columns: 88px 1fr 52px; align-items: center; gap: 8px; font-size: 12.5px; color: #a1a1a6; }
.calc-bars li div { height: 8px; background: #2c2c2e; border-radius: 4px; overflow: hidden; }
.calc-bars li i { display: block; height: 100%; background: #34d399; border-radius: 4px; transition: width .5s var(--ease); }
.calc-bars li b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.calc-cash { margin-top: 16px; font-size: 13px; color: #a1a1a6; text-align: center; }
.calc-cash b { color: #fff; }

/* 赛道 */
.tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.track { background: var(--bg-light); border-radius: var(--radius); padding: 24px 22px; border-top: 4px solid var(--c); }
.tk-ico { width: 80px; height: 48px; display: block; margin-bottom: 14px; }
.tk-ico .tk-a { fill: var(--c); animation: tkPulse 3s infinite; }
.tk-ico .tk-b { fill: var(--c); opacity: .55; animation: tkPulse 3s .4s infinite; }
.tk-ico .tk-c { fill: var(--c); opacity: .3; animation: tkPulse 3s .8s infinite; }
@keyframes tkPulse { 0%, 100% { transform: translateY(0); } 15% { transform: translateY(-4px); } 30% { transform: translateY(0); } }
.tk-k { font-size: 12px; font-weight: 600; color: var(--c); }
.track h3 { font-size: 22px; margin: 4px 0 8px; }
.track p:last-child { font-size: 14px; color: var(--ink-2); }
.tracks .reveal:nth-child(2) { transition-delay: .08s; }
.tracks .reveal:nth-child(3) { transition-delay: .16s; }
.tracks .reveal:nth-child(4) { transition-delay: .24s; }

/* 评审权重 */
.score { max-width: 640px; margin: 72px auto 0; }
.score .sub-h { margin: 0 0 18px; text-align: center; }
.sc-row { display: grid; grid-template-columns: 80px 1fr 48px; align-items: center; gap: 12px; margin-bottom: 12px; }
.sc-row span { font-size: 15px; font-weight: 600; }
.sc-row div { height: 14px; background: var(--bg-light); border-radius: 7px; overflow: hidden; }
.sc-row i { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, #00a870, #34d399); transition: width 1.2s var(--ease); }
.sc-row:nth-child(3) i { transition-delay: .15s; } .sc-row:nth-child(4) i { transition-delay: .3s; } .sc-row:nth-child(5) i { transition-delay: .45s; }
.score.in .sc-row i { width: calc(var(--w) * 2.5); }
.sc-row b { text-align: right; font-variant-numeric: tabular-nums; }
.sc-note { font-size: 13px; color: var(--ink-2); text-align: center; margin-top: 14px; }

/* ISIP 支持 */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.offers > div { background: #fff; border-radius: var(--radius); padding: 24px 22px; }
.offers b { font-size: 18px; }
.offers p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.yf .footer a { display: inline; margin-right: 16px; color: var(--blue-link); }

/* ---------- 响应式 ---------- */
@media (max-width: 1068px) {
  .tracks, .offers { grid-template-columns: repeat(2, 1fr); }
  .quad-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 833px) {
  .yf-kpis { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .yf-kpis > div { padding: 20px 18px; border-radius: 18px; }
  .yf-chain { grid-template-columns: 1fr; grid-auto-rows: 58px; }
  .yf-chain .vc-node { font-size: 12.5px; }
  .yf-chain .vc-st span { width: 3.4em; }
  .tl, .tl2 { grid-template-columns: 1fr; gap: 18px; justify-items: start; padding-left: 8px; }
  .tl-line, .tl2 .tl-line { left: 16px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .tl-line i { width: 100%; height: 0; transition-property: height; }
  .tl.in .tl-line i { height: 100%; }
  .tl-st { text-align: left; padding: 0 0 0 36px; }
  .tl-st::before { left: 8px; top: 2px; margin-left: 0; }
  .tl-st b, .tl-st span { display: inline; }
  .tl-st span { margin-left: 8px; }
  .wins { grid-template-columns: repeat(2, 1fr); }
  .shift { grid-template-columns: 1fr; gap: 0; }
  .shift-arrow { width: 2px; height: 48px; margin: 0 auto; }
  .shift-arrow::after { right: auto; left: -4px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .shift-arrow i { left: -4px; animation-name: shiftRunY; }
  @keyframes shiftRunY { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  .calc { grid-template-columns: 1fr; padding: 22px 18px; }
  .calc-out { order: -1; }
}
@media (max-width: 560px) {
  .tracks, .offers { grid-template-columns: 1fr; }
  .wins { grid-template-columns: 1fr 1fr; gap: 8px; }
  .win { padding: 14px; }
  .win b { font-size: 15px; }
  .quad-wrap { padding: 12px; border-radius: 20px; }
  .bq-dot text { font-size: 16px; }
  .bq-zone { font-size: 18px; } .bq-zone2 { font-size: 16px; } .bq-axis { font-size: 16px; }
  .shift-col { padding: 22px; }
  .sub-h { margin-top: 56px; font-size: 21px; }
  .ring, .calc-total { width: 190px; height: 190px; }
  .calc-total b { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-line i { width: 100%; }
  .bq-dot circle { transform: none; } .bq-dot text { opacity: 1; }
  .sc-row i { width: calc(var(--w) * 2.5); }
}
