/* =========================================================================
   恬橙漫剧 · Orange Studio 官网 — 深色影院风 + 恬橙橙色点缀
   纯静态，无框架无构建。移动端响应式。
   ========================================================================= */

:root {
  --bg:        #0a0a0c;   /* 影院黑底 */
  --bg-soft:   #121216;   /* 卡片底 */
  --bg-card:   #17171d;   /* 卡片浮层 */
  --line:      rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.05);
  --ink:       #f4f1ea;   /* 主文字（暖白） */
  --ink-mute:  #a5a19a;   /* 次要文字 */
  --ink-faint: #6d6a64;   /* 最弱文字 */
  --orange:    #ff7a2f;   /* 恬橙主色 */
  --orange-lt: #ffa15e;
  --orange-dk: #e2611a;
  --glow:      rgba(255,122,47,0.35);
  --serif: 'Noto Serif SC', 'Songti SC', serif;
  --sans:  'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --radius: 16px;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 500; font-size: 15px; line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-solid {
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: #fff; box-shadow: 0 8px 24px -8px var(--glow);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px var(--glow); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- 顶部飘带 ---------- */
.topbar {
  background: #060607; border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  color: var(--ink-faint);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar-mid { color: var(--ink-mute); }

/* ---------- 吸顶导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, transform .35s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(10,10,12,0.9); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: #fff; font-family: var(--serif); font-weight: 900; font-size: 20px;
  box-shadow: 0 6px 18px -6px var(--glow);
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.1; }
.brand-name em { display: block; font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .12em; color: var(--ink-faint); font-weight: 400; margin-top: 2px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--ink-mute); position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .25s; border-radius: 2px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
/* B 站视频教程入口：小图标 + B站蓝，和常规导航区分 */
.nav-bili { display: inline-flex; align-items: center; gap: 6px; color: var(--ink) !important; }
.nav-bili::before { content: '▶'; font-size: 10px; color: #00a1d6; transition: transform .2s; }
.nav-bili:hover::before { transform: scale(1.2); }
.nav-bili::after { background: #00a1d6 !important; }
/* CTA 区 B 站按钮：ghost 底 + B站蓝描边 hover */
.btn-bili:hover { border-color: #00a1d6; color: #4cc9f0; }

/* ---------- 通用区块 ---------- */
section { padding: 110px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-index { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--orange); text-transform: uppercase; }
.sec-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin: 14px 0 16px; }
.sec-head p { color: var(--ink-mute); font-size: 16.5px; }

/* ---------- 滚动渐显 ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding: 0; min-height: 88vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 8%, rgba(255,122,47,0.20), transparent 60%),
    radial-gradient(ellipse 120% 80% at 80% 100%, rgba(255,122,47,0.10), transparent 55%),
    linear-gradient(180deg, #100b08 0%, #0a0a0c 55%, #0a0a0c 100%);
}
.hero-bg::after {
  /* 落日地平线光带，替代视频背景 */
  content: ''; position: absolute; left: 0; right: 0; bottom: 18%; height: 40%;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(255,140,60,0.28), transparent 70%);
  filter: blur(20px);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 40px 32px; }
.kicker {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  color: var(--orange-lt); padding: 7px 16px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,122,47,0.06); margin-bottom: 30px;
}
.hero-title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(46px, 9vw, 108px); line-height: 1.02; letter-spacing: .02em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-title .hl {
  background: linear-gradient(120deg, var(--orange-lt), var(--orange), var(--orange-dk));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 2.2vw, 21px); color: var(--ink-mute); margin: 28px 0 40px; letter-spacing: .04em; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 68px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.stat b sup { font-size: 16px; color: var(--orange); margin-left: 2px; }
.stat span { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 10px; white-space: nowrap; }
.hero-scroll { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 24px 40px 30px; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .1em; }
.hero-scroll em { font-style: normal; font-size: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* =========================================================================
   全链路 flow
   ========================================================================= */
.pipeline { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.flow::before { content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.flow li { text-align: center; position: relative; padding: 0 8px; }
.flow-no {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--bg-card); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 18px; color: var(--orange); font-weight: 500;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.flow li:hover .flow-no { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 10px 24px -8px var(--glow); }
.flow b { display: block; font-size: 17px; font-weight: 700; }
.flow small { display: block; color: var(--ink-faint); font-size: 12.5px; margin-top: 4px; }

/* =========================================================================
   分步产品展示 STEP
   ========================================================================= */
.steps { background: var(--bg); }
.step-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 130px; }
.step-row:last-child { margin-bottom: 0; }
.step-row.reverse .step-media { order: 2; }
.step-row.reverse .step-copy { order: 1; }
.step-no { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--orange); }
.step-no::before { content: ''; width: 26px; height: 1px; background: var(--orange); display: inline-block; opacity: .7; }
.step-copy h3 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin: 14px 0 18px; }
.step-copy > p { color: var(--ink-mute); font-size: 16.5px; margin-bottom: 26px; }
.step-feats li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink); font-size: 15px; }
.step-feats li::before { content: '✦'; position: absolute; left: 0; color: var(--orange); font-size: 13px; top: 2px; }

