/* style.css — 餐飲新聞曝光 設計系統（純 CSS）
   注意：為與 Bootstrap 5 共存，按鈕/卡片/彈窗/吐司類別已命名空間化：
   .ebtn(.ebtn-primary...) / .ecard / .emodal(.emodal-mask/head/body/close) / .etoast
   Tailwind 已停用 preflight，Bootstrap 在本檔之前載入，故本檔對自訂組件有最終樣式決定權。 */

/* core.css — 餐飲新聞曝光 · Editorial Commerce 設計系統 v2
   餐飲新聞編輯室 × 餐飲經營顧問 × 高轉換付款流程
   Theme A = 暖色雜誌 (warm, 預設) ｜ Theme B = 高對比編輯室 ([data-theme="editorial"]) */

:root, [data-theme="warm"] {
  --paper:#F7F1E8; --ink:#1F1B16; --muted:#6E6258;
  --brand-red:#B23A2F; --gold:#D99A2B; --charcoal:#17110D;
  --success:#2F7D4F; --warning:#D99A2B; --danger:#B23A2F; --teal:#2E8B8B;
  --border:#D8C8B4; --white:#FFFDF8;

  --page-bg:var(--paper); --band-bg:#EFE5D4; --card-bg:var(--white);
  --dark-bg:var(--charcoal); --dark-fg:#F4ECDD; --accent:var(--brand-red);

  --radius:4px; --radius-lg:8px; --rule:1px; --rule-strong:2px;
  --disp-track:-0.012em; --disp-weight:600;
  --kicker-pad:0; --kicker-fg:var(--brand-red);
  --shadow:0 1px 2px rgba(31,27,22,.05), 0 14px 38px -20px rgba(31,27,22,.30);

  --serif:"Noto Serif TC", serif;
  --sans:"Noto Sans TC", system-ui, sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, monospace;
}
[data-theme="editorial"] {
  --paper:#ECE7DE; --ink:#111110; --muted:#544E47;
  --brand-red:#BE3526; --gold:#BD841A; --charcoal:#0C0B0A;
  --border:#C5BCAD; --white:#FBFAF6;
  --page-bg:var(--paper); --band-bg:#DFD8CA; --card-bg:var(--white);
  --radius:0px; --radius-lg:0px; --rule:1.5px; --rule-strong:3px;
  --disp-track:-0.022em; --disp-weight:700; --kicker-pad:5px 9px;
  --shadow:0 0 0 1px rgba(17,17,16,.07);
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--page-bg); color:var(--ink);
  font-family:var(--sans); font-size:17px; line-height:1.7;
  -webkit-font-smoothing:antialiased; font-feature-settings:"palt" 1;
  transition:background .4s, color .4s; }
h1,h2,h3,h4 { font-family:var(--serif); font-weight:var(--disp-weight);
  letter-spacing:var(--disp-track); line-height:1.13; margin:0; text-wrap:balance; }
