/* ==========================================================================
   LuLuDu 企業 AI 落地 landing page — /ai/
   設計母題：logo 的三片斜切面板（約 -22°）、LuLuDu 三色、深藏青段落
   ========================================================================== */

:root {
  --ink: #0f2330;
  --ink-2: #45525a;
  --muted: #7c868c;
  --line: rgba(15, 35, 48, .1);
  --line-strong: rgba(15, 35, 48, .2);

  --navy: #0d3c50;
  --navy-2: #082b3a;
  --blue: #45cbfc;
  --blue-2: #1aa3e8;
  --green: #62b025;
  --green-2: #78cc31;
  --yellow: #f8de1a;
  --mint: #6fd2b0;
  --mint-2: #37b98e;

  --bg: #fff;
  --bg-soft: #f4f8fa;

  --radius-lg: 40px;
  --radius-md: 24px;
  --header-h: 76px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --font: "Outfit", "Noto Sans TC", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Lenis（官方 lenis.css 的必要規則） ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i .fill, .i.star { fill: currentColor; stroke: none; }

/* 進場前先藏起來；JS 失敗或使用者要求減少動態時一律顯示 */
.js [data-hero], .js [data-reveal] { visibility: hidden; }
.no-anim [data-hero], .no-anim [data-reveal],
.reveal-fallback [data-hero], .reveal-fallback [data-reveal] { visibility: visible !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-hero], .js [data-reveal] { visibility: visible; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-sweep: linear-gradient(90deg, var(--blue-2), var(--green-2));
  position: relative;
  display: inline-flex; align-items: center; gap: .55em;
  padding: 1em 1.55em;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-sweep);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(13, 60, 80, .55); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform .45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { font-size: 15px; padding: .8em 1.2em; }
.btn--ghost {
  --btn-bg: #fff; --btn-fg: var(--ink);
  --btn-sweep: var(--yellow);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 16px 32px -18px rgba(13, 60, 80, .45); }
.btn--copy { font-family: "Outfit", var(--font); font-weight: 600; letter-spacing: .01em; }
.btn--copy .i-done { display: none; color: var(--green); }
.btn--copy.is-copied .i-copy { display: none; }
.btn--copy.is-copied .i-done { display: block; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: transform .5s var(--ease-out), background-color .35s, box-shadow .35s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:focus-within { transform: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { width: auto; height: 46px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--ink-2); text-decoration: none; transition: color .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .brand img { height: 38px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(36px, 8vh, 104px)) 0 clamp(150px, 20vh, 220px);
  overflow: clip;
  background:
    radial-gradient(60vw 60vw at 94% 6%, rgba(69, 203, 252, .18), transparent 62%),
    radial-gradient(46vw 46vw at -4% 104%, rgba(248, 222, 26, .16), transparent 62%),
    #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15, 35, 48, .13) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 74% 42%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 58% at 74% 42%, #000 18%, transparent 72%);
}
.hero__inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-2); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(120, 204, 49, .55); }
  70% { box-shadow: 0 0 0 12px rgba(120, 204, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(120, 204, 49, 0); }
}

.hero__title {
  margin: .22em 0 .32em;
  font-size: clamp(40px, 13.4vw, 96px);
  font-weight: 900; line-height: 1.08; letter-spacing: -.03em;
}
@media (min-width: 1024px) { .hero__title { font-size: clamp(96px, 10.2vw, 172px); } }
.hero__title .line { display: block; white-space: nowrap; }

/* 逐字遮罩 */
.ch { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em 0 .08em; margin: -.04em 0 -.08em; }
.ch__i { display: inline-block; }

/* 螢光筆底線：斜切＋ LuLuDu 三色 */
.hl { position: relative; display: inline-block; z-index: 0; --hl: 1; }
.hl::before {
  content: ""; position: absolute; z-index: -1;
  left: -.04em; right: -.04em; bottom: .1em; height: .36em;
  border-radius: .06em;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--green-2) 52%, var(--blue) 100%);
  transform: skewX(-14deg) scaleX(var(--hl));
  transform-origin: 0 50%;
}
.js .hl { --hl: 0; }
.no-anim .hl, .reveal-fallback .hl { --hl: 1 !important; }
@media (prefers-reduced-motion: reduce) { .js .hl { --hl: 1; } }

