:root {
  --bg: #0a0f1f;
  --bg-2: #0f1630;
  --card: #131c3a;
  --card-2: #18234a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --text-2: #b4bdd4;
  --muted: #8b95b0;
  --gold: #f2c46d;
  --gold-2: #e0a63e;
  --blue: #5b8cff;
  --cyan: #46d3e6;
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: "Noto Sans TC", system-ui, "Microsoft JhengHei", sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--gold); color: #111; padding: 8px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 按鈕 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1405; box-shadow: 0 8px 28px rgba(242, 196, 109, .28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(242, 196, 109, .42); }
.btn-line { border: 1.5px solid rgba(255,255,255,.35); color: var(--text); }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; background: var(--text); color: #0a0f1f; }
.btn-sm:hover { background: var(--gold); }
.btn-xl { font-size: clamp(18px, 2.6vw, 24px); padding: 18px 40px; }

/* ---------- 導覽 ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px max(24px, calc((100% - var(--max)) / 2 + 24px)); background: rgba(10, 15, 31, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; min-height: 44px; }
.brand img { border-radius: 50%; border: 1.5px solid var(--gold); }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav nav a:not(.btn):hover { color: var(--gold); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; background:
  radial-gradient(40% 50% at 75% 35%, rgba(91, 140, 255, .28), transparent 70%),
  radial-gradient(30% 40% at 15% 20%, rgba(242, 196, 109, .14), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 999px; font-size: 14px; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hero h1 { font-size: clamp(48px, 8vw, 100px); font-weight: 900; line-height: 1.05; margin: 22px 0 22px; letter-spacing: -0.01em; }
.grad { background: linear-gradient(100deg, var(--gold) 10%, #ffe3a8 45%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { text-wrap: pretty; font-size: clamp(17px, 2vw, 21px); color: var(--text-2); }
.hero-sub b { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-photo { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-photo img { position: relative; border-radius: 28px; border: 1.5px solid rgba(242, 196, 109, .55); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.ring { position: absolute; inset: -18px; border-radius: 36px; background: conic-gradient(from 0deg, transparent, rgba(242,196,109,.45), transparent 30%, rgba(91,140,255,.45), transparent 60%); filter: blur(18px); animation: spin 10s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card { position: absolute; background: rgba(19, 28, 58, .92); border: 1px solid var(--line); backdrop-filter: blur(8px); border-radius: 16px; padding: 10px 16px; box-shadow: 0 14px 40px rgba(0,0,0,.4); animation: bob 5s ease-in-out infinite; }
.float-card b { display: block; font-size: 24px; font-weight: 900; color: var(--gold); line-height: 1.2; }
.float-card span { font-size: 13px; color: var(--text-2); }
.fc-1 { left: -36px; bottom: 18%; }
.fc-2 { right: -28px; top: 10%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.stats { position: relative; max-width: var(--max); margin: 64px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 18px; padding: 22px 16px; text-align: center; }
.stats b { display: block; font-size: clamp(34px, 4.6vw, 50px); font-weight: 900; line-height: 1.15; background: linear-gradient(180deg, #fff, #c9d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); }

/* ---------- 共用標題 ---------- */
section h2 { text-wrap: balance; font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; line-height: 1.25; margin-bottom: 18px; }
.kicker { color: var(--gold); font-weight: 700; letter-spacing: .14em; font-size: 14px; margin-bottom: 10px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--gold); background: rgba(242, 196, 109, .12); border: 1px solid rgba(242, 196, 109, .25); padding: 1px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- PAIN ---------- */
.pain { padding: 110px 0 40px; }
.u { background: linear-gradient(transparent 70%, rgba(242,196,109,.35) 70%); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.pain-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 14px; align-items: flex-start; }
.pain-card p { color: var(--text-2); }
.x { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 107, 107, .15); color: #ff8a8a; font-weight: 900; font-size: 14px; }
.turn { margin-top: 30px; font-size: clamp(18px, 2.4vw, 22px); color: var(--text-2); }
.turn b { color: var(--gold); }

