/* =========================================================
   夏茲 Shazzwa — 全站樣式
   品牌主色取自 LOGO：#6245e4
   ========================================================= */

:root {
  --brand: #6245e4;
  --brand-deep: #4a2fc8;
  --brand-soft: #efecfd;
  --brand-tint: #f7f5ff;
  --ink: #1a1633;
  --ink-2: #3b3756;
  --muted: #6a6684;
  --line: #e7e3f6;
  --star: #f5b301;
  --night: #1b1446;
  --night-2: #261d5c;
  --white: #ffffff;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(52, 33, 140, .35);
  --shadow-sm: 0 6px 18px -10px rgba(52, 33, 140, .3);

  --wrap: 1160px;
  --hd-h: 72px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: .01em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .03em; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: var(--white); color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-soft); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 頁首 ---------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hd-bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 20px; font-weight: 900; color: var(--ink); letter-spacing: .12em; }
.brand-name i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .28em; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--brand-tint); color: var(--brand); }
.hd-cta { min-height: 42px; padding: 0 18px; font-size: 14px; }
.burger {
  display: none; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 44px; padding: 0 16px 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); cursor: pointer;
  font: 700 15px/1 var(--font); letter-spacing: .06em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.burger svg { width: 20px; height: 20px; }
.burger .x { display: none; }
.hd.open .burger { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hd.open .burger .x { display: block; }
.hd.open .burger .bars { display: none; }

/* ---------- 手機選單 ---------- */
.mnav { display: none; }
@media (max-width: 900px) {
  .mnav {
    position: fixed; left: 0; right: 0; top: var(--hd-h); bottom: 0; z-index: 49;
    display: flex; flex-direction: column;
    background: var(--brand-tint);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .menu-open .mnav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s;
  }
  html.menu-open { overflow: hidden; }
  .menu-open .mbar { display: none; }
}
.mnav-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px 20px 28px; }
.mnav-group + .mnav-group { margin-top: 28px; }
.mnav-k {
  display: flex; align-items: center; gap: 10px; margin: 0 4px 12px;
  font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .14em;
}
.mnav-k::after { content: ""; flex: 1; height: 1px; background: #d9d1fb; }
.mnav-list { display: grid; gap: 10px; }
.mnav-link {
  display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px;
  padding: 16px 16px 16px 14px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.mnav-link:active { transform: scale(.99); }
.mnav-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand); font-size: 15px; font-weight: 900;
}
.mnav-t b { display: block; font-size: 18px; font-weight: 900; line-height: 1.35; color: var(--ink); }
.mnav-t span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.mnav-go { color: #b3a8ee; }
.mnav-link[aria-current] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.mnav-link[aria-current] .mnav-n { background: var(--brand); color: var(--white); }
.mnav-link[aria-current] .mnav-go { color: var(--brand); }
.mnav-info {
  display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 16px;
  border-radius: 16px; border: 1px dashed #cfc6f6; font-size: 14px; color: var(--ink-2);
}
.mnav-info .ico { color: var(--brand); }
.mnav-foot {
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line);
}

