/* ==========================================================================
   頭家網 BOSSNET 形象頁樣式（淺綠版）
   設計 token 集中在 :root；版面以 1440 寬設計稿為基準，向下自適應。
   ========================================================================== */

:root {
  /* ===== 整站底色（淺綠）=====================================================
     改這裡就能整站調深淺：下面三個顏色一起換即可，其他地方都會跟著變。
       --bg       主底色（大部分區塊）
       --bg-deep  稍深一階（「三大核心服務」「常見問題」色帶）
       --bg-soft  稍淺一階（「完整功能一覽」「聯絡我們」色帶）
     建議色組（整組複製貼上）：
       再深一階：--bg: #ade0bb;  --bg-deep: #9bd7ab;  --bg-soft: #b9e6c6;
       目前使用：--bg: #bfe8cb;  --bg-deep: #ade0bb;  --bg-soft: #c9ecd4;
       再淺一階：--bg: #cfeed9;  --bg-deep: #bfe8cb;  --bg-soft: #dbf2e2;
     （改了 --bg 之後，index.html 的 theme-color 也請改成同一個色碼）
     首頁最上方的大面板會自動用「比主底色再亮一階」的淺綠，不必另外改。
     ========================================================================== */
  --bg: #bfe8cb;
  --bg-deep: #ade0bb;
  --bg-soft: #c9ecd4;

  /* 文字（深墨綠，不用純黑；三種深淺在上面任一組底色上都達 WCAG AA） */
  --ink: #133b27;        /* 主要文字 */
  --ink-2: #2b4f3d;      /* 次要文字 */
  --ink-3: #3a5b4b;      /* 說明小字 */
  --brand-ink: #0f5c33;  /* 綠色文字、連結 */

  /* 品牌綠（取自 App 圖示） */
  --brand-1: #3ed47a;
  --brand-2: #1f8f4e;
  /* 綠色按鈕／推薦方案／頁尾：白字在最淺處也達 4.5:1 */
  --green-1: #1c8649;
  --green-2: #136a39;
  --footer-1: #17773f;
  --footer-2: #136a39;

  /* 點綴色（圓形圖示底色） */
  --white: #ffffff;
  --lime: #bfff9f;
  --sky: #97daf4;
  --amber: #fec779;
  /* 圖表用（在白卡上要看得清楚，比點綴色飽和一些） */
  --c-green: #3ed47a;
  --c-sky: #5ec4ee;
  --c-amber: #fbb44a;
  --danger: #b42318;
  --req: #9a4a00;

  /* 白色卡片 */
  --card: rgba(255, 255, 255, 0.86);
  --card-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(31, 143, 78, 0.16);
  --line-strong: rgba(31, 143, 78, 0.42);
  --glass-r: 30px;
  --tint: #ecf8f0;       /* 卡片內的淡綠底（統計列等） */

  /* 陰影（綠色調） */
  --shadow-card: 0 1px 2px rgba(19, 59, 39, 0.06), 0 14px 34px -14px rgba(19, 90, 50, 0.28);
  --shadow-hover: 0 2px 4px rgba(19, 59, 39, 0.06), 0 24px 48px -16px rgba(19, 90, 50, 0.38);
  --shadow-btn: 0 8px 18px -8px rgba(17, 103, 58, 0.55);
  --shadow-nav: 0 10px 30px -14px rgba(19, 90, 50, 0.35);

  /* 動畫 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);

  /* 字型 */
  --font-head: "Outfit", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-body: "Poppins", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;

  /* 版面 */
  --container: 1280px;
  --gutter: 16px;
  --section-pad: 56px;
  --phone-scale: 0.62;
  --nav-h: 60px;
  --nav-top: 12px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-pad: 80px; --phone-scale: 0.75; --nav-h: 66px; --nav-top: 20px; }
}
@media (min-width: 1200px) {
  :root { --section-pad: 95px; --phone-scale: 0.82; --nav-h: 75px; --nav-top: 37px; }
}
@media (min-width: 1440px) {
  :root { --gutter: 80px; --phone-scale: 1; }
}

/* ---------- 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--nav-top) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--lime); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.25; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; }
/* 綠色底上的焦點框改白色 */
.footer :focus-visible, .pc-slide.is-active .plan :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--green-1); color: var(--white); font-weight: 600;
  padding: 10px 18px; border-radius: 50px; box-shadow: var(--shadow-btn);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
