/* 對外介紹網站。跟系統介面（src/index.css）分開，系統沿用 Google 搜尋主控台風格，這裡是行銷頁。 */
:root {
  --ink: #0f1729;
  --ink-2: #475069;
  --ink-3: #7a8299;
  --line: #e4e7ef;
  --soft: #f5f7fb;
  --bg: #ffffff;
  --blue: #2457f5;
  --blue-ink: #1a44c9;
  --blue-wash: #eaf0ff;
  --teal: #0f9f8f;
  --teal-wash: #e3f6f3;
  --amber: #c27803;
  --amber-wash: #fdf3e1;
  --red: #d33b2c;
  --red-wash: #fdecea;
  --green: #188a4a;
  --navy: #0b1430;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 41, .06), 0 12px 32px -12px rgba(15, 23, 41, .18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Sans TC", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: .01em; }
p { margin: 0; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* 按鈕 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 500; font-size: 1rem; line-height: 1.2;
  border: 1px solid transparent; transition: background .15s, box-shadow .15s, transform .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(36, 87, 245, .55); }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eefc; color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .92rem; }

/* 導覽列 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.08rem; }
.logo:hover { color: var(--ink); }
.logo-text { font-weight: 900; font-size: 1.22rem; letter-spacing: -.01em; }
.logo-text b { font-weight: inherit; color: var(--blue); }
.logo-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 26px; height: 22px; }
.logo-mark i { display: block; width: 6px; border-radius: 2px; background: var(--blue); }
.logo-mark i:nth-child(1) { height: 9px; opacity: .45; }
.logo-mark i:nth-child(2) { height: 15px; opacity: .7; }
.logo-mark i:nth-child(3) { height: 22px; background: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.nav-links a:not(.btn) { color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; }
}

/* 區塊 */
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--blue); background: var(--blue-wash); padding: 5px 12px; border-radius: 999px; }
.eyebrow.teal { color: var(--teal); background: var(--teal-wash); }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 900; margin-top: 14px; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; margin-top: 14px; }
.soft { background: var(--soft); }

/* 首頁主視覺 */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 245, .12), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 159, 143, .1), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.nw { white-space: nowrap; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 900; margin-top: 18px; letter-spacing: .02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); margin-top: 20px; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--ink-3); }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } }

/* 介面示意卡 */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; font-size: .9rem; }
.mock-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--ink-3); font-size: .8rem; }
.mock-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-top .url { margin-left: 8px; background: var(--soft); padding: 3px 10px; border-radius: 6px; }
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.score { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.score .k { color: var(--ink-3); font-size: .78rem; }
.score .v { font-size: 1.55rem; font-weight: 700; margin-top: 2px; }
.score .d { font-size: .75rem; margin-top: 2px; }
.up { color: var(--green); } .down { color: var(--red); }
.bar { height: 6px; border-radius: 6px; background: var(--soft); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--blue); }
.mock h5 { margin: 18px 0 8px; font-size: .85rem; }
.fix { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.tag { font-size: .7rem; font-weight: 500; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.tag.err { color: var(--red); background: var(--red-wash); }
.tag.warn { color: var(--amber); background: var(--amber-wash); }
.tag.ai { color: var(--teal); background: var(--teal-wash); }
.fix .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fix .n { color: var(--ink-3); font-size: .78rem; white-space: nowrap; }
.engines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { font-size: .76rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink-2); background: #fff; }
.chip b { color: var(--ink); font-weight: 500; }
@media (max-width: 480px) { .scores { grid-template-columns: 1fr 1fr; } .scores .score:last-child { grid-column: span 2; } }

/* 三張卡片 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-top: 14px; }
.card p { color: var(--ink-2); margin-top: 10px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); }
.icon.teal { background: var(--teal-wash); color: var(--teal); }
.icon.amber { background: var(--amber-wash); color: var(--amber); }
.icon svg { width: 22px; height: 22px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin-top: 8px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.more { display: inline-block; margin-top: 18px; font-weight: 500; }
.more::after { content: " →"; }

/* 問題陳述 */
.shift { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.shift > div { padding: 28px; border-right: 1px solid var(--line); }
.shift > div:last-child { border-right: 0; }
.shift .num { font-size: .8rem; color: var(--ink-3); font-weight: 500; letter-spacing: .08em; }
.shift h3 { font-size: 1.1rem; margin-top: 8px; }
.shift p { color: var(--ink-2); margin-top: 8px; font-size: .95rem; }
@media (max-width: 900px) { .shift { grid-template-columns: 1fr; } .shift > div { border-right: 0; border-bottom: 1px solid var(--line); } .shift > div:last-child { border-bottom: 0; } }

/* 步驟 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-2); margin-top: 8px; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* 引擎列 */
.engine-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.engine { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight: 500; }
.engine i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }

/* 左右分欄說明 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-top: 12px; }
.split .txt > p { color: var(--ink-2); margin-top: 14px; font-size: 1.05rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; } }

/* 信任 */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust div { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.trust h3 { font-size: 1.02rem; }
.trust p { color: var(--ink-2); font-size: .93rem; margin-top: 6px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }

/* 常見問題 */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin-top: 10px; }

/* 收尾行動區 */
.cta-band { background: var(--navy); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(36, 87, 245, .45), transparent 70%); }
.cta-in { position: relative; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; }
.cta-band p { color: rgba(255, 255, 255, .72); margin-top: 12px; }
.cta-row { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* 內頁抬頭 */
.page-head { padding: 72px 0 56px; background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 900; margin-top: 14px; max-width: 18em; }
.page-head .lead { color: var(--ink-2); font-size: 1.12rem; margin-top: 16px; max-width: 40em; }
.page-head .hero-cta { margin-top: 28px; }

/* 檢查項目表 */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.checks > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.checks h4 { font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.checks ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: .92rem; }
.checks li { margin-top: 4px; }
@media (max-width: 900px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* 價格 */
.notice { background: var(--amber-wash); color: #7a4b00; border: 1px solid #f3d9a6; border-radius: 12px; padding: 14px 18px; font-size: .95rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.plan.pop::before { content: "推薦"; position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff; font-size: .78rem; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.plan .for { color: var(--ink-3); font-size: .9rem; margin-top: 4px; }
.plan .price { margin-top: 20px; font-size: 2.3rem; font-weight: 900; line-height: 1.1; }
.plan .price small { font-size: .95rem; font-weight: 400; color: var(--ink-3); }
.plan .ticks { flex: 1; margin-bottom: 24px; }
.plan .btn { width: 100%; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.cmp th, table.cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; color: var(--ink-2); }
table.cmp thead th { background: var(--soft); font-weight: 500; }
table.cmp tr:last-child td { border-bottom: 0; }

/* 條款文件 */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 0 96px; }
.doc h1 { font-size: 2rem; font-weight: 900; }
.doc .meta { color: var(--ink-3); margin-top: 8px; font-size: .92rem; }
.doc h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-top: 6px; }
.doc .box { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 16px; }

/* 頁尾 */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { color: var(--ink-3); margin-top: 10px; font-size: .92rem; }
.foot-cols { display: flex; gap: 72px; }
.foot-cols h4 { font-size: .85rem; color: var(--ink-3); font-weight: 500; margin-bottom: 10px; }
.foot-cols a { display: block; color: var(--ink-2); font-size: .93rem; margin-top: 6px; }
.foot-legal { color: var(--ink-3); font-size: .82rem; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .foot-cols { gap: 40px; } }