/* ---------- 图片区：应用窗口质感 ---------- */
.step-media { position: relative; padding: 8px; }
/* 背后大号步骤数字水印 */
.step-ghost {
  position: absolute; z-index: 0; font-family: var(--serif); font-weight: 900;
  font-size: 220px; line-height: .8; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,122,47,0.14); top: -70px;
}
.step-row .step-ghost { right: -32px; }
.step-row.reverse .step-ghost { left: -32px; right: auto; }
/* 橙色氛围光晕 */
.step-media::before {
  content: ''; position: absolute; z-index: 0; inset: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,122,47,0.16), transparent 70%);
  filter: blur(30px); pointer-events: none;
}

/* 窗口外壳 */
.shot {
  position: relative; z-index: 1; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12); background: #0e0e13;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.03),
              inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.shot:hover { transform: translateY(-8px); box-shadow: 0 60px 110px -40px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,122,47,0.5); }
/* 顶部窗口栏 */
.shot-chrome {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px;
  background: linear-gradient(180deg, #17171e, #101015);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.shot-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a44; }
.shot-chrome i:nth-child(1) { background: #ff5f57; }
.shot-chrome i:nth-child(2) { background: #febc2e; }
.shot-chrome i:nth-child(3) { background: #28c840; }
.shot-chrome span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .04em; }
/* 视区：缺图时 16:9 占位，有图时高度自适应，图片 100% 无黑边 */
.shot-view { position: relative; aspect-ratio: 16 / 9; background: #0a0a0c; }
.shot.has-img .shot-view { aspect-ratio: auto; }
.shot-view img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.has-img .shot-view img { height: auto; }
/* 缺图占位提示 */
.shot::before {
  content: attr(data-shot); position: absolute; z-index: 0; left: 1px; right: 1px; top: 38px; bottom: 1px;
  display: grid; place-items: center; padding: 24px; text-align: center;
  color: var(--ink-faint); font-size: 14px; letter-spacing: .04em;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #16161c, #101015);
}
.shot-view img[src] { position: relative; z-index: 1; }
.shot figcaption {
  position: absolute; z-index: 2; left: 14px; bottom: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 8px; color: var(--ink);
  background: rgba(6,6,7,0.72); backdrop-filter: blur(6px); border: 1px solid var(--line);
}

/* =========================================================================
   底层原子能力 分类网格
   ========================================================================= */
.atoms { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.atom-group { margin-bottom: 48px; }
.atom-group:last-child { margin-bottom: 0; }
.atom-group-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 8px; }
.atom-group-head h4 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.atom-group-head .bar { width: 4px; height: 20px; background: var(--orange); border-radius: 2px; }
.atom-group-note { font-size: 13px; color: var(--ink-faint); font-family: var(--mono); }
.atom-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.atom {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 20px; text-align: center;
  transition: transform .25s, border-color .25s, background .25s;
}
.atom:hover { transform: translateY(-5px); border-color: rgba(255,122,47,0.5); background: #1c1c23; }
.atom-ic {
  width: 30px; height: 30px; display: block; margin: 0 auto 14px;
  color: var(--orange); stroke: currentColor; stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s ease, color .25s ease;
}
.atom:hover .atom-ic { transform: translateY(-2px) scale(1.06); color: var(--orange-lt); }
.atom b { display: block; font-size: 15px; font-weight: 700; }
.atom small { display: block; color: var(--ink-faint); font-size: 12px; margin-top: 5px; }

/* =========================================================================
   方法论
   ========================================================================= */
.method { background: var(--bg); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mcard {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px;
  transition: transform .25s, border-color .25s;
}
.mcard:hover { transform: translateY(-6px); border-color: rgba(255,122,47,0.4); }
.mnum { font-family: var(--serif); font-size: 40px; font-weight: 700; color: rgba(255,122,47,0.35); line-height: 1; }
.mcard h3 { font-size: 19px; font-weight: 700; margin: 16px 0 12px; }
.mcard p { color: var(--ink-mute); font-size: 14.5px; }

/* =========================================================================
   信任背书
   ========================================================================= */
.trust { padding: 70px 0; background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-label { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--ink-faint); margin-bottom: 28px; }
.trust-logos { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trust-logos span { font-size: 19px; font-weight: 700; color: var(--ink-faint); font-family: var(--serif); transition: color .2s; }
.trust-logos span:hover { color: var(--orange-lt); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 24px; margin-bottom: 14px; background: var(--bg-card); transition: border-color .2s; }
.faq details[open] { border-color: rgba(255,122,47,0.4); }
.faq summary { cursor: pointer; padding: 20px 0; font-size: 16.5px; font-weight: 500; list-style: none; position: relative; padding-right: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--orange); transition: transform .25s; font-weight: 300; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-mute); font-size: 15px; padding-bottom: 22px; }

/* =========================================================================
   CTA
   ========================================================================= */
.cta { background: var(--bg-soft); overflow: hidden; }
.cta-inner { text-align: center; position: relative; padding: 40px 0; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,122,47,0.14), transparent 65%); pointer-events: none; }
.ribbon { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--orange); padding: 8px 18px; border: 1px solid rgba(255,122,47,0.4); border-radius: 999px; margin-bottom: 26px; }
.cta-inner h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 5vw, 56px); line-height: 1.15; }
.cta-inner > p { color: var(--ink-mute); font-size: 18px; margin: 20px 0 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); margin-top: 28px; letter-spacing: .06em; }

