/* Taiwani 智慧營運方案｜特效與引導式排版（參考無限網頁設計的做法：GSAP＋ScrollTrigger）
   沒有 JS 或使用者設定「減少動態」時，所有內容照常顯示，只是不動。 */

/* ---------- 共用：捲動進度、頁首、重點螢光筆 ---------- */
.scroll-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; pointer-events: none; }
.scroll-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), #FFD36B, var(--blue)); transform-origin: 0 50%; transform: scaleX(0); }
.site-head { transition: box-shadow .25s, background .25s; }
.site-head.is-scrolled { box-shadow: 0 6px 24px rgba(11, 58, 158, .1); background: rgba(255, 255, 255, .97); }

mark, .mark { background: none; color: inherit; }
.mark { background-image: linear-gradient(120deg, rgba(255, 176, 32, .55), rgba(255, 211, 107, .55)); background-repeat: no-repeat; background-size: 100% 38%; background-position: 0 88%; padding: 0 .08em; }
.mark-light { background-image: linear-gradient(120deg, rgba(255, 176, 32, .75), rgba(255, 211, 107, .55)); }
html.fx .mark { background-size: 0% 38%; transition: background-size .9s cubic-bezier(.2, .7, .2, 1) .15s; }
html.fx .mark.is-on { background-size: 100% 38%; }

/* 進場前的狀態（只在 JS 正常載入時套用） */
html.fx [data-reveal], html.fx [data-stagger] > *, html.fx [data-hero] { opacity: 0; transform: translateY(26px); }
html.fx .hero-fx h1 .line > span { transform: translateY(110%); }
html.fx .hero-fx h1[data-hero] { opacity: 1; transform: none; }