p { margin:0; text-wrap:pretty; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; cursor:pointer; }
input,select,textarea { font-family:inherit; }
::selection { background:var(--brand-red); color:#fff; }
img { max-width:100%; display:block; }

.wrap { max-width:1180px; margin:0 auto; padding:0 32px; }
.wrap-narrow { max-width:900px; margin:0 auto; padding:0 32px; }
@media (max-width:560px){ .wrap,.wrap-narrow{ padding:0 20px; } }

/* kicker / labels */
.kicker { font-family:var(--mono); font-size:12px; font-weight:500; letter-spacing:.22em;
  text-transform:uppercase; color:var(--kicker-fg); display:inline-flex; align-items:center; gap:.6em;
  background:transparent; }
[data-theme="editorial"] .kicker.boxed { background:var(--ink); color:var(--white); padding:5px 9px; }
.kicker::before { content:""; width:22px; height:var(--rule-strong); background:currentColor; display:inline-block; }
.kicker.no-tick::before { display:none; }
.mono { font-family:var(--mono); font-variant-numeric:tabular-nums; }
.disclaimer { font-family:var(--mono); font-size:12px; color:var(--muted); line-height:1.65; }

/* sections */
.section { padding:96px 0; position:relative; }
.section--band { background:var(--band-bg); }
.section--dark { background:var(--dark-bg); color:var(--dark-fg); }
.section--dark h1,.section--dark h2,.section--dark h3 { color:var(--dark-fg); }
.section--dark .kicker { color:var(--gold); }
.section-head { margin-bottom:48px; max-width:760px; }
.section-head h2 { font-size:clamp(30px,4vw,46px); margin-top:18px; }
.section-head .lead { color:var(--muted); font-size:19px; margin-top:18px; max-width:56ch; }
.section--dark .section-head .lead { color:rgba(244,236,221,.72); }
.rule { height:var(--rule); background:var(--border); border:0; margin:0; }
@media (max-width:560px){ .section{ padding:64px 0; } }

/* buttons */
.ebtn { display:inline-flex; align-items:center; justify-content:center; gap:10px; font-weight:600;
  font-size:16px; line-height:1; padding:15px 26px; border-radius:var(--radius);
  border:var(--rule) solid transparent; transition:transform .18s, background .2s, color .2s, box-shadow .2s; }
.ebtn:active { transform:translateY(1px); }
.ebtn-primary { background:var(--brand-red); color:#fff; box-shadow:var(--shadow); }
.ebtn-primary:hover { background:#9c3127; transform:translateY(-2px); }
.ebtn-dark { background:var(--ink); color:var(--white); }
.ebtn-dark:hover { transform:translateY(-2px); }
.ebtn-gold { background:var(--gold); color:var(--charcoal); }
.ebtn-gold:hover { transform:translateY(-2px); filter:brightness(1.04); }
.ebtn-ghost { background:transparent; color:var(--ink); border-color:var(--ink); }
.ebtn-ghost:hover { background:var(--ink); color:var(--white); }
.section--dark .ebtn-ghost,
.hero .ebtn-ghost,
.line-cta .ebtn-ghost,
.pc-hero .ebtn-ghost { color:var(--dark-fg); border-color:rgba(244,236,221,.54); background:rgba(244,236,221,.045); }
.section--dark .ebtn-ghost:hover,
.hero .ebtn-ghost:hover,
.line-cta .ebtn-ghost:hover,
.pc-hero .ebtn-ghost:hover { background:var(--dark-fg); color:var(--ink); border-color:var(--dark-fg); }
.ebtn:focus-visible { outline:3px solid color-mix(in srgb,var(--brand-red) 46%,transparent); outline-offset:3px; }
.section--dark .ebtn:focus-visible,
.hero .ebtn:focus-visible,
.line-cta .ebtn:focus-visible,
.pc-hero .ebtn:focus-visible { outline-color:color-mix(in srgb,var(--gold) 68%,transparent); }
.ebtn-line { background:#06C755; color:#fff; }
.ebtn-line:hover { background:#05b34c; transform:translateY(-2px); }
.ebtn-sm { padding:10px 16px; font-size:14px; }
.ebtn-lg { padding:18px 32px; font-size:17px; }
.ebtn[disabled] { opacity:.42; cursor:not-allowed; transform:none; }
.ebtn-block { width:100%; }

.ecard { background:var(--card-bg); border:var(--rule) solid var(--border); border-radius:var(--radius-lg); }

/* reveal: 預設可見，.in 只加進場動畫 */
.reveal { opacity:1; }
.reveal.in { animation:revIn .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes revIn { from{opacity:0; transform:translateY(22px);} to{opacity:1; transform:none;} }
[data-anim="off"] .reveal.in { animation:none; }
@media (prefers-reduced-motion:reduce){ .reveal.in{animation:none;} }

/* ───────── masthead ───────── */
.masthead { position:sticky; top:0; z-index:50; background:color-mix(in srgb,var(--page-bg) 88%, transparent);
  backdrop-filter:blur(10px); border-bottom:var(--rule) solid var(--border); }
.masthead-inner { display:flex; align-items:center; gap:24px; height:76px; }
.brand { display:flex; align-items:baseline; gap:10px; }
.brand .zh { font-family:var(--serif); font-weight:700; font-size:23px; letter-spacing:.02em; }
.brand .en { font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.brand--logo { align-items:center; gap:0; line-height:1; flex-shrink:0; }
.brand-logo { display:block; height:42px; width:auto; max-width:min(340px,52vw); object-fit:contain; }
.masthead .brand-logo { height:38px; }
.footer-brand-logo .brand-logo, .footer .brand--logo .brand-logo { height:46px; max-width:min(360px,70vw); }
/* brand lockup: icon + CSS text */
.brand-lockup { display:inline-flex; align-items:center; gap:12px; min-width:0; line-height:1; flex-shrink:0; }
.brand-icon { width:46px; height:46px; object-fit:contain; flex:0 0 auto; display:block; }
.brand-text { display:inline-flex; align-items:baseline; gap:2px; min-width:0; white-space:nowrap; }
.brand-main { font-family:var(--serif); font-weight:800; font-size:23px; letter-spacing:-.02em; color:var(--ink); }
.brand-divider { font-family:var(--serif); font-weight:600; font-size:20px; color:var(--brand-red); margin:0 2px; }
.brand-sub { font-family:var(--serif); font-weight:700; font-size:20px; letter-spacing:.03em; color:var(--brand-red); }
.masthead .brand-icon { width:48px; height:48px; }
.footer-brand-lockup .brand-icon { width:54px; height:54px; }
.footer-brand-lockup .brand-main { color:var(--dark-fg); }
.footer-brand-lockup .brand-divider, .footer-brand-lockup .brand-sub { color:var(--gold); }
@media (max-width:980px) {
  .brand-main { font-size:21px; }
  .brand-sub { font-size:18px; }
  .masthead .brand-icon { width:44px; height:44px; }
}
@media (max-width:560px) {
  .masthead-inner { height:64px; gap:12px; }
  .brand-lockup { gap:9px; }
  .masthead .brand-icon { width:38px; height:38px; }
  .brand-main { font-size:17px; letter-spacing:-.03em; }
  .brand-divider { font-size:15px; margin:0 1px; }
  .brand-sub { font-size:15px; }
  .head-cta { font-size:13px; padding:10px 12px; }
  .masthead .brand-logo { height:32px; max-width:58vw; }
}
@media (max-width:400px) {
  .brand-sub, .brand-divider { display:none; }
  .brand-main { font-size:17px; }
}
.masthead nav { display:flex; gap:24px; margin-left:auto; }
.masthead nav a { font-size:14.5px; color:var(--muted); transition:color .2s; }
.masthead nav a:hover { color:var(--ink); }
.head-cta { margin-left:8px; }
@media (max-width:980px){ .masthead nav{display:none;} .head-cta{margin-left:auto;} }

/* ───────── hero (3-layer mockup) ───────── */
.hero { background:var(--dark-bg); color:var(--dark-fg); overflow:hidden; }
.hero-grid { display:grid; grid-template-columns:1.08fr .92fr; gap:54px; align-items:center; padding:84px 0 92px; }
.hero h1 { color:var(--dark-fg); font-size:clamp(38px,5.1vw,62px); line-height:1.08; margin:24px 0; }
.hero h1 em { font-style:normal; color:var(--gold); }
.hero .sub { font-size:19px; color:rgba(244,236,221,.78); max-width:46ch; line-height:1.66; }
.hero-cta { display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero-stats { display:flex; gap:30px; margin-top:40px; padding-top:24px; border-top:var(--rule) solid rgba(244,236,221,.18); }
.hero-stat .n { font-family:var(--mono); font-size:28px; font-weight:600; color:var(--gold); }
.hero-stat .l { font-size:13px; color:rgba(244,236,221,.6); margin-top:4px; }
@media (max-width:900px){ .hero-grid{grid-template-columns:1fr; gap:40px; padding:56px 0 60px;} }

/* hero stacked mockups */
.hero-stack { position:relative; min-height:440px; }
.hs-layer { position:absolute; background:var(--white); color:var(--ink); border-radius:var(--radius-lg);
  box-shadow:0 30px 70px -30px rgba(0,0,0,.7); border:var(--rule) solid rgba(0,0,0,.08); }
.hs-news { top:0; left:0; width:74%; transform:rotate(-2deg); overflow:hidden; z-index:1; }
[data-theme="editorial"] .hs-news{ transform:none; }
.hs-serp { bottom:46px; right:0; width:60%; z-index:3; transform:rotate(1.4deg); padding:14px 16px; }
[data-theme="editorial"] .hs-serp{ transform:none; }
.hs-chat { bottom:-6px; left:8%; width:46%; z-index:4; transform:rotate(-1deg); }
[data-theme="editorial"] .hs-chat{ transform:none; }
.mm-top { display:flex; align-items:center; justify-content:space-between; padding:11px 16px; border-bottom:var(--rule-strong) solid var(--ink); }
.mm-name { font-family:var(--serif); font-weight:700; font-size:17px; letter-spacing:.04em; }
.mm-date { font-family:var(--mono); font-size:9px; color:var(--muted); letter-spacing:.1em; }
.mm-body { padding:15px 16px; }
.mm-tag { font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--brand-red); }
.mm-head { font-family:var(--serif); font-weight:700; font-size:19px; line-height:1.25; margin:7px 0 11px; }
.mm-img { height:84px; background:repeating-linear-gradient(45deg,#e7ddca,#e7ddca 9px,#ddd0b8 9px,#ddd0b8 18px);
  border-radius:var(--radius); display:flex; align-items:center; justify-content:center;
  font-family:var(--mono); font-size:10px; color:var(--muted); margin-bottom:10px; }
.mm-cols { columns:2; column-gap:14px; }
.mm-line { height:6px; background:#e4dac6; border-radius:2px; margin-bottom:6px; }
.mm-line.s { width:58%; }
@media (max-width:900px){ .hero-stack{ min-height:380px; } }
@media (max-width:480px){ .hs-chat{ display:none; } .hs-news{ width:82%; } .hs-serp{ width:66%; } }

/* mini serp inside hero */
.hs-serp .ss-bar { display:flex; align-items:center; gap:7px; border:1px solid #dfe1e5; border-radius:999px; padding:6px 11px; font-size:11px; color:#3c4043; }
.hs-serp .ss-bar .g { font-weight:700; color:#4285F4; }
.hs-serp .ss-item { margin-top:11px; }
.hs-serp .ss-u { font-size:10px; color:#1a73e8; }
.hs-serp .ss-h { font-size:13px; color:#1a0dab; line-height:1.3; margin-top:2px; font-family:Arial,sans-serif; }
.hs-flag { font-family:var(--mono); font-size:8px; background:#fef0ef; color:#B23A2F; padding:1px 5px; border-radius:3px; margin-left:5px; }
/* mini chat */
.hs-chat .hc-bar { background:#06C755; color:#fff; padding:8px 12px; font-size:11px; font-weight:600; }
.hs-chat .hc-body { padding:10px; display:flex; flex-direction:column; gap:7px; background:#e9eef0; }
.hs-chat .hc-b { font-size:11px; padding:7px 10px; border-radius:10px; line-height:1.4; max-width:90%; }
.hs-chat .them { background:#fff; align-self:flex-start; border-top-left-radius:2px; }
.hs-chat .me { background:#d6f5dd; align-self:flex-end; border-top-right-radius:2px; }

/* ── Hero 成果牆 ── */
.hero-proof-board { position:relative; width:min(100%,620px); min-height:560px; margin-inline:auto; isolation:isolate; }
.hero-proof-photo { position:relative; width:min(100%,520px); height:500px; margin-left:auto; border-radius:32px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.34); background:#201611; }
.hero-proof-photo img { width:100%; height:100%; object-fit:cover; object-position:center 58%; display:block; }
.hero-proof-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(0,0,0,.10) 58%,rgba(0,0,0,.22) 100%),linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,0) 42%); pointer-events:none; }
.proof-chip { position:absolute; top:14px; left:96px; z-index:4; display:inline-flex; align-items:center; padding:7px 12px; border-radius:999px; background:rgba(32,23,18,.88); color:#fff; font-size:12px; letter-spacing:.08em; box-shadow:0 10px 26px rgba(0,0,0,.18); pointer-events:none; }
.proof-card { position:absolute; z-index:3; background:rgba(250,246,240,.96); color:var(--ink); border-radius:20px; box-shadow:0 22px 48px rgba(0,0,0,.18); border:1px solid rgba(255,255,255,.55); backdrop-filter:blur(10px); }
/* 新聞成果卡 */
.proof-news-card { left:0; bottom:86px; width:min(72%,320px); padding:16px 17px 15px; }
.proof-kicker { font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-red); margin-bottom:10px; font-weight:700; }
.proof-news-card h3 { font-family:var(--serif); font-size:22px; font-weight:700; line-height:1.22; margin:0 0 8px; color:var(--ink); }
.proof-news-card p { font-size:13px; line-height:1.58; color:rgba(34,28,24,.74); margin:0; }
/* 搜尋預覽卡 */
.proof-search-card { right:-6px; top:38px; width:min(66%,270px); padding:13px 14px 14px; }
.proof-search-top { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:999px; padding:8px 12px; margin-bottom:10px; }
.proof-search-icon { width:22px; height:22px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:#4285f4; background:#f6f8fb; flex-shrink:0; }
.proof-search-input { font-size:13px; color:rgba(40,40,40,.72); }
.proof-search-label { font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:#5b78b7; margin-bottom:8px; font-weight:700; }
.proof-search-body strong { display:block; font-size:14.5px; line-height:1.42; margin-bottom:6px; color:var(--ink); }
.proof-search-body p { font-size:12.5px; line-height:1.55; color:rgba(34,28,24,.72); margin:0; }
/* LINE 分享卡 */
.proof-line-card { right:18px; bottom:8px; left:auto; width:min(48%,210px); padding:0; overflow:hidden; background:#fff; }
.proof-line-head { background:#20c35a; color:#fff; font-size:12px; font-weight:700; padding:10px 14px; }
.proof-line-bubble { margin:12px; background:#f2f3f5; border-radius:16px; padding:10px 12px; font-size:12.5px; line-height:1.5; color:#2b2b2b; }
.proof-line-tag { margin:0 12px 12px auto; width:max-content; background:#ddf6df; color:#2d6e39; font-size:12px; border-radius:999px; padding:6px 10px; }
/* RWD */
@media (max-width:991px) {
  .hero-proof-board { width:min(100%,560px); min-height:520px; }
  .hero-proof-photo { width:min(100%,500px); height:460px; }
  .proof-news-card { width:min(72%,300px); }
  .proof-search-card { right:0; width:min(64%,260px); }
}
@media (max-width:767px) {
  .hero-proof-board { min-height:auto; display:flex; flex-direction:column; gap:14px; }
  .hero-proof-photo { width:100%; height:360px; margin-left:0; }
  .proof-chip { top:12px; left:12px; }
  .proof-card { position:relative; top:auto; left:auto; right:auto; bottom:auto; width:100%; }
  .proof-news-card h3 { font-size:22px; }
  .proof-line-card { width:100%; }
}
@media (max-width:480px) {
  .hero-proof-photo { height:320px; }
}

/* ───────── pain points ───────── */
.pain-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:var(--rule-strong) solid var(--ink); }
.pain-item { padding:32px 28px 30px; border-bottom:var(--rule) solid var(--border); }
.pain-item:not(:nth-child(3n)) { border-right:var(--rule) solid var(--border); }
.pain-item:nth-child(3n+1) { padding-left:0; }
.pain-no { font-family:var(--mono); font-size:13px; color:var(--brand-red); letter-spacing:.1em; }
.pain-q { font-family:var(--serif); font-size:21px; font-weight:600; margin:13px 0 9px; line-height:1.32; }
.pain-d { color:var(--muted); font-size:15px; }
@media (max-width:820px){ .pain-grid{grid-template-columns:1fr;} .pain-item{border-right:0!important; padding-left:0!important; padding-right:0!important;} }

/* value strip */
.value-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.value-item { display:flex; gap:16px; padding:24px; background:var(--card-bg); border:var(--rule) solid var(--border);
  border-radius:var(--radius-lg); border-left:var(--rule-strong) solid var(--brand-red); }
.value-item .num { font-family:var(--mono); font-size:14px; color:var(--gold); padding-top:3px; }
.value-item h4 { font-size:18px; margin-bottom:6px; }
.value-item p { color:var(--muted); font-size:15px; }
/* value-card: 垂直卡片（含動畫示意版） */
.value-card { display:flex; flex-direction:column; padding:24px; background:var(--card-bg);
  border:var(--rule) solid var(--border); border-radius:var(--radius-lg);
  border-top:var(--rule-strong) solid var(--brand-red); }
.value-title-row { display:flex; align-items:baseline; gap:10px; margin-bottom:10px; }
.value-num { font-family:var(--serif); font-size:24px; line-height:1.1; font-weight:800;
  color:var(--gold); flex:0 0 auto; margin:0; display:block; }
.value-card h4 { font-size:24px; line-height:1.18; margin:0; font-weight:700; }
.value-card > p { color:var(--muted); font-size:15px; line-height:1.72; min-height:52px; margin:0; }
/* value-demo 共用 */
.value-demo { position:relative; height:168px; min-height:168px; margin-top:20px;
  border:var(--rule) solid rgba(32,24,18,.10); border-radius:18px;
  background:radial-gradient(circle at 20% 10%,rgba(199,91,47,.12),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.78),rgba(250,246,240,.96));
  overflow:hidden; padding:16px; }
.value-demo * { box-sizing:border-box; }
/* 搜尋示意 */
.vd-search-box { width:82%; border-radius:999px; background:#fff;
  border:var(--rule) solid rgba(32,24,18,.10); padding:10px 14px;
  font-size:13px; color:rgba(32,24,18,.70); box-shadow:0 10px 22px rgba(32,24,18,.08); }
.vd-search-result { margin-top:12px; background:#fff; border-radius:14px; padding:12px 14px;
  box-shadow:0 12px 26px rgba(32,24,18,.10); animation:valueFadeUp 3.6s ease-in-out infinite; }
.vd-search-result strong { display:block; color:#3857a6; font-size:13px; margin-bottom:4px; }
.vd-search-result span { font-size:11px; color:var(--muted); }
/* 分享示意 */
.vd-bubble { max-width:84%; background:#fff; border-radius:16px 16px 16px 4px; padding:10px 12px;
  font-size:13px; line-height:1.5; box-shadow:0 12px 26px rgba(32,24,18,.10);
  animation:valueSlideIn 3.8s ease-in-out infinite; }
.vd-bubble.alt { margin:10px 0 0 auto; border-radius:16px 16px 4px 16px;
  background:#ddf6df; color:#2d6e39; animation-delay:.35s; }
.vd-mini-tag { display:inline-flex; margin-top:12px; padding:6px 10px; border-radius:999px;
  background:rgba(32,195,90,.12); color:#2d6e39; font-size:11px; font-weight:700; }
/* 信任示意 */
.vd-news-mini { background:#fff; border-radius:14px; padding:12px;
  box-shadow:0 12px 26px rgba(32,24,18,.10); }
.vd-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.vd-tags span { font-size:11px; border-radius:999px; padding:5px 8px; background:var(--band-bg); }
.vd-badge { position:absolute; right:14px; bottom:14px; border-radius:999px; padding:7px 10px;
  background:var(--brand-red); color:#fff; font-size:11px;
  animation:valuePulse 3.5s ease-in-out infinite; }
/* 信任示意 — 補強動畫 */
.value-demo-trust .vd-news-mini { animation:valueTrustCard 4s ease-in-out infinite; }
.value-demo-trust .vd-tags span { opacity:0; transform:translateY(8px);
  animation:valueTagPop 4s ease-in-out infinite; }
.value-demo-trust .vd-tags span:nth-child(1) { animation-delay:.18s; }
.value-demo-trust .vd-tags span:nth-child(2) { animation-delay:.36s; }
.value-demo-trust .vd-tags span:nth-child(3) { animation-delay:.54s; }
.value-demo-trust .vd-badge { animation:valueBadgePop 4s ease-in-out infinite; }
/* 內容資產示意 */
.vd-asset-card { width:54%; background:#fff; border-radius:14px; padding:12px;
  box-shadow:0 12px 26px rgba(32,24,18,.10);
  animation:valueAssetCard 4.2s ease-in-out infinite; }
.vd-asset-label { font-size:12px; color:var(--muted); font-family:var(--mono); }
.vd-asset-title { font-size:13px; margin-top:6px; font-weight:700; color:var(--ink); }
.vd-asset-nodes { position:absolute; right:14px; top:18px; display:grid; gap:7px; }
.vd-asset-nodes span { background:rgba(199,91,47,.10); color:var(--brand-red);
  border-radius:999px; padding:6px 10px; font-size:11px;
  opacity:0; transform:translateX(12px);
  animation:valueAssetNode 4.2s ease-in-out infinite; }
.vd-asset-nodes span:nth-child(1) { animation-delay:.2s; }
.vd-asset-nodes span:nth-child(2) { animation-delay:.4s; }
.vd-asset-nodes span:nth-child(3) { animation-delay:.6s; }
.vd-asset-nodes span:nth-child(4) { animation-delay:.8s; }
/* 動畫 keyframes */
@keyframes valueFadeUp {
  0%,20%   { opacity:0; transform:translateY(10px); }
  35%,82%  { opacity:1; transform:translateY(0); }
  100%     { opacity:0; transform:translateY(-4px); }
}
@keyframes valueSlideIn {
  0%,18%   { opacity:0; transform:translateX(-12px); }
  34%,84%  { opacity:1; transform:translateX(0); }
  100%     { opacity:0; transform:translateX(8px); }
}
@keyframes valuePulse {
  0%,100%  { transform:scale(.96); opacity:.82; }
  50%      { transform:scale(1); opacity:1; }
}
@keyframes valueTrustCard {
  0%,18%   { opacity:.72; transform:translateY(8px) scale(.98); }
  32%,82%  { opacity:1; transform:translateY(0) scale(1); }
  100%     { opacity:.76; transform:translateY(-4px) scale(.99); }
}
@keyframes valueTagPop {
  0%,26%   { opacity:0; transform:translateY(8px); }
  38%,82%  { opacity:1; transform:translateY(0); }
  100%     { opacity:0; transform:translateY(-4px); }
}
@keyframes valueBadgePop {
  0%,42%   { opacity:0; transform:scale(.88); }
  55%,84%  { opacity:1; transform:scale(1); }
  100%     { opacity:0; transform:scale(.96); }
}
@keyframes valueAssetCard {
  0%,18%   { opacity:.75; transform:translateY(8px) scale(.98); }
  30%,84%  { opacity:1; transform:translateY(0) scale(1); }
  100%     { opacity:.75; transform:translateY(-4px) scale(.99); }
}
@keyframes valueAssetNode {
  0%,26%   { opacity:0; transform:translateX(12px); }
  40%,82%  { opacity:1; transform:translateX(0); }
  100%     { opacity:0; transform:translateX(-4px); }
}
@media (prefers-reduced-motion:reduce) {
  .vd-search-result,.vd-bubble,.vd-mini-tag,.vd-badge,.vd-asset-nodes span,
  .value-demo-trust .vd-news-mini,.value-demo-trust .vd-tags span,
  .value-demo-asset .vd-asset-card,.value-demo-asset .vd-asset-nodes span { animation:none !important; }
}
@media (max-width:760px){ .value-grid{grid-template-columns:1fr;} }
@media (max-width:560px) {
  .value-num,.value-card h4 { font-size:21px; }
  .value-demo { height:156px; min-height:156px; }
}

/* ───────── demo cards ───────── */
.demo-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:980px){ .demo-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .demo-grid{grid-template-columns:1fr;} }
.demo-card { display:flex; flex-direction:column; background:var(--card-bg); border:var(--rule) solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden; transition:transform .22s, box-shadow .22s; }
.demo-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.demo-thumb { height:148px; position:relative; background:repeating-linear-gradient(45deg,#e9e0cf,#e9e0cf 10px,#e0d4bd 10px,#e0d4bd 20px);
  display:flex; align-items:flex-end; padding:12px; overflow:hidden; }
.demo-thumb-photo { background-size:cover; background-position:center; background-repeat:no-repeat; }
.demo-thumb-photo::after { content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.12) 42%,rgba(0,0,0,.46) 100%),
    linear-gradient(90deg,rgba(31,24,20,.20),rgba(31,24,20,0)); pointer-events:none; }
.demo-thumb .demo-cat, .demo-thumb .ph { position:relative; z-index:1; }
.demo-thumb-photo .demo-cat { background:rgba(179,58,45,.94); color:#fff; box-shadow:0 8px 22px rgba(0,0,0,.18); }
.demo-thumb-photo .ph { display:none; }
.demo-thumb .ph { font-family:var(--mono); font-size:10px; color:var(--muted); background:color-mix(in srgb,var(--white) 82%,transparent); padding:3px 7px; border-radius:2px; }
.demo-cat { position:absolute; top:12px; left:12px; font-family:var(--mono); font-size:9.5px; letter-spacing:.12em;
  text-transform:uppercase; background:var(--brand-red); color:#fff; padding:4px 8px; }
.demo-body { padding:20px; display:flex; flex-direction:column; flex:1; }
.demo-type { font-family:var(--mono); font-size:11px; letter-spacing:.1em; color:var(--muted); text-transform:uppercase; }
.demo-head { font-family:var(--serif); font-weight:600; font-size:19px; line-height:1.33; margin:9px 0 11px; }
.demo-ex { color:var(--muted); font-size:14.5px; line-height:1.6; flex:1; }
.demo-foot { margin-top:16px; padding-top:14px; border-top:var(--rule) solid var(--border); }
.demo-plan { font-family:var(--mono); font-size:11.5px; color:var(--ink); }
.demo-link { margin-top:11px; font-size:14px; font-weight:600; color:var(--brand-red); display:inline-flex; gap:6px; background:none; border:0; padding:0; }
.demo-link:hover { gap:10px; }
.byline { font-family:var(--mono); font-size:10px; color:var(--muted); letter-spacing:.05em; }

/* ───────── diagnosis form ───────── */
.diag-shell { display:grid; grid-template-columns:.92fr 1.08fr; border:var(--rule) solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden; background:var(--card-bg); }
.diag-aside { background:var(--dark-bg); color:var(--dark-fg); padding:42px 38px; }
.diag-aside h3 { color:var(--dark-fg); font-size:26px; line-height:1.22; }
.diag-steps { margin-top:32px; display:flex; flex-direction:column; gap:4px; }
.dstep { display:flex; gap:14px; align-items:flex-start; padding:13px; border-radius:var(--radius); transition:background .2s; }
.dstep.active { background:rgba(217,154,43,.14); }
.dstep .n { font-family:var(--mono); font-size:13px; color:var(--gold); border:var(--rule) solid currentColor;
  width:26px; height:26px; border-radius:999px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
[data-theme="editorial"] .dstep .n { border-radius:0; }
.dstep.done .n { background:var(--gold); color:var(--ink); border-color:var(--gold); }
.dstep .t { font-size:15px; font-weight:600; }
.dstep .s { font-size:12.5px; color:rgba(244,236,221,.55); margin-top:2px; }
.diag-main { padding:40px; }
.diag-progress { height:5px; background:var(--border); border-radius:999px; overflow:hidden; margin-bottom:28px; }
.diag-progress > i { display:block; height:100%; background:var(--brand-red); transition:width .4s; }
.field { margin-bottom:20px; }
.field > label { display:block; font-size:14px; font-weight:600; margin-bottom:9px; }
.field .req { color:var(--brand-red); margin-left:3px; }
.field .hint { font-weight:400; color:var(--muted); font-size:12.5px; margin-left:6px; }
.input,.select,textarea.input { width:100%; font-size:15.5px; color:var(--ink); background:var(--page-bg);
  border:var(--rule) solid var(--border); border-radius:var(--radius); padding:12px 14px; transition:border-color .18s, box-shadow .18s; }
.input:focus,.select:focus,textarea.input:focus { outline:0; border-color:var(--brand-red);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-red) 16%,transparent); }
.opt-row { display:flex; flex-wrap:wrap; gap:8px; }
.opt { font-size:14px; padding:9px 14px; border:var(--rule) solid var(--border); border-radius:var(--radius);
  background:var(--page-bg); color:var(--ink); transition:all .16s; user-select:none; }
.opt:hover { border-color:var(--ink); }
.opt.on { background:var(--ink); color:var(--white); border-color:var(--ink); }
.opt.on.red { background:var(--brand-red); border-color:var(--brand-red); }
.diag-nav { display:flex; justify-content:space-between; margin-top:32px; gap:12px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.col-span { grid-column:1/-1; }
@media (max-width:840px){ .diag-shell{grid-template-columns:1fr;} .diag-aside{padding:30px;} .diag-main{padding:28px 22px;} }
@media (max-width:560px){ .grid-2,.grid-3{grid-template-columns:1fr;} }

/* ───────── analysis loader ───────── */
.analyze { background:var(--dark-bg); color:var(--dark-fg); border-radius:var(--radius-lg); padding:54px 48px; overflow:hidden; }
.analyze h3 { color:var(--dark-fg); font-size:26px; }
.analyze-sub { color:rgba(244,236,221,.6); font-family:var(--mono); font-size:13px; margin-top:8px; letter-spacing:.04em; }
.az-list { margin-top:34px; display:flex; flex-direction:column; gap:3px; max-width:560px; }
.az-row { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:var(--radius);
  font-size:15.5px; transition:background .3s, opacity .3s; opacity:.4; }
.az-row.run { opacity:1; background:rgba(217,154,43,.1); }
.az-row.done { opacity:1; }
.az-ic { width:26px; height:26px; flex-shrink:0; border-radius:999px; border:2px solid rgba(244,236,221,.3);
  display:grid; place-items:center; font-size:13px; }
[data-theme="editorial"] .az-ic { border-radius:0; }
.az-row.run .az-ic { border-color:var(--gold); border-top-color:transparent; animation:spin .8s linear infinite; }
.az-row.done .az-ic { background:var(--success); border-color:var(--success); color:#fff; }
@keyframes spin { to{ transform:rotate(360deg); } }
.az-bar { margin-top:30px; height:6px; background:rgba(244,236,221,.16); border-radius:999px; overflow:hidden; max-width:560px; }
.az-bar > i { display:block; height:100%; background:linear-gradient(90deg,var(--gold),var(--brand-red)); transition:width .4s; }
.az-feed { margin-top:18px; font-family:var(--mono); font-size:12.5px; color:var(--gold); letter-spacing:.03em; min-height:18px; }

/* ───────── dashboard ───────── */
.dash { border:var(--rule) solid var(--border); border-radius:var(--radius-lg); overflow:hidden; background:var(--card-bg); }
.dash-top { display:grid; grid-template-columns:auto 1fr; gap:40px; padding:40px 42px; align-items:center;
  background:var(--dark-bg); color:var(--dark-fg); }
.dash-top h3 { color:var(--dark-fg); font-size:25px; }
.dash-top .sum { color:rgba(244,236,221,.74); margin-top:12px; max-width:48ch; }
.overall { text-align:center; }
.overall .ring { width:152px; height:152px; border-radius:50%; display:grid; place-items:center; position:relative;
  background:conic-gradient(var(--ovc,#D99A2B) calc(var(--p,0)*1%), rgba(244,236,221,.14) 0); }
.overall .ring::after { content:""; position:absolute; inset:13px; border-radius:50%; background:var(--dark-bg); }
.overall . in { position:relative; z-index:1; }
.overall .v { font-family:var(--mono); font-size:46px; font-weight:600; line-height:1; color:var(--ovc,#D99A2B); }
.overall .l { font-family:var(--mono); font-size:10.5px; letter-spacing:.15em; text-transform:uppercase; color:rgba(244,236,221,.6); margin-top:5px; }
.overall .grade { margin-top:12px; font-size:14px; font-weight:600; }

.dash-body { display:grid; grid-template-columns:1fr 1fr; }
.dash-radar { padding:34px; border-right:var(--rule) solid var(--border); display:flex; align-items:center; justify-content:center; }
.dash-dims { padding:30px 36px; }
.dim { padding:15px 0; border-bottom:var(--rule) solid var(--border); }
.dim:last-child { border-bottom:0; }
.dim-top { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.dim-name { font-size:15.5px; font-weight:600; display:flex; align-items:center; gap:9px; }
.dim-badge { font-family:var(--mono); font-size:10px; letter-spacing:.06em; padding:2px 7px; border-radius:3px; color:#fff; }
.dim-score { font-family:var(--mono); font-size:18px; font-weight:600; }
.dim-track { height:6px; background:var(--border); border-radius:999px; overflow:hidden; margin:9px 0 7px; }
.dim-track > i { display:block; height:100%; border-radius:999px; transition:width 1s cubic-bezier(.2,.8,.2,1); }
.dim-note { font-size:13px; color:var(--muted); line-height:1.55; }
@media (max-width:860px){ .dash-top{grid-template-columns:1fr; text-align:center; justify-items:center;} .dash-body{grid-template-columns:1fr;} .dash-radar{border-right:0; border-bottom:var(--rule) solid var(--border);} }

.dash-insight { display:grid; grid-template-columns:1fr 1fr; border-top:var(--rule) solid var(--border); }
.ins-cell { padding:28px 36px; }
.ins-cell:first-child { border-right:var(--rule) solid var(--border); }
.ins-cell h5 { font-family:var(--mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; margin:0 0 14px; }
.ins-cell.good h5 { color:var(--success); }
.ins-cell.bad h5 { color:var(--brand-red); }
.ins-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; }
.ins-list li { display:flex; gap:11px; font-size:15px; line-height:1.5; }
.ins-list.good li::before { content:"▲"; color:var(--success); font-size:11px; padding-top:4px; }
.ins-list.bad li::before { content:"▍"; color:var(--brand-red); }
.dash-risk { padding:24px 36px; background:color-mix(in srgb,var(--warning) 12%,transparent); border-top:var(--rule) solid var(--border);
  display:flex; gap:14px; font-size:14.5px; line-height:1.6; }
.dash-risk .ic { color:var(--warning); font-size:20px; flex-shrink:0; }
.dash-topics { padding:26px 36px; border-top:var(--rule) solid var(--border); }
.dash-topics h5 { font-family:var(--mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-red); margin:0 0 14px; }
.tagrow { display:flex; flex-wrap:wrap; gap:8px; }
.tag { font-family:var(--mono); font-size:12.5px; padding:6px 11px; border:var(--rule) solid var(--border); border-radius:999px; }
[data-theme="editorial"] .tag { border-radius:0; }
.tag.gold { background:color-mix(in srgb,var(--gold) 16%,transparent); border-color:var(--gold); }
@media (max-width:640px){ .dash-insight{grid-template-columns:1fr;} .ins-cell:first-child{border-right:0; border-bottom:var(--rule) solid var(--border);} }

.dash-rec { padding:32px 36px; background:var(--band-bg); display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.dash-rec .label { font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.dash-rec .pname { font-family:var(--serif); font-size:27px; font-weight:700; margin-top:5px; }
.dash-rec .pmeta { font-family:var(--mono); font-size:13.5px; color:var(--brand-red); margin-top:5px; }

/* ───────── plan cards ───────── */
.plan-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:980px){ .plan-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .plan-grid{grid-template-columns:1fr;} }
.plan-card { display:flex; flex-direction:column; background:var(--card-bg); border:var(--rule) solid var(--border);
  border-radius:var(--radius-lg); padding:28px 26px; position:relative; transition:transform .2s, box-shadow .2s, border-color .2s; }
.plan-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.plan-card.recommended { border-color:var(--brand-red); border-width:var(--rule-strong); }
.plan-card.consult { background:color-mix(in srgb,var(--gold) 7%,var(--card-bg)); }
.plan-flags { position:absolute; top:-1px; right:22px; transform:translateY(-50%); display:flex; align-items:center; justify-content:flex-end; gap:6px; max-width:calc(100% - 44px); z-index:2; }
.plan-flag { position:static; transform:none; display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; background:var(--brand-red); color:#fff; padding:5px 11px; }
.plan-flag.system { background:var(--ink); color:var(--white); }
.plan-flag.value { background:var(--brand-red); color:#fff; }
.plan-flag.gold { background:var(--gold); color:var(--charcoal); }
@media (max-width:560px) { .plan-flags { right:16px; gap:5px; } .plan-flag { font-size:10px; padding:4px 9px; } }
.plan-combo { font-family:var(--mono); font-size:12.5px; color:var(--muted); letter-spacing:.06em; }
.plan-name { font-family:var(--serif); font-size:24px; font-weight:700; margin:6px 0 14px; }
.plan-price { font-family:var(--mono); font-size:30px; font-weight:600; line-height:1.08; }
.plan-price small { font-size:13px; color:var(--muted); font-weight:400; margin-left:3px; }
.plan-price.quote { font-size:30px; color:var(--gold); letter-spacing:-.03em; }
@media (max-width:560px) { .plan-price, .plan-price.quote { font-size:27px; } }
.plan-fit { margin:18px 0; padding-top:16px; border-top:var(--rule) solid var(--border); list-style:none; padding-left:0;
  display:flex; flex-direction:column; gap:9px; flex:1; }
.plan-fit li { display:flex; gap:9px; font-size:14px; color:var(--muted); line-height:1.5; }
.plan-fit li::before { content:"·"; color:var(--brand-red); font-weight:700; }
.plan-cats { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:18px; }
.plan-cats .tag { font-size:11px; padding:4px 9px; }
.plan-card .ebtn { width:100%; }
.plan-pay-note { font-family:var(--mono); font-size:11px; color:var(--muted); margin-top:10px; text-align:center; }

/* ───────── improvement animation ───────── */
.improve { border:var(--rule) solid var(--border); border-radius:var(--radius-lg); overflow:hidden; background:var(--card-bg); }
.improve-top { background:var(--dark-bg); color:var(--dark-fg); padding:34px 40px; display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; }
.improve-top h3 { color:var(--dark-fg); font-size:24px; }
.improve-top .pn { font-family:var(--mono); font-size:13px; color:var(--gold); margin-top:6px; }
.improve-grid { display:grid; grid-template-columns:1fr 1fr; }
.improve-metrics { padding:34px 40px; border-right:var(--rule) solid var(--border); }
.metric { padding:16px 0; border-bottom:var(--rule) solid var(--border); }
.metric:last-child { border-bottom:0; }
.metric-lab { font-size:14px; color:var(--muted); display:flex; justify-content:space-between; align-items:baseline; }
.metric-val { font-family:var(--mono); font-weight:600; }
.metric-val .from { color:var(--muted); font-size:15px; }
.metric-val .arrow { color:var(--gold); margin:0 7px; }
.metric-val .to { color:var(--brand-red); font-size:26px; }
.metric-track { height:7px; background:var(--border); border-radius:999px; overflow:hidden; margin-top:10px; }
.metric-track > i { display:block; height:100%; background:linear-gradient(90deg,var(--gold),var(--brand-red)); border-radius:999px;
  width:0; transition:width 1.3s cubic-bezier(.2,.8,.2,1); }
.improve-visual { padding:34px 40px; display:flex; flex-direction:column; gap:16px; }
.iv-card { border:var(--rule) solid var(--border); border-radius:var(--radius); padding:16px; }
.iv-card h6 { margin:0 0 10px; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.improve-note { padding:20px 40px; background:color-mix(in srgb,var(--warning) 11%,transparent); border-top:var(--rule) solid var(--border);
  font-size:13px; color:var(--muted); line-height:1.6; display:flex; gap:12px; }
.improve-note .ic { color:var(--warning); flex-shrink:0; }
.impact-actions { display:flex; justify-content:center; padding:24px 40px 28px; }
.impact-back-plans { min-width:180px; justify-content:center; }
@media (max-width:820px){ .improve-grid{grid-template-columns:1fr;} .improve-metrics{border-right:0; border-bottom:var(--rule) solid var(--border);} }

/* improve-stack：上下排列（品牌戰役 15-5 專用） */
.improve-stack { display:flex; flex-direction:column; }
.improve-stack .improve-metrics { border-right:0; border-bottom:var(--rule) solid var(--border); }
.improve-stack .improve-visual { border-top:0; }
.iv-panels { display:flex; flex-wrap:wrap; gap:16px; align-items:flex-start; }
.improve-stack .iv-panels { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.improve-stack .iv-card { min-width:0; }

/* improve column titles */
.improve-col-title { font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted);
  margin:0 0 18px; display:flex; flex-direction:column; gap:3px; }
.improve-col-title span { text-transform:none; letter-spacing:0; font-size:11.5px; color:#999; font-family:var(--sans); }
/* metric gray description */
.metric-desc { font-size:11.5px; color:#888; line-height:1.55; margin-top:6px; }
/* theme list panel */
.theme-list { display:flex; flex-direction:column; gap:8px; }
.theme-chip { display:flex; align-items:center; gap:10px; font-size:13.5px; padding:9px 12px; border:var(--rule) solid var(--border);
  border-radius:var(--radius); background:var(--page-bg); }
.theme-chip b { font-family:var(--mono); font-size:12px; color:#fff; background:var(--brand-red); width:20px; height:20px;
  border-radius:50%; display:grid; place-items:center; flex-shrink:0; }
[data-theme="editorial"] .theme-chip b { border-radius:0; }
/* A 級媒體版面 panel */
.media-mock { background:var(--white); border:var(--rule) solid var(--border); border-radius:var(--radius); overflow:hidden; }
.media-mock .mm-img { height:78px; }
/* radar panel */
.radar-panel { display:flex; flex-direction:column; align-items:center; }
.radar-legend { display:flex; gap:18px; margin-top:8px; font-size:11.5px; color:var(--muted); font-family:var(--mono); }
.radar-legend span { display:inline-flex; align-items:center; gap:6px; }
.radar-legend i { width:16px; height:0; display:inline-block; }
.radar-legend i.solid { border-top:2px solid var(--brand-red); }
.radar-legend i.dash { border-top:2px dashed var(--gold); }
/* flow chart panel */
.flow-panel { padding-top:6px; }
.flow-bars { display:flex; align-items:flex-end; gap:8px; height:120px; }
.flow-bars span { flex:1; background:linear-gradient(180deg,var(--brand-red),var(--gold)); border-radius:3px 3px 0 0;
  transition:height 1s cubic-bezier(.2,.8,.2,1); min-height:8px; }
[data-theme="editorial"] .flow-bars span { border-radius:0; }
.flow-axis { display:flex; justify-content:space-between; margin-top:8px; font-size:11px; color:var(--muted); font-family:var(--mono); }

/* info tooltip (?) */
.infotip { position:relative; display:inline-flex; vertical-align:middle; }
.infotip-btn { width:17px; height:17px; border-radius:50%; border:1px solid var(--muted); background:transparent; color:var(--muted);
  font-size:11px; line-height:1; display:inline-grid; place-items:center; margin-left:6px; font-family:var(--mono); padding:0; }
.infotip-btn:hover { border-color:var(--brand-red); color:var(--brand-red); }
.infotip-pop { position:absolute; top:calc(100% + 9px); left:0; z-index:40; width:286px; background:var(--card-bg);
  border:var(--rule) solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:15px 17px; font-weight:400; cursor:default; }
.infotip-pop::before { content:""; position:absolute; top:-6px; left:14px; width:10px; height:10px; background:var(--card-bg);
  border-left:var(--rule) solid var(--border); border-top:var(--rule) solid var(--border); transform:rotate(45deg); }
.infotip-pop b { font-size:13px; display:block; margin-bottom:9px; color:var(--ink); }
.infotip-pop ol { margin:0; padding-left:18px; }
.infotip-pop li { font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:5px; }

/* calendar (10篇 consult) */
.cal { display:grid; grid-template-columns:repeat(6,1fr); gap:6px; }
.cal-m { aspect-ratio:1; border:var(--rule) solid var(--border); border-radius:var(--radius); display:flex; flex-direction:column;
  align-items:center; justify-content:center; font-family:var(--mono); font-size:11px; color:var(--muted); position:relative; }
.cal-m.hit { background:color-mix(in srgb,var(--brand-red) 12%,var(--card-bg)); border-color:var(--brand-red); color:var(--ink); }
.cal-m .dot { width:6px; height:6px; border-radius:50%; background:var(--brand-red); margin-top:3px; }

/* ───────── purchase form ───────── */
.form-shell { display:grid; grid-template-columns:1.25fr .75fr; border:var(--rule) solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden; background:var(--card-bg); }
.form-main { padding:44px 46px; }
.form-side { background:var(--dark-bg); color:var(--dark-fg); padding:40px 36px; }
.form-side h4 { color:var(--dark-fg); font-size:21px; margin-bottom:6px; }
.form-side .combo { font-family:var(--mono); font-size:13px; color:var(--gold); }
.ss-row { display:flex; justify-content:space-between; padding:13px 0; border-bottom:var(--rule) solid rgba(244,236,221,.16); font-size:14.5px; gap:12px; }
.ss-row .k { color:rgba(244,236,221,.6); }
.ss-row .v { font-family:var(--mono); text-align:right; }
.ss-total { margin-top:16px; padding-top:14px; }
.ss-total .price { font-family:var(--mono); font-size:24px; color:var(--gold); font-weight:600; }
.form-grp-title { font-family:var(--mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-red);
  margin:8px 0 18px; padding-bottom:10px; border-bottom:var(--rule) solid var(--border); }
.form-grp-title:not(:first-child) { margin-top:34px; }
@media (max-width:900px){ .form-shell{grid-template-columns:1fr;} }
@media (max-width:560px){ .form-main{padding:30px 24px;} }

/* ───────── popup / modal ───────── */
.emodal-mask { position:fixed; inset:0; background:rgba(12,11,10,.62); backdrop-filter:blur(3px); display:grid; place-items:center;
  z-index:200; padding:24px; animation:fade .25s; overflow:auto; }
@keyframes fade { from{opacity:0;} to{opacity:1;} }
.emodal { background:var(--card-bg); border-radius:var(--radius-lg); max-width:520px; width:100%; overflow:hidden;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.55); animation:pop .3s cubic-bezier(.2,.8,.2,1); position:relative; margin:auto; }
@keyframes pop { from{transform:translateY(16px) scale(.97); opacity:0;} to{transform:none; opacity:1;} }
.emodal-head { background:var(--dark-bg); color:var(--dark-fg); padding:26px 30px; }
.emodal-head .k { font-family:var(--mono); font-size:11px; letter-spacing:.12em; color:var(--gold); text-transform:uppercase; }
.emodal-head h4 { color:var(--dark-fg); font-size:22px; margin-top:8px; }
.emodal-body { padding:26px 30px 28px; }
.emodal-close { position:absolute; top:18px; right:18px; background:rgba(255,255,255,.16); color:#fff; border:0; width:30px; height:30px; border-radius:50%; font-size:17px; z-index:2; }
.recap { border:var(--rule) solid var(--border); border-radius:var(--radius); overflow:hidden; margin-bottom:18px; }
.recap-row { display:flex; justify-content:space-between; padding:11px 16px; font-size:14px; gap:14px; border-bottom:var(--rule) solid var(--border); }
.recap-row:last-child { border-bottom:0; }
.recap-row .k { color:var(--muted); }
.recap-row .v { font-family:var(--mono); text-align:right; }
.recap-row.hl { background:color-mix(in srgb,var(--gold) 12%,transparent); }
.note-box { background:var(--ink); color:var(--dark-fg); border-radius:var(--radius); padding:16px 18px; font-family:var(--mono);
  font-size:12.5px; line-height:1.8; white-space:pre-wrap; word-break:break-all; position:relative; }
.copy-btn { display:inline-flex; align-items:center; gap:8px; margin-top:12px; }
.check-line { display:flex; gap:11px; align-items:flex-start; margin:18px 0; font-size:14px; cursor:pointer; user-select:none; line-height:1.5; }
.check-box { width:22px; height:22px; border:var(--rule-strong) solid var(--border); border-radius:4px; flex-shrink:0; display:grid; place-items:center; transition:all .16s; margin-top:1px; }
[data-theme="editorial"] .check-box { border-radius:0; }
.check-line.on .check-box { background:var(--success); border-color:var(--success); color:#fff; }
.etoast { position:fixed; bottom:28px; left:50%; transform:translateX(-50%); background:var(--ink); color:var(--white);
  padding:13px 22px; border-radius:var(--radius); font-size:14px; z-index:300; box-shadow:var(--shadow); animation:toastIn .3s; }
@keyframes toastIn { from{opacity:0; transform:translate(-50%,12px);} to{opacity:1; transform:translate(-50%,0);} }

/* ───────── effect sim (kept) ───────── */
.serp { background:#fff; border-radius:12px; padding:20px 22px; width:100%; max-width:430px; box-shadow:0 18px 46px -28px rgba(0,0,0,.4); color:#202124; border:1px solid #ececec; }
[data-theme="editorial"] .serp { border-radius:0; }
.serp-bar { display:flex; align-items:center; gap:10px; border:1px solid #dfe1e5; border-radius:999px; padding:9px 16px; font-size:13px; color:#3c4043; }
.serp-bar .q { flex:1; } .serp-bar .g { font-weight:700; color:#4285F4; }
.serp-item { margin-top:17px; } .serp-item .u { font-size:12px; color:#202124; display:flex; align-items:center; gap:6px; }
.serp-item .u .dot { width:16px; height:16px; border-radius:50%; background:#e8eaed; }
.serp-item .h { color:#1a0dab; font-size:17px; line-height:1.3; margin:3px 0; font-family:Arial,sans-serif; }
.serp-item .d { font-size:13px; color:#4d5156; line-height:1.5; }
.serp-flag { font-family:var(--mono); font-size:9.5px; background:#fef0ef; color:#B23A2F; padding:2px 6px; border-radius:3px; margin-left:7px; }
.ai-card { background:#fff; border-radius:14px; width:100%; max-width:430px; overflow:hidden; box-shadow:0 18px 46px -28px rgba(0,0,0,.4); border:1px solid #ececec; }
[data-theme="editorial"] .ai-card { border-radius:0; }
.ai-top { display:flex; align-items:center; gap:9px; padding:14px 18px; border-bottom:1px solid #f0f0f0; }
.ai-dot { width:22px; height:22px; border-radius:7px; background:linear-gradient(135deg,#B23A2F,#D99A2B); }
.ai-name { font-size:13px; font-weight:700; color:#1a1a1a; }
.ai-q { padding:14px 18px; font-size:14px; color:#444; background:#faf9f7; border-bottom:1px solid #f0f0f0; }
.ai-a { padding:16px 18px; font-size:14px; line-height:1.65; color:#2a2a2a; } .ai-a b { color:#111; }
.ai-cite { display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 4px;
  background:#eef1ff; color:#3b5bdb; font-size:10px; font-family:var(--mono); border-radius:4px; vertical-align:super; margin:0 1px; }
.ai-sources { margin-top:14px; padding-top:12px; border-top:1px solid #f0f0f0; display:flex; flex-direction:column; gap:7px; }
.ai-source { display:flex; gap:8px; align-items:center; font-size:11.5px; color:#666; font-family:var(--mono); }
.ai-source .i { width:16px; height:16px; border-radius:4px; background:#eee; font-size:9px; color:#999; display:grid; place-items:center; flex-shrink:0; }
.phone { width:290px; background:var(--white); border-radius:24px; border:8px solid var(--charcoal); box-shadow:0 28px 56px -30px rgba(0,0,0,.5); overflow:hidden; }
[data-theme="editorial"] .phone { border-radius:6px; }
.phone-bar { background:#06C755; color:#fff; padding:12px 16px; font-size:14px; font-weight:600; }
.phone-body { padding:14px; display:flex; flex-direction:column; gap:10px; background:#e9eef0; min-height:260px; }
.bubble { max-width:82%; padding:10px 13px; border-radius:13px; font-size:13.5px; line-height:1.5; }
.bubble.them { background:#fff; align-self:flex-start; border-top-left-radius:3px; }
.bubble.me { background:#d6f5dd; align-self:flex-end; border-top-right-radius:3px; }
.share-card { background:#fff; border:1px solid #e2e2e2; border-radius:9px; overflow:hidden; max-width:88%; align-self:flex-start; }
.share-card .sc-img { height:70px; background:repeating-linear-gradient(45deg,#e9e0cf,#e9e0cf 8px,#ddd0b8 8px,#ddd0b8 16px); }
.share-card .sc-b { padding:9px 11px; }
.share-card .sc-src { font-size:10px; color:#888; font-family:var(--mono); }
.share-card .sc-t { font-size:12.5px; font-weight:700; line-height:1.35; margin-top:3px; color:#1a1a1a; }

/* ───────── FAQ ───────── */
.faq-item { border-bottom:var(--rule) solid var(--border); }
.faq-item:first-child { border-top:var(--rule-strong) solid var(--ink); }
.faq-q { width:100%; text-align:left; background:none; border:0; padding:24px 0; display:flex; gap:18px; align-items:flex-start;
  font-family:var(--serif); font-size:19px; font-weight:600; color:var(--ink); }
.faq-q .qx { font-family:var(--mono); font-size:14px; color:var(--brand-red); flex-shrink:0; padding-top:3px; }
.faq-q .pm { margin-left:auto; font-family:var(--mono); font-size:22px; color:var(--muted); transition:transform .25s; flex-shrink:0; }
.faq-item.open .faq-q .pm { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s; }
.faq-a > div { padding:0 0 24px 44px; color:var(--muted); font-size:15.5px; line-height:1.7; max-width:64ch; }

/* ───────── line cta / footer ───────── */
.line-cta { background:var(--dark-bg); color:var(--dark-fg); text-align:center; padding:88px 0; }
.line-cta h2 { color:var(--dark-fg); font-size:clamp(28px,4vw,46px); max-width:22ch; margin:18px auto 0; }
.line-cta .lead { color:rgba(244,236,221,.74); max-width:50ch; margin:20px auto 0; font-size:18px; }
.line-cta .lc-row { display:flex; gap:14px; justify-content:center; margin-top:34px; flex-wrap:wrap; }
.footer { background:var(--charcoal); color:rgba(244,236,221,.6); padding:48px 0 56px; }
.footer-top { display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; align-items:flex-end; }
.footer .brand .zh { color:var(--dark-fg); }
.footer-legal { font-family:var(--mono); font-size:11.5px; line-height:1.9; margin-top:24px; color:rgba(244,236,221,.5); }
.footer-legal b { color:rgba(244,236,221,.75); font-weight:600; }
.footer-links { display:flex; gap:20px; flex-wrap:wrap; margin-top:14px; }
.footer-links a { font-size:13px; color:rgba(244,236,221,.7); }
.footer-links a:hover { color:var(--gold); }

/* QR */
.qr-box { width:128px; height:128px; background:#fff; border-radius:8px; padding:10px; margin:0 auto; }
.qr-box svg { width:100%; height:100%; }

/* radar svg helpers */
.radar-grid { stroke:var(--border); fill:none; }
.radar-axis { stroke:var(--border); }
.radar-area { fill:color-mix(in srgb,var(--brand-red) 22%,transparent); stroke:var(--brand-red); stroke-width:2; }
.radar-pt { fill:var(--brand-red); }
.radar-label { font-family:var(--mono); font-size:10px; fill:var(--muted); }

/* page B controls */
.demo-builder { display:grid; grid-template-columns:.85fr 1.15fr; gap:0; border:var(--rule) solid var(--border); border-radius:var(--radius-lg); overflow:hidden; background:var(--card-bg); }
.db-controls { padding:36px 34px; border-right:var(--rule) solid var(--border); }
.db-output { padding:36px 38px; background:var(--band-bg); }
@media (max-width:880px){ .demo-builder{grid-template-columns:1fr;} .db-controls{border-right:0; border-bottom:var(--rule) solid var(--border);} }
.article-demo-note {
  display:inline-flex; align-items:center; margin-bottom:14px;
  padding:6px 10px; border:var(--rule) solid var(--border); border-radius:999px;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.08em;
  color:var(--muted); background:rgba(255,255,255,.72); }
.article-full { background:var(--white); border:var(--rule) solid var(--border); border-radius:var(--radius-lg); overflow:hidden; }
.article-full-premium { box-shadow:0 24px 70px rgba(32,24,18,.12); }
.af-masthead { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; padding:18px 24px 16px; border-bottom:2px solid var(--ink); }
.af-name { display:block; font-family:var(--serif); font-weight:800; font-size:24px; letter-spacing:.04em; }
.af-section { display:block; margin-top:4px; font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--brand-red); }
.af-meta { font-family:var(--mono); font-size:10px; color:var(--muted); letter-spacing:.08em; white-space:nowrap; }
.af-body { padding:30px 32px 34px; }
.af-cat { font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-red); margin-bottom:12px; }
.af-h1 { font-family:var(--serif); font-size:clamp(30px,3vw,42px); font-weight:800; line-height:1.18; letter-spacing:-.02em; margin:0 0 14px; color:var(--ink); }
.af-sub { font-size:18px; color:var(--muted); line-height:1.62; margin:0 0 22px; max-width:42em; }
.af-img { margin:0 0 24px; }
.af-img-photo {
  position:relative; height:clamp(260px,36vw,420px); border-radius:20px; overflow:hidden;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  box-shadow:inset 0 -90px 80px rgba(0,0,0,.34); }
.af-img-photo::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.04) 0%,rgba(0,0,0,.10) 48%,rgba(0,0,0,.48) 100%); }
.af-img-badge {
  position:absolute; left:16px; top:16px; z-index:1;
  display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px;
  background:rgba(32,24,18,.78); color:#fff; font-family:var(--mono); font-size:10px; letter-spacing:.08em; }
.af-img-photo figcaption {
  position:absolute; left:18px; right:18px; bottom:16px; z-index:1;
  color:rgba(255,255,255,.86); font-size:12px; line-height:1.5; margin:0; }
.af-content { max-width:44em; margin-inline:auto; }
.af-p { font-size:16.5px; line-height:1.95; margin-bottom:16px; color:rgba(34,28,24,.88); }
.af-tags { margin-top:22px; padding-top:18px; border-top:var(--rule) solid var(--border); }
.af-tag { display:inline-block; font-family:var(--mono); font-size:11px; background:var(--band-bg); padding:5px 11px; margin:3px 6px 0 0; border-radius:999px; }
[data-theme="editorial"] .af-tag { border-radius:0; }
@media (max-width:640px) {
  .af-masthead { align-items:flex-start; flex-direction:column; }
  .af-meta { white-space:normal; }
  .af-body { padding:24px 20px 28px; }
  .af-img-photo { height:260px; border-radius:16px; }
}

/* page C */
.pc-hero { background:var(--dark-bg); color:var(--dark-fg); padding:64px 0 56px; }
.pc-step { display:flex; gap:18px; padding:22px 0; border-bottom:var(--rule) solid var(--border); }
.pc-step:last-child { border-bottom:0; }
.pc-step .n { font-family:var(--mono); font-size:14px; width:34px; height:34px; border-radius:999px; background:var(--brand-red);
  color:#fff; display:grid; place-items:center; flex-shrink:0; }
[data-theme="editorial"] .pc-step .n { border-radius:0; }
.pc-step h4 { font-size:18px; margin-bottom:6px; } .pc-step p { color:var(--muted); font-size:15px; line-height:1.6; }
.pc-status { display:inline-flex; align-items:center; gap:9px; font-family:var(--mono); font-size:13px; padding:8px 15px;
  background:color-mix(in srgb,var(--warning) 16%,transparent); border:var(--rule) solid var(--warning); border-radius:999px; color:rgba(244,236,221,.78); }
[data-theme="editorial"] .pc-status { border-radius:0; }
.pc-status .pulse { width:9px; height:9px; border-radius:50%; background:var(--warning); animation:pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }


/* ───────── Tweaks 面板（純 JS 版）───────── */
.twk-panel{position:fixed;right:16px;bottom:16px;z-index:2147483646;width:280px;max-height:calc(100vh - 32px);
  display:flex;flex-direction:column;background:rgba(250,249,247,.82);color:#29261b;
  -webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);
  border:.5px solid rgba(255,255,255,.6);border-radius:14px;
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 12px 40px rgba(0,0,0,.18);
  font:11.5px/1.4 ui-sans-serif,system-ui,-apple-system,sans-serif;overflow:hidden}
.twk-panel[hidden]{display:none}
.twk-hd{display:flex;align-items:center;justify-content:space-between;padding:10px 8px 10px 14px;cursor:move;user-select:none}
.twk-hd b{font-size:12px;font-weight:600}
.twk-x{border:0;background:transparent;color:rgba(41,38,27,.55);width:22px;height:22px;border-radius:6px;font-size:13px;line-height:1;cursor:pointer}
.twk-x:hover{background:rgba(0,0,0,.06);color:#29261b}
.twk-body{padding:2px 14px 14px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;min-height:0}
.twk-sect{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(41,38,27,.45);padding:10px 0 0}
.twk-sect:first-child{padding-top:0}
.twk-row{display:flex;flex-direction:column;gap:5px}
.twk-row-h{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
.twk-lbl{font-weight:500;color:rgba(41,38,27,.72)}
.twk-field{box-sizing:border-box;width:100%;height:28px;padding:0 8px;border:.5px solid rgba(0,0,0,.12);border-radius:7px;background:rgba(255,255,255,.7);color:inherit;font:inherit;outline:none}
.twk-field:focus{border-color:rgba(0,0,0,.3)}
.twk-seg{position:relative;display:flex;padding:2px;border-radius:8px;background:rgba(0,0,0,.06)}
.twk-seg button{position:relative;z-index:1;flex:1;border:0;background:transparent;color:inherit;font:inherit;font-weight:500;min-height:24px;border-radius:6px;cursor:pointer;padding:4px 6px}
.twk-seg button[aria-checked="true"]{background:rgba(255,255,255,.95);box-shadow:0 1px 2px rgba(0,0,0,.12)}
.twk-toggle{position:relative;width:34px;height:20px;border:0;border-radius:999px;background:rgba(0,0,0,.18);cursor:pointer;padding:0;transition:background .15s}
.twk-toggle[data-on="1"]{background:#34c759}
.twk-toggle i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.twk-toggle[data-on="1"] i{transform:translateX(14px)}
.twk-chips{display:flex;gap:6px}
.twk-chip{position:relative;flex:1;height:42px;border:0;border-radius:6px;cursor:pointer;box-shadow:0 0 0 .5px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.06);transition:transform .12s}
.twk-chip:hover{transform:translateY(-1px)}
.twk-chip[data-on="1"]{box-shadow:0 0 0 2px rgba(0,0,0,.85)}

/* ───────── AI 顧問診斷報告 ───────── */
.ai-report-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.76), rgba(247,241,232,.92));
  box-shadow: var(--shadow);
}
[data-theme="editorial"] .ai-report-card { border-radius: 0; }
.ai-report-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.ai-report-head h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--ink);
}
.ai-report-body {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.85;
}
.ai-report-body h3,
.ai-report-body h4,
.ai-report-body h5 {
  margin: 22px 0 8px;
  font-family: var(--serif);
  color: var(--brand-red);
}
.ai-report-body p { margin: 0 0 12px; }
.ai-report-body ul { margin: 8px 0 16px 1.25em; padding: 0; list-style: disc; }
.ai-report-body strong { color: var(--charcoal); font-weight: 800; }
.ai-report-body li { margin-bottom: 7px; }
.ai-report-warning {
  border-color: rgba(178,58,47,.35);
  background: rgba(178,58,47,.06);
}
.ai-report-loading { position: relative; overflow: hidden; }
.ai-loading-lines { display: grid; gap: 10px; margin-top: 14px; }
.ai-loading-lines span {
  display: block; height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(178,58,47,.08), rgba(217,154,43,.28), rgba(178,58,47,.08));
  background-size: 220% 100%;
  animation: aiReportPulse 1.2s ease-in-out infinite;
}
.ai-loading-lines span:nth-child(1) { width: 92%; }
.ai-loading-lines span:nth-child(2) { width: 76%; animation-delay: .12s; }
.ai-loading-lines span:nth-child(3) { width: 58%; animation-delay: .24s; }
@keyframes aiReportPulse {
  0%   { background-position: 0%   50%; opacity: .58; }
  50%  { background-position: 100% 50%; opacity: 1; }
  100% { background-position: 0%   50%; opacity: .58; }
}

/* ───────── 主官網連結（傑飛特科技）───────── */
/* Header 為淺色背景，使用 muted 色系，透過 opacity 降低視覺權重 */
.nav-company-link {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  opacity: .72;
  transition: color .2s ease, opacity .2s ease;
}
.nav-company-link:hover { color: var(--brand-red); opacity: 1; }
/* Footer 公司背書（深色 Footer 背景） */
.footer-company-note {
  margin-top: 14px;
  color: rgba(244,236,221,.68);
  font-size: 13px;
  line-height: 1.7;
}
.footer-company-note a { color: var(--gold); text-decoration: none; }
.footer-company-note a:hover { text-decoration: underline; }
@media (max-width: 720px) { .nav-company-link { display: none; } }

/* ───────── Hero CTA 小字 ───────── */
.hero-cta-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(244,236,221,.54);
  letter-spacing: .04em;
}

/* ───────── 方案優惠帶 ───────── */
.plans-offer-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 28px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(179,58,45,.14), rgba(214,169,93,.20));
  border: 1px solid rgba(179,58,45,.18);
  color: var(--ink);
}
.plans-offer-strip strong { color: var(--brand-red); font-size: 18px; }
.plans-offer-strip span   { color: var(--muted); font-size: 14px; }
@media (max-width:560px) {
  .plans-offer-strip { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
  .plans-offer-strip strong { font-size: 16px; }
}

/* ───────── 方案卡：新價格欄位 ───────── */
.plan-sale-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(179,58,45,.12);
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.plan-price-wrap {
  display: grid;
  gap: 4px;
  margin: 12px 0 8px;
}
.plan-original-price {
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.plan-limit {
  margin-top: 8px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
}
.plan-segment {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--band-bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.plan-highlight-note {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand-red);
  background: rgba(179,58,45,.07);
  border-radius: 8px;
  padding: 7px 10px;
  line-height: 1.5;
}
.plan-card.is-highlight {
  border-color: rgba(179,58,45,.45);
  box-shadow: 0 24px 70px rgba(179,58,45,.18);
}
.ebtn.ebtn-highlight {
  background: var(--brand-red);
  box-shadow: 0 8px 28px rgba(179,58,45,.35);
}
.ebtn.ebtn-highlight:hover { background: #9c3127; }
@media (max-width:560px) {
  .plan-price, .plan-price.quote { font-size: 26px; }
}

/* ─── 方案倒數計時器 ─── */
.plans-countdown {
  background: linear-gradient(135deg, rgba(35,8,8,.97) 0%, rgba(58,14,10,.93) 100%);
  border: 1px solid rgba(232,64,64,.28);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pcd-row-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pcd-urgency {
  font-family: var(--mono);
  font-size: 16px;
  color: rgba(244,236,221,.7);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 140px;
}
.pcd-badge {
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.pcd-timer {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.pcd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(232,64,64,.1);
  border: 1px solid rgba(232,64,64,.22);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 50px;
}
.pcd-unit b {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: #e84040;
  line-height: 1;
  letter-spacing: .04em;
}
.pcd-unit small {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(244,236,221,.38);
  margin-top: 3px;
  letter-spacing: .1em;
}
.pcd-col {
  font-size: 20px;
  font-weight: 700;
  color: rgba(232,64,64,.45);
  padding-bottom: 16px;
  font-family: var(--mono);
  line-height: 1;
  flex-shrink: 0;
}
.pcd-row-quota {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.pcd-qlabel {
  font-family: var(--mono);
  font-size: 16px;
  color: rgba(244,236,221,.7);
  white-space: nowrap;
}
.pcd-qlabel strong { color: var(--gold); font-weight: 700; }
.pcd-quota-n {
  color: #e84040;
  font-weight: 700;
  font-size: 24px;
  font-family: var(--mono);
  line-height: 1;
}
.pcd-quota-bar {
  flex: 1;
  min-width: 60px;
  height: 5px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
  margin-left: 6px;
  align-self: center;
}
.pcd-quota-fill {
  height: 100%;
  background: linear-gradient(to right, #e84040 0%, #ff7b35 100%);
  border-radius: 99px;
  transition: width .8s ease;
}
@media (max-width:640px) {
  .plans-countdown { padding: 12px 14px; gap: 8px; }
  .pcd-timer { margin-left: 0; }
  .pcd-unit { min-width: 42px; padding: 5px 7px; }
  .pcd-unit b { font-size: 20px; }
  .pcd-col { font-size: 17px; padding-bottom: 14px; }
}
@media (max-width:400px) {
  .pcd-unit { min-width: 36px; padding: 4px 5px; }
  .pcd-unit b { font-size: 17px; }
}