/* =========================================================================
   页脚
   ========================================================================= */
.foot { background: #060607; border-top: 1px solid var(--line); padding: 70px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.foot-brand p { color: var(--ink-faint); font-size: 14px; margin-top: 18px; max-width: 320px; }
.foot-col h5 { font-size: 14px; color: var(--ink); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--ink-faint); font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--orange-lt); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-faint); flex-wrap: wrap; gap: 10px; }
.foot-bottom .beian a { color: var(--ink-faint); transition: color .2s; }
.foot-bottom .beian a:hover { color: var(--ink-mute); }

/* =========================================================================
   响应式
   ========================================================================= */
@media (max-width: 960px) {
  .atom-grid { grid-template-columns: repeat(3, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .flow::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .topbar-mid { display: none; }
  .step-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .step-ghost { font-size: 130px; top: -44px; }
  .step-row .step-ghost, .step-row.reverse .step-ghost { right: -8px; left: auto; }
  .step-row.reverse .step-media { order: 0; }
  .step-row.reverse .step-copy { order: 0; }
  .hero-stats { gap: 34px; margin-top: 48px; }
  .stat b { font-size: 34px; }
  .atom-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .hero-scroll span { display: none; }
  .hero-scroll { justify-content: center; }
}
@media (max-width: 420px) {
  .atom-grid { grid-template-columns: 1fr; }
  .trust-logos { gap: 22px; }
  .trust-logos span { font-size: 16px; }
}

/* ---------- 获取授权 / 联系弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,6,9,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: modal-fade .25s ease; }
.modal-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 40px)); padding: 40px 40px 32px;
  background: linear-gradient(180deg, #16161d, #0e0e13);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  box-shadow: 0 60px 120px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,122,47,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
  text-align: center; animation: modal-pop .3s cubic-bezier(.2,.8,.2,1);
}
.modal-x {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px;
  border: none; background: transparent; color: var(--ink-faint);
  font-size: 26px; line-height: 1; cursor: pointer; border-radius: 8px; transition: .2s;
}
.modal-x:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.modal-box .ribbon { margin-bottom: 14px; }
.modal-box h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; margin: 0 0 8px; }
.modal-sub { color: var(--ink-faint); font-size: 14px; margin: 0 0 26px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr-card { margin: 0; }
.qr-view {
  position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.qr-view img { width: 100%; height: 100%; object-fit: contain; display: block; position: relative; z-index: 1; }
.qr-ph {
  position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: #9a9a9a; font-size: 14px; font-family: var(--mono); background: #f4f4f5; padding: 10px;
}
.qr-ph small { font-size: 10px; color: #b5b5b8; }
.qr-card figcaption { margin-top: 14px; }
.qr-card figcaption b { display: block; font-size: 15px; color: var(--ink); }
.qr-card figcaption small { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 3px; }
.modal-note { margin: 26px 0 0; font-size: 12px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .04em; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 520px) {
  .modal-box { padding: 32px 22px 26px; }
  .qr-grid { grid-template-columns: 1fr; gap: 24px; max-width: 240px; margin: 0 auto; }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-scroll em { animation: none; }
}
