/* ============================================================
   守護犬 — 全天候 AI 異常偵測
   暗色系設計：深黑 / 石墨灰 / 警戒橘 / 暖黃
   刻意不做：藍紫漸層、滿版圓卡、膠囊化。層次靠邊線、色帶與大場景。
   ============================================================ */
:root {
  --bg: #0D0E11;          /* 深黑底 */
  --panel: #15171C;       /* 石墨面板 */
  --panel-2: #1B1E25;     /* 高一階面板 */
  --line: #2A2E37;        /* 邊線 */
  --line-soft: #22252D;
  --ink: #EDEEF0;
  --soft: #9BA1AC;
  --faint: #6E7480;
  --alert: #F25C1F;       /* 警戒橘 */
  --alert-deep: #D14A12;
  --warm: #F4B942;        /* 暖黃（守護的光） */
  --ok: #6F8F62;          /* 正常（低彩安定綠） */
  --r: 6px;
  --maxw: 1160px;
  --header-h: 64px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.75; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(13 14 17 / .92);
  backdrop-filter: none; /* 避免 fixed 選單被 containing block 困住 */
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo img { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-weight: 900; font-size: 1.18rem; letter-spacing: .04em; line-height: 1.15; white-space: nowrap; }

/* 桌機：logo 置中放大、導覽列下排置中（徽章式門面） */
@media (min-width: 1021px) {
  :root { --header-h: 122px; }
  .header-inner { height: auto; flex-direction: column; justify-content: flex-start; gap: 0; padding-top: 12px; }
  .brand { justify-content: center; }
  .brand-logo img { width: 58px; height: 58px; }
  .brand-name { font-size: 1.42rem; }
  .brand-name small { font-size: .7rem; }
  .main-nav { width: 100%; justify-content: center; padding: 4px 0 8px; margin-top: 8px; border-top: 1px solid var(--line-soft); }
}
.brand-name small { display: block; font-size: .64rem; font-weight: 700; color: var(--warm); letter-spacing: .3em; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: .2s; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { padding: 8px 11px; font-weight: 600; font-size: .92rem; color: var(--soft); border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--warm); border-bottom-color: var(--warm); }
.main-nav .nav-cta {
  margin-left: 10px; padding: 9px 18px; background: var(--alert); color: #fff;
  font-weight: 700; border-radius: var(--r); border-bottom: 0;
  box-shadow: 0 0 0 1px rgb(242 92 31 / .35), 0 6px 18px -8px rgb(242 92 31 / .8);
}
.main-nav .nav-cta:hover { background: var(--alert-deep); color: #fff; }

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); right: 0; left: auto;
    width: min(78vw, 320px); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-left: 1px solid var(--line);
    padding: 14px; visibility: hidden; opacity: 0; transform: translateX(12px);
    transition: .18s ease; overflow-y: auto;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .main-nav a { padding: 13px 12px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
  .main-nav a.active { border-bottom-color: var(--line-soft); }
  .main-nav .nav-cta { margin: 14px 0 0; text-align: center; }
  body.nav-locked { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- 章節骨架 ---------- */
.section { padding: 72px 0; }
.section-line { border-top: 1px solid var(--line-soft); }
.section-panel { background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .22em; color: var(--warm); margin-bottom: 10px; }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2.15rem); font-weight: 900; line-height: 1.35; letter-spacing: .01em; }
.section-lead { color: var(--soft); margin-top: 12px; max-width: 720px; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
.accent-bar { display: block; width: 44px; height: 3px; background: linear-gradient(90deg, var(--alert), var(--warm)); margin: 18px 0 0; }
.center .accent-bar { margin-inline: auto; }
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .section-title { font-size: 1.45rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 64px; overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(52rem 30rem at 82% 20%, rgb(244 185 66 / .07), transparent 60%),
    radial-gradient(40rem 26rem at 12% 90%, rgb(242 92 31 / .05), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 900; line-height: 1.3; }
.hero h1 .hl { color: var(--warm); }
.hero-sub { margin-top: 18px; color: var(--soft); font-size: 1.05rem; max-width: 540px; }
.hero-slogan { margin-top: 10px; font-weight: 700; color: var(--ink); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 22px; color: var(--faint); font-size: .85rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .dot { width: 3px; height: 3px; background: var(--faint); border-radius: 50%; padding: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } .hero { padding: 56px 0 44px; } }

/* ---------- 按鈕（矩形、不膠囊） ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: var(--r); font-weight: 700; font-size: .98rem; transition: .15s; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--alert); color: #fff; box-shadow: 0 8px 22px -10px rgb(242 92 31 / .9); }
.btn-primary:hover { background: var(--alert-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--warm); color: var(--warm); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* ---------- 圖片佔位（之後換 AI 正式圖） ---------- */
.img-slot {
  border: 1px dashed #3A3F4A; border-radius: var(--r);
  background: repeating-linear-gradient(45deg, var(--panel), var(--panel) 12px, var(--panel-2) 12px, var(--panel-2) 24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--soft); font-weight: 700; text-align: center; padding: 20px; min-height: 220px;
}
.img-slot .slot-tag { font-size: .72rem; letter-spacing: .18em; color: var(--warm); }
.img-slot .slot-spec { font-size: .8rem; font-weight: 500; color: var(--faint); max-width: 420px; line-height: 1.7; }
.img-wide { aspect-ratio: 21 / 9; width: 100%; }
.guardian-visual {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: 0 18px 44px rgb(0 0 0 / .24);
  object-fit: cover;
}
.guardian-visual-hero { aspect-ratio: 4 / 3; }
.guardian-visual-wide { aspect-ratio: 21 / 9; }

/* ---------- 三步 how ---------- */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; margin-top: 44px; }
.how-step { background: var(--panel); padding: 30px 26px; position: relative; }
.how-step .num { font-size: 2rem; font-weight: 900; color: var(--warm); opacity: .9; font-variant-numeric: tabular-nums; }
.how-step h3 { margin-top: 8px; font-size: 1.1rem; font-weight: 700; }
.how-step p { margin-top: 8px; color: var(--soft); font-size: .93rem; }
.how-step[data-alert] .num { color: var(--alert); }
@media (max-width: 820px) { .how-steps { grid-template-columns: 1fr; } }

/* ---------- 場景卡（方正、左色帶） ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.scene-card { background: var(--panel); border: 1px solid var(--line-soft); border-left: 3px solid var(--warm); border-radius: var(--r); padding: 26px 26px 24px; display: flex; flex-direction: column; transition: .15s; }
.scene-card:hover { border-left-color: var(--alert); background: var(--panel-2); }
.scene-card h3 { font-size: 1.18rem; font-weight: 900; }
.scene-card .scene-tag { color: var(--faint); font-size: .82rem; margin-top: 2px; }
.scene-card ul { margin: 14px 0 18px; flex: 1; }
.scene-card li { position: relative; padding: 4px 0 4px 18px; color: var(--soft); font-size: .92rem; }
.scene-card li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 2px; background: var(--warm); }
.scene-card .scene-more { color: var(--warm); font-weight: 700; font-size: .92rem; }
.scene-card .scene-more:hover { color: var(--alert); }
@media (max-width: 820px) { .scene-grid { grid-template-columns: 1fr; } }

/* ---------- 條列（場景頁詳表） ---------- */
.detect-groups { display: grid; gap: 26px; margin-top: 40px; }
.detect-group { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.detect-group > h3 { padding: 14px 22px; font-size: 1rem; font-weight: 700; background: var(--panel-2); border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 10px; }
.detect-group > h3 .g-ico { font-size: 1.05rem; }
.detect-group ul { padding: 10px 22px 16px; column-gap: 40px; }
.detect-group li { position: relative; padding: 7px 0 7px 20px; color: var(--soft); border-bottom: 1px dashed var(--line-soft); font-size: .95rem; }
.detect-group li:last-child { border-bottom: 0; }
.detect-group li::before { content: ''; position: absolute; left: 0; top: 17px; width: 9px; height: 2px; background: var(--warm); }
.detect-group li strong { color: var(--ink); }
@media (min-width: 860px) { .detect-group ul.two-col { columns: 2; } .detect-group ul.two-col li { break-inside: avoid; } }

/* ---------- 亮點條 ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 36px; }
.feature-chip { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 16px 18px; font-size: .9rem; color: var(--soft); }
.feature-chip strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: .97rem; }

/* ---------- 通知鏈 ---------- */
.notify-chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; margin-top: 30px; }
.notify-node { flex: 1 1 190px; max-width: 250px; background: var(--panel-2); border: 1px solid var(--line); border-top: 2px solid var(--warm); border-radius: var(--r); padding: 14px 16px; font-size: .88rem; color: var(--soft); }
.notify-node strong { display: block; color: var(--ink); margin-bottom: 3px; }
.notify-node small { color: var(--faint); line-height: 1.6; display: block; }
.notify-chain-visual { gap: 10px; }
.notify-chain-visual .notify-node { display: flex; flex-direction: column; padding: 10px; overflow: hidden; }
.notify-image { display: block; width: calc(100% + 20px); height: 112px; margin: -10px -10px 12px; border-bottom: 1px solid var(--line); object-fit: cover; }
.notify-chain-visual .notify-node strong, .notify-chain-visual .notify-node small { padding: 0 4px; }
.notify-arrow { align-self: center; color: var(--alert); font-weight: 900; flex: 0 0 auto; }
@media (max-width: 680px) {
  .notify-chain { flex-direction: column; align-items: stretch; }
  .notify-node { max-width: none; flex: 1 1 auto; }
  .notify-image { height: 155px; }
  .notify-arrow { transform: rotate(90deg); align-self: center; }
}

/* ---------- 監控中心 ---------- */
.mc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; margin-top: 36px; }
.mc-stat { background: var(--panel); padding: 18px 20px; }
.mc-stat .v { font-size: 1.7rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.mc-stat .l { color: var(--faint); font-size: .82rem; margin-top: 2px; }
.mc-stat[data-tone="warn"] .v { color: var(--warm); }
.mc-stat[data-tone="alert"] .v { color: var(--alert); }
.mc-stat[data-tone="ok"] .v { color: var(--ok); }
@media (max-width: 720px) { .mc-stats { grid-template-columns: repeat(2, 1fr); } }

.mc-sites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.mc-site { text-align: left; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 16px 18px; cursor: pointer; font: inherit; color: inherit; transition: .15s; border-top: 3px solid var(--ok); }
.mc-site[data-status="watch"] { border-top-color: var(--warm); }
.mc-site[data-status="alert"] { border-top-color: var(--alert); }
.mc-site:hover, .mc-site.is-active { background: var(--panel-2); border-color: var(--line); border-top-color: inherit; }
.mc-site.is-active { outline: 1px solid var(--warm); }
.mc-site h3 { font-size: 1rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mc-site .t { color: var(--faint); font-size: .8rem; }
.mc-site .s { margin-top: 10px; font-size: .82rem; color: var(--soft); display: flex; justify-content: space-between; }
.mc-badge { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: .08em; flex: 0 0 auto; }
.mc-badge.ok { background: rgb(111 143 98 / .18); color: #9DBB8F; }
.mc-badge.watch { background: rgb(244 185 66 / .16); color: var(--warm); }
.mc-badge.alert { background: rgb(242 92 31 / .18); color: #FF8B57; animation: mc-blink 1.6s ease-in-out infinite; }
@keyframes mc-blink { 50% { opacity: .55; } }
@media (max-width: 960px) { .mc-sites { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mc-sites { grid-template-columns: 1fr; } }

.mc-board { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; margin-top: 26px; align-items: start; }
@media (max-width: 960px) { .mc-board { grid-template-columns: 1fr; } }

.mc-timeline { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.mc-timeline > h3 { padding: 13px 18px; font-size: .95rem; border-bottom: 1px solid var(--line-soft); background: var(--panel-2); display: flex; justify-content: space-between; align-items: center; }
.mc-timeline > h3 button { background: none; border: 0; color: var(--warm); font: inherit; font-size: .82rem; cursor: pointer; }
.mc-events { max-height: 560px; overflow-y: auto; }
.mc-event { display: grid; grid-template-columns: 14px 1fr; gap: 12px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-soft); padding: 13px 18px; cursor: pointer; font: inherit; color: inherit; transition: background .12s; }
.mc-event:hover, .mc-event.is-active { background: var(--panel-2); }
.mc-event .rail { position: relative; }
.mc-event .rail::before { content: ''; position: absolute; left: 5px; top: 20px; bottom: -14px; width: 1px; background: var(--line); }
.mc-event:last-child .rail::before { display: none; }
.mc-event .dot { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; margin-top: 6px; background: var(--ok); }
.mc-event[data-sev="watch"] .dot { background: var(--warm); }
.mc-event[data-sev="alert"] .dot { background: var(--alert); box-shadow: 0 0 0 4px rgb(242 92 31 / .15); }
.mc-event .ttl { font-weight: 700; font-size: .95rem; }
.mc-event .meta { color: var(--faint); font-size: .8rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mc-event .st { font-size: .78rem; margin-top: 4px; color: var(--soft); }

.mc-detail { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 22px 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.mc-detail .d-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mc-detail h3 { font-size: 1.15rem; font-weight: 900; }
.mc-detail .d-meta { color: var(--faint); font-size: .85rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mc-detail .d-ai { margin-top: 16px; background: var(--panel-2); border-left: 3px solid var(--warm); border-radius: 0 var(--r) var(--r) 0; padding: 13px 16px; font-size: .92rem; color: var(--soft); }
.mc-detail .d-ai strong { color: var(--ink); }
.mc-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.mc-media .img-slot { min-height: 150px; padding: 12px; }
.mc-media .img-slot .slot-spec { font-size: .74rem; }
.mc-event-media { position: relative; overflow: hidden; margin: 0; min-height: 150px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-2); }
.mc-event-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mc-event-media figcaption { padding: 8px 10px; color: var(--faint); font-size: .72rem; }
.mc-event-media-clip::after { content: '▶'; position: absolute; top: calc(50% - 18px); left: calc(50% - 18px); display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgb(244 185 66 / .75); border-radius: 50%; background: rgb(13 14 17 / .78); color: var(--warm); font-size: .9rem; }
@media (max-width: 560px) { .mc-media { grid-template-columns: 1fr; } }
.mc-notify { margin-top: 16px; }
.mc-notify h4 { font-size: .86rem; letter-spacing: .1em; color: var(--faint); margin-bottom: 8px; }
.mc-notify li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: .9rem; color: var(--soft); }
.mc-notify li:last-child { border-bottom: 0; }
.mc-notify .who strong { color: var(--ink); }
.mc-notify .ok { color: #9DBB8F; }
.mc-notify .warn { color: var(--warm); }
.mc-note { margin-top: 14px; color: var(--faint); font-size: .78rem; }

/* ---------- 安裝流程 ---------- */
.install-steps { margin-top: 44px; border-left: 2px solid var(--line); }
.install-step { position: relative; padding: 0 0 34px 34px; }
.install-step::before { content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--warm); }
.install-step:last-child { padding-bottom: 0; }
.install-step h3 { font-size: 1.08rem; font-weight: 900; }
.install-step h3 small { color: var(--faint); font-weight: 600; font-size: .8rem; margin-left: 8px; }
.install-step p { color: var(--soft); font-size: .94rem; margin-top: 6px; max-width: 640px; }

/* ---------- 表單 ---------- */
.form-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 30px; max-width: 860px; margin: 40px auto 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .92rem; }
.form-field label .req { color: var(--alert); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r); padding: 11px 13px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--warm); outline-offset: 0; border-color: transparent; }
.form-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.form-checks label { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; color: var(--soft); font-weight: 500; cursor: pointer; }
.form-checks input { accent-color: var(--alert); width: 16px; height: 16px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success h3 { font-size: 1.3rem; font-weight: 900; color: var(--warm); }
.form-success p { color: var(--soft); margin-top: 8px; }
.form-actions { grid-column: 1 / -1; margin-top: 6px; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px 18px; } }

/* ---------- 差異表 ---------- */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.vs-col { border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.vs-col > h3 { padding: 13px 20px; background: var(--panel-2); border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
.vs-col.bad > h3 { color: var(--faint); }
.vs-col.good > h3 { color: var(--warm); }
.vs-col ul { padding: 8px 20px 14px; }
.vs-col li { padding: 7px 0 7px 22px; position: relative; color: var(--soft); font-size: .93rem; border-bottom: 1px dashed var(--line-soft); }
.vs-col li:last-child { border-bottom: 0; }
.vs-col.bad li::before { content: '✕'; position: absolute; left: 0; color: var(--faint); }
.vs-col.good li::before { content: '✓'; position: absolute; left: 0; color: var(--warm); font-weight: 900; }
@media (max-width: 820px) { .vs-grid { grid-template-columns: 1fr; } }

/* ---------- CTA 收尾 ---------- */
.final-cta { text-align: center; border: 1px solid var(--line); border-radius: var(--r); background:
  radial-gradient(40rem 18rem at 50% 120%, rgb(244 185 66 / .08), transparent 70%), var(--panel);
  padding: 56px 28px; }
.final-cta h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; }
.final-cta p { color: var(--soft); margin: 12px auto 24px; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: #0A0B0D; padding: 56px 0 30px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
/* 頁尾：純圖騰，不放字——標語裡已有品牌名 */
.footer-brand .brand-logo img { width: 110px; height: auto; }
.footer-brand p { color: var(--faint); font-size: .9rem; margin-top: 14px; }
.footer-col h4 { font-size: .85rem; letter-spacing: .15em; color: var(--faint); margin-bottom: 12px; }
.footer-col a { display: block; padding: 5px 0; color: var(--soft); font-size: .93rem; }
.footer-col a:hover { color: var(--warm); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: .8rem; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 手機：品牌徽章自己一整排、置中，連結欄在下面排兩欄 */
  .footer-brand { grid-column: 1 / -1; text-align: center; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
  .footer-brand .brand { justify-content: center; }
  .footer-brand .brand-name { text-align: left; }
}

/* ---------- 進場 ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1.in { transition-delay: .08s; }
.js .reveal-d2.in { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 那通電話（核心差異展示） ---------- */
.call-mock { background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--alert); border-radius: 0 var(--r) var(--r) 0; padding: 22px 24px; }
.call-mock .c-from { font-size: .8rem; letter-spacing: .12em; color: var(--alert); font-weight: 700; }
.call-mock blockquote { margin-top: 10px; font-size: 1.02rem; line-height: 1.9; color: var(--ink); }
.call-mock blockquote strong { color: var(--warm); }
.call-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 40px; align-items: start; }
.call-side { display: grid; gap: 14px; }
.call-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 16px 18px; }
.call-card h4 { font-size: .82rem; letter-spacing: .14em; color: var(--faint); margin-bottom: 8px; }
.call-card p { font-size: .93rem; color: var(--soft); }
.call-card .big { font-size: 1.15rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.call-card.line-card { border-left: 3px solid #06C755; }
.call-card.police-card { border-left: 3px solid var(--warm); }
.call-card.script-card { border-left: 3px solid var(--alert); }
@media (max-width: 860px) { .call-grid { grid-template-columns: 1fr; } }

/* 頁尾標語：加大、分色（招牌句用暖黃） */
.footer-brand .footer-slogan { margin-top: 16px; font-size: 1.12rem; font-weight: 700; line-height: 2; }
.footer-brand .footer-slogan .s1 { display: block; color: var(--ink); }
.footer-brand .footer-slogan .s2 { display: block; color: var(--warm); }