/* 旋轉徽章 */
.badge-spin { display: inline-block; width: 1em; height: 1em; margin-left: .2em; vertical-align: -.1em; }
.badge-spin svg { width: 100%; height: 100%; overflow: visible; }
.badge-spin__bg { fill: var(--navy); }
.badge-spin__text { font-size: 14px; font-weight: 800; letter-spacing: .12em; fill: #fff; font-family: var(--font); }
.badge-spin__star { color: var(--yellow); fill: var(--yellow); }

.hero__lead { max-width: 30em; margin-bottom: 34px; font-size: clamp(17px, 1.45vw, 21px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 28px 0 0; padding: 0; list-style: none;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .i { color: var(--green); font-size: 18px; stroke-width: 2.6; }

/* 1024–1359：面板放右下，避開第一行大字；1360 以上：放右上、放大 */
.hero__panels {
  position: absolute; z-index: 1; pointer-events: none;
  right: max(-4vw, -64px);
  bottom: -8vh;
  height: 64vh;
  aspect-ratio: 419.12 / 649.3;
}
@media (min-width: 1360px) {
  .hero__panels { bottom: auto; top: calc(var(--header-h) + 2vh); height: min(82vh, 780px); }
}
.mark-svg { width: 100%; height: 100%; overflow: visible; }

.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 128px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); text-decoration: none;
}
.scroll-cue .i { animation: nudge 1.8s var(--ease-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* 手機、平板：三片面板放大放在上方右側，大標題壓在面板前面，往下捲時拉開的幅度比桌機大 */
@media (max-width: 1023px) {
  .hero { padding-top: calc(var(--header-h) + 38vh); padding-bottom: 150px; }
  .hero__panels { top: calc(var(--header-h) + 1vh); bottom: auto; right: -10vw; height: 46vh; }
  .scroll-cue { display: none; }
}
@media (max-height: 820px) { .scroll-cue { display: none; } }

/* ---------- 跑馬燈 ---------- */
.bands { position: relative; z-index: 4; margin-top: -96px; padding: 28px 0 8px; overflow: clip; }
.band {
  overflow: hidden; white-space: nowrap;
  padding: 16px 0;
  font-size: clamp(20px, 2.5vw, 34px); font-weight: 900; line-height: 1.2; letter-spacing: .02em;
}
.band--navy { background: var(--navy); color: #fff; transform: rotate(-2.2deg) scale(1.04); }
.band--yellow { margin-top: -14px; background: var(--yellow); color: var(--navy); transform: rotate(1.6deg) scale(1.04); }
.band__track { display: inline-flex; align-items: center; gap: .9em; padding-right: .9em; will-change: transform; }
.band .star { width: .75em; height: .75em; }
.band--navy .star { color: var(--yellow); }
.band--yellow .star { color: var(--navy); }

/* ---------- section 共用 ---------- */
.kicker {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px;
  border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .14em;
  transform: skewX(-12deg);
}
.kicker > span { display: inline-block; transform: skewX(12deg); }
.h2 { margin: 0; font-size: clamp(34px, 5.4vw, 80px); font-weight: 900; line-height: 1.14; letter-spacing: -.025em; text-wrap: balance; }
.h2--sm { font-size: clamp(30px, 4vw, 56px); }
.section-lead { max-width: 40em; margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }

/* ---------- 案例 ---------- */
.cases {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0 clamp(80px, 10vw, 140px);
  background: linear-gradient(#fff, var(--bg-soft) 26%);
}
.section-head { max-width: 1000px; }
.case-index { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.case-index a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.case-index a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.case-index b {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c); color: var(--c-ink, #fff);
  font-family: "Outfit", var(--font); font-size: 15px;
}
.case-index .is-later a { opacity: .5; }

.stack { display: grid; gap: clamp(24px, 4vw, 48px); margin-top: clamp(40px, 6vw, 72px); }
.case {
  --i: 0;
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--case-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 44px 80px -52px rgba(13, 60, 80, .5);
  transform-origin: 50% 0;
}
.case::after {
  content: ""; position: absolute; pointer-events: none;
  right: -8%; bottom: -34%; width: 40%; height: 96%;
  border-radius: 48px; background: var(--accent); opacity: .08;
  transform: translateY(var(--deco-y, 0px)) skewY(-22deg);
}
.case--a { --i: 0; --case-bg: linear-gradient(155deg, #effaff 0%, #d7f0fc 100%); --accent: var(--blue-2); --accent-ink: #0b77b3; }
.case--b { --i: 1; --case-bg: linear-gradient(155deg, #f4faec 0%, #ddefca 100%); --accent: var(--green); --accent-ink: #3d7a12; }
.case__shade { position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: var(--navy-2); opacity: 0; pointer-events: none; }
.case__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 4.2vw, 60px);
}
@media (max-width: 1023px) { .case__inner { grid-template-columns: 1fr; } }
@media (min-width: 1024px) and (min-height: 720px) {
  .case { position: sticky; top: calc(var(--header-h) + 16px + var(--i) * 18px); }
}

.case__label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--ink-2);
}
.case__label b {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-family: "Outfit", var(--font); font-size: 18px; transform: skewX(-10deg);
}
.case__title { margin: 0 0 26px; font-size: clamp(27px, 2.7vw, 42px); font-weight: 900; line-height: 1.26; letter-spacing: -.02em; text-wrap: balance; }
.case__blocks { display: grid; gap: 14px; margin: 0; }
.case__blocks div { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: baseline; }
.case__blocks dt { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--accent-ink); }
.case__blocks dd { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.stat {
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 12px 28px -20px rgba(13, 60, 80, .45);
}
.stat__num {
  display: flex; align-items: baseline;
  font-family: "Outfit", var(--font); font-size: clamp(32px, 3vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: var(--navy);
}
.stat__num small { margin-left: .12em; font-family: var(--font); font-size: .42em; font-weight: 700; letter-spacing: 0; }
.stat__txt { display: block; margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.stat__txt s { text-decoration-thickness: 1.5px; color: var(--muted); }
@media (max-width: 560px) {
  .case__blocks div { grid-template-columns: 1fr; gap: 2px; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: center; gap: 16px; }
  .stat__txt { margin-top: 0; }
}

.case__quote {
  position: relative; margin: 26px 0 0; padding: 18px 22px 18px 26px;
  border-radius: 18px; background: rgba(255, 255, 255, .72);
  font-size: 17px; font-weight: 700; line-height: 1.7; color: var(--ink);
}
.case__quote::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 5px;
  border-radius: 0 4px 4px 0; background: var(--accent);
}
.swapline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; font-weight: 800; }
.swapline__label { font-size: 14px; letter-spacing: .1em; color: var(--ink-2); }
.swapline .was { position: relative; font-size: 24px; color: var(--muted); text-decoration: none; }
.swap__line { position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 3px; background: var(--ink); transform-origin: 0 50%; }
.swapline .i { font-size: 22px; color: var(--accent-ink); }
.swapline .now { font-family: "Outfit", var(--font); font-size: clamp(34px, 3.2vw, 48px); line-height: 1; color: var(--navy); }

/* ---------- 示意畫面共用 ---------- */
.case__visual { position: relative; }
.vignette { position: relative; }
.vignette__foot { display: flex; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 18px; flex-wrap: wrap; text-align: center; }
.vignette__caption { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.replay {
  flex: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer;
  transition: background .3s, color .3s;
}
.replay:hover { background: var(--ink); color: #fff; }
.no-anim .replay { display: none; }

/* 案例 A：聊天派工 */
.chat {
  position: relative; max-width: 430px; margin-inline: auto; overflow: hidden;
  border-radius: 28px; background: #fff;
  box-shadow: 0 34px 64px -30px rgba(13, 60, 80, .5), 0 0 0 1px rgba(13, 60, 80, .06);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #f6fbfd, #fff); }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.chat__avatar svg { width: 20px; height: 31px; }
.chat__who { line-height: 1.3; }
.chat__who strong { display: block; font-size: 15px; }
.chat__who small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.chat__who small i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); }
.chat__time { margin-left: auto; font-family: "Outfit", var(--font); font-size: 12px; color: var(--muted); }
.chat__body { display: flex; flex-direction: column; gap: 10px; min-height: 372px; padding: 18px; background: linear-gradient(#fbfdfe, #f1f7f9); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.6; }
.msg--me { align-self: flex-end; border-bottom-right-radius: 6px; background: #d9f3c4; }
.msg--ai { align-self: flex-start; border-bottom-left-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.slot { display: grid; align-self: flex-start; max-width: 86%; }
.slot > * { grid-area: 1 / 1; }
.slot .msg { max-width: none; justify-self: start; }
.typing { display: inline-flex; gap: 4px; align-items: center; opacity: 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
.steps { max-width: 92%; padding: 12px 14px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.steps ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.steps em { font-size: 12px; font-style: normal; font-weight: 500; color: var(--muted); }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-2); color: #fff; }
.tick .i { font-size: 13px; stroke-width: 3; }
.progress { height: 4px; margin-top: 12px; border-radius: 4px; overflow: hidden; background: var(--line); }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green-2)); transform-origin: 0 50%; }
.msg--done { max-width: 64%; }
.msg__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 700; color: var(--blue-2); }
.chat__input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.chat__input span { flex: 1; padding: 9px 14px; border-radius: 999px; background: var(--bg-soft); }
.chat__input .i { font-size: 18px; color: var(--blue-2); }

/* 素材庫預覽卡：從聊天視窗右下角彈出，壓在輸入列上，不擋到對話 */
.vignette--chat { padding-bottom: 56px; }
.popcard {
  position: absolute; right: -8px; bottom: 0; width: min(200px, 46%);
  padding: 12px; border-radius: 18px; background: #fff;
  box-shadow: 0 28px 52px -22px rgba(13, 60, 80, .55), 0 0 0 1px rgba(13, 60, 80, .06);
  transform: rotate(5deg);
}
.popcard__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.popcard__bar span { padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); font-size: 10px; color: var(--muted); }
.popcard__chips { display: flex; gap: 4px; margin: 8px 0; }
.popcard__chips span { padding: 2px 7px; border-radius: 999px; background: var(--bg-soft); font-size: 10px; font-weight: 700; color: var(--ink-2); }
.popcard__chips .is-on { background: var(--navy); color: #fff; }
.popcard__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.popcard__grid i { aspect-ratio: 1; border-radius: 8px; }
.popcard__grid i:nth-child(1) { background: linear-gradient(135deg, #fff1a6, var(--yellow)); }
.popcard__grid i:nth-child(2) { background: linear-gradient(135deg, #b8ecff, var(--blue)); }
.popcard__grid i:nth-child(3) { background: linear-gradient(135deg, #cdeeb0, var(--green-2)); }
.popcard__grid i:nth-child(4) { background: linear-gradient(135deg, #c3f0e0, var(--mint)); }
.popcard__grid i:nth-child(5) { background: linear-gradient(135deg, #8fb7c9, var(--navy)); }
.popcard__grid i:nth-child(6) { background: linear-gradient(135deg, #ffe6a0, #f7b733); }

/* 案例 B：數據流 */
.flow {
  max-width: 480px; margin-inline: auto; padding: 20px;
  border-radius: 28px; background: #fff;
  box-shadow: 0 34px 64px -30px rgba(13, 60, 80, .5), 0 0 0 1px rgba(13, 60, 80, .06);
}
.flow__sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.flow__sources li {
  display: grid; justify-items: center; gap: 6px; padding: 12px 4px;
  border-radius: 14px; background: var(--bg-soft);
  font-size: 12px; font-weight: 700; line-height: 1.35; text-align: center; white-space: nowrap;
}
.flow__sources .i { font-size: 22px; color: var(--green); }
@media (max-width: 480px) {
  .flow { padding: 16px; }
  .flow__sources li { padding: 10px 2px; font-size: 11px; white-space: normal; }
}
.flow__wires { width: 100%; height: auto; overflow: visible; }

.flow__wires path { fill: none; stroke-width: 2; stroke-linecap: round; }
.flow__wires .draw { stroke: #cfe6bd; }
.flow__wires .dash { stroke: var(--green); stroke-dasharray: 3 9; animation: flow 1.1s linear infinite; animation-play-state: paused; }
.is-live .flow__wires .dash { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.flow__hub {
  position: relative; width: max-content; margin-inline: auto; padding: 12px 26px;
  border-radius: 16px; background: var(--navy); color: #fff; text-align: center; line-height: 1.3;
}
.flow__hub small { display: block; font-size: 11px; letter-spacing: .14em; opacity: .7; }
.flow__hub strong { font-size: 19px; letter-spacing: .06em; }
.flow__hub::before {
  content: ""; position: absolute; inset: -7px; border-radius: 22px;
  border: 2px solid var(--green-2); animation: ring 2.4s var(--ease-out) infinite;
}
@keyframes ring { 0% { transform: scale(.92); opacity: .7; } 100% { transform: scale(1.22); opacity: 0; } }
.flow__outs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qa, .report { padding: 12px; border-radius: 16px; background: var(--bg-soft); font-size: 13px; }
.qa__q { margin-bottom: 10px; padding: 8px 10px; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 700; line-height: 1.5; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 72px; padding: 0 4px; }
.bars i { position: relative; flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--green-2), var(--green)); transform-origin: 50% 100%; }
.bars i:first-child { background: linear-gradient(var(--blue), var(--blue-2)); }
.bars span { position: absolute; left: 50%; bottom: -19px; translate: -50% 0; font-size: 10.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.qa__time { display: inline-flex; align-items: center; gap: 5px; margin-top: 28px; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }
.report__head { display: flex; flex-direction: column; margin-bottom: 8px; line-height: 1.4; }
.report__head small { font-size: 11px; color: var(--muted); }
.report ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.report li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; background: #fff; font-size: 12.5px; font-weight: 600; }
.report li b { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border-radius: 50%; background: var(--yellow); font-family: "Outfit", var(--font); font-size: 11px; }

/* ---------- footer ---------- */
.site-footer { padding: 56px 0 40px; background: var(--navy-2); color: rgba(255, 255, 255, .78); font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 17px; }
.footer-brand svg { width: 22px; height: 34px; }
.footer-cta a { color: #fff; font-weight: 700; text-underline-offset: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .35s, transform .5s var(--ease-out);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 手機選單 ---------- */
.menu-btn {
  display: none; place-items: center; width: 44px; height: 44px; margin-left: 4px;
  border: 0; border-radius: 12px; background: rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1.5px var(--line); font-size: 22px; cursor: pointer;
}
@media (max-width: 1023px) { .menu-btn { display: grid; } }
.mmenu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px;
  padding: 90px var(--gutter) 40px; background: var(--navy); color: #fff;
}
.mmenu[hidden] { display: none; }
.mmenu nav { display: grid; gap: 2px; }
.mmenu nav a { padding: 6px 0; font-size: clamp(26px, 8vw, 34px); font-weight: 900; color: #fff; text-decoration: none; }
.mmenu__close {
  position: absolute; right: var(--gutter); top: 12px; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer;
}
html.menu-open { overflow: hidden; }

/* 目前所在段落 */
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: scaleX(1); }

.h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.h2--light .hl::before, .cta__title .hl::before { bottom: .02em; height: .14em; }

/* ---------- 02 痛點數字 ---------- */
.pain { padding: clamp(110px, 14vw, 190px) 0 clamp(90px, 11vw, 150px); background: #fff; }
.pain__q { max-width: 15em; }
.pain__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px); border-top: 1.5px solid var(--ink);
}
.bigstat { padding: 30px clamp(16px, 2.4vw, 36px) 8px 0; }
.bigstat + .bigstat { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.bigstat__num {
  position: relative; display: inline-flex; align-items: baseline; padding-bottom: 16px;
  font-family: "Outfit", var(--font); font-size: clamp(48px, 5.8vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -.035em;
  color: var(--navy); white-space: nowrap;
}
.bigstat__num::after {
  content: ""; position: absolute; left: 4px; bottom: 0; width: 64px; height: 10px;
  border-radius: 3px; background: var(--tab); transform: skewX(-22deg);
}
.bigstat__from { font-size: .46em; color: var(--muted); letter-spacing: -.01em; }
.bigstat__to { margin: 0 .14em; font-size: .4em; color: var(--muted); }
.bigstat__title { margin: 22px 0 10px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 900; line-height: 1.45; }
.bigstat__note { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.pain__close { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(20px, 2vw, 28px); font-weight: 900; line-height: 1.6; }
@media (max-width: 860px) {
  .pain__stats { grid-template-columns: 1fr; }
  .bigstat { padding: 28px 0; }
  .bigstat + .bigstat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- 03 全球趨勢 ---------- */
.trend { position: relative; overflow: clip; padding: clamp(100px, 12vw, 170px) 0; background: linear-gradient(180deg, #f2fbff 0%, #e4f5fd 100%); }
.trend__ghost {
  position: absolute; left: 0; top: 50%; translate: 0 -50%; margin: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: "Outfit", var(--font); font-size: clamp(160px, 26vw, 420px); font-weight: 900; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px rgba(26, 163, 232, .16);
}
.trend .container { position: relative; }
.trend__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.tcard {
  display: flex; flex-direction: column; padding: 28px; border-radius: 28px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 30px 60px -44px rgba(13, 60, 80, .5), inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.tcard__num {
  display: flex; align-items: baseline; gap: .06em;
  font-family: "Outfit", var(--font); font-size: clamp(40px, 4.2vw, 62px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--navy);
}
.tcard__num small { font-family: var(--font); font-size: .5em; font-weight: 900; }
.tcard__to { margin: 0 .14em; font-size: .6em; color: var(--blue-2); }
.tcard__title { margin: 16px 0 12px; font-size: 18px; font-weight: 900; line-height: 1.5; }
.tcard__note { margin-top: auto; padding-top: 16px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.duo { display: flex; align-items: flex-end; gap: 16px; height: 128px; }
.duo__col { display: grid; grid-template-rows: 1fr auto auto; flex: 1; height: 100%; text-align: center; }
.duo__col i { align-self: end; height: calc(var(--v) * 100%); min-height: 8px; border-radius: 10px 10px 4px 4px; background: linear-gradient(var(--blue), var(--blue-2)); transform-origin: 50% 100%; }
.duo__col:first-child i { background: linear-gradient(#c9eefc, #93d6f4); }
.duo__col span { margin-top: 8px; font-family: "Outfit", var(--font); font-size: 15px; font-weight: 800; }
.duo__col em { font-size: 12px; font-style: normal; color: var(--muted); }
.versus { display: grid; gap: 12px; }
.versus__row { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; font-family: "Outfit", var(--font); font-size: 14px; font-weight: 700; }
.versus__row i { position: relative; height: 14px; overflow: hidden; border-radius: 7px; background: var(--line); }
.versus__row i::after {
  content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit;
  background: linear-gradient(90deg, var(--green-2), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--grow, 1));
}
.versus__row b { text-align: right; }
.trend__close { max-width: 46em; margin-top: clamp(36px, 4vw, 56px); font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.trend__close strong { color: var(--ink); }
@media (max-width: 960px) { .trend__grid { grid-template-columns: 1fr; } }

/* ---------- 04 卡關的三個原因（桌機由 JS 切成水平捲動） ---------- */
.reasons { position: relative; background: #fff; }
.reasons__pin { padding: clamp(96px, 11vw, 150px) 0 clamp(80px, 9vw, 120px); }
.reasons__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.reasons__head > div { flex: 1 1 auto; min-width: 0; }
.reasons__hint { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.reasons__viewport { margin-top: clamp(36px, 5vw, 56px); }
.reasons__track { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0 var(--gutter); list-style: none; }
.reason {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(28px, 3.6vw, 52px); border-radius: var(--radius-lg);
  background: var(--rc); color: var(--navy);
}
.reason::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: var(--navy); opacity: var(--dim, 0); pointer-events: none; }
/* 手機：三張卡片比螢幕矮，改成一張蓋上一張（JS 確認卡片高度夠矮才加 is-stacked） */
.reasons.is-stacked .reason { position: sticky; top: calc(var(--header-h) + 14px + var(--ri, 0) * 12px); transform-origin: 50% 0; }
.reasons.is-stacked .reason:nth-child(2) { --ri: 1; }
.reasons.is-stacked .reason:nth-child(3) { --ri: 2; }
.reason--y { --rc: var(--yellow); }
.reason--g { --rc: var(--green-2); }
.reason--b { --rc: var(--blue); }
.reason::after {
  content: ""; position: absolute; right: -10%; top: -22%; width: 46%; height: 150%; pointer-events: none;
  border-radius: 60px; background: rgba(255, 255, 255, .22); transform: skewY(-22deg);
}
.reason__no {
  font-family: "Outfit", var(--font); font-size: clamp(64px, 8vw, 128px); font-weight: 900; line-height: .9; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px var(--navy);
}
.reason__icon {
  position: absolute; right: clamp(28px, 3.6vw, 52px); top: clamp(28px, 3.6vw, 52px); z-index: 1;
  width: clamp(56px, 6vw, 88px); height: clamp(56px, 6vw, 88px);
  fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.reason__title { position: relative; z-index: 1; margin: 28px 0 14px; font-size: clamp(28px, 3.2vw, 48px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.reason__text { position: relative; z-index: 1; max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; line-height: 1.75; }
.reason sup a { color: var(--navy); }
.reason__fix {
  position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 10px 16px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.4;
}
.reasons.is-horizontal .reasons__pin {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; padding: calc(var(--header-h) + 16px) 0 40px;
}
.reasons.is-horizontal .reasons__hint { display: inline-flex; }
.reasons.is-horizontal .reasons__viewport { overflow: hidden; }
.reasons.is-horizontal .reasons__track { flex-direction: row; gap: 24px; width: max-content; }
.reasons.is-horizontal .reason { width: min(62vw, 820px); min-height: min(56vh, 540px); }
.reasons.is-horizontal .reason__title { margin-top: auto; padding-top: 28px; }

/* ---------- 05 我們是誰＋三階段 ---------- */
.approach { padding: clamp(100px, 12vw, 170px) 0; background: var(--bg-soft); }
.manifesto {
  position: relative; overflow: hidden; margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--navy); color: #fff;
}
.manifesto::after {
  content: ""; position: absolute; right: -6%; bottom: -40%; width: 34%; height: 150%; pointer-events: none;
  border-radius: 48px; background: var(--blue); opacity: .14; transform: skewY(-22deg);
}
.manifesto__q { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(16px, 2vw, 28px); width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); color: rgba(255, 255, 255, .1); }
.manifesto__main { position: relative; z-index: 1; max-width: 24em; font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; line-height: 1.5; }
.manifesto__sub { position: relative; z-index: 1; margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; color: var(--yellow); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.pillar { padding: 26px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pillar .i { font-size: 30px; color: var(--green); }
.pillar h3 { margin: 16px 0 8px; font-size: 20px; font-weight: 900; }
.pillar p { font-size: 15.5px; color: var(--ink-2); }
.stages-wrap { margin-top: clamp(64px, 8vw, 110px); }
.stages-box { position: relative; margin-top: 36px; }
.stages__rail { position: absolute; left: 36px; right: 36px; top: 34px; height: 4px; overflow: hidden; border-radius: 4px; background: var(--line); }
.stages__rail i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), var(--green-2), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.stages { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.stage { position: relative; }
.stage__icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px;
  background: var(--navy); color: #fff; font-size: 30px; transform: rotate(-6deg);
  box-shadow: 0 14px 30px -14px rgba(13, 60, 80, .6);
  transition: background .45s, color .45s, transform .55s var(--ease-out), box-shadow .45s;
}
.stages-box.is-armed .stage:not(.is-on) .stage__icon { background: #fff; color: var(--navy); transform: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.stage__no {
  position: absolute; left: 90px; top: 4px;
  font-family: "Outfit", var(--font); font-size: 46px; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink); opacity: .22;
}
.stage h4 { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 8px; font-size: 24px; font-weight: 900; }
.stage h4 small { padding: 3px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; color: #0b77b3; }
.stage p { font-size: 16px; color: var(--ink-2); }
.statement {
  max-width: 17em; margin: clamp(80px, 10vw, 140px) auto 0; text-align: center; text-wrap: balance;
  font-size: clamp(32px, 5vw, 80px); font-weight: 900; line-height: 1.28; letter-spacing: -.02em;
}
.statement .ch { overflow: visible; }
@media (max-width: 860px) {
  .pillars, .stages { grid-template-columns: 1fr; }
  .stages__rail { display: none; }
}

/* ---------- 06 案例 C、D、E ---------- */
.case--c { --i: 2; --case-bg: linear-gradient(155deg, #fffbe3 0%, #fdf0a4 100%); --accent: #e3b600; --accent-ink: #7d6300; }
.case--d { --i: 3; --case-bg: linear-gradient(155deg, #effbf6 0%, #d0f0e3 100%); --accent: var(--mint-2); --accent-ink: #1d7a5b; }
.case--e { --i: 4; --case-bg: linear-gradient(155deg, #11475e 0%, #082b3a 100%); --accent: var(--blue); --accent-ink: #8fdcff; color: #fff; }
.case--c .case__label b { color: var(--navy); }
.case--e .case__label, .case--e .case__blocks dd { color: rgba(255, 255, 255, .8); }
.case--e .case__label b { color: var(--navy); }
.case--e .vignette__caption { color: rgba(255, 255, 255, .55); }
.case--e .replay { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.case--e .replay:hover { background: #fff; color: var(--navy); }
.case--e .swapline__label, .case--e .swapline .was { color: rgba(255, 255, 255, .6); }
.case--e .swap__line { background: #fff; }
.case--e .swapline .now { color: var(--yellow); }
.case--e .swapline .i { color: var(--blue); }
.swapline__more { flex-basis: 100%; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.case__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.case__chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .78); font-size: 13.5px; font-weight: 700; }
.case__note { margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .62); font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.case__note strong { color: var(--ink); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin: 0; padding: 0; list-style: none; counter-reset: chain; }
.chain li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-size: 13.5px; font-weight: 700; color: #fff; counter-increment: chain; }
.chain li::before { content: counter(chain); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: var(--navy); font-family: "Outfit", var(--font); font-size: 11px; font-weight: 800; }

/* C：通話 */
.call { max-width: 400px; margin-inline: auto; padding: 22px; border-radius: 30px; background: var(--navy); color: #fff; box-shadow: 0 34px 64px -30px rgba(13, 60, 80, .65); }
.call__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.call__dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; animation: pulse-red 1.6s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 95, 87, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 95, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 95, 87, 0); } }
.call__time { margin-left: auto; font-family: "Outfit", var(--font); opacity: .7; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 60px; margin: 14px 0 16px; }
.wave i {
  width: 5px; height: 100%; border-radius: 3px; background: linear-gradient(var(--yellow), var(--green-2));
  transform: scaleY(.2); animation: wave 1.1s ease-in-out infinite; animation-play-state: paused;
}
.is-live .wave i { animation-play-state: running; }
.wave i:nth-child(3n) { animation-duration: .9s; animation-delay: -.2s; }
.wave i:nth-child(3n + 1) { animation-duration: 1.3s; animation-delay: -.5s; }
.wave i:nth-child(4n) { animation-duration: .8s; animation-delay: -.35s; }
.wave i:nth-child(5n) { animation-duration: 1.5s; animation-delay: -.1s; }
@keyframes wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.call__lines { display: grid; gap: 8px; }
.cl { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; }
.cl b { display: block; font-size: 11px; letter-spacing: .1em; opacity: .7; }
.cl--ai { justify-self: start; border-bottom-left-radius: 4px; background: rgba(255, 255, 255, .1); }
.cl--user { justify-self: end; border-bottom-right-radius: 4px; background: var(--yellow); color: var(--navy); }
.call__result { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 700; }
.tag--ok { background: var(--green-2); color: var(--navy); }

/* D：成本 */
.cost { max-width: 440px; margin-inline: auto; padding: 22px 22px 18px; border-radius: 28px; background: #fff; box-shadow: 0 34px 64px -30px rgba(13, 60, 80, .5), 0 0 0 1px rgba(13, 60, 80, .06); }
.cost__label { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.cost__prices { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.cost__prices li { display: flex; align-items: baseline; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 13.5px; font-weight: 700; }
.cost__prices b { margin-left: auto; font-family: "Outfit", var(--font); font-size: 18px; }
.cost__prices small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.cost__chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; height: 170px; margin-top: 18px; padding: 0 6px; border-bottom: 1.5px solid var(--line); }
.cost__col { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 100%; }
.cost__bar { width: 34%; height: calc(var(--v) * 100%); border-radius: 8px 8px 2px 2px; transform-origin: 50% 100%; }
.cost__bar--saas { background: linear-gradient(#ffa597, #f2645c); }
.cost__bar--own { background: linear-gradient(var(--mint), var(--mint-2)); }
.cost__col em { position: absolute; left: 50%; bottom: -24px; translate: -50% 0; font-size: 12px; font-style: normal; color: var(--muted); white-space: nowrap; }
.cost__legend { display: grid; gap: 6px; margin-top: 36px; font-size: 12.5px; color: var(--ink-2); }
.cost__legend span { display: flex; align-items: center; gap: 8px; }
.lg { width: 12px; height: 12px; border-radius: 3px; }
.lg--saas { background: #f2645c; }
.lg--own { background: var(--mint-2); }

/* E：雷達 */
.radar {
  display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 18px;
  max-width: 460px; margin-inline: auto; padding: 22px; border-radius: 28px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.radar__scope {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31%, rgba(69, 203, 252, .35) 31.5% 32.5%, transparent 33% 63%, rgba(69, 203, 252, .3) 63.5% 64.5%, transparent 65%),
    radial-gradient(circle, rgba(69, 203, 252, .12), rgba(69, 203, 252, .03));
  box-shadow: inset 0 0 0 1.5px rgba(69, 203, 252, .45);
}
.radar__scope::before, .radar__scope::after { content: ""; position: absolute; background: rgba(69, 203, 252, .25); }
.radar__scope::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar__scope::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(69, 203, 252, .55), rgba(69, 203, 252, 0) 72deg, transparent);
  animation: sweep 2.6s linear infinite; animation-play-state: paused;
}
.is-live .radar__sweep { animation-play-state: running; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(248, 222, 26, .25); }
.radar__list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.radar__list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 12.5px; font-weight: 700; }
.st { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 11px; }
.st--ok { background: var(--green-2); color: var(--navy); }
.st--check { background: rgba(255, 255, 255, .16); color: #fff; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
@media (max-width: 480px) { .radar { grid-template-columns: 1fr; } .radar__scope { width: 160px; margin-inline: auto; } }

/* ---------- 07 數字牆 ---------- */
.numbers {
  position: relative; overflow: clip; padding: clamp(100px, 12vw, 170px) 0; color: #fff;
  background: radial-gradient(80vw 60vw at 92% 0%, rgba(69, 203, 252, .2), transparent 60%), var(--navy-2);
}
.numbers__mark { position: absolute; right: -4vw; top: 6%; width: min(40vw, 540px); height: auto; opacity: .1; pointer-events: none; }
.h2--light { color: #fff; }
.numwall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.nt {
  position: relative; overflow: hidden; padding: 30px 28px 26px; border-radius: 24px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background .4s, transform .55s var(--ease-out);
}
.nt::before { content: ""; position: absolute; left: 28px; top: 0; width: 44px; height: 6px; border-radius: 0 0 4px 4px; background: var(--c); }
.nt:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.nt__num { display: flex; align-items: baseline; font-family: "Outfit", var(--font); font-size: clamp(44px, 5vw, 76px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.nt__num--cjk { font-family: var(--font); font-weight: 900; letter-spacing: -.01em; }
.nt__num small { margin-left: .15em; font-family: var(--font); font-size: .42em; font-weight: 900; }
.nt__to { margin: 0 .16em; font-size: .6em; color: var(--c); }
.nt__txt { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.numbers__note { margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .62); }
@media (max-width: 860px) { .numwall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .numwall { grid-template-columns: 1fr; } }

/* ---------- 08 在貴公司能長出什麼 ---------- */
.scenarios { padding: clamp(100px, 12vw, 170px) 0; background: #fff; }
.depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.dept { position: relative; padding: 26px; border-radius: 26px; background: var(--bg-soft); transition: transform .55s var(--ease-out), background .4s, box-shadow .4s; }
.dept:hover { transform: translateY(-6px) rotate(-.6deg); background: #fff; box-shadow: 0 30px 60px -36px rgba(13, 60, 80, .45), inset 0 0 0 1.5px var(--ink); }
.dept__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--dc); color: var(--navy); font-size: 26px; transform: skewX(-8deg); }
.dept__icon .i { transform: skewX(8deg); }
.dept h3 { margin: 18px 0 10px; font-size: 21px; font-weight: 900; }
.dept ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dept ul li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.dept ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--dc); transform: skewX(-18deg); }
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 28px; padding: 26px 30px; border-radius: 26px; background: var(--yellow); }
.ask p { font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; }
@media (max-width: 960px) { .depts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .depts { grid-template-columns: 1fr; } }

/* ---------- 09 資安與資料主權 ---------- */
.security { padding: clamp(100px, 12vw, 170px) 0; background: var(--bg-soft); }
.security__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(32px, 5vw, 80px); }
.shield { width: clamp(110px, 13vw, 180px); height: auto; margin-top: 40px; overflow: visible; }
.shield__body { fill: var(--navy); }
.shield__check { fill: none; stroke: var(--yellow); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.guards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.guard { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.guard__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #e6f6fe; color: var(--blue-2); font-size: 24px; }
.guard h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.guard p { font-size: 15.5px; color: var(--ink-2); }
.security__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.security__quote { font-size: clamp(20px, 2vw, 28px); font-weight: 900; line-height: 1.5; }
.security__promise { font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) { .security__grid, .security__trust { grid-template-columns: 1fr; } }

/* ---------- 10 合作模式 ---------- */
.process { padding: clamp(100px, 12vw, 170px) 0; background: #fff; }
.timeline { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.timeline__rail { position: absolute; left: 32px; right: 32px; top: 30px; height: 4px; overflow: hidden; border-radius: 4px; background: var(--line); }
.timeline__fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), var(--green-2), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.timeline__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tstep__dot {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: var(--navy); color: var(--yellow); font-size: 26px; transform: rotate(-8deg);
  box-shadow: 0 14px 30px -14px rgba(13, 60, 80, .6);
  transition: background .45s, color .45s, transform .55s var(--ease-out), box-shadow .45s;
}
.timeline.is-armed .tstep:not(.is-on) .tstep__dot { background: #fff; color: var(--muted); transform: none; box-shadow: inset 0 0 0 2px var(--line); }
.tstep__dot .steam { animation: steam 2s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .3; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-1px); } }
.tstep__when { display: block; margin-top: 18px; font-family: "Outfit", var(--font); font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--blue-2); }
.tstep h3 { margin: 6px 0; font-size: 19px; font-weight: 900; line-height: 1.4; }
.tstep p { font-size: 15px; color: var(--ink-2); }
.process__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.process__exit { padding: 22px 26px; border-radius: 22px; background: var(--yellow); font-size: 17px; line-height: 1.7; }
.process__measure { padding: 22px 26px; border-radius: 22px; background: var(--bg-soft); font-size: 16px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 960px) {
  .timeline__rail { left: 30px; right: auto; top: 32px; bottom: 32px; width: 4px; height: auto; }
  .timeline__fill { width: 100%; height: 100%; transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
  .timeline__steps { grid-template-columns: 1fr; gap: 28px; }
  .tstep { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
  .tstep__dot { grid-row: span 3; }
  .tstep__when { margin-top: 2px; }
  .process__notes { grid-template-columns: 1fr; }
}

/* ---------- 11 為什麼選我們 ---------- */
.why { padding: clamp(100px, 12vw, 170px) 0; background: var(--yellow); }
.whys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.whyc {
  position: relative; padding: 30px; border: 2px solid var(--navy); border-radius: 28px; background: #fff;
  box-shadow: 8px 8px 0 var(--navy); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.whyc:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--navy); }
.whyc__no { font-family: "Outfit", var(--font); font-size: 15px; font-weight: 900; color: var(--muted); }
.whyc__word { margin: 10px 0 14px; font-size: clamp(34px, 3.6vw, 56px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.whyc__text { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 900px) { .whys { grid-template-columns: 1fr; } }

/* ---------- 12 常見問題 ---------- */
.faq { padding: clamp(100px, 12vw, 170px) 0; background: #fff; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(32px, 5vw, 80px); }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__more { margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.faq__more a { font-weight: 700; color: var(--blue-2); }
.faq__list { display: grid; gap: 12px; }
.qa-item { overflow: hidden; border-radius: 22px; background: var(--bg-soft); transition: background .3s, box-shadow .3s; }
.qa-item[open] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.qa-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px;
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 900; line-height: 1.5; list-style: none; cursor: pointer;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary .i { font-size: 22px; transition: transform .45s var(--ease-out); }
.qa-item[open] summary .i { transform: rotate(45deg); }
.qa-item__a { overflow: hidden; }
.qa-item__a p { padding: 0 26px 24px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- 13 CTA ---------- */
.cta {
  position: relative; overflow: clip; padding: clamp(110px, 14vw, 200px) 0; color: #fff;
  background:
    radial-gradient(70vw 60vw at 8% 112%, rgba(120, 204, 49, .22), transparent 60%),
    radial-gradient(60vw 50vw at 100% 0%, rgba(69, 203, 252, .24), transparent 60%),
    var(--navy);
}
.cta__panels { position: absolute; right: max(-5vw, -72px); top: 50%; translate: 0 -50%; height: min(84%, 700px); aspect-ratio: 419.12 / 649.3; pointer-events: none; }
.cta__panels svg { width: 100%; height: 100%; overflow: visible; }
.cta__inner { position: relative; z-index: 1; }
.kicker--light { background: var(--yellow); color: var(--navy); }
.cta__title .hl::before { left: 0; right: 0; }
.cta__title { max-width: 12.5em; margin: 0; font-size: clamp(36px, 5.4vw, 86px); font-weight: 900; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn--light { --btn-bg: var(--yellow); --btn-fg: var(--navy); --btn-sweep: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-sweep: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.cta__small { margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, .72); }
@media (max-width: 1023px) { .cta__panels { right: -34vw; opacity: .3; } }

/* ---------- 減少動態 ---------- */
@media (prefers-reduced-motion: reduce) {
  .live-dot, .typing i, .flow__wires .dash, .flow__hub::before, .scroll-cue .i,
  .wave i, .radar__sweep, .call__dot, .st--check, .tstep__dot .steam { animation: none; }
  .wave i { transform: scaleY(.6); }
  .btn, .btn::before, .site-header, .toast { transition: none; }
}