/* ---------- RESULTS / BENTO ---------- */
.results { padding: 110px 0 40px; }
.note { color: var(--muted); font-size: 14px; margin-top: -6px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 18px; margin-top: 36px; }
.tile { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s ease, transform .3s ease; }
@media (hover: hover) { .tile:hover { border-color: rgba(242, 196, 109, .4); transform: translateY(-4px); } }
.t-wide { grid-column: span 2; }
.viz { position: relative; height: 170px; background: radial-gradient(80% 90% at 50% 0%, rgba(91,140,255,.16), transparent 70%), #0d1430; border-bottom: 1px solid var(--line); overflow: hidden; }
.tile-txt { padding: 20px 22px 24px; }
.tile-txt h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.tile-txt p { color: var(--text-2); font-size: 15px; }
.tile-txt p b { color: var(--gold); font-variant-numeric: tabular-nums; }

/* 動畫預設暫停，進畫面才播 */
.viz * { animation-play-state: paused !important; }
.in .viz * { animation-play-state: running !important; }

/* 1 FAQ */
.v-faq { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; padding: 0 28px; gap: 10px; }
.faq-src { position: relative; height: 120px; }
.bub { position: absolute; height: 18px; border-radius: 10px 10px 10px 3px; background: #3ddc84; opacity: .85; animation: bubIn 4s ease-in-out infinite; }
.b1 { width: 70%; top: 0; } .b2 { width: 52%; top: 26px; left: 18%; background: #e9eefc; animation-delay: .3s; } .b3 { width: 62%; top: 52px; animation-delay: .6s; }
.sheet { position: absolute; bottom: 0; left: 0; width: 86%; height: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.sheet i { background: rgba(70, 211, 230, .35); border-radius: 2px; animation: bubIn 4s ease-in-out infinite .9s; }
@keyframes bubIn { 0%, 100% { opacity: .25; transform: translateX(0); } 30%, 60% { opacity: 1; } 80% { transform: translateX(10px); opacity: .5; } }
.faq-pipe { position: relative; height: 46px; border-radius: 999px; background: rgba(91,140,255,.12); border: 1px solid rgba(91,140,255,.4); display: grid; place-items: center; overflow: hidden; }
.faq-pipe em { font-style: normal; font-weight: 900; color: var(--blue); letter-spacing: .1em; position: relative; z-index: 1; }
.faq-pipe span { position: absolute; left: -10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); animation: flow 2s linear infinite; }
.faq-pipe span:nth-child(2) { animation-delay: .66s; } .faq-pipe span:nth-child(3) { animation-delay: 1.33s; }
@keyframes flow { to { left: 105%; } }
.faq-out { position: relative; height: 120px; }
.card { position: absolute; left: 0; right: 0; height: 32px; border-radius: 8px; background: #e9eefc; display: flex; align-items: center; gap: 8px; padding: 0 10px; box-shadow: 0 6px 16px rgba(0,0,0,.3); animation: stack 4s ease-in-out infinite; opacity: 0; }
.card b { color: var(--blue); font-size: 13px; } .card i { flex: 1; height: 6px; border-radius: 3px; background: #b9c4e4; }
.c1 { top: 0; } .c2 { top: 42px; animation-delay: .4s; } .c3 { top: 84px; animation-delay: .8s; }
@keyframes stack { 0% { opacity: 0; transform: translateX(-24px); } 20%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 2 HUB */
.v-hub svg { width: 100%; height: 100%; }
.v-hub .links path { stroke: rgba(91,140,255,.65); stroke-width: 2; stroke-dasharray: 5 6; fill: none; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.v-hub .hub { fill: var(--gold); animation: hubPulse 2.4s ease-in-out infinite; transform-origin: 100px 70px; }
@keyframes hubPulse { 50% { transform: scale(1.12); } }
.v-hub .sat circle { fill: #1f2d5c; stroke: var(--blue); stroke-width: 1.5; }
.v-hub .lbl text { fill: #e9eefc; font-size: 9.5px; font-weight: 700; text-anchor: middle; font-family: inherit; }
.v-hub .lbl text:first-child { fill: #1a1405; }

/* 3 HR */
.v-hr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; }
.map { position: relative; border-radius: 12px; background:
  linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 16px 16px,
  linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 16px 16px, #142047; }
.pin { position: absolute; left: 50%; top: 42%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50% 50% 50% 0; background: #ff6b6b; transform: rotate(-45deg); animation: drop 3s ease-in-out infinite; }
@keyframes drop { 0% { top: -20%; opacity: 0; } 25%, 85% { top: 38%; opacity: 1; } 100% { opacity: 0; } }
.pulse { position: absolute; left: 50%; top: 62%; width: 30px; height: 10px; margin-left: -15px; border-radius: 50%; border: 2px solid rgba(255,107,107,.6); animation: wave 3s ease-out infinite; }
@keyframes wave { 0%, 25% { transform: scale(.3); opacity: 0; } 35% { opacity: 1; } 80% { transform: scale(2); opacity: 0; } }
.slip { border-radius: 12px; background: #e9eefc; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ok { font-size: 12px; font-weight: 700; color: #138a4b; animation: fadeIn 3s ease-in-out infinite; }
.slip i { height: 7px; border-radius: 4px; background: #b9c4e4; transform-origin: left; animation: grow 3s ease-in-out infinite; }
.slip i:nth-of-type(2) { width: 70%; animation-delay: .2s; } .slip i:nth-of-type(3) { width: 85%; background: var(--gold-2); animation-delay: .4s; }
@keyframes grow { 0%, 25% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
@keyframes fadeIn { 0%, 25% { opacity: 0; } 40%, 100% { opacity: 1; } }

/* 4 BARCODE */
.v-bar { display: grid; place-items: center; }
.code { display: flex; align-items: flex-end; gap: 3px; height: 92px; padding: 12px 18px; background: #fff; border-radius: 8px; }
.code i { width: 3px; height: 100%; background: #111; transform-origin: bottom; animation: barUp 3.6s ease-out infinite; }
.code i:nth-child(3n) { width: 6px; } .code i:nth-child(4n) { width: 2px; } .code i:nth-child(5n) { width: 5px; }
.code i:nth-child(1) { animation-delay: 0s; } .code i:nth-child(2) { animation-delay: .05s; } .code i:nth-child(3) { animation-delay: .1s; } .code i:nth-child(4) { animation-delay: .15s; } .code i:nth-child(5) { animation-delay: .2s; } .code i:nth-child(6) { animation-delay: .25s; } .code i:nth-child(7) { animation-delay: .3s; } .code i:nth-child(8) { animation-delay: .35s; } .code i:nth-child(9) { animation-delay: .4s; } .code i:nth-child(10) { animation-delay: .45s; } .code i:nth-child(11) { animation-delay: .5s; } .code i:nth-child(12) { animation-delay: .55s; } .code i:nth-child(13) { animation-delay: .6s; } .code i:nth-child(14) { animation-delay: .65s; } .code i:nth-child(15) { animation-delay: .7s; } .code i:nth-child(16) { animation-delay: .75s; } .code i:nth-child(17) { animation-delay: .8s; } .code i:nth-child(18) { animation-delay: .85s; }
@keyframes barUp { 0% { transform: scaleY(0); } 25%, 100% { transform: scaleY(1); } }
.scan { position: absolute; left: 22%; right: 22%; top: 30px; height: 2px; background: #ff4d4d; box-shadow: 0 0 12px #ff4d4d; animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 0%, 35% { top: 30px; opacity: 0; } 40% { opacity: 1; } 70% { top: 136px; opacity: 1; } 75%, 100% { opacity: 0; } }

/* 5 CHART */
.v-chart { padding: 44px 26px 22px; } /* 上方留給 PDF 徽章，避免蓋住最高的長條 */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 100%; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue), rgba(91,140,255,.35)); transform-origin: bottom; animation: barUp 3.4s ease-out infinite; }
.bars i:nth-child(6) { background: linear-gradient(180deg, var(--gold), rgba(242,196,109,.4)); }
.bars i:nth-child(2) { animation-delay: .1s; } .bars i:nth-child(3) { animation-delay: .2s; } .bars i:nth-child(4) { animation-delay: .3s; } .bars i:nth-child(5) { animation-delay: .4s; } .bars i:nth-child(6) { animation-delay: .5s; }
.pdf { position: absolute; right: 18px; top: 16px; font-size: 11px; font-weight: 900; color: #fff; background: #e5484d; padding: 6px 8px; border-radius: 6px; animation: popIn 3.4s ease-in-out infinite; }
@keyframes popIn { 0%, 50% { transform: translateY(-8px) scale(.6); opacity: 0; } 62%, 100% { transform: none; opacity: 1; } }

/* 6 SORT */
.v-sort { padding: 18px; }
.doc { position: absolute; top: 16px; width: 26px; height: 32px; border-radius: 4px; background: #e9eefc; box-shadow: 0 4px 10px rgba(0,0,0,.3); animation: fly 3.6s ease-in-out infinite; }
.d1 { left: 30%; --tx: -54px; } .d2 { left: 46%; --tx: 0px; animation-delay: .3s; } .d3 { left: 62%; --tx: 54px; animation-delay: .6s; }
@keyframes fly { 0%, 10% { transform: none; opacity: 1; } 60% { transform: translate(var(--tx), 82px) scale(.6); opacity: 1; } 70%, 100% { transform: translate(var(--tx), 82px) scale(.6); opacity: 0; } }
.folders { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 26px; }
.f { width: 46px; height: 34px; border-radius: 4px 8px 6px 6px; position: relative; animation: bump 3.6s ease-in-out infinite; }
.f::before { content: ""; position: absolute; top: -6px; left: 0; width: 20px; height: 8px; border-radius: 3px 3px 0 0; background: inherit; }
.f1 { background: var(--blue); } .f2 { background: var(--gold-2); animation-delay: .3s; } .f3 { background: var(--cyan); animation-delay: .6s; }
@keyframes bump { 0%, 55% { transform: none; } 62% { transform: scale(1.12); } 70%, 100% { transform: none; } }

/* 7 TREE */
.v-tree { padding: 20px 26px; display: flex; flex-direction: column; gap: 9px; }
.row { display: block; height: 14px; border-radius: 4px; position: relative; animation: rowIn 4s ease-out infinite; animation-delay: calc(var(--i) * .25s); opacity: 0; }
.row::before { content: ""; position: absolute; left: -16px; top: 2px; width: 10px; height: 10px; border-radius: 2px; background: var(--gold-2); }
.r1 { margin-left: 16px; width: 55%; background: rgba(233, 238, 252, .85); }
.r2 { margin-left: 40px; width: 48%; background: rgba(91, 140, 255, .6); }
.r3 { margin-left: 64px; width: 38%; background: rgba(70, 211, 230, .55); }
@keyframes rowIn { 0% { opacity: 0; transform: translateX(-10px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 8 WEEK */
.v-week { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 16px; padding: 0 24px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days i { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid var(--line); animation: dayFill 4s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes dayFill { 0%, 10% { background: rgba(255,255,255,.08); } 25%, 85% { background: var(--blue); } 100% { background: rgba(255,255,255,.08); } }
.report { border-radius: 10px; background: #e9eefc; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; animation: popIn 4s ease-in-out infinite; }
.report b { color: #14213d; font-size: 13px; }
.report i { height: 6px; border-radius: 3px; background: #b9c4e4; } .report i:last-child { width: 60%; }

/* 9 VIDEO */
.cap { position: absolute; left: 22px; height: 10px; border-radius: 5px; background: rgba(233,238,252,.9); animation: capIn 6s ease-in-out infinite; }
.cap.c1 { top: 22px; width: 38%; } .cap.c2 { top: 40px; width: 24%; background: var(--gold); animation-delay: .25s; }
@keyframes capIn { 0%, 8% { opacity: 0; transform: translateY(6px); } 16%, 45% { opacity: 1; transform: none; } 55%, 100% { opacity: 0; } }
.wave { position: absolute; right: 22px; bottom: 16px; display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--cyan); transform-origin: center; animation: wave2 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; background: var(--blue); } .wave i:nth-child(5n) { animation-delay: -.8s; }
@keyframes wave2 { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
/* 9b 3D */
.v-3d { display: grid; place-items: center; perspective: 600px; }
.v-3d .cube-wrap { width: 80px; height: 80px; }
.v-3d .cube i { background: rgba(242,196,109,.1); }
.v-3d .cube i:nth-child(1) { transform: translateZ(40px); } .v-3d .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(40px); }
.v-3d .cube i:nth-child(3) { transform: rotateY(90deg) translateZ(40px); background: rgba(91,140,255,.18); } .v-3d .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(40px); background: rgba(91,140,255,.18); }
.v-3d .cube i:nth-child(5) { transform: rotateX(90deg) translateZ(40px); } .v-3d .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(40px); }
/* 共用 3D 方塊 */
.v-video { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 16px 40px; }
.screen { position: relative; height: 104px; border-radius: 12px; background: linear-gradient(135deg, #1b2a5c, #0d1430); border: 1px solid var(--line); overflow: hidden; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: rot 6s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1.5px solid var(--gold); background: rgba(242,196,109,.12); }
.cube i:nth-child(1) { transform: translateZ(27px); } .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(27px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(27px); } .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(27px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(27px); } .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(27px); }
@keyframes rot { to { transform: rotateX(-20deg) rotateY(360deg); } from { transform: rotateX(-20deg) rotateY(0); } }
.play { position: absolute; left: 16px; bottom: 12px; width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; opacity: .8; }
.timeline { position: relative; display: flex; gap: 4px; height: 16px; }
.seg { flex: 1; border-radius: 4px; }
.s1 { background: rgba(91,140,255,.55); } .s2 { background: rgba(242,196,109,.55); flex: .7; } .s3 { background: rgba(70,211,230,.55); flex: 1.3; } .s4 { background: rgba(233,238,252,.4); flex: .6; }
.head { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #ff4d4d; left: 0; animation: head 6s linear infinite; }
@keyframes head { to { left: 100%; } }

/* 10 CALC */
.v-calc { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.cur { position: relative; width: 120px; height: 52px; overflow: hidden; border-radius: 12px; background: #e9eefc; }
.cur span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; font-weight: 900; color: #14213d; opacity: 0; animation: cur 6s infinite; }
.cur span:nth-child(2) { animation-delay: 1.5s; } .cur span:nth-child(3) { animation-delay: 3s; } .cur span:nth-child(4) { animation-delay: 4.5s; }
@keyframes cur { 0% { opacity: 0; transform: translateY(100%); } 5%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-100%); } }
.copy { font-size: 13px; font-weight: 700; color: #1a1405; background: var(--gold); padding: 6px 14px; border-radius: 999px; animation: tap 3s ease-in-out infinite; }
@keyframes tap { 0%, 70%, 100% { transform: none; box-shadow: none; } 78% { transform: scale(.94); box-shadow: 0 0 0 6px rgba(242,196,109,.25); } }

/* 11 BRAND */
.v-brand { display: grid; place-items: center; }
.post { position: absolute; width: 74px; height: 100px; border-radius: 10px; background: #e9eefc; padding: 10px 9px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.4); animation: fan 4s ease-in-out infinite; }
.post i { width: 18px; height: 18px; border-radius: 50%; background: var(--gold-2); }
.post b { height: 7px; border-radius: 3px; background: #14213d; } .post b:last-child { width: 60%; background: #b9c4e4; }
.p1 { --r: -14deg; --x: -58px; } .p2 { --r: 0deg; --x: 0px; z-index: 1; } .p3 { --r: 14deg; --x: 58px; }
@keyframes fan { 0%, 15% { transform: none; } 45%, 80% { transform: translateX(var(--x)) rotate(var(--r)); } 100% { transform: none; } }

/* ---------- METHOD ---------- */
.method { padding: 110px 0 40px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; counter-reset: s; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 900; z-index: 1; }
.n { font-size: 30px; font-weight: 900; color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.steps h3 { font-size: 18px; margin: 6px 0 4px; }
.steps p { color: var(--text-2); font-size: 15px; }
.team { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-top: 64px; }
.team img { border-radius: var(--radius); border: 1px solid rgba(242,196,109,.4); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.team h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin-bottom: 8px; }
.team p { color: var(--text-2); font-size: 17px; }

/* ---------- WORKS ---------- */
.works { padding: 110px 0 40px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.work { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
a.work:hover, a.work:focus-visible { transform: translateY(-6px); border-color: rgba(242,196,109,.45); }
.work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work div { padding: 16px 20px 20px; }
.work h3 { font-size: 17px; }
a.work h3::after { content: " ↗"; color: var(--gold); }
.work p { color: var(--text-2); font-size: 14.5px; }

/* ---------- WORKS：分組＋示意動畫（♻️ 沿用成果區 .bento/.tile/.viz） ---------- */
.sub-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; margin: 56px 0 0; }
.sub-h span { font-size: 15px; color: var(--gold); font-weight: 900; letter-spacing: .1em; }
.sub-h small { font-size: 15px; font-weight: 500; color: var(--muted); }
.works .bento { margin-top: 20px; }
.bento-2 { grid-template-columns: repeat(2, 1fr); }
a.tile { text-decoration: none; color: inherit; }
.ext { font-style: normal; color: var(--gold); }
.viz.shot { background: #0d1430; }
.viz.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.viz.shot-light { background: #f4f5f7; }
.viz.shot-light img { object-fit: cover; object-position: 12% 42%; transform: scale(1.7); transform-origin: 12% 42%; } /* 流程圖四周留白多，放大到看得見節點 */
.viz.shot img[src*="rpg"] { object-position: center 28%; transform: scale(1.25); transform-origin: 50% 20%; } /* 選單只佔畫面中央，略放大並保留標題 */
@media (hover: hover) { .tile:hover .viz.shot-light img { transform: scale(1.78); } .tile:hover .viz.shot img[src*="rpg"] { transform: scale(1.3); } }
@media (hover: hover) { .tile:hover .viz.shot img { transform: scale(1.04); } }

/* YouTube 監控 */
.v-yt { padding: 18px 22px; }
.yt-list { display: flex; flex-direction: column; gap: 10px; width: 70%; }
.vid { display: flex; align-items: center; gap: 10px; animation: rowIn 4.5s ease-out infinite; opacity: 0; }
.vid b { width: 52px; height: 32px; border-radius: 6px; background: #e5484d; position: relative; flex: none; }
.vid b::after { content: ""; position: absolute; left: 21px; top: 9px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vid i { flex: 1; height: 8px; border-radius: 4px; background: rgba(233,238,252,.5); }
.v2 { animation-delay: .3s; } .v3 { animation-delay: .6s; }
.v2 i { background: var(--gold); box-shadow: 0 0 0 3px rgba(242,196,109,.2); }
.yt-hit { position: absolute; right: 18px; top: 66px; font-size: 12px; font-weight: 700; background: var(--gold); color: #1a1405; padding: 3px 10px; border-radius: 999px; animation: popIn 4.5s ease-in-out infinite; }

/* AI 新聞 */
.nc { position: absolute; left: 22px; width: 58%; height: 30px; border-radius: 8px; background: #e9eefc; display: flex; align-items: center; gap: 8px; padding: 0 10px; animation: stack 4.5s ease-in-out infinite; opacity: 0; }
.nc i { width: 16px; height: 16px; border-radius: 4px; background: var(--blue); flex: none; }
.nc b { flex: 1; height: 6px; border-radius: 3px; background: #b9c4e4; }
.n1 { top: 24px; } .n2 { top: 66px; animation-delay: .35s; } .n2 i { background: var(--gold-2); } .n3 { top: 108px; animation-delay: .7s; } .n3 i { background: var(--cyan); }
.ntags { position: absolute; right: 18px; top: 26px; display: flex; flex-direction: column; gap: 14px; }
.ntags span { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: var(--text-2); animation: fadeIn 4.5s ease-in-out infinite; }
.ntags span:nth-child(1) { border-color: var(--blue); color: #a9c1ff; }
.ntags span:nth-child(2) { border-color: var(--gold-2); color: var(--gold); animation-delay: .35s; }
.ntags span:nth-child(3) { border-color: var(--cyan); color: #9de9f3; animation-delay: .7s; }

/* 電商賣場 */
.v-shop { padding: 20px 22px; }
.goods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 82%; }
.g { background: #e9eefc; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; animation: shopIn 4s ease-in-out infinite; }
@keyframes shopIn { 0%, 100% { opacity: .35; transform: translateY(6px); } 25%, 80% { opacity: 1; transform: none; } }
.g:nth-child(2) { animation-delay: .15s; } .g:nth-child(3) { animation-delay: .3s; } .g:nth-child(4) { animation-delay: .45s; }
.g i { aspect-ratio: 1; border-radius: 4px; background: #b9c4e4; }
.g b { font-size: 12px; font-weight: 900; color: #c2410c; }
.csv { position: absolute; right: 22px; bottom: 16px; font-size: 11px; font-weight: 900; color: #fff; background: #1d7a46; padding: 4px 8px; border-radius: 6px; animation: tap 4s ease-in-out infinite; }

/* 台灣新聞：多來源 → 手機 */
.v-merge { display: flex; align-items: center; justify-content: center; gap: 22px; }
.srcs { display: flex; flex-direction: column; gap: 8px; }
.srcs i { width: 60px; height: 12px; border-radius: 4px; background: rgba(233,238,252,.6); animation: bubIn 4s ease-in-out infinite; }
.srcs i:nth-child(2) { animation-delay: .15s; width: 48px; } .srcs i:nth-child(3) { animation-delay: .3s; } .srcs i:nth-child(4) { animation-delay: .45s; width: 52px; } .srcs i:nth-child(5) { animation-delay: .6s; }
.arrow { width: 34px; height: 2px; background: var(--gold); position: relative; }
.arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 9px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.phone { width: 70px; height: 124px; border-radius: 14px; border: 2px solid #e9eefc; padding: 12px 8px; display: flex; flex-direction: column; gap: 7px; }
.phone b { height: 14px; border-radius: 4px; background: #a3123a; }
.phone i { height: 7px; border-radius: 3px; background: rgba(233,238,252,.65); transform-origin: left; animation: grow 4s ease-in-out infinite; }
.phone i:nth-child(3) { animation-delay: .2s; width: 80%; } .phone i:nth-child(4) { animation-delay: .4s; width: 60%; }

/* 小書房 */
.v-book { display: grid; place-items: center; perspective: 600px; }
.book { position: relative; display: flex; width: 170px; height: 110px; transform-style: preserve-3d; }
.pg { flex: 1; background: #f4ede0; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.pg.left { border-radius: 8px 0 0 8px; box-shadow: inset -6px 0 10px rgba(0,0,0,.12); }
.pg.right { border-radius: 0 8px 8px 0; box-shadow: inset 6px 0 10px rgba(0,0,0,.12); }
.pg i { height: 5px; border-radius: 3px; background: #b8a98c; } .pg i:last-child { width: 70%; }
.flip { position: absolute; right: 0; top: 0; width: 50%; height: 100%; background: #fbf6ec; border-radius: 0 8px 8px 0; transform-origin: left center; animation: flip 3.6s ease-in-out infinite; backface-visibility: hidden; }
@keyframes flip { 0%, 20% { transform: rotateY(0); } 60%, 100% { transform: rotateY(-180deg); } }

/* ShareLink */
.v-link { display: grid; place-items: center; }
.links2 { display: flex; flex-direction: column; gap: 10px; width: 62%; }
.links2 span { display: flex; align-items: center; gap: 8px; height: 26px; border-radius: 8px; background: #e9eefc; padding: 0 10px; animation: rowIn 4.5s ease-out infinite; opacity: 0; }
.links2 span:nth-child(2) { animation-delay: .3s; } .links2 span:nth-child(3) { animation-delay: .6s; }
.links2 span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--blue); flex: none; }
.links2 i { flex: 1; height: 6px; border-radius: 3px; background: #b9c4e4; }
.bell { position: absolute; right: 22px; top: 18px; width: 26px; height: 24px; background: var(--gold); border-radius: 13px 13px 4px 4px; transform-origin: top center; animation: ring 2.4s ease-in-out infinite; }
.bell::after { content: ""; position: absolute; left: 9px; bottom: -6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(18deg); } 72% { transform: rotate(-16deg); } 79% { transform: rotate(10deg); } 86% { transform: rotate(-6deg); } }

/* LINE 關鍵字 */
.v-kw { padding: 22px 24px; }
.chat { display: flex; flex-direction: column; gap: 12px; width: 60%; }
.chat .m { height: 24px; border-radius: 12px 12px 12px 3px; background: rgba(233,238,252,.55); }
.chat .m:nth-child(3) { width: 70%; }
.chat .hit { background: #3ddc84; display: flex; align-items: center; padding: 0 10px; animation: hit 3.4s ease-in-out infinite; }
.chat .hit b { font-size: 11px; color: #0b3d22; }
@keyframes hit { 0%, 30% { box-shadow: none; } 40%, 80% { box-shadow: 0 0 0 4px rgba(242,196,109,.7); } 100% { box-shadow: none; } }
.push { position: absolute; right: 18px; top: 50%; margin-top: -14px; font-size: 12px; font-weight: 700; color: #fff; background: #2aa3e0; padding: 5px 12px; border-radius: 999px; animation: popIn 3.4s ease-in-out infinite; }

/* PTT 追蹤器（完全動畫） */
.v-ptt { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.ptt-bar { display: flex; align-items: center; gap: 6px; }
.ptt-logo { font-size: 12px; font-weight: 900; color: #0a0f1f; background: #e9eefc; border-radius: 5px; padding: 1px 7px; margin-right: 4px; }
.chip-c { font-size: 11px; font-weight: 700; color: var(--text-2); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 1px 9px; animation: chipOn 6s infinite; }
.c-cvs { animation-delay: 2s; } .c-shop { animation-delay: 4s; }
@keyframes chipOn { 0%, 30% { background: var(--gold); color: #1a1405; border-color: var(--gold); } 34%, 100% { background: transparent; color: var(--text-2); border-color: rgba(255,255,255,.22); } }
.clock { margin-left: auto; position: relative; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--cyan); }
.clock i { position: absolute; left: 50%; top: 2px; width: 2px; height: 7px; margin-left: -1px; background: var(--cyan); transform-origin: 50% 100%; animation: spin 3s linear infinite; }
.ptt-list { display: flex; flex-direction: column; gap: 8px; }
.pst { display: flex; align-items: center; gap: 10px; height: 28px; border-radius: 8px; background: rgba(233,238,252,.08); border: 1px solid var(--line); padding: 0 10px; animation: rowIn 4.5s ease-out infinite; opacity: 0; }
.p-2 { animation-delay: .3s; } .p-3 { animation-delay: .6s; }
.pst i { flex: 1; height: 7px; border-radius: 4px; background: rgba(233,238,252,.55); }
.p-2 i { width: 80%; flex: none; } .p-3 i { width: 62%; flex: none; }
.pp { min-width: 26px; text-align: center; font-size: 11px; font-weight: 900; color: #3ddc84; }
.pp.hot { color: #fff; background: #e5484d; border-radius: 4px; }

/* n8n 流程（依實際流程節點繪製） */
.v-flow { display: grid; place-items: center; padding: 6px 10px; }
.v-flow svg { width: 100%; height: 100%; }
.v-flow .wires path { fill: none; stroke: rgba(233,238,252,.28); stroke-width: 2; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
.v-flow .nd rect { fill: #1b2752; stroke: rgba(91,140,255,.6); stroke-width: 1.2; animation: ndOn 3s ease-in-out infinite; animation-delay: var(--d); }
.v-flow .nd-if rect { stroke: var(--gold); }
.v-flow .nd-end rect { stroke: #3ddc84; }
.v-flow .nd text { fill: #e9eefc; font-size: 9.5px; font-weight: 700; text-anchor: middle; font-family: inherit; }
@keyframes ndOn { 0%, 100% { fill: #1b2752; } 8%, 22% { fill: #3a5bd9; } }
.v-flow .pkt { fill: var(--gold); filter: drop-shadow(0 0 4px rgba(242,196,109,.9)); }
.v-flow .pkt-2 { fill: var(--cyan); filter: drop-shadow(0 0 4px rgba(70,211,230,.9)); }

/* 遊戲：像素電子雞 */
.v-pet { display: flex; align-items: center; justify-content: center; gap: 26px; }
.egg { width: 96px; height: 118px; border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; background: linear-gradient(160deg, #f6a5c0, #c86b9a); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: inset -6px -8px 0 rgba(0,0,0,.12); }
.lcd { position: relative; width: 62px; height: 50px; border-radius: 6px; background: #b8d8a8; border: 3px solid #4b3b52; overflow: hidden; image-rendering: pixelated; }
.chick { position: absolute; left: 20px; bottom: 6px; width: 18px; height: 16px; background: #f2c94c; border-radius: 3px; box-shadow: 0 0 0 2px #2d3a28; animation: hop 1.2s steps(2) infinite; }
.chick .eye { position: absolute; left: 4px; top: 4px; width: 3px; height: 3px; background: #2d3a28; }
.chick .beak { position: absolute; right: -4px; top: 7px; width: 4px; height: 3px; background: #e67e22; }
@keyframes hop { 50% { transform: translateY(-7px); } }
.heart { position: absolute; width: 6px; height: 6px; background: #e5484d; transform: rotate(45deg); animation: heartUp 2.4s ease-out infinite; opacity: 0; }
.heart::before, .heart::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #e5484d; }
.heart::before { left: -3px; } .heart::after { top: -3px; }
.h1 { left: 12px; bottom: 18px; } .h2 { left: 40px; bottom: 20px; animation-delay: 1.2s; }
@keyframes heartUp { 0% { opacity: 0; transform: translateY(0) rotate(45deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px) rotate(45deg); } }
.btns { display: flex; gap: 8px; }
.btns i { width: 10px; height: 10px; border-radius: 50%; background: #4b3b52; }
.stats-pet { display: flex; flex-direction: column; gap: 12px; }
.stats-pet span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.stats-pet b { font-weight: 700; width: 28px; }
.bar { position: relative; width: 90px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0; border-radius: 5px; transform-origin: left; animation: fillUp 3s ease-in-out infinite; }
.b-food::after { background: var(--gold); } .b-joy::after { background: #f6a5c0; animation-delay: .4s; }
@keyframes fillUp { 0% { transform: scaleX(.25); } 60%, 100% { transform: scaleX(.95); } }

/* 遊戲：連線射擊 */
.v-shoot { padding: 14px 18px; background: radial-gradient(70% 90% at 70% 60%, rgba(229,72,77,.18), transparent 70%), #0d1430; }
.boss-hp { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; color: #ff8a8a; }
.boss-hp i { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.boss-hp b { display: block; height: 100%; background: linear-gradient(90deg, #e5484d, #ff8a8a); transform-origin: left; animation: hpDown 4s linear infinite; }
@keyframes hpDown { 0% { transform: scaleX(1); } 90% { transform: scaleX(.12); } 100% { transform: scaleX(1); } }
.gunner { position: absolute; left: 34px; width: 20px; height: 20px; border-radius: 5px; animation: strafe 1.6s ease-in-out infinite; }
.g-1 { top: 58px; background: var(--blue); box-shadow: 0 0 10px rgba(91,140,255,.7); }
.g-2 { top: 108px; background: var(--cyan); box-shadow: 0 0 10px rgba(70,211,230,.7); animation-delay: -.8s; }
@keyframes strafe { 50% { transform: translateY(-8px); } }
.shot-b { position: absolute; left: 60px; width: 12px; height: 4px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: fire 1s linear infinite; }
.s-1 { top: 66px; } .s-2 { top: 66px; animation-delay: .5s; }
.s-3 { top: 116px; animation-delay: .25s; background: #9de9f3; box-shadow: 0 0 8px var(--cyan); } .s-4 { top: 116px; animation-delay: .75s; background: #9de9f3; box-shadow: 0 0 8px var(--cyan); }
@keyframes fire { 0% { left: 60px; opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 100px); opacity: 0; } }
.boss { position: absolute; right: 26px; top: 56px; width: 70px; height: 74px; border-radius: 16px 16px 10px 10px; background: linear-gradient(180deg, #e5484d, #8f1f2b); animation: bossHit 1s steps(1) infinite; }
.boss i { position: absolute; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset -3px -2px 0 #111; }
.boss i:first-child { left: 14px; } .boss i:last-child { right: 14px; }
@keyframes bossHit { 0%, 85% { filter: none; } 90% { filter: brightness(1.8); } }
.coop { position: absolute; left: 18px; bottom: 10px; font-size: 11px; font-weight: 700; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }

/* ---------- ABOUT ---------- */
.about { padding: 110px 0 40px; }
.about-inner { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 28px; border: 1.5px solid rgba(242,196,109,.5); }
.about p { color: var(--text-2); font-size: 17px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { font-size: 14px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text-2); }

/* ---------- CTA ---------- */
.cta { margin-top: 100px; padding: 100px 0; text-align: center; background:
  radial-gradient(50% 80% at 50% 100%, rgba(242,196,109,.18), transparent 70%),
  radial-gradient(60% 80% at 50% 0%, rgba(91,140,255,.18), transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line); }
.cta p { color: var(--text-2); font-size: 18px; margin-bottom: 32px; }
.br-m { display: none; }
.foot { text-align: center; padding: 28px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* ---------- 捲動淡入 ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card, .row, .doc, .cap, .report, .pdf, .ok, .vid, .nc, .links2 span, .yt-hit, .push, .pst { opacity: 1; }
  .v-flow .pkt { display: none; }
  .shot-b, .heart { display: none; }
  .bar::after { transform: scaleX(.9); }
  .boss-hp b { transform: scaleX(.4); }
  .c-all { background: var(--gold); color: #1a1405; }
  .flip { display: none; }
  .post { transform: translateX(var(--x)) rotate(var(--r)); }
  .cube { transform: rotateX(-20deg) rotateY(35deg); }
  .cur span:first-child { opacity: 1; transform: none; }
  .days i { background: var(--blue); }
  .scan { display: none; }
  .wave i:nth-child(odd) { transform: scaleY(.5); }
}

/* ---------- 平板 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-photo { width: min(340px, 80%); margin-top: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-wide { grid-column: span 2; }
  .bento .tile:nth-child(11) { grid-column: span 2; } /* 2 欄時 12 格會剩 1 格空洞，讓計算機橫跨補滿 */
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .team { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 260px 1fr; gap: 36px; }
  .about-inner img { max-width: 260px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
}

/* ---------- 手機 ---------- */
@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  .fc-1 { left: -14px; } .fc-2 { right: -10px; top: -16px; } /* 移出臉部，不遮五官 */
  .float-card b { font-size: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .bento, .bento-2, .work-grid, .steps { grid-template-columns: 1fr; }
  .t-wide, .bento .tile:nth-child(11) { grid-column: auto; } /* 手機單欄：取消平板的橫跨，否則會被撐出第二欄 */
  .v-faq { padding: 0 16px; }
  .v-video { padding: 16px 20px; }
  .pain, .results, .method, .works, .about { padding-top: 80px; }
  .cta { margin-top: 72px; padding: 72px 0; }
  .br-m { display: inline; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-inner img { justify-self: center; width: min(280px, 80%); }
  .about-inner > div { text-align: left; }
}
