/* ============ 樂盈創意 官網樣式 ============ */
:root {
  --ink: #13221c;
  --ink-2: #33443d;
  --muted: #62736b;
  --navy: #163a2f;
  --navy-2: #1f4d3e;
  --primary: #2f7a5a;
  --primary-600: #25624a;
  --primary-soft: #eaf4ef;
  --accent: #e8762c;
  --accent-soft: #fdefe5;
  --bg: #ffffff;
  --bg-alt: #f5f8f6;
  --line: #e1e8e4;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(19, 34, 28, .05), 0 10px 30px rgba(19, 34, 28, .07);
  --shadow-lg: 0 20px 60px rgba(22, 58, 47, .18);
  --container: 1180px;
  --font: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", "Microsoft JhengHei", "PingFang TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.8; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; letter-spacing: .03em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; letter-spacing: .04em; border-radius: 999px;
  padding: .72em 1.5em; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(47, 122, 90, .28); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-accent { background: var(--accent); color: #1f1300; }
.btn-accent:hover { background: #cf6420; color: #1f1300; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-sm { padding: .5em 1.15em; font-size: .92rem; }
.btn-lg { padding: .9em 1.9em; font-size: 1.05rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(19, 34, 28, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; font-weight: 900; letter-spacing: .12em; }
.brand-text small { font-size: .7rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-logo { display: block; height: 46px; width: auto; }
.brand-light .brand-logo { height: 56px; }
.brand-light .footer-logo { height: auto; width: 180px; }
@media (max-width: 520px) { .site-header .brand-logo { height: 38px; } }
.brand-light small { color: rgba(255, 255, 255, .6); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; list-style: none; gap: 4px; }
.site-nav > ul a { display: block; padding: 8px 14px; color: var(--ink-2); font-weight: 500; border-radius: 8px; }
.site-nav > ul a:hover { color: var(--primary); background: var(--primary-soft); }
.site-nav > ul a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1259px) and (min-width: 1061px) {
  .site-nav { gap: 12px; }
  .site-nav > ul a { padding: 8px 8px; }
  :root:lang(en) .site-header .brand-logo { height: 36px; }
}
@media (min-width: 1260px) {
  .site-header .brand-logo { height: 38px; }
  .site-nav { gap: 16px; }
  .site-nav > ul a { padding: 8px 9px; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 12px; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(19, 34, 28, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { align-self: stretch; }
}

/* ---------- 語言選單 ---------- */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .88rem; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s; white-space: nowrap; }
.lang-btn:hover, .lang-switch.open .lang-btn { border-color: var(--primary); color: var(--primary); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: .92rem; }
.lang-menu a:hover { background: var(--primary-soft); color: var(--primary); }
.lang-menu a[aria-current="true"] { color: var(--primary); font-weight: 700; }
@media (max-width: 1060px) {
  .lang-btn { display: none; }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
  .lang-menu a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
  .lang-menu a[aria-current="true"] { border-color: var(--primary); }
}

/* 各語系字體 */
.nb { display: inline-block; }
:root:lang(en) .hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.2; }
/* 英文標題的強調字可能跨行：改用背景畫螢光筆線，每一行都畫得到 */
:root:lang(en) .hero h1 em::after { display: none; }
:root:lang(en) .hero h1 em { background: linear-gradient(transparent 80%, rgba(232, 118, 44, .35) 80%, rgba(232, 118, 44, .35) 96%, transparent 96%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js:lang(en) .hero h1 em { background-size: 0% 100%; animation: underline-bg .9s 1s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes underline-bg { to { background-size: 100% 100%; } }
:root:lang(ja) .hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); }
:root:lang(zh-Hans) { --font: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; }
:root:lang(ja) { --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif; }
:root:lang(en) { --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
:root:lang(en) body { letter-spacing: 0; }
:root:lang(en) h1, :root:lang(en) h2, :root:lang(en) h3 { letter-spacing: -.01em; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 16px; font-size: .88rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #9fb0a7; }
.breadcrumb a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; color: var(--primary);
  letter-spacing: .18em; margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.section-dark .eyebrow { color: var(--accent); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 900; color: var(--navy); }
.section-dark .section-title { color: #fff; }
.section-desc { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-desc { color: rgba(255, 255, 255, .72); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 88px 0 104px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(47, 122, 90, .10), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(232, 118, 44, .10), transparent 60%),
    linear-gradient(180deg, #fff, #f6f9f7);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 900; color: var(--navy); line-height: 1.3; letter-spacing: .04em; }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: rgba(232, 118, 44, .35); z-index: -1; border-radius: 3px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7a5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 72px; } }

/* Dashboard mock */
.mock {
  position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; font-size: 12px; line-height: 1.4;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f2; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6ddd9; }
.mock-bar span { margin-left: 10px; color: var(--muted); font-size: 11px; }
.mock-body { display: grid; grid-template-columns: 120px 1fr; min-height: 340px; }
.mock-side { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 14px 10px; }
.mock-side b { display: block; color: #fff; font-size: 12px; margin: 2px 6px 14px; letter-spacing: .1em; }
.mock-side div { padding: 7px 8px; border-radius: 6px; margin-bottom: 2px; }
.mock-side div.on { background: rgba(255, 255, 255, .12); color: #fff; }
.mock-main { padding: 16px; background: #fafcfb; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock-kpi small { color: var(--muted); display: block; }
.mock-kpi strong { font-size: 16px; color: var(--navy); }
.mock-kpi em { font-style: normal; color: #15803d; font-size: 10px; margin-left: 4px; }
.mock-chart { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.mock-chart small { color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 8px; }
.bars span { flex: 1; background: linear-gradient(180deg, #4f9a78, var(--primary)); border-radius: 4px 4px 0 0; }
.bars span:nth-child(5), .bars span:nth-child(8) { background: linear-gradient(180deg, #f29a5e, var(--accent)); }
.mock-table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-row { display: grid; grid-template-columns: 1.2fr 1fr .8fr; padding: 7px 12px; border-top: 1px solid var(--line); color: var(--ink-2); }
.mock-row:first-child { border-top: 0; background: #f4f7f5; color: var(--muted); font-weight: 700; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.tag-ok { background: #dcfce7; color: #15803d; }
.tag-wait { background: var(--accent-soft); color: #b4501a; }
.mock-note { position: absolute; right: 12px; bottom: 10px; font-size: 10px; color: #9fb0a7; }
.hero-badge {
  position: absolute; left: -20px; bottom: 36px; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-size: 13px; border: 1px solid var(--line);
}
.hero-badge b { color: var(--navy); display: block; }
.hero-badge small { color: var(--muted); }
.hero-badge .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: #b4501a; display: grid; place-items: center; }
.hero-visual { position: relative; }
@media (max-width: 560px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .hero-badge { display: none; } }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { padding: 26px 20px; display: flex; gap: 14px; align-items: center; border-left: 1px solid var(--line); }
.trust-list li:first-child { border-left: 0; }
.trust-list b { display: block; color: var(--navy); }
.trust-list small { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .trust-list { grid-template-columns: repeat(2, 1fr); } .trust-list li:nth-child(3) { border-left: 0; } .trust-list li { border-top: 1px solid var(--line); } .trust-list li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; } .trust-list li { border-left: 0; } .trust-list li:nth-child(2) { border-top: 1px solid var(--line); } }

/* ---------- Icons ---------- */
.icon { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-accent { background: var(--accent-soft); color: #b4501a; }
.icon-sm { width: 40px; height: 40px; border-radius: 10px; }
.icon-sm svg { width: 20px; height: 20px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%;
}
.card:hover { box-shadow: var(--shadow); border-color: #d3ddd7; }
.card h3 { font-size: 1.18rem; color: var(--navy); margin-top: 18px; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; }
.card-link::after { content: "→"; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }
a.card { display: block; color: inherit; }
a.card:hover { transform: translateY(-3px); color: inherit; }

.pain-card { position: relative; padding-top: 34px; }
.pain-card .quote { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 16px 0 10px; }
.pain-card p { font-size: .96rem; }

/* Pain → Solution */
.ps-row { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; gap: 0; margin-bottom: 18px; }
.ps-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.ps-box h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy); }
.ps-box p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.ps-box small { display: block; font-weight: 700; letter-spacing: .12em; font-size: .75rem; margin-bottom: 6px; }
.ps-pain small { color: #b4501a; }
.ps-sol { border-color: #cde5d9; background: linear-gradient(180deg, #fff, #f5faf7); }
.ps-sol small { color: var(--primary); }
.ps-arrow { display: grid; place-items: center; color: var(--accent); font-size: 1.6rem; font-weight: 900; }
@media (max-width: 760px) { .ps-row { grid-template-columns: 1fr; } .ps-arrow { transform: rotate(90deg); height: 40px; } }

/* Approach */
.approach { counter-reset: ap; }
.approach .card { position: relative; }
.approach .card::before {
  counter-increment: ap; content: "0" counter(ap); position: absolute; top: 22px; right: 26px;
  font-size: 2.6rem; font-weight: 900; color: #edf3ef; line-height: 1;
}

/* Services */
.service-card ul { list-style: none; margin-top: 16px; }
.service-card li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .95rem; margin-bottom: 6px; }
.service-card li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* Modules */
.module { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); }
.module h3 { font-size: 1.05rem; margin: 0 0 4px; color: #fff; }
.module p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .92rem; line-height: 1.7; }
.module .icon { background: rgba(255, 255, 255, .1); color: var(--accent); }
.module-light { background: #fff; border-color: var(--line); }
.module-light h3 { color: var(--navy); }
.module-light p { color: var(--ink-2); }
.module-light .icon { background: var(--primary-soft); color: var(--primary); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: st; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px 26px; }
.steps li::before {
  counter-increment: st; content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 900; margin-bottom: 16px;
}
.steps h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.steps .meta { display: inline-block; margin-top: 12px; font-size: .8rem; color: var(--primary); background: var(--primary-soft); padding: 2px 10px; border-radius: 999px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Why */
.why-item { display: flex; gap: 16px; }
.why-item h3 { font-size: 1.05rem; color: var(--navy); margin: 0 0 4px; }
.why-item p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list b { color: var(--navy); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); }
.faq-a p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #2a6150 100%); color: #fff; border-radius: 24px; padding: 56px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 118, 44, .35), transparent 70%); }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 900; color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-contacts { display: grid; gap: 12px; }
.cta-contact { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.cta-contact:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cta-contact small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; }
.cta-contact b { font-size: 1.1rem; letter-spacing: .05em; }
.cta-contact .icon { background: rgba(255, 255, 255, .12); color: var(--accent); width: 42px; height: 42px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-band { padding: 40px 24px; border-radius: 18px; } }

/* Page hero */
.page-hero { padding: 48px 0 72px; background: linear-gradient(180deg, #fff, var(--bg-alt)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 900; color: var(--navy); }
.page-hero .lead { margin-bottom: 0; }

/* Service detail */
.service-detail { display: grid; grid-template-columns: 360px 1fr; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-detail:last-child { border-bottom: 0; }
.service-detail .num { font-size: .85rem; font-weight: 900; color: var(--accent); letter-spacing: .2em; }
.service-detail h2 { font-size: 1.7rem; color: var(--navy); margin-top: 10px; font-weight: 900; }
.service-detail .aside p { color: var(--ink-2); }
.detail-block { margin-bottom: 28px; }
.detail-block h3 { font-size: 1rem; color: var(--primary); letter-spacing: .1em; margin-bottom: 12px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; } }

/* Industry block */
.industry { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; margin-bottom: 28px; scroll-margin-top: 90px; }
.industry-head { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.industry-head h2 { font-size: 1.45rem; color: var(--navy); margin: 0; font-weight: 900; }
.industry-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.industry-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-cols h3 { font-size: .9rem; letter-spacing: .14em; margin-bottom: 10px; }
.industry-cols .c-pain h3 { color: #b4501a; }
.industry-cols .c-sol h3 { color: var(--primary); }
.industry-cols .c-gain h3 { color: #15803d; }
.industry-cols ul { list-style: none; }
.industry-cols li { position: relative; padding-left: 16px; margin-bottom: 8px; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }
.industry-cols li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
@media (max-width: 860px) { .industry-cols { grid-template-columns: 1fr; } .industry { padding: 26px; } }

/* Migration flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: fl; }
.flow li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 20px 16px; position: relative; }
.flow li::before { counter-increment: fl; content: "STEP " counter(fl); font-size: .72rem; letter-spacing: .16em; color: var(--accent); font-weight: 700; display: block; margin-bottom: 8px; }
.flow b { display: block; color: #fff; margin-bottom: 6px; }
.flow p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .88rem; line-height: 1.7; }
@media (max-width: 1024px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } }

/* Tech */
.tech-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.tech-table th, .tech-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tech-table th { width: 180px; color: var(--navy); background: var(--bg-alt); font-weight: 700; }
.tech-table td { color: var(--ink-2); }
.tech-table tr:last-child th, .tech-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .tech-table th, .tech-table td { display: block; width: 100%; } .tech-table th { border-bottom: 0; padding-bottom: 4px; } }

/* About */
.value-num { font-size: 2.4rem; font-weight: 900; color: var(--accent); line-height: 1; }
.name-card { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 40px; }
.name-card .chars { display: flex; gap: 16px; margin-bottom: 20px; }
.name-card .chars span { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; font-size: 2rem; font-weight: 900; background: rgba(255, 255, 255, .1); }
.name-card .chars span:first-child { background: #2f7a5a; }
.name-card .chars span:last-child { background: #e8762c; color: #fff; }
.name-card p { color: rgba(255, 255, 255, .8); }
.name-card b { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 26px 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .95rem; padding: 0; }
.req { color: #dc2626; margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 122, 90, .12); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); margin: 0; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .92rem; }
.checks label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.checks input { accent-color: var(--primary); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { margin-top: .45em; accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; }
.form-status.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.hp { position: absolute; left: -9999px; }
.contact-side { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: inherit; }
a.contact-card:hover { border-color: var(--primary); color: inherit; box-shadow: var(--shadow); }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card b { color: var(--navy); font-size: 1.1rem; letter-spacing: .04em; word-break: break-all; }
.line-card .icon { background: #e7f8ee; color: #06c755; }
.info-box { background: var(--bg-alt); border-radius: 14px; padding: 22px; font-size: .92rem; color: var(--ink-2); }
.info-box h2 { font-size: 1rem; color: var(--navy); }
.info-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.info-box dt { color: var(--muted); }
.info-box dd { margin: 0; }

/* Legal / prose */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: .9rem; }
.legal-toc h2 { font-size: .85rem; color: var(--muted); letter-spacing: .14em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; color: var(--muted); }
.legal-toc li { margin-bottom: 6px; }
.legal-toc a { color: var(--ink-2); }
.legal-toc a:hover { color: var(--primary); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; background: var(--bg-alt); padding: 20px; border-radius: 12px; } }
.prose { max-width: 820px; color: var(--ink-2); }
.prose h2 { font-size: 1.3rem; color: var(--navy); margin-top: 2.2em; padding-top: .4em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; color: var(--navy); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--navy); }
.prose .updated { display: inline-block; font-size: .88rem; color: var(--muted); background: var(--bg-alt); padding: 4px 14px; border-radius: 999px; margin-bottom: 24px; }
.table-wrap { overflow-x: auto; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: 6rem; font-weight: 900; color: var(--primary-soft); -webkit-text-stroke: 2px var(--primary); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #10291f; color: rgba(255, 255, 255, .7); margin-top: 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding: 64px 24px 48px; }
.footer-brand { max-width: 26em; }
.footer-brand .brand { width: fit-content; margin: 0 auto; }
.footer-brand p { margin-top: 18px; line-height: 1.9; }
.footer-title { font-size: .95rem; color: #fff; letter-spacing: .12em; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 8px; }
.footer-contact span { flex: none; width: 3.2em; color: rgba(255, 255, 255, .45); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: .84rem; }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .5); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: rgba(255, 255, 255, .6); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; padding-top: 48px; } }

/* LINE float */
.line-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 8px;
  background: #06c755; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 24px rgba(6, 199, 85, .35); transition: transform .2s;
}
.line-float:hover { color: #fff; transform: translateY(-2px); }
.line-float svg { width: 24px; height: 24px; }
@media (max-width: 520px) { .line-float span { display: none; } .line-float { padding: 14px; } }

/* LINE QR Code */
.qr { display: inline-block; flex: none; background: #fff; padding: 6px; border-radius: 10px; line-height: 0; }
.qr img { display: block; max-width: 100%; height: auto; }
.cta-line { gap: 16px; }
.cta-line .qr img { width: 104px; }
.line-card { align-items: center; }
.line-card .qr { border: 1px solid var(--line); }
.line-card .qr img { width: 128px; }
.line-card small.mt-1 { margin-top: 6px; line-height: 1.5; }
.qr-inline { border: 1px solid var(--line); vertical-align: middle; margin-right: 12px; }
.qr-inline img { width: 120px; }
.qr-caption { color: var(--muted); font-size: .9rem; }
.footer-contact li .footer-qr { width: auto; display: flex; flex-direction: column; gap: 6px; color: rgba(255, 255, 255, .7); }
.footer-contact .footer-qr .qr { width: auto; color: inherit; }
.footer-qr .qr img { width: 96px; }
.footer-qr small { font-size: .8rem; }
button.line-float { border: 0; cursor: pointer; font-family: inherit; }
.line-dialog { border: 0; border-radius: 18px; padding: 32px 28px 24px; text-align: center; max-width: calc(100vw - 32px); width: 300px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.line-dialog::backdrop { background: rgba(12, 30, 24, .55); }
.line-dialog h2 { font-size: 1.25rem; margin: 0 0 4px; color: var(--navy); }
.line-dialog p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.line-dialog .qr { border: 1px solid var(--line); margin-bottom: 12px; }
.line-dialog .qr img { width: 180px; }
.line-dialog .line-dialog-note { font-size: .8rem; margin: 0; }
.line-dialog-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.line-dialog-close:hover { color: var(--navy); }
@media (max-width: 420px) { .line-card { flex-direction: column; text-align: center; } }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.cookie-inner { pointer-events: auto; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 880px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; gap: 20px; align-items: center; }
.cookie-inner p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.7; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 700px) { .cookie-inner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

/* Reveal */
/* ================= 動態效果（Motion） =================
   - 只在 html.js 時隱藏待進場元素，JS 失效時內容照常顯示
   - 系統開啟「減少動態效果」時全部停用 */
.js .reveal, .js :is(.section-head, .page-hero .container, .module, .why-item, .trust-list li, .faq-item, .ps-row, .cta-band, .split > *, .ai-box, .info-box, .contact-card, .tech-table) {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1), translate .25s, box-shadow .25s, border-color .25s, background .25s;
}
.js .reveal.in, .js :is(.section-head, .page-hero .container, .module, .why-item, .trust-list li, .faq-item, .ps-row, .cta-band, .split > *, .ai-box, .info-box, .contact-card, .tech-table).in { opacity: 1; transform: none; }

/* 捲動進度條 */
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--primary)); pointer-events: none; }

/* 標題小字的橘線：進場時由短變長 */
.js .section-head .eyebrow::before, .js .split .eyebrow::before { width: 0; transition: width .8s .25s cubic-bezier(.2, .7, .2, 1); }
.js .in .eyebrow::before { width: 22px; }

/* 卡片：懸停浮起＋跟著滑鼠的光暈 */
.card, .module, .steps li { --mx: 50%; --my: 50%; }
.card:hover, .steps li:hover { translate: 0 -4px; box-shadow: 0 18px 40px rgba(22, 58, 47, .10); border-color: #cfdcd5;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(47, 122, 90, .07), transparent 65%), #fff; }
.steps li { transition: translate .25s, box-shadow .25s, border-color .25s, opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.module:hover { translate: 0 -3px; border-color: rgba(232, 118, 44, .45);
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(232, 118, 44, .14), transparent 65%), rgba(255, 255, 255, .06); }
.card .icon, .module .icon, .why-item .icon, .trust-list .icon { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .25s, color .25s; }
.card:hover .icon, .module:hover .icon, .why-item:hover .icon, .trust-list li:hover .icon { transform: translateY(-2px) rotate(-6deg) scale(1.08); }
.pain-card:hover .icon { background: var(--accent); color: #fff; }
.service-card:hover .icon, .approach .card:hover .icon { background: var(--primary); color: #fff; }
.pain-card .quote span { background: linear-gradient(transparent 62%, rgba(232, 118, 44, .3) 62%) no-repeat 0 0 / 0% 100%; transition: background-size .5s ease; }
.pain-card:hover .quote span { background-size: 100% 100%; }

/* 「我們的做法」大數字：進場時由灰轉橘 */
.approach .card::before { transition: color .8s .3s; }
.approach .card.in::before { color: #f6cfb3; }

/* 流程步驟：數字圓圈進場時發出一圈光 */
.steps li.in::before { animation: ring 1.4s .35s ease-out 1; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(47, 122, 90, .45); } 100% { box-shadow: 0 0 0 16px rgba(47, 122, 90, 0); } }

/* 按鈕：滑過時一道光掃過 */
.btn-primary, .btn-accent { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-accent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); }
.btn-primary:hover::after, .btn-accent:hover::after { transition: transform .7s ease; transform: translateX(120%); }

/* Hero：漂移的光暈＋點陣背景 */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(22, 58, 47, .13) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 80% 35%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 80% 35%, #000, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(47, 122, 90, .16), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero-grid { position: relative; z-index: 1; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-140px, 80px) scale(1.15); } 100% { transform: translate(-60px, 160px) scale(.95); } }

/* Hero 文字：依序浮現，「遷就系統」的底線由左畫到右 */
.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3) { animation-delay: .22s; }
.js .hero-copy > :nth-child(4) { animation-delay: .34s; }
.js .hero-copy > :nth-child(5) { animation-delay: .46s; }
.hero h1 em::after { transform-origin: 0 50%; }
.js .hero h1 em::after { transform: scaleX(0); animation: underline .9s 1s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes underline { to { transform: scaleX(1); } }

/* Hero 後台示意圖：浮入、長條圖長高、資料列滑入、跟著滑鼠微微傾斜 */
.hero-visual { perspective: 1400px; }
.mock { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s ease-out; }
.js .hero-visual { opacity: 0; transform: translateY(30px); animation: rise 1s .25s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .bars span { transform: scaleY(0); transform-origin: 50% 100%; animation: grow .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.7s + var(--i, 0) * 60ms); }
@keyframes grow { to { transform: scaleY(1); } }
.js .mock-row:not(:first-child) { opacity: 0; transform: translateX(14px); animation: rise .6s forwards; }
.js .mock-row:nth-child(2) { animation-delay: 1.3s; }
.js .mock-row:nth-child(3) { animation-delay: 1.45s; }
.js .mock-row:nth-child(4) { animation-delay: 1.6s; }
.mock-side div { transition: background .4s, color .4s; }
.tag { transition: background .4s, color .4s; }
.tag.flip { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.hero-badge { animation: float 5s ease-in-out 1.8s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* 深色區塊／CTA：緩慢流動的光 */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: radial-gradient(35% 30% at 20% 30%, rgba(47, 122, 90, .45), transparent 70%), radial-gradient(30% 25% at 80% 70%, rgba(232, 118, 44, .16), transparent 70%);
  animation: aurora 22s ease-in-out infinite alternate; }
.section-dark > .container { position: relative; z-index: 1; }
@keyframes aurora { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(6%, -4%) rotate(8deg); } }
.cta-band::after { animation: drift 16s ease-in-out infinite alternate; }

/* 內頁標題區：點陣光暈 */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(22, 58, 47, .10) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(55% 100% at 92% 0%, #000, transparent 70%); mask-image: radial-gradient(55% 100% at 92% 0%, #000, transparent 70%); }
.page-hero .container { position: relative; }

/* FAQ 展開時內容滑入 */
.faq-item:hover, .faq-item[open] { border-color: #cfdcd5; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item[open] .faq-a { animation: rise .45s cubic-bezier(.2, .7, .2, 1); }

/* 減少動態效果：全部停用 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js :is(.section-head, .page-hero .container, .module, .why-item, .trust-list li, .faq-item, .ps-row, .cta-band, .split > *, .ai-box, .info-box, .contact-card, .tech-table), .js .hero-copy > *, .js .hero-visual, .js .mock-row, .js .bars span { opacity: 1 !important; transform: none !important; }
  .js .hero h1 em::after { transform: none !important; }
  .js:lang(en) .hero h1 em { background-size: 100% 100% !important; }
  .js .section-head .eyebrow::before, .js .split .eyebrow::before { width: 22px; }
  .scroll-progress { display: none; }
}

.ai-box { background: var(--bg-alt); border-radius: 20px; padding: 44px; }
@media (max-width: 600px) { .ai-box { padding: 28px 20px; gap: 28px; } }
.hero-grid > *, .split > *, .grid > *, .contact-grid > *, .cta-grid > *, .legal-layout > * { min-width: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.muted { color: var(--muted); }

/* ---------- 朋友式首頁（2026-11 試做） ---------- */
/* 主視覺：LINE → AI → 系統 流程示意 */
.duo-mock { position: relative; max-width: 480px; margin-left: auto; display: grid; gap: 18px; padding-bottom: 18px; }
.duo-mock .flow-chat { margin-left: 36px; }
.duo-mock .dash-mock { margin-right: 36px; padding-bottom: 16px; }
.flow-label { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.flow-label .n { padding: 0 9px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .75rem; }
.flow-chat { background: #eef4f1; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.bubble { margin: 0; max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.6; }
.bubble.them { align-self: flex-start; background: #fff; border-top-left-radius: 4px; color: var(--ink-2); }
.bubble.ai { align-self: flex-end; background: var(--primary); color: #fff; border-top-right-radius: 4px; }
.ai-tag { display: block; font-size: .7rem; font-weight: 700; color: #ffd9bf; margin-bottom: 2px; letter-spacing: .06em; }
.dash-mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 30px; box-shadow: var(--shadow-lg); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.dash-kpi { background: var(--primary-soft); border-radius: 12px; padding: 8px 12px; }
.dash-kpi small { display: block; color: var(--muted); font-size: .74rem; }
.dash-kpi strong { font-size: 1.35rem; color: var(--navy); line-height: 1.3; }
.dash-kpi strong i { font-style: normal; font-size: .75rem; font-weight: 500; margin-left: 2px; color: var(--muted); }
.dash-kpi.warn { background: var(--accent-soft); }
.dash-kpi.warn strong { color: #b4501a; }
.dash-list { display: grid; gap: 6px; }
.dash-item { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-2); padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); }
.dash-item .ck { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c9d6cf; }
.dash-item.done { color: var(--muted); }
.dash-item.done .ck { background: var(--primary); border-color: var(--primary); }
.dash-item.new { border-color: var(--accent); background: #fffaf6; color: var(--navy); font-weight: 700; }
.dash-item.new .ck { border-color: var(--accent); background: var(--accent); }
.duo-mock .mock-note { right: 4px; bottom: -4px; color: #9fb0a7; }
@media (max-width: 960px) { .duo-mock { margin: 0 auto; } }
@media (max-width: 480px) { .duo-mock .flow-chat { margin-left: 16px; } .duo-mock .dash-mock { margin-right: 16px; } }
@media (max-width: 480px) { .dash-kpi strong { font-size: 1.1rem; } .dash-kpi small { font-size: .68rem; } }

/* 兩大主打：前台接客／後台管理 */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pillar .scene { margin: -6px -8px 18px; }
.pillar-tag { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; padding: 2px 12px; border-radius: 999px; margin-bottom: 8px; letter-spacing: .08em; }
.pillar h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 14px; }
.pillar-pain { list-style: none; display: grid; gap: 6px; margin-bottom: 16px; }
.pillar-pain li { color: var(--navy); font-weight: 700; font-size: .95rem; background: var(--bg-alt); border-radius: 10px; padding: 6px 12px; }
.pillar-do { margin-bottom: 18px; flex: 1; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* 情境插圖卡 */
.scene { margin: -6px -6px 18px; }
.scene svg { width: 100%; height: auto; }
.scene-card .quote { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.scene-card p:last-child { color: var(--ink-2); margin: 0; }
.pain-more { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.pain-more li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; color: var(--ink-2); font-size: .92rem; }

/* 待補標記：上線前要換成真實內容 */
.placeholder { position: relative; border: 2px dashed #e8b48f; border-radius: var(--radius); background: #fffaf6; }
.ph-tag { display: inline-block; font-size: .75rem; font-weight: 700; color: #b4501a; background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.ph-text { padding: 18px 20px 6px; margin-bottom: 18px; }
.ph-text p { color: var(--ink-2); }

/* 我是誰 */
.photo-slot { aspect-ratio: 4 / 5; max-width: 420px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; color: var(--muted); padding: 24px; }
.photo-slot .ph-tag { position: absolute; top: 14px; left: 14px; }
.photo-slot p { margin: 0; }
.me-facts { list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: .95rem; }
.me-facts b { color: var(--navy); margin-right: 10px; }
@media (max-width: 900px) { .photo-slot { max-width: 100%; aspect-ratio: 16 / 10; } }

/* 4 步驟 */
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps.steps-4 { grid-template-columns: 1fr; } }

/* 合作小故事 */
.story-card { background: #fffaf6; }
.story-who { color: var(--primary); font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.story-card h3 { color: var(--navy); font-size: 1.1rem; }
.story-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: .6em; }
.story-card p b { color: var(--navy); }
.story-result { margin: 14px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent) !important; font-weight: 700; }
.price-hint { margin-top: 24px; }
.pillar .scene { background: #f5f8f6; border-radius: 12px; }
.pillar .scene svg { height: 190px; width: 100%; }
.pillar-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.both-box { display: flex; gap: 16px; align-items: flex-start; max-width: 760px; margin: 32px auto 0; background: #fff; border: 1.5px dashed var(--accent); border-radius: var(--radius); padding: 20px 24px; }
.both-box h3 { font-size: 1.08rem; color: var(--navy); margin: 0 0 4px; }
.both-box p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.platform-table th { white-space: nowrap; width: 9.5em; }
.me-scene { margin: 0; max-width: 460px; }
.me-scene svg { width: 100%; height: auto; }
@media (max-width: 900px) { .me-scene { max-width: 100%; } }
.site-nav > ul a { white-space: nowrap; }
@media (min-width: 1061px) {
  :root:lang(en) .site-nav > ul, :root:lang(ja) .site-nav > ul { gap: 0; }
  :root:lang(en) .site-nav > ul a, :root:lang(ja) .site-nav > ul a { padding: 8px 7px; font-size: .94rem; }
  :root:lang(en) .site-nav, :root:lang(ja) .site-nav { gap: 10px; }
}

/* ===== 兩大賣點：親力親為、解決痛點 ===== */
.core { padding: 56px 0 24px; background: linear-gradient(180deg, var(--bg-alt), #fff); border-top: 1px solid var(--line); }
.core-eyebrow { text-align: center; margin-bottom: 22px; }
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.core-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 32px 22px; }
.core-card.core-b { border-top-color: var(--accent); }
.core-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.core-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.core-b .core-icon { background: var(--accent-soft); color: #b4501a; }
.core-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.core-n { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--line); }
.core-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--navy); margin: 6px 0 10px; line-height: 1.3; }
.core-card p { color: var(--ink-2); margin: 0 0 16px; }
.core-card .check-list { margin: 0; padding: 0; }
@media (max-width: 760px) { .core { padding: 40px 0 12px; } .core-grid { grid-template-columns: 1fr; gap: 18px; } .core-card { padding: 24px 22px 16px; } }

/* 主標下方的服務項目 */
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; }
.hero-tags span { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-600); font-weight: 700; font-size: .95rem; letter-spacing: .03em; }
.hero-tags span:nth-child(2) { background: var(--accent-soft); color: #b4501a; }
@media (max-width: 760px) { .hero-tags { gap: 6px; } .hero-tags span { font-size: .82rem; padding: 4px 11px; } }

/* ===== 首頁主視覺：實際運作示範（動態） ===== */
.live-demo { position: relative; max-width: 470px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px 16px 30px; }
.ld-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ld-live { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--primary-600); background: var(--primary-soft); border-radius: 999px; padding: 4px 11px; }
.ld-live i { width: 8px; height: 8px; border-radius: 50%; background: #22b35e; box-shadow: 0 0 0 0 rgba(34,179,94,.5); animation: ldpulse 1.8s infinite; }
.ld-steps { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; counter-reset: ld; }
.ld-steps li { counter-increment: ld; font-size: .74rem; color: var(--muted); padding: 3px 9px 3px 6px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; transition: background .3s, color .3s; }
.ld-steps li::before { content: counter(ld); width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 700; background: var(--line); color: var(--muted); transition: inherit; }
.ld-steps li.on { background: var(--accent-soft); color: #b4501a; font-weight: 700; }
.ld-steps li.on::before { background: var(--accent); color: #fff; }
.ld-stage { position: relative; height: 320px; }
.ld-scene { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.ld-scene.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .15s, transform .45s .15s; }
.ld-bar { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--navy); }
.ld-badge { height: 22px; min-width: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; }
.ld-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ld-chat { background: #eef4f1; border-radius: 16px; padding: 12px 14px; gap: 8px; }
.ld-msgs { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 28px); mask-image: linear-gradient(transparent, #000 28px); display: flex; flex-direction: column; justify-content: flex-end; }
.ld-msgs .bubble { margin-top: 8px; flex: none; }
@keyframes ldmsg { from { opacity: 0; max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; transform: translateY(8px); } to { opacity: 1; max-height: 140px; transform: none; } }
.ld-chat .bubble { font-size: .86rem; padding: 7px 12px; }
.ld-typing { margin: 0; align-self: flex-end; background: var(--primary); border-radius: 14px; padding: 9px 12px; display: none; gap: 4px; }
.ld-typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; animation: ldblink 1s infinite; }
.ld-typing i:nth-child(2) { animation-delay: .15s; } .ld-typing i:nth-child(3) { animation-delay: .3s; }
.ld-kpis { grid-template-columns: 1fr 1fr; margin-bottom: 2px; }
.ld-src { font-size: .68rem; font-weight: 700; color: #fff; background: #06c755; border-radius: 6px; padding: 1px 6px; }
.ld-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: .74rem; color: var(--primary); white-space: nowrap; }
.ld-ok svg, .ld-done svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ld-bars { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; padding: 12px 6px 26px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 39px, #eef2ef 39px 40px); border-radius: 12px; }
.ld-bars span { position: relative; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #4f9a78, var(--primary)); transform-origin: bottom; }
.ld-bars span:last-child { background: linear-gradient(180deg, #f29a5e, var(--accent)); }
.ld-bars i { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); font-style: normal; font-size: .7rem; color: var(--muted); white-space: nowrap; }
.ld-done { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--primary-600); background: var(--primary-soft); border-radius: 12px; padding: 9px 12px; }
.live-demo .mock-note { right: 14px; bottom: 9px; }
@keyframes ldpulse { 0% { box-shadow: 0 0 0 0 rgba(34,179,94,.5); } 70% { box-shadow: 0 0 0 7px rgba(34,179,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,179,94,0); } }
@keyframes ldblink { 50% { opacity: 1; } }
@keyframes ldpop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ldslide { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes ldgrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ldtype { 0% { opacity: 0; } 12%, 88% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .ld-scene.is-on .d1, .ld-scene.is-on .d3 { animation: ldpop .45s cubic-bezier(.2,.7,.2,1) both; }
  .ld-chat.is-on .ld-msgs .bubble { animation: ldmsg .5s cubic-bezier(.2,.7,.2,1) both; }
  .ld-chat.is-on .m1 { animation-delay: .2s !important; } .ld-chat.is-on .m2 { animation-delay: 1.3s !important; }
  .ld-chat.is-on .m3 { animation-delay: 2.7s !important; } .ld-chat.is-on .m4 { animation-delay: 3.9s !important; }
  .ld-chat.is-on .m5 { animation-delay: 5.6s !important; } .ld-chat.is-on .m6 { animation-delay: 6.8s !important; }
  .ld-order.is-on .dash-item.new { animation: ldslide .55s .5s cubic-bezier(.2,.7,.2,1) both; }
  .ld-report.is-on .ld-bars span { animation: ldgrow .6s cubic-bezier(.2,.7,.2,1) both; }
  .ld-report.is-on .ld-bars span:nth-child(2) { animation-delay: .1s; } .ld-report.is-on .ld-bars span:nth-child(3) { animation-delay: .2s; }
  .ld-report.is-on .ld-bars span:nth-child(4) { animation-delay: .3s; } .ld-report.is-on .ld-bars span:nth-child(5) { animation-delay: .4s; }
  .ld-report.is-on .ld-bars span:nth-child(6) { animation-delay: .5s; }
  .ld-report.is-on .d3 { animation-delay: 1.2s; }
}
@media (max-width: 960px) { .live-demo { margin: 0 auto; } }
@media (max-width: 480px) { .live-demo { padding: 12px 12px 28px; } .ld-steps li { padding: 3px 6px 3px 4px; } .ld-stage { height: 380px; } }

/* 主視覺下方：白話成果數字（示意情境） */
.hero-stats { background: #fff; border-top: 1px solid var(--line); padding: 30px 0 26px; }
.hs-label { text-align: center; font-size: .86rem; font-weight: 700; color: var(--muted); letter-spacing: .12em; margin: 0 0 14px; }
.hs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hs-list li { text-align: center; padding: 6px 18px; border-left: 1px solid var(--line); }
.hs-list li:first-child { border-left: 0; }
.hs-list strong { display: block; color: var(--primary); line-height: 1.1; }
.hs-list strong b { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; }
.hs-list strong i { font-style: normal; font-size: 1.05rem; font-weight: 700; margin-left: 4px; }
.hs-list li:nth-child(2) strong { color: var(--accent); }
.hs-list span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.hs-note { text-align: center; margin: 16px 0 0; font-size: .78rem; color: #8a9a92; }
@media (max-width: 760px) { .hero-stats { padding: 24px 0 20px; } .hs-list li { padding: 4px 6px; } .hs-list strong b { font-size: 2rem; } .hs-list strong i { font-size: .85rem; margin-left: 2px; } .hs-list span { font-size: .8rem; line-height: 1.5; } }

/* ===== 內頁：精簡圖像化版型 ===== */
.page-hero-art { padding: 40px 0 48px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.page-hero-art h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.3; }
.page-hero-art .lead { font-size: 1.08rem; max-width: 34em; }
.hero-art > svg { width: 100%; max-width: 420px; height: auto; display: block; margin-left: auto; filter: drop-shadow(0 14px 30px rgba(22,58,47,.08)); }
.tiles { display: grid; gap: 22px; }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; display: flex; flex-direction: column; transition: box-shadow .25s, translate .25s, border-color .25s; }
.tile:hover { translate: 0 -3px; box-shadow: 0 16px 36px rgba(22,58,47,.09); border-color: #cfdcd5; }
.tile h3 { font-size: 1.15rem; color: var(--navy); margin: 14px 0 6px; }
.tile p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.tile-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tile-chips li { font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-600); }
.tile-accent { background: linear-gradient(160deg, #fff, var(--accent-soft)); border-color: #f6d3bb; }
.tile .card-link { margin-top: auto; padding-top: 14px; }
.icon-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.icon-chips li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pf { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pf p { margin: 0; display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; line-height: 1.6; }
.pf p span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.pf-pain { background: var(--accent-soft); color: #7a3b14; }
.pf-pain span { background: var(--accent); color: #fff; }
.pf-fix { color: var(--navy); font-weight: 700; }
.pf-fix span { background: var(--primary); color: #fff; }
.ind { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.ind-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.ind-head h3 { margin: 0; color: var(--navy); font-size: 1.2rem; }
.ind-head small { color: var(--muted); }
.ind-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ind-cols ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .94rem; }
.ind-cols li { margin-bottom: 4px; }
.ind-tag { display: inline-block; font-size: .78rem; padding: 2px 10px; border-radius: 999px; }
.ind-tag.pain { background: var(--accent-soft); color: #b4501a; }
.ind-tag.fix { background: var(--primary-soft); color: var(--primary-600); }
.tl { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.tl::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 40px 40px 1fr; gap: 14px; align-items: start; padding: 0 0 26px; }
.tl-n { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 5px #fff; }
.tl-item:last-child .tl-n { background: var(--accent); }
.tl-item h3 { margin: 6px 0 2px; color: var(--navy); font-size: 1.15rem; }
.tl-item p { margin: 0; color: var(--ink-2); }
.tl-out { display: inline-block; margin-top: 8px; font-size: .82rem; color: var(--primary-600); background: var(--primary-soft); border-radius: 999px; padding: 2px 12px; }
.prep { max-width: 820px; margin: 10px auto 0; background: var(--bg-alt); border: 1px dashed #c9d6cf; border-radius: var(--radius); padding: 18px 22px; }
.prep b { display: block; color: var(--navy); margin-bottom: 10px; }
.table-wrap.narrow { max-width: 820px; margin: 0 auto; }
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art > svg { margin: 0 auto; max-width: 360px; }
  .tiles-3, .tiles-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tiles-2, .tiles-3, .tiles-4, .pf-grid, .ind-cols { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 40px 1fr; }
  .tl-item > .icon { display: none; }
  .icon-chips { grid-template-columns: 1fr 1fr; }
  .icon-chips li { font-size: .85rem; padding: 8px 10px; gap: 8px; }
}
.hero-chips { margin: 18px 0 0; padding: 0; }

/* ===== 單管家頁：示範動畫按鈕、功能畫面 ===== */
.ld-btns { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ld-btns b { background: #fff; color: var(--primary-600); border-radius: 999px; padding: 1px 10px; font-size: .74rem; }
.ld-ic { flex: none; }
.page-hero-art .live-demo { margin-left: auto; }
.fr-list { display: grid; gap: 56px; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fr:nth-child(even) .fr-media { order: -1; }
.fr-n { display: inline-block; font-weight: 800; color: var(--accent); letter-spacing: .1em; font-size: .9rem; margin-bottom: 6px; }
.fr-text h3 { font-size: 1.45rem; margin: 0 0 10px; color: var(--navy); }
.fr-text p { margin: 0 0 14px; color: var(--ink-2); }
.fr-media { background: linear-gradient(135deg, #eef6f1, #fdf3ea); border-radius: 22px; padding: 28px; display: grid; place-items: center; min-height: 260px; }
.fm { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: .86rem; color: var(--ink-2); }
.fm-bar { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: .86rem; margin-bottom: 10px; }
.fm-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.fm-table th { text-align: left; font-size: .74rem; color: var(--muted); font-weight: 700; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.fm-table td { padding: 7px 6px; border-bottom: 1px dashed var(--line); }
.fm-table td:last-child, .fm-table th:last-child { text-align: right; white-space: nowrap; }
.fm-table tr.sum td { font-weight: 800; color: var(--navy); border-bottom: 0; }
.fm-parse { display: grid; grid-template-columns: .8fr auto 1.2fr; align-items: center; gap: 10px; max-width: 440px; background: transparent; border: 0; box-shadow: none; padding: 0; }
.fm-paper { background: #fffdf3; border: 1px solid #eadfb8; border-radius: 6px; padding: 12px 14px; transform: rotate(-3deg); box-shadow: 0 8px 20px rgba(22,58,47,.12); font-family: "Kalam", "Comic Sans MS", cursive; }
.fm-paper small { display: block; font-family: var(--font, inherit); font-size: .7rem; color: var(--muted); margin-bottom: 4px; }
.fm-paper p { margin: 0; font-size: 1.05rem; color: #3b4a7a; line-height: 1.7; border-bottom: 1px solid #efe6c6; }
.fm-arrow { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.fm-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; }
.fm-note { margin: 0 0 8px; padding: 9px 12px; border-radius: 12px; background: #f4f7f5; border: 1px solid var(--line); line-height: 1.5; }
.fm-note b { display: block; color: var(--navy); font-size: .84rem; }
.fm-note.warn { background: #fff6ef; border-color: var(--accent); }
.fm-note:last-child { margin-bottom: 0; }
.fm-reply { margin: 12px 0 8px; display: inline-block; background: #f4f7f5; border-radius: 14px 14px 14px 4px; padding: 7px 12px; }
.fm-diff { margin: 0; background: var(--accent-soft); color: #9a4415; font-weight: 700; border-radius: 10px; padding: 8px 12px; font-size: .82rem; }
.fr-safe { margin: 48px auto 0; max-width: 760px; display: flex; align-items: center; gap: 14px; background: var(--primary-soft); border-radius: 16px; padding: 16px 20px; color: var(--navy); }
.fr-safe .icon { flex: none; }
@media (max-width: 860px) {
  .fr { grid-template-columns: 1fr; gap: 20px; }
  .fr:nth-child(even) .fr-media { order: 0; }
  .fr-media { padding: 18px 14px; min-height: 0; }
  .fr-list { gap: 44px; }
}
@media (max-width: 420px) { .fm-parse { grid-template-columns: 1fr; } .fm-arrow { transform: rotate(90deg); justify-self: center; } }

/* ===== 內容頁插圖 ===== */
.tile-img, .ind-img, .tl-img { display: block; border-radius: 12px; background: linear-gradient(135deg, #eef6f1, #fdf3ea); overflow: hidden; }
.tile-img svg, .ind-img svg, .tl-img svg { display: block; width: 100%; height: auto; }
.tile .tile-img { margin-bottom: 4px; }
.card .tile-img { margin: -8px -8px 0; }
.ind-img { margin: -6px -8px 16px; }
.tl-item:has(.tl-img) { grid-template-columns: 40px 1fr 220px; align-items: center; gap: 20px; }
.tl-img { width: 220px; }
.hero-for { margin: 22px 0 0; font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.hero-for + .hero-chips { margin-top: 8px; }
@media (max-width: 700px) {
  .tl-item:has(.tl-img) { grid-template-columns: 40px 1fr; }
  .tl-img { grid-column: 2; width: 100%; max-width: 300px; }
}
.ind-img svg { height: 150px; }
.platform-head { text-align: center; margin: 56px 0 18px; font-size: 1.2rem; color: var(--navy); }
.platform-wrap + .form-note { text-align: center; margin-top: 14px; }

/* 單管家：接單管道 */
.channel-list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.channel-list li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #fff; border: 1px dashed #c9d6cf; border-radius: 14px; padding: 14px 16px; }
.channel-list li.on { border: 2px solid #06c755; background: #f3fcf6; }
.ch-ic { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.channel-list li.on .ch-ic { background: #06c755; color: #fff; }
.ch-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.channel-list b { color: var(--navy); font-size: 1rem; }
.channel-list small { color: var(--muted); font-size: .8rem; }
.channel-list li.on small { color: #058a3c; font-weight: 700; }
.ld-badge.shop { background: var(--primary); }
@media (max-width: 760px) { .channel-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .channel-list { grid-template-columns: 1fr; } }

/* 可以串接的平台：名稱列表 */
.platform-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.platform-list li { background: #fff; border: 1px solid #c9d6cf; border-radius: 999px; padding: 8px 18px; font-weight: 600; }
.platform-list li:last-child { border-style: dashed; color: #5b6b63; font-weight: 500; }
.platform-note { text-align: center; margin-top: 14px; }

/* ===== 首頁：最常找我的老闆（產業標籤） ===== */
.who-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: -8px auto 36px; max-width: 900px; }
.who-label { font-weight: 700; color: var(--navy); font-size: .95rem; }
.who-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.who-chips li { padding: 5px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-600); font-weight: 700; font-size: .92rem; }
.who-chips li:nth-child(even) { background: var(--accent-soft); color: #b4501a; }
@media (max-width: 680px) { .who-strip { margin: -4px auto 28px; } .who-label { width: 100%; text-align: center; } .who-chips li { font-size: .84rem; padding: 4px 11px; } }

/* ===== 首頁：陪你用 AI ===== */
.ai-learn { background: linear-gradient(180deg, #fff7f0 0%, #fff 100%); }
.ail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ail-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px 22px; display: flex; flex-direction: column; }
.ail-card:nth-child(2) { border-top-color: var(--primary); }
.ail-label { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.08rem; margin: 0 0 14px; }
.ail-label span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .85rem; flex: none; }
.ail-chat { display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); border-radius: 12px; padding: 14px; flex: 1; }
.ail-chat .bubble { max-width: 92%; }
.ail-chat .bubble.me { align-self: flex-end; background: var(--accent-soft); color: var(--ink); border-top-right-radius: 4px; }
.ail-chat .bubble.ai { align-self: flex-start; border-top-right-radius: 16px; border-top-left-radius: 4px; }
.ail-table table { width: 100%; border-collapse: collapse; font-size: .84rem; margin-top: 2px; }
.ail-table td { padding: 3px 6px; border-bottom: 1px solid rgba(255,255,255,.25); white-space: nowrap; }
.ail-table td:last-child { text-align: right; }
.ail-table tr.sum td { border-bottom: 0; font-weight: 800; color: #ffd9bf; }
.ail-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 0; padding: 0; }
.ail-chips li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 700; color: var(--navy); font-size: .93rem; }
.ail-chips li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.ail-note { text-align: center; color: var(--muted); font-size: .78rem; margin: 14px 0 0; }
@media (max-width: 900px) { .ail-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