/* ---------- 區塊共用 ---------- */
.sec { padding: 104px 0; }
.sec-tint { background: var(--brand-tint); }
.sec-hd { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .12em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.h2 { margin-top: 12px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.35; }
.lede { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* ---------- 照片佔位 ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 20% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, #e9e4ff 0%, #d9d1fb 55%, #cfc4f8 100%);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(98, 69, 228, .16) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
}
.photo {
  display: block; width: 100%; height: auto; object-fit: cover;
  border-radius: var(--radius-lg); background: #e9e4ff;
}
.about-photo { display: block; }
.ph-4x5 { aspect-ratio: 4 / 5; }
.ph-4x3 { aspect-ratio: 4 / 3; }
.ph-mark {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 64px; height: 64px; color: rgba(98, 69, 228, .32);
}

/* ---------- 主視覺 ---------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background:
    radial-gradient(60% 70% at 100% 0%, #ebe6ff 0%, rgba(235, 230, 255, 0) 70%),
    radial-gradient(50% 60% at 0% 100%, #f3f0ff 0%, rgba(243, 240, 255, 0) 70%);
}
.hero-g { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 {
  margin-top: 18px; font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; line-height: 1.3;
  letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere;
}
.hero h1 .hl { color: var(--brand); }
.hero-p { margin-top: 22px; font-size: 17px; color: var(--muted); max-width: 34em; }
.hero-p + .hero-p { margin-top: 10px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art { position: relative; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; background: var(--white);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.chip-a { left: -32px; bottom: 56px; }
.chip-b { right: -20px; top: 40px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }

/* ---------- 購買方案 ---------- */
.incl {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px;
  margin: -24px auto 48px; padding: 18px 24px; max-width: 920px;
  border: 1px dashed #cfc6f6; border-radius: var(--radius); background: var(--white);
}
.incl-k { font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .08em; }
.incl li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.check { color: var(--brand); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* 商品規格卡：外框＋內框（雙框線）、標題色塊、規格表 */
.plan {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 6px; border-radius: 26px; border: 1px solid #d6cdfa; background: var(--white);
  box-shadow: 0 18px 40px -30px rgba(52, 33, 140, .45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: #b9abf5; box-shadow: 0 26px 48px -28px rgba(52, 33, 140, .5); }
.plan-head {
  padding: 22px 20px 18px; border-radius: 20px 20px 0 0;
  background: var(--brand-tint); border: 1px solid #e6e0fb; border-bottom: 0;
}
.plan-name { font-size: 17px; font-weight: 900; color: var(--ink); padding-right: 64px; }
.meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 14px; }
.meter span { height: 6px; border-radius: 6px; background: #e3ddfa; }
.meter span.on { background: var(--brand); }
.plan-body {
  flex: 1; display: flex; flex-direction: column; padding: 22px 20px 20px;
  border: 1px solid #e6e0fb; border-top: 2px solid #ddd5fa; border-radius: 0 0 20px 20px;
}
.price { font-size: 44px; font-weight: 900; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.price small { font-size: 20px; font-weight: 700; margin-right: 2px; vertical-align: 14px; }
.unit { margin-top: 10px; font-size: 15px; color: var(--muted); }
/* 規格表：點線對齊 */
.spec { margin: 18px 0 0; padding: 12px 0 2px; border-top: 1px solid var(--line); }
.spec div { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 14px; }
.spec div::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted #c9bff5; transform: translateY(-4px); }
.spec dt { order: 1; color: var(--muted); }
.spec dd { order: 3; margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.plan-feat {
  display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 22px; padding: 12px 14px;
  border-radius: var(--radius-sm); background: var(--brand-tint);
  font-size: 15px; font-weight: 700; color: var(--brand-deep); line-height: 1.6;
}
.plan-feat .ico { margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* 推薦方案：紫色標題色塊＋右上斜角綁帶 */
.plan.is-reco { border: 2px solid var(--brand); padding: 5px; box-shadow: 0 0 0 4px rgba(98, 69, 228, .12), 0 28px 56px -26px rgba(98, 69, 228, .6); }
.plan.is-reco .plan-head { background: linear-gradient(135deg, #7b61ff 0%, var(--brand) 100%); border-color: transparent; }
.plan.is-reco .plan-name { color: var(--white); }
.plan.is-reco .meter span { background: rgba(255, 255, 255, .28); }
.plan.is-reco .meter span.on { background: var(--white); }
.plan.is-reco .plan-body { border-top-color: transparent; }
.plan-sash {
  position: absolute; top: 18px; right: -40px; z-index: 1; width: 150px;
  display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 0;
  transform: rotate(45deg); background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 900; letter-spacing: .2em;
  box-shadow: 0 6px 14px -6px rgba(26, 22, 51, .6);
}
.plan-sash .ico { width: 13px; height: 13px; color: var(--star); }

/* ---------- 關於／數字 ---------- */
.about-g { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.quote { margin-top: 18px; font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.5; color: var(--ink); }
.about-acts { margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.stat { padding: 22px 20px; border-radius: var(--radius); background: var(--brand-tint); }
.stat b { display: block; font-size: 36px; font-weight: 900; line-height: 1.1; color: var(--brand); }
.stat span { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* ---------- 作業方式 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.step-n {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand); color: var(--white); font-size: 18px; font-weight: 900;
}
.step h3 { margin-top: 20px; font-size: 19px; font-weight: 900; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 54px; right: -20px; width: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, #c9bff5 0 4px, transparent 4px 8px);
}

/* ---------- 限時優惠 ---------- */
.sec-night { background: var(--night); color: #d9d4f5; position: relative; overflow: hidden; }
.sec-night::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(98, 69, 228, .45), transparent);
  pointer-events: none;
}
.sec-night .h2 { color: var(--white); }
.sec-night .eyebrow { color: #b9abff; }
.deals {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch; padding-top: 18px;
}
.deal {
  --frame: rgba(185, 171, 255, .5);
  position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #2d2270 0%, #231a59 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 26px 50px -30px rgba(0, 0, 0, .7);
  transition: transform .25s ease, box-shadow .25s ease;
}
/* 漸層描邊 */
.deal::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(160deg, rgba(201, 188, 255, .75), rgba(185, 171, 255, .12) 45%, rgba(185, 171, 255, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.deal:hover { transform: translateY(-4px); }
.deal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deal-name { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: .04em; }
.tag {
  padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(185, 171, 255, .16); color: #cfc5ff;
}
.deal-kind { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; color: #a49cc9; }
.qty {
  padding: 1px 10px; border-radius: 999px; border: 1px solid rgba(185, 171, 255, .4);
  font-size: 12px; font-weight: 700; color: #e3ddff; letter-spacing: .04em;
}
/* 價格框：四角框角 */
.deal-box {
  --c: rgba(201, 188, 255, .85);
  margin-top: 22px; padding: 20px 18px 16px; border-radius: 6px;
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 2px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 16px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 2px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 2px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 2px 16px no-repeat,
    rgba(255, 255, 255, .05);
}
.deal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.deal-price .now { font-size: 42px; font-weight: 900; line-height: 1; color: var(--white); }
.deal-price .now small { font-size: 15px; font-weight: 700; color: #b9abff; margin-right: 6px; vertical-align: 6px; }
.deal-price .was { font-size: 15px; color: #a49cc9; }
.deal-price .was s { text-decoration-thickness: 1.5px; }
.deal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.save {
  padding: 3px 10px; border-radius: 999px; background: rgba(245, 179, 1, .16);
  font-size: 13px; font-weight: 700; color: #ffd56b;
}
.per { font-size: 13px; font-weight: 500; color: #b9abff; }
/* 票券撕線與兩側缺口 */
.deal-cut { position: relative; height: 24px; margin: 18px -28px 0; }
.deal-cut::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 50%;
  border-top: 2px dashed rgba(185, 171, 255, .28);
}
.deal-cut::after {
  content: ""; position: absolute; inset: 0 -12px;
  background:
    radial-gradient(circle at 12px 50%, var(--night) 11px, transparent 12px),
    radial-gradient(circle at calc(100% - 12px) 50%, var(--night) 11px, transparent 12px);
}
.rows { margin: 10px 0 28px; }
.rows li {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px;
}
.rows li b { color: var(--white); font-weight: 700; white-space: nowrap; }
.rows li.total { border-bottom: 0; color: var(--white); font-weight: 700; }
.deal .btn { margin-top: auto; }
.btn-line { border-color: rgba(255, 255, 255, .4); color: var(--white); background: transparent; }
.btn-line:hover { background: var(--white); border-color: var(--white); color: var(--brand-deep); }

/* 推薦方案 */
.deal.is-reco {
  background: linear-gradient(180deg, #3b2d93 0%, #2a1f72 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(201, 188, 255, .35), 0 34px 70px -24px rgba(98, 69, 228, .8);
  transform: translateY(-14px);
}
.deal.is-reco:hover { transform: translateY(-18px); }
.deal.is-reco::before { padding: 2px; background: linear-gradient(160deg, #ffd56b, #c9bcff 35%, #7b61ff 70%, #ffd56b); }
.deal.is-reco .deal-box { --c: #ffd56b; background-color: rgba(255, 255, 255, .08); }
.deal-ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; border-radius: 999px;
  background: linear-gradient(90deg, #f5b301, #ffd56b); color: #3d2800;
  font-size: 14px; font-weight: 900; letter-spacing: .2em; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(245, 179, 1, .7);
}
.deal-ribbon .ico { width: 16px; height: 16px; }
.deal.is-reco .btn-primary { background: linear-gradient(90deg, #7b61ff, var(--brand)); box-shadow: 0 14px 30px -12px rgba(123, 97, 255, .95); }

/* ---------- 頁尾 ---------- */
.ft { background: #120d33; color: #b3acd6; padding: 80px 0 0; }
.ft-g { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; }
.ft .brand img { width: 44px; height: 44px; }
.ft .brand-name b { color: var(--white); }
.ft .brand-name i { color: #b9abff; }
.ft-about { margin-top: 20px; max-width: 30em; font-size: 15px; }
.fh { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: .08em; margin-bottom: 18px; }
.ft-list li { padding: 5px 0; font-size: 15px; }
.ft-contact li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; }
.ft-contact a:hover { color: var(--white); }
.ft-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px;
}
.ft-social a {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: var(--white); transition: background-color .2s;
}
.ft-social a:hover { background: var(--brand); }

/* ---------- 返回頂部 ---------- */
.totop {
  position: fixed; right: 24px; bottom: calc(24px + var(--lift, 0px)); z-index: 45;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%; background: var(--white); color: var(--brand);
  box-shadow: var(--shadow-sm); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s, color .2s;
}
.totop.show {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s, background-color .2s, color .2s;
}
.totop:hover { background: var(--brand); color: var(--white); }
.totop-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop-ring circle { fill: none; stroke-width: 3; }
.totop-track { stroke: var(--brand-soft); }
.totop-bar {
  stroke: var(--brand); stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0));
}
.totop:hover .totop-track { stroke: rgba(255, 255, 255, .25); }
.totop:hover .totop-bar { stroke: var(--white); }
.totop-ico { position: relative; width: 22px; height: 22px; }
.menu-open .totop { opacity: 0; visibility: hidden; }

/* ---------- 手機底部 LINE 列 ---------- */
.mbar { display: none; }

/* =========================================================
   響應式
   ========================================================= */
@media (max-width: 1080px) {
  .plans, .deals { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .chip-a { left: -12px; }
  .chip-b { right: -8px; }
}

@media (max-width: 900px) {
  .nav, .hd-cta { display: none; }
  .burger { display: inline-flex; }

  .hero { padding: 48px 0 72px; }
  .hero-g, .about-g { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .about-g .about-photo { order: 2; }
  .sec { padding: 80px 0; }
  .ft-g { grid-template-columns: 1fr 1fr; }
  .ft-g > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  :root { --hd-h: 64px; }
  .hd-bar { height: 64px; }
  .mnav-body { padding: 20px 16px 24px; }
  .mnav-foot { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 36px; height: 36px; }
  .sec { padding: 64px 0; }
  .sec-hd { margin-bottom: 40px; }
  .hero-acts .btn { flex: 1 1 100%; }
  .chip { font-size: 13px; padding: 10px 12px; }
  .chip-a { left: 8px; bottom: 20px; }
  .chip-b { right: 8px; top: 20px; }
  .incl { margin-top: -12px; justify-content: flex-start; }
  .plans, .deals, .steps { grid-template-columns: 1fr; }
  .deals { gap: 36px; }
  .deal.is-reco, .deal.is-reco:hover { transform: none; }
  .plans { gap: 20px; }
  .deal { padding: 30px 22px 24px; }
  .deal-cut { margin: 18px -22px 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat { padding: 16px 12px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 13px; }
  .ft-g { grid-template-columns: 1fr; gap: 36px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .totop { right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .totop-ico { width: 20px; height: 20px; }

  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
