/* 竖屏出征 · 深色大片风 */
:root {
  --bg: #0a0709;
  --bg2: #100b0e;
  --panel: #141014;
  --line: #2a2026;
  --text: #ede6e0;
  --dim: #a29890;
  --red: #e63950;
  --red-deep: #c8102e;
  --gold: #e3b45e;
  --gold-dim: #8a6d3a;
  --cyan: #4cc9f0;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 15px/1.85 var(--sans); overflow-x: hidden; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--red-deep); color: #fff; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(1200px 700px at 75% 20%, rgba(200,16,46,.22), transparent 60%),
              radial-gradient(900px 600px at 15% 85%, rgba(227,180,94,.10), transparent 60%), var(--bg);
  overflow: hidden; }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.15) 2px 3px); }
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 60px 40px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; width: 100%; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } .hero-right { display: none; } }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .35em; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-size: clamp(64px, 9vw, 118px); font-weight: 900;
  letter-spacing: .06em; line-height: 1.05; }
.hero h1 .accent { color: var(--red); text-shadow: 0 0 42px rgba(230,57,80,.55); }
.hero .sub { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 26px); color: var(--gold); margin: 14px 0 22px; letter-spacing: .12em; }
.hero .lede { color: var(--dim); max-width: 620px; font-size: 15px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 28px; margin-top: 34px; justify-content: start; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
.hstat b { display: block; font-family: var(--mono); font-size: 34px; color: var(--text); }
.hstat span { font-size: 11.5px; color: var(--dim); }
.scroll-hint { margin-top: 44px; font-size: 12px; color: var(--gold-dim); letter-spacing: .25em; animation: floaty 2.4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(6px); } }