/* overflow-x: hidden 是給不支援 clip 的舊版 Safari 的備援，支援 clip 的瀏覽器會採用後者 */
.section { position: relative; padding: var(--section-pad) 0; overflow-x: hidden; overflow-x: clip; }
.section-head { max-width: 720px; margin: 0 auto 40px; }
.section-head.center { text-align: center; }
.section-head p { color: var(--ink-2); font-size: 17px; margin-top: 16px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
h2.center { text-align: center; }
@media (max-width: 360px) { h2 { font-size: 26px; } }
.muted { color: var(--ink-3); font-size: 16px; }

/* 區塊色帶：同色系稍深／稍淺，上下用漸層銜接，不會出現硬邊 */
.core, .faq {
  background: linear-gradient(180deg, var(--bg) 0, var(--bg-deep) 140px, var(--bg-deep) calc(100% - 140px), var(--bg) 100%);
}
.all-features {
  background: linear-gradient(180deg, var(--bg) 0, var(--bg-soft) 160px, var(--bg-soft) calc(100% - 160px), var(--bg) 100%);
}
.contact { background: linear-gradient(180deg, var(--bg) 0, var(--bg-soft) 180px, var(--bg-soft) 100%); }

/* ---------- 按鈕 ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 57px; padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: 18px; line-height: 1.2; white-space: nowrap;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-btn);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease;
}
/* 滑過時的一道光澤（只在可滑鼠的裝置） */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, 0) 85%);
  transform: translateX(-190%) skewX(-12deg);
}
.btn .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn-primary {
  background-color: var(--green-1);
  background-image: linear-gradient(135deg, var(--green-1) 0%, var(--green-2) 100%);
  color: var(--white);
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-white {
  background: var(--white); color: var(--brand-ink); border-color: rgba(31, 143, 78, .38);
  box-shadow: 0 6px 16px -8px rgba(19, 90, 50, .35);
}
.btn-white::after { background: linear-gradient(105deg, rgba(62, 212, 122, 0) 15%, rgba(62, 212, 122, .22) 50%, rgba(62, 212, 122, 0) 85%); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::after { transform: translateX(290%) skewX(-12deg); transition: transform .85s var(--ease); }
  .btn:hover .icon { transform: translateX(4px); }
  .btn-primary:hover { box-shadow: 0 14px 26px -10px rgba(17, 103, 58, .6), inset 0 1px 0 rgba(255, 255, 255, .22); }
  .btn-white:hover { border-color: var(--brand-2); background: #f5fcf7; box-shadow: 0 12px 24px -12px rgba(19, 90, 50, .45); }
}

/* ---------- 白色卡片（原毛玻璃） ---------- */
.glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--glass-r);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}
/* 手機省下毛玻璃的 GPU 成本（白卡本來就幾乎不透明），捲動進場時更順 */
@media (max-width: 767px) {
  .glass { background: var(--card-strong); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.glow {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--size); height: var(--size);
  transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  opacity: var(--a, .9);
}
/* 淺綠底上的柔光：萊姆、天空藍，中心帶一點白，避免髒灰 */
.glow-lime { background: radial-gradient(circle, rgba(236, 255, 214, .85) 0%, rgba(191, 255, 160, .5) 30%, rgba(191, 255, 160, 0) 68%); }
.glow-sky { background: radial-gradient(circle, rgba(232, 248, 255, .8) 0%, rgba(151, 218, 244, .5) 32%, rgba(151, 218, 244, 0) 68%); }

/* 色點／圓形圖示 */
.lime { --c: var(--lime); }
.sky { --c: var(--sky); }
.amber { --c: var(--amber); }

/* ---------- 導覽列 ---------- */
.site-header { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav {
  pointer-events: auto;
  position: relative;
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin: 0 auto;
  min-height: var(--nav-h);
  background: var(--white);
  color: var(--ink);
  border-radius: 100px;
  box-shadow: var(--shadow-nav);
  display: flex; align-items: center;
  padding: 0 14px 0 20px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
/* 捲動後：往上收一點並加深陰影 */
.site-header.is-scrolled .nav {
  transform: translateY(calc(12px - var(--nav-top)));
  box-shadow: 0 16px 36px -14px rgba(19, 90, 50, .45), 0 0 0 1px rgba(31, 143, 78, .10);
}
.nav-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-brand-icon { width: 36px; height: 36px; border-radius: 9px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { font-weight: 500; font-size: 17px; white-space: nowrap; }
.nav-brand-sub { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-menu { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }

.nav-menu {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  background: var(--white); border-radius: 28px; box-shadow: var(--shadow-nav);
  padding: 12px;
}
.nav.is-open .nav-menu { display: block; }
@media (max-width: 900px) {
  /* 手機橫向時視窗很矮：選單限制高度並可捲動，最下面的按鈕才點得到 */
  .nav-menu { max-height: calc(100vh - var(--nav-top) - var(--nav-h) - 24px); max-height: calc(100dvh - var(--nav-top) - var(--nav-h) - 24px); overflow-y: auto; }
  .nav.is-open .nav-menu { animation: menu-in .3s var(--ease); }
}
.nav-links { display: flex; flex-direction: column; }
.nav-links a {
  display: block; padding: 12px 16px; border-radius: 16px;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav-links a:hover { background: #ecf8f0; }
.nav-links a.is-active { background: #dcf3e4; color: var(--brand-ink); }
.nav-actions { display: flex; flex-direction: column; gap: 10px; padding: 10px 4px 4px; }
.btn-nav {
  background-color: var(--green-1); background-image: linear-gradient(135deg, var(--green-1) 0%, var(--green-2) 100%);
  color: var(--white); min-height: 47px; font-size: 16px; padding: 10px 22px; box-shadow: none; border-radius: 28px;
}
.btn-nav-login {
  background: var(--white); color: var(--brand-ink); min-height: 47px; font-size: 16px; padding: 10px 22px;
  box-shadow: none; border: 1.5px solid rgba(31, 143, 78, .38); border-radius: 28px;
}
.btn-nav-login::after { background: linear-gradient(105deg, rgba(62, 212, 122, 0) 15%, rgba(62, 212, 122, .22) 50%, rgba(62, 212, 122, 0) 85%); }
@media (hover: hover) {
  .btn-nav:hover { box-shadow: 0 10px 20px -10px rgba(17, 103, 58, .7); }
  .btn-nav-login:hover { background: #f5fcf7; border-color: var(--brand-2); }
}

@media (min-width: 901px) {
  .nav { padding: 0 14px 0 27px; }
  .nav-brand-icon { width: 36px; height: 36px; }
  .nav-brand-name { font-size: 20px; }
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex; position: static; flex: 1; align-items: center;
    background: none; box-shadow: none; padding: 0; border-radius: 0;
  }
  .nav-links { flex-direction: row; justify-content: center; flex: 1; gap: 8px; }
  .nav-links a { padding: 8px 18px; font-size: 15px; border-radius: 50px; }
  .nav-actions { flex-direction: row; padding: 0; gap: 10px; }
}
@media (min-width: 901px) and (max-width: 1023px) {
  /* 桌機導覽剛啟用的區間（含「登入系統」按鈕時）縮小尺寸，避免連結被擠成直排 */
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 12px; font-size: 14px; }
  .btn-nav, .btn-nav-login { padding: 10px 16px; font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: hidden; overflow-x: clip; margin-bottom: 40px; }
.hero-panel {
  position: relative;
  /* 比主底色亮一階的淺綠漸層：跟著上面的 --bg／--bg-soft 自動變深淺（第一行是舊瀏覽器用的固定色） */
  background: linear-gradient(180deg, #d9f2e1 0%, #d1efda 55%, #c8ebd2 100%);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg-soft) 70%, #fff) 0%,
    color-mix(in srgb, var(--bg-soft) 85%, #fff) 55%,
    color-mix(in srgb, var(--bg) 86%, #fff) 100%);
  color: var(--ink);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 30px 60px -40px rgba(19, 90, 50, .45);
  padding-top: calc(var(--nav-top) + var(--nav-h) + 48px);
  padding-bottom: 0;
}
/* 右上萊姆大光暈＋右下兩顆天空藍光暈＋左下一抹品牌綠。
   拆成 ::before／::after 兩層，各自緩慢漂移；比面板大一圈，漂移時邊緣不會露白。
   radial-gradient 的 circle 尺寸只能用長度，不能用百分比，否則整條 background 會失效。 */
.hero-glows { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-glows::before, .hero-glows::after { content: ""; position: absolute; inset: -60px; }
.hero-glows::before {
  background:
    radial-gradient(ellipse 720px 600px at 92% 12%, #bfffa0 0%, rgba(191, 255, 160, .75) 36%, rgba(191, 255, 160, 0) 72%),
    radial-gradient(ellipse 620px 320px at 8% 100%, rgba(62, 212, 122, .16) 0%, rgba(62, 212, 122, 0) 70%);
}
.hero-glows::after {
  background:
    radial-gradient(circle 300px at 88% 86%, rgba(151, 218, 244, .7) 0%, rgba(151, 218, 244, 0) 70%),
    radial-gradient(circle 320px at 64% 100%, rgba(151, 218, 244, .65) 0%, rgba(151, 218, 244, 0) 70%);
}
@media (max-width: 767px) {
  .hero-glows::before {
    background:
      radial-gradient(ellipse 420px 360px at 100% 8%, #bfffa0 0%, rgba(191, 255, 160, .7) 36%, rgba(191, 255, 160, 0) 72%),
      radial-gradient(ellipse 360px 220px at 0% 100%, rgba(62, 212, 122, .14) 0%, rgba(62, 212, 122, 0) 70%);
  }
  .hero-glows::after {
    background:
      radial-gradient(circle 220px at 86% 90%, rgba(151, 218, 244, .65) 0%, rgba(151, 218, 244, 0) 70%),
      radial-gradient(circle 240px at 32% 98%, rgba(151, 218, 244, .6) 0%, rgba(151, 218, 244, 0) 70%);
  }
}
.hero-container { position: relative; z-index: 3; }
.hero-copy { position: relative; z-index: 2; max-width: 780px; }
.hero h1 {
  font-size: clamp(24px, 7.8vw, 70px); line-height: 1.22; font-weight: 500;
  letter-spacing: -0.01em;
}
.hero-lead { margin-top: 24px; font-size: 17px; line-height: 1.75; max-width: 600px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-facts { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.hero-facts li { display: flex; align-items: center; gap: 14px; }
.fact-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: var(--ink); flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.fact-icon .icon { width: 18px; height: 18px; stroke-width: 2.8; }
.fact-text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.fact-strong { font-family: var(--font-head); font-weight: 600; font-size: 28px; line-height: 1.2; }
.fact-label { font-weight: 600; font-size: 18px; color: var(--ink-2); }
@media (min-width: 600px) {
  .hero-facts { flex-direction: row; flex-wrap: wrap; gap: 20px 0; margin-top: 44px; }
  .hero-facts li + li { border-left: 1px solid rgba(31, 143, 78, .22); margin-left: 32px; padding-left: 32px; }
}

/* 手機框（淺銀白機身） */
.hero-phone {
  position: relative; z-index: 3;
  width: calc(462px * var(--phone-scale));
  height: calc(951px * var(--phone-scale));
  margin: 40px auto -40px;
}
.phone {
  position: absolute; left: 18px; top: 10px;
  width: 425px; height: 912px;
  transform: scale(var(--phone-scale)); transform-origin: top left;
  background: linear-gradient(150deg, #ffffff 0%, #eef3f0 45%, #d9e3de 100%);
  border-radius: 56px;
  box-shadow:
    0 0 0 1px #c3d0c9, inset 0 0 0 2px rgba(255, 255, 255, .95), inset 0 -3px 8px rgba(19, 59, 39, .06),
    0 44px 70px -24px rgba(19, 90, 50, .45), 0 12px 26px rgba(19, 90, 50, .14);
  padding: 13px;
}
/* 側邊按鍵（電源鍵／音量鍵） */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #c3cfc8; }
.phone::before { right: -5px; top: 200px; height: 96px; }
.phone::after { left: -5px; top: 170px; height: 60px; }
.phone-notch {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 200px; height: 34px; border-radius: 0 0 22px 22px; z-index: 2;
  background: linear-gradient(180deg, #f3f6f4, #e2e9e5);
  box-shadow: 0 1px 2px rgba(19, 59, 39, .12);
}
/* 螢幕：上方品牌綠標題帶＋下方明亮淺綠 */
.phone-screen {
  width: 100%; height: 100%; border-radius: 44px; overflow: hidden; position: relative;
  background:
    radial-gradient(circle 220px at 100% 0%, rgba(191, 255, 160, .28) 0%, rgba(191, 255, 160, 0) 70%),
    linear-gradient(180deg, var(--green-1) 0px, var(--green-2) 262px, #eefaf2 262px, #e2f5e9 100%);
  box-shadow: inset 0 0 0 1px rgba(19, 59, 39, .06);
  color: var(--ink); padding: 58px 18px 24px;
}
/* 底部 home 指示條 */
.phone-screen::after {
  content: ""; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  width: 140px; height: 5px; border-radius: 3px; background: rgba(19, 59, 39, .32);
}
.phone-note {
  position: absolute; left: 0; right: 0; top: calc(951px * var(--phone-scale) + 8px);
  text-align: center; font-size: 13px; line-height: 1.4; color: var(--ink); white-space: nowrap;
}
.phone-head { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 20px; margin: 0 0 24px 10px; color: var(--white); }
.phone-head img { width: 29px; height: 29px; }
.phone-card.glass { background: var(--white); border-color: rgba(255, 255, 255, .9); box-shadow: 0 18px 36px -18px rgba(10, 60, 32, .55); -webkit-backdrop-filter: none; backdrop-filter: none; }
.phone-card { padding: 30px 30px 28px; border-radius: 30px; }
.phone-card-title { font-size: 24px; font-weight: 500; line-height: 1.2; }
.phone-card-sub { color: var(--ink-3); font-size: 15px; margin-top: 10px; }
.mini-chart { margin-top: 22px; }
.mini-chart svg, .line-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-axis { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-3); margin-top: 10px; padding: 0 4px; }
.phone-quick { display: flex; justify-content: space-between; padding: 0 16px; margin-top: 40px; }
.quick { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.quick-circle {
  width: 67px; height: 67px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--c); color: var(--ink);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 10px 20px -10px rgba(19, 90, 50, .5);
}
.quick-circle .icon { width: 28px; height: 28px; stroke-width: 2.6; }
.phone-status { display: flex; flex-direction: column; gap: 16px; margin: 40px 12px 0; }
.status-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 14px 22px; min-height: 75px;
  box-shadow: 0 10px 22px -16px rgba(19, 90, 50, .45);
}
.status-label { font-size: 13px; color: var(--ink-3); }
.status-value { font-size: 24px; font-weight: 600; line-height: 1.2; margin-top: 2px; }
.status-value small { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 8px; }
.status-row .icon { width: 28px; height: 28px; color: var(--brand-2); }

/* Hero 下方三張白卡 */
.hero-cards { position: relative; z-index: 2; margin-top: 80px; }
.card-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature-card {
  background: var(--white); color: var(--ink); border-radius: 15px; box-shadow: var(--shadow-card);
  border: 1px solid rgba(31, 143, 78, .10);
  padding: 28px 26px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.feature-card h2 { font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.3; margin-top: 26px; }
.feature-card p { color: var(--ink-3); margin-top: 10px; font-size: 16px; line-height: 1.7; }
.feature-icon, .core-icon, .way-icon, .fg-icon {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--c); color: var(--ink); flex: none;
  transition: transform .35s var(--ease);
}
.feature-icon { width: 80px; height: 80px; }
.feature-icon .icon { width: 38px; height: 38px; stroke-width: 2.2; }

@media (min-width: 640px) {
  .card-row { grid-template-columns: repeat(3, 1fr); }
  .hero-panel { border-radius: 0 0 64px 64px; }
}
@media (min-width: 1200px) {
  .hero { margin-bottom: 65px; }
  .hero-panel { height: 809px; padding-top: 181px; padding-bottom: 0; }
  .hero-container { height: 100%; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: 62px; }
  .hero-lead { margin-top: 36px; font-size: 20px; }
  .hero-actions { margin-top: 44px; }
  .hero-facts { margin-top: 84px; }
  .fact-strong { font-size: 32px; }
  .fact-label { font-size: 20px; }
  .hero-phone { position: absolute; top: 120px; right: calc(var(--gutter) - 16px); margin: 0; }
  .hero-cards { margin-top: 20px; min-height: 423px; }
  .hero-cards .container { padding-right: calc(var(--gutter) + 462px * var(--phone-scale) + 8px); }
  .card-row { gap: 20px; }
  .feature-card { padding: 36px 30px 30px; min-height: 329px; }
  .feature-card h2 { margin-top: 70px; }
}
@media (min-width: 1440px) {
  .hero-copy { max-width: 780px; }
  .hero h1 { font-size: 70px; }
  .hero-phone { right: calc(var(--gutter) - 24px); }
  .card-row { grid-template-columns: repeat(3, 278px); }
  .hero-cards .container { padding-right: var(--gutter); }
}

/* ---------- 雙欄區塊共用 ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.split-copy h2 { max-width: 560px; }
.split-copy .lead { margin-top: 24px; color: var(--ink-2); max-width: 460px; }
.split-copy .btn { margin-top: 36px; }
.dot-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; max-width: 470px; }
.dot-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .7);
}
@media (min-width: 1000px) {
  .split { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .split-rev { grid-template-columns: 1fr 1.15fr; }
}

/* ---------- 每日發票管理：疊放卡 ---------- */
.stack { position: relative; min-height: 420px; }
.stack-card { position: relative; z-index: 1; }
.stack-a { padding: 30px 34px 28px; width: min(444px, 100%); }
.stack-a-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.big-number { font-size: 32px; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.big-number small { font-size: 16px; font-weight: 400; color: var(--ink-3); }
.pill-select {
  display: inline-flex; align-items: center; gap: 4px; background: var(--white); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 50px; padding: 4px 10px 4px 14px; font-size: 15px; line-height: 1.4; white-space: nowrap;
}
.pill-select .icon { width: 14px; height: 14px; }
.line-chart { margin-top: 24px; }
.stack-b { width: min(443px, 92%); margin: -20px 0 0 auto; padding: 36px 36px 34px; background: var(--card-strong); }
.stack-b h3 { font-family: var(--font-body); font-weight: 700; font-size: 24px; }
.stack-b p { color: var(--ink-3); font-size: 16px; line-height: 1.6; margin-top: 12px; max-width: 364px; }
.stat-row {
  display: flex; align-items: center; gap: 14px; margin-top: 18px;
  background: var(--tint); border: 1px solid rgba(31, 143, 78, .10); border-radius: 15px; padding: 18px 26px; min-height: 91px;
}
.stat-num { font-size: 32px; font-weight: 600; line-height: 1.2; }
.stat-num small { font-size: 16px; font-weight: 400; color: var(--ink-3); }
.stat-label { color: var(--ink-3); font-size: 16px; }
.stat-row .icon { width: 30px; height: 30px; margin-left: auto; color: var(--brand-2); }
@media (max-width: 360px) {
  /* 320 寬：讓「今日異動」卡吃滿寬度、縮內距，數字與標籤不換行 */
  .stack-a { padding: 26px 22px 24px; }
  .stack-a-head .muted { font-size: 14px; }
  .stack-b { width: 100%; padding: 28px 24px 26px; }
  .stat-row { padding: 14px 16px; gap: 10px; }
  .stat-num, .stat-label { white-space: nowrap; }
  .stat-label { font-size: 15px; }
}
@media (min-width: 1200px) {
  .split { grid-template-columns: minmax(0, 689px) minmax(400px, 1fr); gap: 64px; }
  .stack { height: 583px; }
  .stack-a { position: absolute; left: 0; top: 0; width: 444px; }
  .stack-b { position: absolute; left: 246px; top: 187px; width: 443px; margin: 0; }
}

/* ---------- 字軌：長條圖卡 ---------- */
.bars-wrap { position: relative; }
.bars-head { position: relative; z-index: 1; }
.bars-head h3 { font-family: var(--font-body); font-weight: 500; font-size: 24px; }
.bars-head p { color: var(--ink-3); font-size: 16px; margin-top: 6px; }
.bars-card { position: relative; z-index: 1; margin-top: 22px; padding: 28px 36px 26px; }
.bars-period { text-align: right; color: var(--ink-3); font-size: 15px; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; height: 256px; margin-top: 4px; }
.bar-col { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar-val { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.bar-col.is-hot .bar-val { color: var(--brand-ink); font-weight: 600; }
/* 長條高度 = 比例 × 150px（--v 寫在 HTML，例如 .92 = 92%）。
   .bar 是固定形狀的「軌道」，顏色畫在 ::before；動畫時 ::before 從底下滑上來，膠囊圓角從頭到尾不變形 */
.bar {
  position: relative; overflow: hidden; transform: translateZ(0);
  width: 34px; height: calc(var(--v, .5) * 150px); border-radius: 50px;
  box-shadow: 0 8px 16px -10px rgba(19, 90, 120, .6);
}
.bar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, #a9def3 0%, var(--c-sky) 100%);
}
.bar-col.is-hot .bar { box-shadow: 0 10px 20px -10px rgba(17, 103, 58, .7); }
.bar-col.is-hot .bar::before { background: linear-gradient(180deg, var(--brand-1) 0%, var(--brand-2) 100%); }
.bar-label { font-size: 15px; color: var(--ink-3); margin-top: 12px; }
.bar-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 50px; white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(154, 74, 0, .6);
}
@media (min-width: 1200px) {
  .split-rev { grid-template-columns: minmax(480px, 1fr) minmax(0, 615px); gap: 50px; }
  .tracks .split-copy h2 { max-width: 619px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .split-copy h2 { font-size: clamp(30px, 3.6vw, 48px); }
}

/* ---------- 三大核心服務 ---------- */
.core .section-head { margin-bottom: 0; }
.core-list { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 56px; text-align: center; }
.core-list li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 12px; }
.core-icon { width: 70px; height: 70px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .75), 0 14px 26px -12px rgba(19, 90, 50, .5); }
.core-icon .icon { width: 32px; height: 32px; stroke-width: 2.2; }
.core-list h3 { font-weight: 600; font-size: 24px; margin-top: 24px; text-wrap: balance; }
.core-list p { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin-top: 10px; max-width: 325px; }
@media (min-width: 768px) {
  .core-list { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 90px; }
  .core-list li::before {
    content: ""; position: absolute; top: 34px; left: calc(50% + 78px); right: calc(-50% + 78px);
    border-top: 2px dashed rgba(31, 143, 78, .45);
  }
  .core-list li:last-child::before { display: none; }
}

/* ---------- 總機構配號 ---------- */
/* 白色面板；光暈用 ::before 畫成兩個扁橢圓（對應原稿 Ellipse 3554／3555） */
.hq-panel {
  position: relative; overflow: hidden; border-radius: 32px;
  background: var(--card); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
  padding: 44px 22px; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
.hq-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(ellipse 560px 200px at 30% 62%, rgba(191, 255, 160, .55) 0%, rgba(191, 255, 160, 0) 70%),
    radial-gradient(ellipse 520px 210px at 76% 54%, rgba(151, 218, 244, .5) 0%, rgba(151, 218, 244, 0) 70%);
}
.hq-copy { position: relative; z-index: 1; }
.hq-copy h2 { max-width: 525px; }
.hq-copy p { margin-top: 28px; max-width: 420px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.hq-copy .btn { margin-top: 32px; min-height: 47px; font-size: 18px; padding: 8px 24px; }
.hq-visual-wrap { position: relative; z-index: 1; width: 272px; margin: 0 auto; }
.hq-visual { position: relative; width: 272px; height: 272px; }
.hq-note { text-align: center; font-size: 13px; line-height: 1.4; color: var(--ink-3); margin-top: 44px; white-space: nowrap; }
.donut { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 22px rgba(19, 90, 50, .18)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--card-strong); border: 1px solid var(--line); border-radius: 11px;
  padding: 10px 16px; white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgba(19, 90, 50, .45);
}
.float-card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.float-card .dot.sky { background: var(--c-sky); }
.float-card .dot.lime { background: var(--c-green); }
.float-card .dot.amber { background: var(--c-amber); }
.fc-label { font-size: 15px; color: var(--ink-3); }
.fc-val { font-family: var(--font-head); font-weight: 600; font-size: 22px; }
.float-a { left: -118px; top: 54px; }
.float-b { right: -120px; bottom: 18px; }
.float-c { left: -80px; bottom: -14px; }
@media (max-width: 599px) {
  /* 手機：小卡縮小一點，放在左上、右上、右下三個角，不蓋住中間數字，也不蓋住琥珀色那一小段（未配發） */
  .hq-visual-wrap { width: 232px; margin-top: 28px; }
  .hq-visual { width: 232px; height: 232px; }
  .float-card { gap: 8px; padding: 8px 12px; border-radius: 10px; line-height: 1.4; }
  .fc-label { font-size: 13px; }
  .fc-val { font-size: 18px; }
  .float-a { left: -26px; top: -26px; }
  .float-c { left: auto; right: -26px; top: -26px; bottom: auto; }
  .float-b { right: -22px; bottom: -22px; }
  .hq-note { margin-top: 44px; }
}
@media (min-width: 1000px) {
  .hq-panel { grid-template-columns: minmax(0, 1fr) 400px; padding: 56px 44px; gap: 32px; min-height: 464px; }
  .hq-visual-wrap { margin: 0 0 0 auto; margin-right: 40px; }
}
@media (min-width: 1200px) {
  .hq-panel { grid-template-columns: minmax(0, 1fr) 480px; padding: 70px 76px; gap: 40px; }
  .hq-visual-wrap { margin-right: 88px; }
}

/* ---------- 完整功能一覽 ---------- */
.feature-grid-wrap { position: relative; }
.feature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 16px; }
.fg-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 1px 2px rgba(19, 59, 39, .05), 0 10px 26px -16px rgba(19, 90, 50, .3);
  padding: 24px 22px 26px;
  transition: border-color .35s ease, transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s ease;
}
.fg-icon { width: 46px; height: 46px; }
.fg-icon .icon { width: 22px; height: 22px; }
.fg-card h3 { font-weight: 600; font-size: 19px; margin-top: 18px; }
.fg-card p { color: var(--ink-3); font-size: 14.5px; line-height: 1.7; margin-top: 8px; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .feature-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; } }

/* 卡片滑過：微微浮起＋邊框亮起（只在可滑鼠的裝置） */
@media (hover: hover) {
  .feature-card:hover, .fg-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--line-strong);
  }
  .fg-card:hover { background: var(--white); }
  .feature-card:hover .feature-icon, .fg-card:hover .fg-icon { transform: scale(1.06) rotate(-4deg); }
  .core-list li:hover .core-icon, .contact-ways li:hover .way-icon { transform: translateY(-4px); }
}

/* ---------- 方案輪播 ---------- */
.pc { position: relative; margin-top: 8px; }
.pc-viewport {
  /* 下方留白要容得下推薦卡的陰影與呼吸光，否則會被切出一條硬邊；圓點用負邊距拉回原位 */
  overflow: hidden; padding: 30px 0 64px; touch-action: pan-y; cursor: grab; border-radius: 12px;
}
.pc-viewport.is-dragging { cursor: grabbing; }
.pc-viewport.is-dragging .plan { transition: none; }
.pc-track { display: flex; will-change: transform; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
/* 輪播繞一圈時從複製卡換回真實卡：這一瞬間不要播卡片的樣式轉換（見 pricing.js normalize） */
.pc-track.pc-snap .plan, .pc-track.pc-snap .plan * { transition: none !important; }
.pc-slide { flex: 0 0 var(--slide-w, 100%); width: var(--slide-w, 100%); padding: 0 14px; }
.plan {
  position: relative; height: 100%; border-radius: var(--glass-r);
  background: var(--card-strong); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(19, 59, 39, .05), 0 14px 30px -18px rgba(19, 90, 50, .35);
  padding: 36px 30px 34px; text-align: center; color: var(--ink);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1), background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .4s ease;
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--white); color: var(--brand-ink); font-size: 13px; font-weight: 700; line-height: 1;
  padding: 8px 14px; border-radius: 50px; border: 1px solid var(--line-strong); white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(19, 90, 50, .6);
}
.plan-name { font-family: var(--font-body); font-weight: 600; font-size: 22px; color: var(--brand-ink); }
.plan-tagline { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.plan-price { margin: 14px 0 12px; font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: -0.01em; }
.plan-price small { font-size: 16px; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.plan-price.is-quote { font-size: 34px; }
.plan-note { margin: -4px 0 0; min-height: 3em; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); text-wrap: balance; }
.plan-list { text-align: left; display: flex; flex-direction: column; gap: 10px; margin: 20px 0 24px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.plan-list li strong { color: var(--ink); font-weight: 600; }
.plan-list .icon { width: 18px; height: 18px; color: var(--brand-2); margin-top: 3px; stroke-width: 2.6; }
.plan-cta { width: 100%; min-height: 50px; font-size: 16px; padding: 10px 22px; }
.plan-cta.btn-white { box-shadow: none; }
@media (hover: hover) {
  .pc-slide:not(.is-active) .plan:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
}

/* 推薦（中間）方案：品牌綠漸層＋白字，最淺處白字仍達 4.5:1 */
.pc-slide.is-active .plan {
  transform: scale(1.08);
  background-color: var(--green-1);
  background-image:
    radial-gradient(circle 240px at 100% 0%, rgba(191, 255, 160, .08) 0%, rgba(191, 255, 160, 0) 70%),
    linear-gradient(160deg, var(--green-1) 0%, #167a42 50%, var(--green-2) 100%);
  border-color: rgba(255, 255, 255, .35); color: var(--white);
  box-shadow: 0 20px 32px -20px rgba(17, 103, 58, .8);
  z-index: 2;
}
/* 很淡的呼吸光（只改 opacity） */
.pc-slide.is-active .plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(191, 255, 160, .35), 0 0 18px 1px rgba(62, 212, 122, .6);
  opacity: .45;
}
.pc-slide.is-active .plan-name,
.pc-slide.is-active .plan-tagline, .pc-slide.is-active .plan-price small, .pc-slide.is-active .plan-note,
.pc-slide.is-active .plan-list li, .pc-slide.is-active .plan-list li strong { color: var(--white); }
.pc-slide.is-active .plan-list .icon { color: var(--lime); }
.pc-slide.is-active .plan-badge { background: var(--white); color: var(--brand-ink); border-color: var(--white); }
.pc-slide.is-active .plan-cta { background: var(--white); color: var(--brand-ink); border-color: var(--white); }
.pc-slide.is-active .plan-cta:hover { background: #effaf3; }
.pc-slide.is-active { position: relative; z-index: 2; }

.pc-arrows { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.pc-arrows button {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--brand-ink); border: 1px solid var(--line-strong);
  box-shadow: 0 8px 18px -12px rgba(19, 90, 50, .6);
  transition: background-color .2s ease, color .2s ease, transform .3s var(--ease), border-color .2s ease;
}
.pc-arrows button:hover { background: var(--green-1); border-color: var(--green-1); color: var(--white); }
@media (hover: hover) {
  .pc-prev:hover { transform: translateX(-2px); }
  .pc-next:hover { transform: translateX(2px); }
}
.pc-arrows .icon { width: 22px; height: 22px; }
.pc-dots { position: relative; display: flex; justify-content: center; gap: 18px; margin-top: -12px; }
.pc-dots button {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(19, 59, 39, .24);
  transition: transform .25s var(--ease), background-color .2s ease; padding: 0;
  position: relative;
}
/* 觸控熱區：每顆 30px、間距剛好不重疊 */
.pc-dots button::before { content: ""; position: absolute; inset: -9px; }
.pc-dots button:hover { background: rgba(19, 59, 39, .4); }
.pc-dots button.is-active { background: var(--brand-2); transform: scale(1.3); }
.promo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  width: fit-content; max-width: 100%; margin: -12px auto 8px; padding: 12px 22px;
  border-radius: 50px; border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(240, 251, 244, .88));
  box-shadow: 0 12px 26px -16px rgba(19, 90, 50, .45);
}
.promo[hidden] { display: none; }
.promo-label {
  background-color: var(--green-1); background-image: linear-gradient(135deg, var(--green-1), var(--green-2));
  color: var(--white); font-weight: 700; font-size: 14px; line-height: 1;
  padding: 8px 12px; border-radius: 50px; white-space: nowrap;
}
.promo-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.promo-list li { color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; }
.promo-list li + li::before { content: "＋"; color: var(--brand-2); margin-right: 18px; font-weight: 700; }
.promo-note { flex-basis: 100%; text-align: center; color: var(--ink-3); font-size: 13px; margin-top: -2px; }
@media (max-width: 480px) {
  .promo { border-radius: 22px; padding: 14px 16px; }
  .promo-list li { font-size: 16px; }
}
.pricing-note { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 28px; }
.pricing-noscript { text-align: center; color: var(--ink-2); padding: 24px; }
@media (min-width: 768px) {
  .pc { margin-top: 0; padding-top: 40px; }
  .pc-arrows { position: absolute; top: 0; right: 0; margin: 0; }
  /* 上下留白要容得下放大 1.1 倍的推薦卡、標籤與光暈，不會被切掉 */
  .pc-viewport { padding: 48px 0 84px; }
  .pc-dots { margin-top: -16px; }
  .pc-slide { padding: 0 16px; }
  .pc-slide.is-active .plan { transform: scale(1.1); }
}
@media (min-width: 481px) and (max-width: 831px) {
  /* 這個寬度一次只看到一張卡（見 pricing.js 的 slideFraction）：放大一點點就好，左右才不會被輪播邊緣切掉 */
  .pc-slide.is-active .plan { transform: scale(1.03); }
}
@media (max-width: 480px) {
  .pc-slide.is-active .plan { transform: none; box-shadow: 0 12px 20px -14px rgba(17, 103, 58, .75); }
  .pc-slide.is-active .plan::after { box-shadow: 0 0 0 1px rgba(191, 255, 160, .35), 0 0 10px 0 rgba(62, 212, 122, .55); }
  .pc-viewport { padding: 18px 0 36px; }
  .pc-dots { margin-top: -8px; }
}
@media (max-width: 360px) {
  .plan { padding: 32px 22px 28px; }
  .plan-price { font-size: 36px; }
  .plan-price.is-quote { font-size: 30px; }
}

/* ---------- 常見問題 ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.faq-intro { position: relative; }
.faq-mark {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 140px; line-height: .8;
  color: var(--brand-2);
  background: linear-gradient(160deg, var(--brand-1) 0%, var(--brand-2) 70%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.faq-intro h2 { font-size: 40px; line-height: 1.1; font-weight: 700; margin-top: 24px; max-width: 287px; }
.faq-more { margin-top: 28px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.faq-more a { color: var(--brand-ink); font-weight: 600; white-space: nowrap; }
.faq-more a:hover { text-decoration: underline; }
.faq-rule { display: block; position: relative; width: 199px; border-top: 1px solid rgba(19, 59, 39, .45); margin: 36px 0 0 14px; }
.faq-rule::before, .faq-rule::after {
  content: ""; position: absolute; top: -5px; width: 9px; height: 9px;
  border-top: 1px solid rgba(19, 59, 39, .45); border-left: 1px solid rgba(19, 59, 39, .45);
}
.faq-rule::before { left: -12px; transform: rotate(-45deg); }
.faq-rule::after { right: -12px; transform: rotate(135deg); }
.faq-list { position: relative; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  position: relative; z-index: 1;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(19, 59, 39, .05), 0 10px 24px -18px rgba(19, 90, 50, .4);
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.faq-item.is-open { background: var(--card-strong); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
@media (hover: hover) {
  .faq-item:hover { border-color: var(--line-strong); background: var(--card-strong); }
}
.faq-q { font-family: var(--font-body); font-weight: 500; font-size: 18px; line-height: 1.5; }
.faq-btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  text-align: left; padding: 20px 22px; color: var(--ink);
}
.faq-btn .icon { width: 22px; height: 22px; margin-top: 3px; transition: transform .35s var(--ease); color: var(--brand-2); }
.faq-item.is-open .faq-btn .icon { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a-inner { overflow: hidden; }
.faq-a p { color: var(--ink-2); font-size: 16px; line-height: 1.75; padding: 0 22px 22px; max-width: 820px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 32px); }
  .faq-mark { font-size: 200px; }
  .faq-intro h2 { margin-top: 30px; }
}

/* ---------- 聯絡我們 ---------- */
.contact-ways { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 0 auto 36px; max-width: 1190px; }
.contact-ways li { display: flex; align-items: center; gap: 18px; min-width: 0; }
.way-icon { width: 62px; height: 62px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .75), 0 12px 22px -12px rgba(19, 90, 50, .5); }
.way-icon .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.way-label { font-weight: 500; font-size: 18px; line-height: 1.4; }
.way-value { display: inline-block; font-weight: 500; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; margin-top: 4px; }
.way-value:hover { color: var(--brand-ink); text-decoration: underline; }
.contact-form { max-width: 1190px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 22px; }
.field {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 15px;
  padding: 12px 22px 10px;
  box-shadow: 0 8px 20px -16px rgba(19, 90, 50, .4);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field:hover { border-color: var(--line-strong); }
.field:focus-within { background: var(--white); border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(62, 212, 122, .35); }
.field.is-invalid { border-color: var(--danger); }
.field label { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.field .req { color: var(--req); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; outline: 0; padding: 4px 0 2px;
  font-size: 18px; line-height: 1.5; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-err { color: var(--danger); font-size: 13px; margin-top: 4px; }
.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-note { color: var(--ink-3); font-size: 14px; line-height: 1.6; max-width: 640px; }
.form-status { color: var(--brand-ink); font-weight: 500; font-size: 15px; min-height: 1.5em; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success {
  align-self: flex-start; padding: 12px 18px; border-radius: 15px;
  background: var(--tint); border: 1px solid var(--line-strong); color: var(--brand-ink);
}
.form-alt { color: var(--ink-3); font-size: 14px; line-height: 1.6; margin-top: -8px; }
.form-alt a { color: var(--brand-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.form-alt a:hover { color: var(--green-2); }
/* 送出中：按鈕停用 */
.btn[disabled] { opacity: .72; cursor: progress; transform: none; }
.btn[disabled]::after { display: none; }

/* 驗證碼：輸入框＋圖片＋「換一張」同一列 */
.field-hint { color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.captcha-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.field .captcha-row input {
  flex: 1 1 auto; min-width: 0; height: 48px; padding: 6px 12px; letter-spacing: .18em;
  background: var(--tint); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s ease, background-color .2s ease;
}
.field .captcha-row input:focus { background: var(--white); border-color: var(--brand-2); }
.field.is-invalid .captcha-row input { border-color: var(--danger); }
.captcha-box {
  flex: none; width: 132px; height: 48px; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line);
}
.captcha-img { width: 100%; height: 100%; object-fit: contain; cursor: pointer; transition: opacity .2s ease; }
.captcha-img.is-loading { opacity: .4; }
.captcha-wait { font-size: 13px; color: var(--ink-3); }
.captcha-refresh {
  flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 6px 12px;
  border-radius: 50px; border: 1px solid var(--line-strong); background: var(--white);
  color: var(--brand-ink); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}
.captcha-refresh .icon { width: 16px; height: 16px; }
.captcha-refresh:hover { background: #f5fcf7; border-color: var(--brand-2); }
.captcha-refresh[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 400px) {
  .captcha-box { width: 112px; height: 41px; }
  .field .captcha-row input { height: 41px; }
  .captcha-refresh { padding: 6px 10px; }
}
@media (max-width: 359px) {
  .captcha-row { flex-wrap: wrap; }
  .captcha-row input { flex-basis: 100%; }
}

/* 誘餌欄位：移出畫面；螢幕報讀（aria-hidden）與鍵盤（inert、tabindex=-1）也碰不到 */
.hp-field {
  position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
@media (min-width: 700px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-actions { flex-direction: row; align-items: center; gap: 28px; }
  .field-captcha { width: calc(50% - 11px); }
}
@media (min-width: 1000px) {
  .contact-ways { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1200px) {
  .contact .section-head { margin-bottom: 56px; }
  .contact-ways { margin-bottom: 56px; }
}

/* ---------- 頁尾（品牌綠，比主底色深幾階，不到近黑） ---------- */
/* 上方 104px（含 40px 間距與面板圓角）露出淺綠，接續「聯絡我們」；其餘是綠色，版權列也在綠色上 */
.footer {
  position: relative; margin-top: 0; padding-top: 40px; overflow-x: hidden; overflow-x: clip;
  background: linear-gradient(180deg, var(--bg-soft) 0, var(--bg-soft) 104px, var(--footer-2) 104px);
  color: var(--white);
}
.footer-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--footer-1) 0%, #15703c 55%, var(--footer-2) 100%);
  border-radius: 48px 48px 0 0;
  padding: 56px 0 48px;
}
.footer-panel .glow { opacity: .08; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand-name { font-weight: 500; font-size: 28px; margin-top: 18px; line-height: 1.2; }
.footer-brand-tag { font-family: var(--font-head); font-size: 17px; color: var(--white); margin-top: 8px; }
.footer-col h3 { font-size: 22px; font-weight: 500; }
.footer-col ul { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.footer-col a { display: inline-block; padding: 6px 0; font-family: var(--font-head); font-size: 18px; color: var(--white); }
.footer-col a:hover { color: var(--lime); text-decoration: underline; }
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
/* 放在 .footer-col 裡，要蓋過「.footer-col a」的 inline-block 與上下 padding，圖示才會正中 */
.footer-social .social-btn {
  padding: 0;
  width: 47px; height: 47px; border-radius: 50%; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, color .2s ease, transform .3s var(--ease);
}
.footer-social .social-btn:hover { background: var(--white); color: var(--brand-ink); text-decoration: none; }
@media (hover: hover) { .footer-social .social-btn:hover { transform: translateY(-3px); } }
.social-btn .icon { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding-top: 24px; padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.copyright { font-size: 15px; color: var(--white); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal button { font-size: 15px; color: var(--white); padding: 4px 0; }
.footer-legal button:hover { color: var(--lime); text-decoration: underline; }
@media (min-width: 768px) {
  .footer-panel { border-radius: 64px 64px 0 0; padding: 80px 0 72px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 30px; padding-bottom: 34px; }
}

/* ---------- 法律條款對話框 ---------- */
/* 對話框本身不捲動（overflow hidden），改由 .legal-body 捲動：捲軸不會落在 dialog 上，點捲軸就不會誤關閉 */
.legal {
  width: min(760px, calc(100% - 32px)); max-height: min(85vh, 900px);
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 24px;
  padding: 0; box-shadow: 0 30px 80px -20px rgba(19, 59, 39, .55); overflow: hidden;
}
.legal[open] { display: flex; flex-direction: column; animation: dialog-in .35s var(--ease); }
.legal::backdrop { background: rgba(19, 59, 39, .45); }
.legal-head {
  flex: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 28px 16px; background: linear-gradient(180deg, #f1fbf4, var(--white)); border-bottom: 1px solid var(--line);
}
.legal-head h2 { font-size: 26px; }
.legal-updated { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.legal-close {
  width: 44px; height: 44px; border-radius: 50%; background: #e3f5e9; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: background-color .2s ease, color .2s ease;
}
.legal-close:hover { background: var(--green-1); color: var(--white); }
.legal-close .icon { width: 22px; height: 22px; }
.legal-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: 8px 28px 32px; font-size: 15.5px; line-height: 1.8; overflow-wrap: anywhere; color: var(--ink-2);
}
.legal-body .legal-intro { color: var(--ink-3); margin: 16px 0 8px; }
.legal-body h3 { font-size: 18px; font-weight: 600; margin-top: 26px; color: var(--brand-ink); }
.legal-body p { margin-top: 10px; }
.legal-body a { color: var(--brand-ink); text-decoration: underline; }
.legal-body ul { margin-top: 8px; padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }

/* ==========================================================================
   動畫
   - 只動 transform／translate／scale／opacity（圖表線條另用 stroke-dashoffset），不影響版面。
   - 首頁進場用 CSS keyframes，播完就是正常狀態；其餘「先藏起來」的狀態，
     都要 <html> 有 js 類別、而且元素被 site.js 標記後才生效：
     沒有 JavaScript 或 JS 出錯時，內容一律照常顯示。
   - 系統設定「減少動態效果」時全部關閉。
   ========================================================================== */
@keyframes rise { from { opacity: 0; translate: 0 24px; } }
@keyframes drop { from { opacity: 0; translate: 0 -18px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes phone-in { from { opacity: 0; translate: 0 90px; } }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes glow-a { to { transform: translate3d(-46px, 34px, 0) scale(1.07); } }
@keyframes glow-b { to { transform: translate3d(42px, -26px, 0) scale(1.05); } }
@keyframes breathe { from { opacity: .3; } to { opacity: .85; } }
@keyframes menu-in { from { opacity: 0; translate: 0 -8px; } }
@keyframes dialog-in { from { opacity: 0; translate: 0 16px; } }

@media (prefers-reduced-motion: no-preference) {
  /* 首頁進場：導覽列 → 大標 → 副標 → 按鈕 → 事實短句，間隔 80ms */
  .js .nav { animation: drop .7s var(--ease) .05s backwards; }
  .js .hero h1 { animation: rise .75s var(--ease) .13s backwards; }
  .js .hero-lead { animation: rise .75s var(--ease) .21s backwards; }
  .js .hero-actions { animation: rise .75s var(--ease) .29s backwards; }
  .js .hero-facts li { animation: rise .7s var(--ease) .37s backwards; }
  .js .hero-facts li + li { animation-delay: .45s; }
  /* 手機示意畫面由下滑入，之後慢慢上下漂浮 */
  .js .hero-phone { animation: phone-in .8s var(--ease) .3s backwards, phone-float 7s ease-in-out 1.2s infinite; }
  /* Hero 柔光緩慢漂移（兩層、無 blur，手機也順） */
  .js .hero-glows::before { animation: fade-in 1.2s ease backwards, glow-a 18s ease-in-out infinite alternate; }
  .js .hero-glows::after { animation: fade-in 1.2s ease .15s backwards, glow-b 22s ease-in-out infinite alternate; }
  /* Hero 下方三張白卡：大螢幕桌機時就在第一屏底部，跟 Hero 一起用 keyframes 從第一幀開始播（不靠 JS，不會先出現再消失）。
     若它們其實在第一屏以下（手機、平板、較矮的筆電），site.js 會改成捲動進場（加上 .rv 與 .rv-scroll），這裡就關掉 keyframes。
     （不要包在寬度的 media query 裡：視窗寬度跨過門檻時瀏覽器會把動畫重播一次） */
  .js .hero-cards .feature-card { animation: rise .7s var(--ease) .5s backwards; }
  .js .hero-cards .feature-card:nth-child(2) { animation-delay: .58s; }
  .js .hero-cards .feature-card:nth-child(3) { animation-delay: .66s; }
  .js .hero-cards .feature-card.rv-scroll { animation: none; }

  /* 推薦方案很淡的呼吸光 */
  .pc-slide.is-active .plan::after { animation: breathe 3.2s ease-in-out infinite alternate; }

  /* 以下「先藏起來」的狀態都不帶 transition：site.js 加上標記時會直接藏好，不會從顯示慢慢淡出（閃一下）。
     transition 只寫在「播放中」（.is-in）的狀態上。 */

  /* 捲動進場（site.js 加上 .rv，進入畫面時加 .is-in，播完會移除這兩個類別） */
  .js .rv { opacity: 0; translate: 0 28px; }
  .js .rv.rv-s { translate: none; scale: .94; }
  .js .rv.is-in {
    opacity: 1; translate: none; scale: none;
    transition: opacity .7s var(--ease) var(--rv-d, 0ms), translate .7s var(--ease) var(--rv-d, 0ms), scale .7s var(--ease) var(--rv-d, 0ms);
  }

  /* 折線圖：線條由左到右畫出（JS 量長度後設定 dasharray），之後面積、圓點、標籤依序出現 */
  .js .chart-anim .chart-area { opacity: 0; }
  .js .chart-anim .chart-dot, .js .chart-anim .chart-tag { opacity: 0; translate: 0 6px; }
  .js .chart-anim.is-in .chart-line { transition: stroke-dashoffset 1.3s cubic-bezier(.45, .05, .25, 1) var(--cd, .1s); }
  .js .chart-anim.is-in .chart-area { opacity: 1; transition: opacity .9s ease calc(var(--cd, .1s) + .5s); }
  .js .chart-anim.is-in .chart-dot, .js .chart-anim.is-in .chart-tag {
    opacity: 1; translate: none;
    transition: opacity .45s ease calc(var(--cd, .1s) + .55s), translate .55s var(--ease-back) calc(var(--cd, .1s) + .55s);
  }

  /* 長條圖：顏色從軌道底部滑上來（看起來是由下往上長高），依序出現；數字跳完後才彈出「低水位提醒」 */
  .js .bars-anim .bar::before { translate: 0 101%; }
  .js .bars-anim .bar-val { opacity: 0; translate: 0 8px; }
  .js .bars-anim .bar-badge { opacity: 0; scale: .7; }
  .js .bars-anim.is-in .bar::before { translate: none; transition: translate .9s var(--ease) var(--bd, 0s); }
  .js .bars-anim.is-in .bar-val {
    opacity: 1; translate: none;
    transition: opacity .45s ease calc(var(--bd, 0s) + .3s), translate .45s var(--ease) calc(var(--bd, 0s) + .3s);
  }
  .js .bars-anim.is-in .bar-badge { opacity: 1; scale: none; transition: opacity .4s ease 1.5s, scale .5s var(--ease-back) 1.5s; }
  .bar-col:nth-child(2) { --bd: .1s; }
  .bar-col:nth-child(3) { --bd: .2s; }
  .bar-col:nth-child(4) { --bd: .3s; }

  /* 圓環圖：三段依序畫出；中間文字與浮動小卡隨後出現 */
  .js .donut-anim .donut-seg { stroke-dashoffset: var(--len); }
  .js .donut-anim.is-in .donut-seg { stroke-dashoffset: 0; transition: stroke-dashoffset var(--sd, .6s) var(--ease) var(--sdl, 0s); }
  .js .donut-anim .donut-center { opacity: 0; scale: .85; transform-box: fill-box; transform-origin: center; }
  .js .donut-anim.is-in .donut-center { opacity: 1; scale: none; transition: opacity .5s ease .2s, scale .6s var(--ease-back) .2s; }
  .js .donut-anim .float-card { opacity: 0; translate: 0 12px; }
  .js .donut-anim.is-in .float-card { opacity: 1; translate: none; transition: opacity .5s ease var(--fd, .35s), translate .6s var(--ease) var(--fd, .35s); }
  .float-b { --fd: .5s; }
  .float-c { --fd: .65s; }
}
[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- 動態減量 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .pc-track { transition: none !important; }
}

/* ---------- 列印：動畫中的元素一律顯示 ---------- */
@media print {
  .rv, .chart-anim *, .bars-anim *, .bars-anim .bar::before, .donut-anim * { opacity: 1 !important; translate: none !important; scale: none !important; }
  .js .hero-cards .feature-card { animation: none !important; }
  .donut-anim .donut-seg, .chart-anim .chart-line { stroke-dashoffset: 0 !important; }
}