.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; border-radius: 12px; }
.magnetic { will-change: transform; }
.center { text-align: center; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- 英雄區 ---------- */
.hero-fx { padding: 88px 0 120px; background: #072a78; isolation: isolate; }
.hero-fx::after { display: none; }
.aurora { position: absolute; inset: -20%; z-index: -1; filter: blur(60px); opacity: .9; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 55vw; height: 55vw; left: 2%; top: 8%; background: radial-gradient(closest-side, #1769E8, transparent 70%); }
.aurora i:nth-child(2) { width: 45vw; height: 45vw; right: 0; top: -6%; background: radial-gradient(closest-side, #3FB4FF, transparent 70%); animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; right: 18%; bottom: 0; background: radial-gradient(closest-side, rgba(255, 176, 32, .55), transparent 70%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6%, 4%, 0) scale(1.12); } 100% { transform: translate3d(-5%, -3%, 0) scale(.95); } }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.hero-fx h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.22; letter-spacing: .01em; }
.hero-fx h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-fx h1 .line > span { display: inline-block; }
.mark-hero { color: #fff; background: linear-gradient(90deg, #FFD36B, var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; }
.mark-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 99px; background: linear-gradient(90deg, #FFD36B, var(--amber)); transform-origin: 0 50%; }
html.fx .mark-hero::after { transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .7, .2, 1) 1s; }
html.fx .hero-fx.is-in .mark-hero::after { transform: scaleX(1); }
.pill-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgba(255, 255, 255, .88); font-size: 15px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: #7EE2A8; }

.hero-stage { position: relative; }
.stage-img { will-change: transform; }
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); text-decoration: none; box-shadow: 0 16px 36px rgba(4, 22, 70, .3); font-size: 13px; line-height: 1.3; will-change: transform; transition: box-shadow .2s; }
.float-chip:hover { box-shadow: 0 20px 44px rgba(4, 22, 70, .42); }
.float-chip b { display: block; color: var(--navy); font-size: 14px; }
.float-chip small { color: var(--muted); }
.float-chip > span:last-child { animation: bob 5s ease-in-out infinite; }
.icon-dot-xs { width: 34px; height: 34px; }
.icon-dot-xs .ic { width: 19px; height: 19px; }
.float-chip.c1 { top: -18px; left: -22px; }
.float-chip.c2 { top: 22%; right: -30px; }
.float-chip.c3 { bottom: 26%; left: -46px; }
.float-chip.c4 { bottom: -18px; right: 6%; }
.hero-fx .hero-art .scene.has-img .mini { left: auto; right: -14px; bottom: 18%; width: min(46%, 240px); }
@keyframes bob { 50% { transform: translateY(-3px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 74px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 重點數字 ---------- */
.highlights { position: relative; z-index: 2; margin-top: -56px; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 58, 158, .16); border: 1px solid var(--line); overflow: hidden; }
.hl-item { padding: 26px 24px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.hl-item + .hl-item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; border-left: 1px solid var(--line); }
.hl-item strong { font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--navy); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hl-item strong small { font-size: 17px; font-weight: 700; margin-left: 4px; color: var(--blue); }
.hl-word { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hl-item > span { color: var(--muted); font-size: 15px; }

/* ---------- 導覽軌（右側） ---------- */
.journey { position: fixed; right: 18px; top: 50%; z-index: 30; display: flex; flex-direction: column; gap: 6px; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .3s; }
.journey.is-show { opacity: 1; pointer-events: auto; }
.journey a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.journey a i { order: 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #B8CBEA; background: rgba(255, 255, 255, .9); font-style: normal; font-size: 12px; transition: all .25s; }
.journey a span { opacity: 0; transform: translateX(6px); transition: all .25s; background: rgba(255, 255, 255, .95); padding: 2px 8px; border-radius: 6px; box-shadow: var(--shadow); }
.journey:hover a span, .journey a.is-active span { opacity: 1; transform: none; }
.journey a.is-active i { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 4px rgba(23, 105, 232, .18); }
.journey a.is-done i { background: var(--sky); border-color: var(--blue); color: var(--blue); }
.journey.on-dark a span { background: rgba(255, 255, 255, .95); }

/* ---------- 段落標頭、下一步 ---------- */
.step-head { max-width: 760px; margin-bottom: 40px; }
.step-no { display: inline-flex; align-items: baseline; gap: 4px; color: var(--blue); font-weight: 800; font-size: 14px; letter-spacing: .06em; margin-bottom: 10px; }
.step-no b { font-size: 30px; line-height: 1; letter-spacing: 0; }
.step-no i { font-style: normal; color: #9DB3DA; margin-right: 8px; }
.step-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.step-head p { color: var(--muted); font-size: 18px; margin: 0; }
.step-head.on-dark h2 { color: #fff; }
.step-head.on-dark p { color: rgba(255, 255, 255, .82); }
.step-head.on-dark .step-no { color: #8FC2FF; }
.step-head.on-dark .step-no i { color: rgba(255, 255, 255, .4); }
.next-step { display: flex; width: max-content; margin: 44px auto 0; align-items: center; gap: 10px; padding: 10px 14px 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--muted); font-size: 14px; transition: transform .2s, box-shadow .2s; }
.next-step b { color: var(--navy); font-size: 16px; }
.next-step .ic { color: var(--blue); transform: rotate(90deg); animation: nudge 1.6s ease-in-out infinite; }
.next-step:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 58, 158, .16); }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(4px); } }

/* ---------- 01 困擾：左側固定索引、右側卡片 ---------- */
.section-pain { padding-top: 96px; }
.pain-layout { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.pain-side { position: sticky; top: 110px; }
.pain-index { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.pain-index li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 700; transition: all .3s; }
.pain-index li span { font-size: 13px; color: #9DB3DA; transition: color .3s; }
.pain-index li.is-active { background: var(--sky); color: var(--navy); }
.pain-index li.is-active span { color: var(--blue); }
.pain-list { display: grid; gap: 28px; }
.pain-card { display: grid; grid-template-columns: 1fr 1.05fr; grid-template-areas: "q art" "a art"; gap: 18px 28px; padding: 28px; align-items: start; }
.pain-q { grid-area: q; } .pain-a { grid-area: a; align-self: end; } .pain-card .pain-art { grid-area: art; }
.pain-q { display: flex; gap: 16px; align-items: flex-start; }
.pain-q .num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #FFF4DC; color: #8A5A00; font-weight: 800; }
.pain-q h3 { font-size: 22px; margin-bottom: 2px; }
.pain-q p { margin: 0; }
.pain-a { border-left: 4px solid var(--blue); background: linear-gradient(90deg, var(--sky), rgba(233, 241, 254, 0)); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.after-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--blue); padding: 2px 10px; border-radius: 99px; margin-bottom: 6px; }
.pain-a p { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.pain-a .fix { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.pain-a .fix .ic { width: 20px; height: 20px; }
.pain-card .pain-art .scene.has-img .mini { right: 10px; }

/* ---------- 02 四套工具：橫向捲動 ---------- */
.section-tools { background: radial-gradient(1200px 600px at 80% 0%, #1453C4 0%, transparent 60%), #06246A; color: #fff; overflow: hidden; }
.tools-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tools-intro .step-head { margin-bottom: 28px; }
.tools-track { display: flex; gap: 28px; padding: 0 max(20px, calc((100vw - 1160px) / 2)); will-change: transform; }
.tool-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 40px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(4px); }
.tool-no { display: block; font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); margin-bottom: 12px; }
.tool-panel h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 6px; }
.tool-one { color: rgba(255, 255, 255, .88); font-size: 18px; }
.tool-keys { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.tool-keys li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .8); font-size: 15px; }
.tool-keys li .ic { flex: none; margin-top: 4px; color: #7EE2A8; }
.tool-keys b { display: block; color: #fff; font-size: 16px; }
.tool-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); }
.tool-price { color: rgba(255, 255, 255, .8); }
.tool-price b { color: #FFD36B; font-size: 26px; }
.tool-art .scene.has-img .scene-img { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* ---------- 03 串起來：線條描繪 ---------- */
.flow-fx { position: relative; }
.flow-line { position: absolute; left: 0; right: 0; top: 6px; width: 100%; height: 40px; pointer-events: none; }
.flow-line path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 760; stroke-dashoffset: 0; }
html.fx .flow-line path { stroke-dashoffset: 760; }
.flow-steps li + li::before { border-top-color: #C9D8F2; }
.flow-steps li .icon-dot { transition: background .4s, color .4s, transform .4s, box-shadow .4s; }
.flow-steps li.is-on .icon-dot { background: var(--blue); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(23, 105, 232, .14); }

/* ---------- 04 資料安全 ---------- */
.safe-grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.safe-card { display: flex; flex-direction: column; gap: 8px; transform-style: preserve-3d; transition: box-shadow .25s; }
.safe-card strong { color: var(--navy); font-size: 18px; margin-top: 6px; }
.safe-card span:last-child { color: var(--muted); font-size: 15px; }
[data-tilt] { will-change: transform; }
[data-tilt]:hover { box-shadow: 0 18px 40px rgba(11, 58, 158, .16); }

/* ---------- 05 方案價格 ---------- */
.deal-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 28px; }
.deal { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; background: #FFF4DC; color: #8A5A00; font-weight: 800; font-size: 15px; border: 1px dashed #F2C266; }
.price-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.price-mini { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); transition: box-shadow .25s, border-color .25s; }
.price-mini:hover { border-color: var(--blue); }
.price-mini > b { color: var(--navy); font-size: 17px; margin-top: 6px; }
.pm-num { font-size: 36px; font-weight: 800; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pm-num small { font-size: 14px; color: var(--muted); font-weight: 700; margin: 0 2px; }
.pm-plans { color: var(--muted); font-size: 14px; }

/* ---------- 06 開始使用 ---------- */
.section-start { position: relative; overflow: hidden; background: #072a78; color: #fff; isolation: isolate; padding: 96px 0; }
.aurora-soft { opacity: .6; }
.start-steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.start-steps li { position: relative; padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.start-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: #3b2600; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.start-steps h3 { color: #fff; }
.start-steps p { color: rgba(255, 255, 255, .8); margin: 0; }
.center-cta { justify-content: center; margin: 0 0 40px; }
.xiaoyi-glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); margin-top: 0; }
.xiaoyi-glass h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.xiaoyi-glass .bot { animation: bob 4s ease-in-out infinite; }

/* 手機底部固定按鈕 */
.mobile-cta { display: none; }

/* ---------- 產品頁、價格頁共用：重點一覽 ---------- */
.keybox { position: relative; z-index: 2; margin-top: -44px; }
.keybox-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 58, 158, .14); overflow: hidden; }
.keybox-in > div { padding: 22px 22px; position: relative; }
.keybox-in > div + div::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; border-left: 1px solid var(--line); }
.keybox-title { background: var(--sky); }
.keybox-title b { display: block; color: var(--navy); font-size: 18px; }
.keybox-title span { color: var(--muted); font-size: 14px; }
.keybox-in .k-label { display: flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .04em; margin-bottom: 4px; }
.keybox-in .k-label .ic { width: 16px; height: 16px; }
.keybox-in p { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.5; }
.benefit-grid .benefit:nth-child(-n+3) { border-color: #B8CBEA; }
.benefit-grid .benefit:nth-child(-n+3) .icon-dot { background: var(--blue); color: #fff; }
.benefit .top-tag { display: inline-block; font-size: 12px; font-weight: 800; color: #8A5A00; background: #FFF4DC; padding: 1px 8px; border-radius: 99px; margin-bottom: 4px; }

/* ---------- 響應式 ---------- */
@media (max-width: 1180px) { .journey { display: none; } }
@media (max-width: 980px) {
  .pain-layout { grid-template-columns: 1fr; gap: 8px; }
  .pain-side { position: static; }
  .pain-index { display: none; }
  .pain-card { grid-template-columns: 1fr; grid-template-areas: "q" "art" "a"; }
  .tools-track { flex-direction: column; padding: 0 20px; }
  .tool-panel { width: 100%; grid-template-columns: 1fr; padding: 26px; }
  .tool-art { order: -1; }
  .safe-grid, .price-row { grid-template-columns: 1fr 1fr; }
  .keybox-in { grid-template-columns: 1fr 1fr; }
  .keybox-in > div:nth-child(3)::before { display: none; }
}
@media (max-width: 720px) {
  .hero-fx { padding: 48px 0 96px; }
  .hero-stage { margin-top: 20px; }
  .float-chip { padding: 6px 10px 6px 6px; font-size: 12px; }
  .float-chip small { display: none; }
  .float-chip.c1 { left: -6px; top: -14px; } .float-chip.c2 { right: -6px; } .float-chip.c3 { left: -6px; } .float-chip.c4 { right: 4px; }
  .hero-fx .hero-art .scene.has-img .mini { display: none; }
  .scroll-cue { display: none; }
  .hl-grid { grid-template-columns: 1fr 1fr; }
  .hl-item:nth-child(3)::before { display: none; }
  .hl-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hl-item strong { font-size: 32px; }
  .start-steps { grid-template-columns: 1fr; }
  .safe-grid, .price-row { grid-template-columns: 1fr; }
  .keybox-in { grid-template-columns: 1fr; }
  .keybox-in > div + div::before { display: none; }
  .keybox-in > div + div { border-top: 1px solid var(--line); }
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35; transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .mobile-cta.is-show { transform: none; }
  .mobile-cta .btn { box-shadow: 0 12px 30px rgba(11, 58, 158, .35); }
  .site-foot { padding-bottom: 84px; }
  .next-step { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .live-dot, .float-chip > span:last-child, .scroll-cue span, .next-step .ic, .xiaoyi-glass .bot { animation: none !important; }
}

@media (max-width: 960px) { .flow-line { display: none; } }
.stage-img .scene.has-img { padding-bottom: 0; }
.stage-img .scene-img { border-radius: 20px; box-shadow: 0 30px 70px rgba(2, 16, 60, .45); }
@media (min-width: 981px) {
  .tools-intro .step-head { margin-bottom: 18px; }
  .tools-intro .step-head h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 4px; }
  .tool-panel { padding: 30px 36px; }
  .tool-no { font-size: 48px; margin-bottom: 6px; }
  .tool-one { margin-bottom: 12px; }
  .tool-keys { gap: 6px; margin-bottom: 14px; }
  .tool-keys li { font-size: 14px; }
}
.journey.is-muted { opacity: .35; } .journey.is-muted:hover { opacity: 1; } .journey.is-muted a span { opacity: 0 !important; } .journey.is-muted:hover a span { opacity: 1 !important; }
@media (max-width: 720px) {
  .safe-grid, .price-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .safe-card, .price-mini { padding: 16px; }
  .safe-card strong { font-size: 16px; }
  .safe-card span:last-child, .pm-plans { font-size: 13px; }
  .pm-num { font-size: 26px; }
  .hl-item { padding: 18px 16px; }
  .hl-item strong { font-size: 28px; }
  .hl-item strong small { font-size: 14px; }
  .step-head { margin-bottom: 26px; }
  .tool-no { font-size: 40px; }
}
.hero-fx-lite { background: #072a78; isolation: isolate; padding-bottom: 96px; }
.hero-fx-lite::after { display: none; }
.hero-fx-lite .lead { font-size: 20px; font-weight: 700; color: #fff; }

/* 05 組合優惠 */
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.deal-card { display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; padding: 30px 22px; border: 1.5px dashed #F2C266; background: linear-gradient(180deg, #FFFBF1, #fff); }
.deal-big { font-size: 64px; font-weight: 800; line-height: 1; color: #C27C00; letter-spacing: -.02em; }
.deal-big small { font-size: 20px; margin-left: 4px; letter-spacing: 0; }
.deal-card b { color: var(--navy); font-size: 19px; }
.deal-card .muted { font-size: 15px; }
.tool-price b { font-size: 16px; }
@media (max-width: 720px) { .deal-grid { grid-template-columns: 1fr; } .deal-big { font-size: 52px; } }

/* ===== 精簡排版（減字、加留白） ===== */
.section { padding: 112px 0; }
.section.section-tight { padding: 40px 0 72px; }   /* 內頁（立即開始、方案、我的方案、開始設定）緊接標題，不用首頁的大留白 */
.step-head { margin-bottom: 52px; }
.step-no { gap: 10px; align-items: center; }
.step-no b { font-size: 15px; padding: 3px 10px; border-radius: 99px; background: var(--sky); color: var(--blue); }
.step-head.on-dark .step-no b { background: rgba(255, 255, 255, .14); color: #CFE3FF; }
.step-head h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.25; text-wrap: balance; margin: 0; }
.next-step { margin-top: 64px; }

/* 英雄區：少字、小標籤收進圖內 */
.hero-fx { padding: 104px 0 140px; }
.hero-fx .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
.hero-fx h1 { font-size: clamp(34px, 4.6vw, 58px); }
.hero-fx .lead { font-size: clamp(17px, 1.6vw, 20px); margin: 18px 0 0; }
.hero-fx .hero-cta { margin-top: 36px; }
.float-chip { padding: 8px 14px 8px 8px; }
.float-chip.c1 { top: -16px; left: 4%; }
.float-chip.c2 { top: 30%; right: -10px; }
.float-chip.c3 { bottom: 30%; left: -16px; }
.float-chip.c4 { bottom: -18px; right: 8%; }

/* 重點數字 */
.hl-item { padding: 30px 28px; }

/* 01 困擾：2x2 */
.pain-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pain-card2 { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.pain-card2:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(11, 58, 158, .16); }
.pain-card2 .pain-art { background: var(--sky); }
.pain-card2 .scene-img { border-radius: 0; box-shadow: none !important; aspect-ratio: 16 / 9; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pain-card2:hover .scene-img { transform: scale(1.04); }
.pain-card2 .pain-art { overflow: hidden; }
.pain-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.pain-body h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin: 0; }
.pain-body .num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #FFF4DC; color: #8A5A00; font-size: 15px; font-weight: 800; }
.pain-after { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink); font-size: 16px; }
.pain-after .ic { flex: none; margin-top: 4px; color: var(--blue); }
.pain-body .fix { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 15px; }
.pain-body .fix .ic { width: 20px; height: 20px; }

/* 02 四套工具：每點只留一行 */
.tool-keys { gap: 12px; margin-bottom: 26px; }
.tool-keys li { align-items: center; font-size: 17px; }
.tool-keys li .ic { margin-top: 0; }
.tool-keys b { display: inline; font-size: 17px; font-weight: 700; }
.tool-one { font-size: 19px; margin-bottom: 22px; }
.tool-foot { border-top: 0; padding-top: 0; }

/* 03 流程、04 安全、05 優惠、06 開始 */
.flow-steps p { font-size: 15px; }
.safe-grid { gap: 22px; }
.safe-card { padding: 28px; gap: 10px; }
.deal-grid { gap: 22px; margin-bottom: 36px; }
.deal-card { padding: 36px 24px; gap: 8px; }
.start-steps { gap: 22px; margin-bottom: 44px; }
.start-steps li { padding: 30px; }
.start-steps p { font-size: 15px; }
.section-start { padding: 120px 0; }

@media (max-width: 1100px) {
  .hero-fx .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stage { max-width: 620px; margin-inline: auto; width: 100%; }
}
@media (max-width: 980px) {
  .pain-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-start { padding: 80px 0; }
  .step-head { margin-bottom: 32px; }
  .hero-fx { padding: 56px 0 100px; }
  .float-chip.c1 { left: 2%; } .float-chip.c2 { right: -4px; } .float-chip.c3 { left: -4px; } .float-chip.c4 { right: 4%; }
  .pain-body { padding: 20px; }
  .pain-body h3 { font-size: 19px; }
  .tool-keys li, .tool-keys b { font-size: 15px; }
}
@media (max-width: 960px) { .hero-fx .hero-art { display: block; } }
.keybox-3 { grid-template-columns: repeat(3, 1fr); }
.keybox-3 > div { padding: 26px 30px; }
.keybox-3 p { font-size: 18px; }
.benefit-top { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-top .benefit { flex-direction: column; padding: 28px; }
.benefit-top .icon-dot { background: var(--blue); color: #fff; }
.benefit-more { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.benefit-more li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--sky); color: var(--navy); font-weight: 700; font-size: 15px; }
.benefit-more .ic { color: var(--blue); }
@media (max-width: 980px) { .keybox-3, .benefit-top { grid-template-columns: 1fr; } .keybox-3 > div + div::before { display: none; } .keybox-3 > div + div { border-top: 1px solid var(--line); } }
@media (max-width: 720px) {
  .deal-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .deal-card { padding: 20px 8px; }
  .deal-big { font-size: 34px; }
  .deal-big small { font-size: 13px; display: block; margin: 4px 0 0; }
  .deal-card b { font-size: 14px; }
  .deal-card .muted { display: none; }
}
.hero-fx .hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero-fx h1 { font-size: clamp(30px, 4.1vw, 56px); }
.hero-fx h1 .line { white-space: nowrap; }
@media (max-width: 1100px) { .hero-fx .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .hero-fx h1 { font-size: 28px; } }

/* ===== 情境圖動畫層（inc/scene_fx.php）：小、慢、淡 ===== */
.art-box { position: relative; display: block; }
.art-box .scene-img { display: block; }
.fx-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fx-layer * { transform-box: view-box; }
.art-box:not(.is-in) .fx-layer * { animation-play-state: paused !important; }
.fx-steam { fill: none; stroke: #A9BEE2; stroke-width: 4; stroke-linecap: round; opacity: 0; animation: fxSteam 3.4s ease-in-out infinite; }
@keyframes fxSteam { 0% { opacity: 0; transform: translateY(8px); } 35% { opacity: .75; } 100% { opacity: 0; transform: translateY(-26px); } }
.fx-dot-core { fill: #1769E8; stroke: #fff; stroke-width: 2.5; }
.fx-dot-glow { fill: rgba(23, 105, 232, .22); }
.fx-env { fill: #2B7BF0; }
.fx-env-line { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fx-post { fill: #fff; stroke: #C9D8F2; stroke-width: 1.5; }
.fx-post-img { fill: #FFC24D; }
.fx-post-txt { fill: #9DB3DA; }
.fx-bubble { fill: #1769E8; }
.fx-bubble-txt { fill: rgba(255, 255, 255, .85); }
.fx-glow { fill: rgba(255, 176, 32, .38); opacity: 0; animation: fxGlow 3.2s ease-in-out infinite; }
@keyframes fxGlow { 0%, 100% { opacity: 0; } 40%, 60% { opacity: 1; } }
.fx-tick { stroke: #1769E8; stroke-width: 3; stroke-linecap: round; opacity: 0; animation: fxTick .9s ease-in-out infinite; }
@keyframes fxTick { 0%, 100% { opacity: 0; transform: translateY(2px); } 35% { opacity: .85; transform: translateY(0); } 60% { opacity: 0; } }
.fx-scan { fill: rgba(23, 105, 232, .3); opacity: 0; animation: fxScan 3s ease-in-out infinite; }
@keyframes fxScan { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 80% { opacity: 1; transform: translateY(42px); } 100% { opacity: 0; transform: translateY(46px); } }
.fx-row { fill: rgba(23, 105, 232, .1); stroke: rgba(23, 105, 232, .55); stroke-width: 2; opacity: 0; animation: fxRow 4.5s ease-in-out infinite; }
@keyframes fxRow { 0% { opacity: 0; transform: translateY(0); } 8%, 28% { opacity: 1; transform: translateY(0); } 36%, 61% { opacity: 1; transform: translateY(53px); } 69%, 90% { opacity: 1; transform: translateY(106px); } 100% { opacity: 0; transform: translateY(106px); } }
.fx-pop { opacity: 0; animation: fxPop 4.2s ease-out infinite; }
@keyframes fxPop { 0% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1.04); } 15% { transform: scale(1); } 72% { opacity: 1; transform: scale(1); } 85%, 100% { opacity: 0; transform: scale(1); } }
.fx-bounce { fill: #8FBAF0; animation: fxBounce 1.2s ease-in-out infinite; }
@keyframes fxBounce { 0%, 60%, 100% { transform: translateY(0); fill: #8FBAF0; } 30% { transform: translateY(-5px); fill: #4F8EF0; } }
.fx-ring { fill: none; stroke: #1769E8; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: fxRing 2.6s ease-out infinite; }
.fx-ring-amber { stroke: #FFB020; stroke-width: 4; }
.fx-ring-slow { stroke-width: 3; animation-duration: 4.2s; }
@keyframes fxRing { 0% { opacity: 0; transform: scale(1); } 12% { opacity: .8; } 100% { opacity: 0; transform: scale(1.3); } }
.fx-ring-step { stroke: #FFB020; stroke-width: 5; animation: fxStep 3.6s ease-in-out infinite; }
@keyframes fxStep { 0% { opacity: 0; transform: scale(.94); } 10% { opacity: .9; transform: scale(1); } 28% { opacity: 0; transform: scale(1.08); } 100% { opacity: 0; } }
.fx-blink { fill: #FFB020; animation: fxBlink 1.8s ease-in-out infinite; }
@keyframes fxBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.fx-cell { fill: rgba(255, 176, 32, .32); stroke: #FFB020; stroke-width: 2; opacity: 0; animation: fxCell 3.6s ease-in-out infinite; }
@keyframes fxCell { 0% { opacity: 0; } 12%, 40% { opacity: 1; } 55%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fx-layer { display: none; } }

/* 困擾卡：照原圖比例，動畫才對得準；放大效果放在整個圖框 */
.pain-card2 .scene-img { aspect-ratio: auto; height: auto; }
.pain-card2:hover .scene-img { transform: none; }
.pain-card2 .art-box { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pain-card2:hover .art-box { transform: scale(1.03); }
.art-box .scene-img { aspect-ratio: auto; height: auto; object-fit: fill; }
.fx-dot-core { r: 7; }
.fx-type { transform-box: fill-box; transform-origin: left center; animation: fxType 4s steps(1, end) infinite; }
@keyframes fxType { 0% { transform: scaleX(0); } 8% { transform: scaleX(.12); } 16% { transform: scaleX(.26); } 24% { transform: scaleX(.38); } 32% { transform: scaleX(.52); } 40% { transform: scaleX(.63); } 48% { transform: scaleX(.78); } 56%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.fx-caret { animation: fxCaret 4s steps(1, end) infinite; }
@keyframes fxCaret { 0% { transform: translateX(0); opacity: 1; } 8% { transform: translateX(13px); } 16% { transform: translateX(29px); } 24% { transform: translateX(42px); } 32% { transform: translateX(57px); } 40% { transform: translateX(69px); } 48% { transform: translateX(86px); } 56% { transform: translateX(112px); opacity: 1; } 62% { opacity: 0; } 68% { opacity: 1; } 74% { opacity: 0; } 80% { opacity: 1; } 86% { opacity: 0; } 92%, 100% { transform: translateX(112px); opacity: 0; } }
@keyframes fxRow { 0% { opacity: 0; transform: translate(0, 0); } 8%, 28% { opacity: 1; transform: translate(0, 0); } 36%, 61% { opacity: 1; transform: translate(-13px, 55px); } 69%, 90% { opacity: 1; transform: translate(-26px, 111px); } 100% { opacity: 0; transform: translate(-26px, 111px); } }
.journey.is-muted, .journey.is-muted:hover { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .tool-art .scene.has-img .mini { display: none; } .tool-art .scene.has-img { padding-bottom: 0; } }

/* ===== 02 四套工具：往下捲卡片一張張疊上來（取代左右輪播） ===== */
.section-tools { overflow: clip; padding: 104px 0 64px; }
.tools-stack { display: flex; flex-direction: column; gap: 36px; padding-bottom: 32px; }
.tools-stack .tool-panel { position: sticky; top: calc(100px + var(--i) * 18px); width: 100%; flex: none; transform-origin: 50% 0; background: linear-gradient(160deg, #1D52BE 0%, #10388F 100%); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 -12px 40px rgba(2, 14, 50, .35); backdrop-filter: none; will-change: transform; }
.tool-no small { font-size: 18px; -webkit-text-stroke: 0; color: rgba(255, 255, 255, .35); margin-left: 6px; }
@media (max-width: 980px) {
  .tools-stack { gap: 20px; }
  .tools-stack .tool-panel { position: static; box-shadow: none; }
}

/* 疊卡：被蓋住的卡片用深色罩變暗（不改透明度，後面的卡才不會透出來） */
.tools-stack .tool-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #04154a; opacity: var(--dim, 0); pointer-events: none; }

/* ===== 05 組合優惠：藍色優惠區＋優惠券 ===== */
.deal-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; background: linear-gradient(135deg, #0B3A9E 0%, #1453C4 55%, #1769E8 100%); color: #fff; box-shadow: 0 30px 70px rgba(11, 58, 158, .28); margin-bottom: 8px; }
.deal-panel .aurora { inset: -30%; }
.deal-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.deal-tag .ic { color: #FFD36B; }
.deal-copy h3 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; margin: 18px 0 10px; }
.deal-hl { background: linear-gradient(90deg, #FFD36B, var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.deal-copy p { color: rgba(255, 255, 255, .85); font-size: 18px; margin: 0 0 28px; }
.deal-tickets { display: grid; gap: 16px; }
.ticket { --cut: 128px; position: relative; display: grid; grid-template-columns: var(--cut) 1fr; min-height: 104px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(2, 16, 60, .3); transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  -webkit-mask: radial-gradient(circle 11px at var(--cut) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at var(--cut) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 11px at var(--cut) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at var(--cut) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.ticket:hover { transform: translateY(-4px) rotate(-.4deg); }
.t-main { position: relative; overflow: hidden; display: flex; align-items: baseline; justify-content: center; gap: 2px; padding: 24px 8px; background: linear-gradient(135deg, #FFD36B 0%, #FFB020 60%, #F59A0B 100%); color: #3B2600; border-radius: 18px 0 0 18px; }
.t-main b { font-size: 50px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.t-main small { font-size: 17px; font-weight: 800; }
.t-main .t-pre { margin-right: 2px; }
.t-main::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); animation: tShine 5s ease-in-out infinite; }
.ticket:nth-child(2) .t-main::after { animation-delay: 1.2s; }
.ticket:nth-child(3) .t-main::after { animation-delay: 2.4s; }
@keyframes tShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.t-side { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 18px 26px; border-left: 2px dashed #F2C266; }
.t-side b { color: var(--navy); font-size: 21px; }
.t-side small { color: var(--muted); font-size: 15px; }
#price .center { margin-top: 0; }
@media (max-width: 980px) { .deal-panel { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; } }
@media (max-width: 720px) {
  .deal-panel { padding: 32px 18px; border-radius: 22px; }
  .ticket { --cut: 104px; min-height: 88px; }
  .t-main b { font-size: 40px; }
  .t-side { padding: 14px 16px; }
  .t-side b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .t-main::after { animation: none; display: none; } }
@media (max-width: 980px) { .tools-stack .tool-panel { position: relative; } }
.deal-tickets { filter: drop-shadow(0 14px 26px rgba(2, 16, 60, .28)); }
.ticket { box-shadow: none; }
.fx-scan-tab { animation-name: fxScanTab; }
@keyframes fxScanTab { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 80% { opacity: 1; transform: translate(22px, 42px); } 100% { opacity: 0; transform: translate(23px, 45px); } }
.fx-msg-glow { fill: none; stroke: #FFB020; stroke-width: 3; opacity: 0; animation: fxMsgGlow 3s ease-in-out infinite; }
@keyframes fxMsgGlow { 0%, 55%, 100% { opacity: 0; } 70% { opacity: .9; } 85% { opacity: 0; } }
.fx-msg-dot { fill: #fff; transform-box: fill-box; animation: fxMsgDot 1.2s ease-in-out infinite; }
@keyframes fxMsgDot { 0%, 60%, 100% { transform: translateY(0); opacity: .75; } 30% { transform: translateY(-4px); opacity: 1; } }
/* 平板對話框外框：和收件匣那一列的框同樣樣式（淡底＋細框，貼著框） */
.fx-msg-glow { fill: rgba(255, 176, 32, .12); stroke: rgba(226, 140, 0, .6); stroke-width: 2; opacity: 0; animation: fxMsgGlow 3.6s ease-in-out infinite; }
@keyframes fxMsgGlow { 0%, 100% { opacity: 0; } 15%, 70% { opacity: 1; } 85% { opacity: 0; } }