/* 手机 mockup */
.hero-right { display: flex; flex-direction: column; align-items: center; }
.phone { width: 218px; height: 440px; border: 2px solid #3a2e33; border-radius: 30px; position: relative;
  background: linear-gradient(180deg, #191218, #0d0a0c); box-shadow: 0 24px 70px rgba(200,16,46,.18), inset 0 0 0 1px rgba(255,255,255,.03);
  overflow: hidden; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 70px; height: 16px;
  background: #000; border-radius: 10px; z-index: 5; }
.phone-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 4px;
  background: #3a2e33; border-radius: 4px; }
.reel { position: absolute; inset: 0; padding: 40px 14px 30px; }
.reel .card { position: absolute; inset: 40px 14px 30px; opacity: 0; transform: translateY(18px) scale(.96);
  transition: opacity .8s ease, transform .8s ease; border-radius: 18px; padding: 18px;
  background: linear-gradient(160deg, #2c1119, #14090d 65%); border: 1px solid rgba(230,57,80,.35);
  display: flex; flex-direction: column; justify-content: flex-end; }
.reel .card.show { opacity: 1; transform: none; }
.reel .genre { font-size: 11px; color: var(--gold); letter-spacing: .2em; margin-bottom: 8px; }
.reel .fake-title { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; }
.reel .ep { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.hero-cap { margin-top: 16px; font-size: 12px; color: var(--gold-dim); }

/* ---------- 章节通用 ---------- */
.sec { max-width: 1180px; margin: 0 auto; padding: 96px 40px; }
.sec.dark { max-width: none; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.dark > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 40px; }
.sec-head .no { font-family: var(--mono); color: var(--red); font-size: 13px; letter-spacing: .3em; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 6px 0 8px; letter-spacing: .04em; }
.sec-sub { color: var(--dim); font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.prose p { margin-bottom: 16px; color: var(--dim); }
.prose b { color: var(--text); }
.prose p:first-child b { color: var(--red); }
.mini-h { font-size: 15px; letter-spacing: .1em; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.mini-note { color: var(--dim); font-size: 13px; margin-top: 12px; }

/* 滚动浮现 */
.vis { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.vis.on { opacity: 1; transform: none; }

/* ---------- 01 模式卡 ---------- */
.mode-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.mode-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 18px; letter-spacing: .1em; }
.mode-row { display: flex; gap: 14px; padding: 13px 0; border-top: 1px dashed var(--line); align-items: baseline; }
.m-ic { font-size: 18px; color: var(--red); min-width: 26px; text-align: center; font-family: var(--serif); }
.mode-row b { font-size: 15px; }
.mode-row small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }

/* ---------- 02 时间线 ---------- */
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--red), var(--gold), var(--cyan)); }
.tl-item { position: relative; padding: 0 0 34px 22px; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg2); border: 3px solid var(--red); box-shadow: 0 0 14px rgba(230,57,80,.5); }
.tl-item:nth-child(4)::before { border-color: var(--gold); box-shadow: 0 0 14px rgba(227,180,94,.5); }
.tl-item:nth-child(n+5)::before { border-color: var(--cyan); box-shadow: 0 0 14px rgba(76,201,240,.4); }
.tl-t { font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: .12em; }
.tl-h { font-family: var(--serif); font-size: 21px; font-weight: 700; margin: 3px 0 4px; }
.tl-d { color: var(--dim); font-size: 14px; max-width: 720px; }

/* ---------- 图表 ---------- */
.chart-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.chart { position: relative; min-height: 240px; }
#chDomestic { min-height: 420px; }
.chart.map { min-height: 320px; }
.chart svg { display: block; width: 100%; }
.chart.map svg { height: auto; aspect-ratio: 2 / 1; }
.axis text { fill: var(--dim); font-size: 11px; font-family: var(--mono); }
.axis line, .axis path { stroke: #3a2e33; }
.chart-note { color: var(--dim); font-size: 12.5px; margin-top: 14px; max-width: 900px; }
.bar-est { fill: url(#estHatch); }

/* ---------- 04 海外 ---------- */
.ov-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 800px) { .ov-stats { grid-template-columns: repeat(2, 1fr); } }
.ov-stats > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.ov-stats b { font-family: var(--mono); font-size: 30px; color: var(--red); display: block; }
.ov-stats span { font-size: 12px; color: var(--dim); }
.dl-bars { display: flex; flex-direction: column; gap: 20px; margin-top: 6px; }
.dl-name { font-size: 13.5px; color: var(--text); margin-bottom: 8px; }
.dl-note { color: var(--dim); font-size: 11.5px; margin-left: 10px; }
.dl-track { background: #1a1418; border-radius: 8px; overflow: hidden; }
.dl-fill { height: 40px; display: flex; align-items: center; padding: 0 14px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(76,201,240,.25), rgba(76,201,240,.08)); border-left: 3px solid var(--cyan);
  width: 0; transition: width 1.2s cubic-bezier(.2,.7,.3,1); white-space: nowrap; }
.dl-fill b { font-family: var(--mono); font-size: 16px; color: var(--cyan); }
.map-legend { margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.map-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 6px 0 16px; }
.map-legend .dot.gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.map-legend .dot.cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.country { fill: #241b21; stroke: #35282f; stroke-width: .4; }
.country.role-gold { fill: rgba(227,180,94,.28); stroke: var(--gold); }
.country.role-cyan { fill: rgba(76,201,240,.22); stroke: var(--cyan); }
.map-bubble { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.map-label { font-size: 12px; fill: var(--text); paint-order: stroke; stroke: rgba(10,7,9,.85); stroke-width: 3px; }
.map-label small { fill: var(--gold); font-family: var(--mono); font-size: 11px; }

/* ---------- 05 App 榜 ---------- */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.app { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
  position: relative; overflow: hidden; }
.app::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--red), transparent); }
.app-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.app-name { font-family: var(--mono); font-size: 21px; font-weight: 700; }
.app-flag { font-size: 11px; color: var(--gold); border: 1px solid var(--gold-dim); border-radius: 999px; padding: 1px 10px; }
.app-owner { font-size: 12px; color: var(--dim); }
.app-note { font-size: 13.5px; color: var(--dim); margin-top: 8px; }
.app-us { margin-top: 14px; }
.app-us .lab { font-size: 11.5px; color: var(--dim); margin-bottom: 6px; }
.app-us .track { height: 8px; background: #1a1418; border-radius: 6px; overflow: hidden; }
.app-us .fill { height: 100%; width: 0; border-radius: 6px;
  background: linear-gradient(90deg, var(--red-deep), var(--red)); transition: width 1.2s ease .2s; }
.app-us .pct { font-family: var(--mono); font-size: 13px; color: var(--red); margin-top: 5px; }

/* ---------- 06 AI ---------- */
.cost-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-bottom: 34px; }
@media (max-width: 720px) { .cost-compare { grid-template-columns: 1fr; } }
.cost { border-radius: 16px; padding: 28px; }
.cost.before { background: var(--panel); border: 1px solid var(--line); }
.cost.after { background: linear-gradient(160deg, rgba(230,57,80,.14), rgba(227,180,94,.08));
  border: 1px solid rgba(230,57,80,.45); box-shadow: 0 0 46px rgba(230,57,80,.14); }
.c-label { font-size: 13px; letter-spacing: .18em; color: var(--dim); margin-bottom: 10px; }
.cost.after .c-label { color: var(--red); }
.c-val { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--text); line-height: 1.15; }
.cost.after .c-val { color: var(--gold); }
.c-val small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--dim); font-weight: 400; margin-top: 6px; }
.c-sub { margin-top: 12px; font-size: 13px; color: var(--dim); }
.cost-arrow { align-self: center; font-family: var(--mono); font-size: 26px; color: var(--red); padding: 0 6px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(1.18); text-shadow: 0 0 24px rgba(230,57,80,.8); } }
.ai-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
@media (max-width: 800px) { .ai-stats { grid-template-columns: repeat(2, 1fr); } }
.ai-stats > div { border-left: 2px solid var(--red); padding: 4px 0 4px 16px; }
.ai-stats b { font-family: var(--mono); font-size: 26px; color: var(--red); display: block; }
.ai-stats span { font-size: 12px; color: var(--dim); }
.splits { width: 100%; border-collapse: collapse; }
.splits td { padding: 11px 4px; border-bottom: 1px dashed var(--line); font-size: 13.5px; vertical-align: top; }
.splits td:first-child { color: var(--text); }
.splits td:last-child { color: var(--gold); font-family: var(--mono); font-size: 12.5px; text-align: right; }

/* ---------- 07 风险 ---------- */
.risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .risks { grid-template-columns: 1fr; } }
.risk { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.risk h3 { font-family: var(--serif); font-size: 17px; color: var(--gold); margin-bottom: 10px; }
.risk p { color: var(--dim); font-size: 13.5px; }

/* ---------- 来源 ---------- */
.src-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 34px; margin-bottom: 46px; }
@media (max-width: 800px) { .src-list { grid-template-columns: 1fr; } }
.src-list li { font-size: 13px; color: var(--dim); padding-left: 18px; position: relative; }
.src-list li::before { content: "▪"; position: absolute; left: 0; color: var(--red); }
footer { text-align: center; color: #6d625b; font-size: 12px; border-top: 1px solid var(--line); padding-top: 26px; line-height: 2; }
