/* =====================================================================
   Techtop Asia 官網 — 品牌設計系統
   FinTech 信任感 + 科技現代感
   ===================================================================== */

:root {
  /* 品牌色 */
  --primary: #0B5FFF;
  --primary-600: #0A53E0;
  --primary-700: #0846BD;
  --ink: #0A1B3D;
  --accent: #00C9A7;
  --gold: #F5A623;

  /* 中性 */
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-muted: #EEF2F8;
  --border: #E2E8F0;
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #64748B;

  /* 排版 */
  --font-sans: "Inter", "Plus Jakarta Sans", "Noto Sans TC",
    "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;

  /* 圓角與陰影 */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(10, 27, 61, .08);
  --shadow: 0 8px 30px rgba(10, 27, 61, .08);
  --shadow-lg: 0 24px 60px rgba(10, 27, 61, .14);

  --container: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-700); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1rem; color: var(--text-2); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink {
  background: linear-gradient(160deg, var(--ink) 0%, #0d2a5e 100%);
  color: #fff;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.78); }

/* ---------- 區塊標頭 ---------- */
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(11, 95, 255, .08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section--ink .eyebrow { color: var(--accent); background: rgba(0,201,167,.12); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { font-size: 1.15rem; color: var(--text-2); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11, 95, 255, .35);
}
.btn-primary:hover { background: var(--primary-700); color: #fff; box-shadow: 0 12px 28px rgba(11,95,255,.45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1f5ff; color: var(--ink); }
.btn-accent { background: var(--accent); color: #04372f; }
.btn-accent:hover { background: #00b496; color: #04372f; }
.btn-lg { padding: 16px 32px; font-size: 1.06rem; }

/* ---------- 導覽列 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand .logo-img {
  width: 34px; height: 34px; border-radius: 9px; object-fit: cover;
}
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: .95rem;
}
.brand b { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); font-weight: 600; font-size: .98rem;
  padding: 9px 14px; border-radius: 10px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--bg-muted); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; display: flex;
    transition: max-height .35s ease, padding .35s ease;
    padding-top: 0; padding-bottom: 0;
  }
  .nav-links.open { max-height: 500px; padding-top: 12px; padding-bottom: 20px; }
  .nav-links a { padding: 12px 8px; border-radius: 8px; }
  .nav .btn-ghost { display: none; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(11,95,255,.12), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(0,201,167,.10), transparent 55%),
    var(--bg);
}
.hero--dark {
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(11,95,255,.22), transparent 55%),
    radial-gradient(900px 500px at 0% 80%, rgba(0,201,167,.12), transparent 55%),
    linear-gradient(170deg, #0A1B3D 0%, #0E2A5A 50%, #0A1B3D 100%);
  color: #fff;
}
.hero--dark h1 { color: #fff; }
.hero--dark .lead { color: rgba(255,255,255,.72); }
.hero--dark .trust-bar { color: rgba(255,255,255,.6); }
.hero--dark .trust-bar .dot { background: var(--accent); }
.hero--dark .hero-visual {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 8px 20px 8px 10px;
  background: rgba(0,201,167,.12);
  border: 1px solid rgba(0,201,167,.25);
  border-radius: 40px;
}
.hero-badge__number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-badge__text {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}

/* Ghost Light button */
.btn-ghost-light {
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.2rem; color: var(--text-2); margin-bottom: 28px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-visual img { width: 100%; }
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  align-items: center; font-size: .92rem; color: var(--text-3); font-weight: 600;
}
.trust-bar span { display: inline-flex; align-items: center; gap: 7px; }
.trust-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: 1; }
  .hero-grid > .reveal:first-child { order: 0; }
}

/* ---------- 卡片網格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11,95,255,.3); }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(11,95,255,.1); color: var(--primary); font-size: 1.5rem;
}
.card h3 { font-size: 1.2rem; }
.card p { font-size: .98rem; margin-bottom: 0; }

/* 痛點 → 方案 */
.pain-card { border-top: 4px solid var(--gold); }
.pain-card .solve { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); color: var(--accent); font-weight: 700; cursor: default; }

/* 痛點卡片 v2 — 圖片 + 文字 */
.pain-card-v2 {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.pain-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pain-card-v2__img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.pain-card-v2__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.pain-card-v2:hover .pain-card-v2__img img {
  transform: scale(1.05);
}
.pain-card-v2__body {
  padding: 24px 24px 28px;
}
.pain-card-v2__body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.pain-card-v2__body p {
  font-size: .95rem;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.6;
}
.pain-card-v2__solve {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.5;
}
.pain-card-v2__solve svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 統計數字 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--primary); line-height: 1; }
.section--ink .stat .num { color: var(--accent); }
.stat .label { color: var(--text-3); font-weight: 600; margin-top: 8px; }
.section--ink .stat .label { color: rgba(255,255,255,.7); }

/* ---------- 產品系列 ---------- */
.product-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card .pc-head { padding: 28px 28px 0; }
.product-card .badge {
  display: inline-block; font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
  background: rgba(0,201,167,.12); color: #047a64;
}
.product-card ul { list-style: none; padding: 0 28px 24px; margin: 16px 0 0; }
.product-card li { padding: 8px 0 8px 28px; position: relative; color: var(--text-2); font-size: .96rem; }
.product-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.product-card .pc-foot { margin-top: auto; padding: 0 28px 28px; }

/* ---------- 服務（含圖） ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li { padding: 7px 0 7px 30px; position: relative; color: var(--text-2); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(0,201,167,.18);
}
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-media { order: 0; }
}

/* ---------- 手風琴 FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 40px 22px 0; font-size: 1.1rem; font-weight: 700;
  color: var(--ink); cursor: pointer; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--primary); transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 22px; margin: 0; }

/* ---------- 對照表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--bg-soft); color: var(--ink); font-weight: 800; }
table.compare tbody th { font-weight: 600; color: var(--text); }
table.compare td { color: var(--text-2); }
table.compare .yes { color: var(--accent); font-weight: 800; }

/* ---------- 表單 ---------- */
.form-field, textarea.form-field, select.form-field {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-field:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,95,255,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--ink); font-size: .95rem; }
.form-group .errorlist { color: #dc2626; list-style: none; padding: 0; margin: 6px 0 0; font-size: .88rem; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.alert-success { background: rgba(0,201,167,.12); color: #047a64; border: 1px solid rgba(0,201,167,.4); }

/* ---------- 聯絡資訊卡 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-item .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--bg-muted); display: grid; place-items: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.info-item .lbl { font-size: .85rem; color: var(--text-3); }
.info-item .val { font-weight: 700; color: var(--ink); }

/* ---------- 部落格 ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/9; background: var(--bg-muted); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--text-3); display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.chip { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: rgba(11,95,255,.1); color: var(--primary); }
.post-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: .94rem; flex: 1; }

.article { max-width: 760px; margin-inline: auto; }
.article-cover { border-radius: var(--radius-lg); margin: 24px 0 32px; box-shadow: var(--shadow); }
.article-body { font-size: 1.08rem; color: var(--text); line-height: 1.85; }
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.4em; }
.article-body img { border-radius: var(--radius); margin: 1.5em 0; }
.article-body ul, .article-body ol { color: var(--text-2); padding-left: 1.4em; }
.article-body blockquote { border-left: 4px solid var(--primary); margin: 1.5em 0; padding: 4px 0 4px 20px; color: var(--text-2); font-style: italic; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  padding: 9px 15px; border-radius: 10px; border: 1px solid var(--border);
  color: var(--text); font-weight: 600;
}
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

.searchbar { display: flex; gap: 10px; max-width: 440px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.cat-pills a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; font-size: .92rem; color: var(--text-2); }
.cat-pills a:hover, .cat-pills a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .95rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* ---------- 浮動 WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.5); font-size: 1.7rem;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- 返回頂部 ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none;
  display: grid; place-items: center; cursor: pointer;
  font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 4px 14px rgba(10,27,61,.25);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: scale(1.1); background: var(--primary); }

/* ---------- CTA 區塊 ---------- */
.cta-box { text-align: center; max-width: 680px; margin-inline: auto; }
.cta-box .btn { margin: 8px; }

/* ---------- 進場動畫 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 雜項 ---------- */
.text-center { text-center: center; text-align: center; }
.mb-0 { margin-bottom: 0; }
.page-hero { padding: clamp(56px, 7vw, 88px) 0 clamp(40px,5vw,56px); background: var(--bg-soft); }
.page-hero .breadcrumb { font-size: .9rem; color: var(--text-3); margin-bottom: 14px; }
.page-hero .breadcrumb a { color: var(--text-3); }
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: center; }
@media (max-width: 720px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
.logo-wall .logo-box {
  height: 84px; border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; place-items: center; background: #fff; color: var(--text-3);
  font-weight: 800; font-size: 1.1rem;
}

/* ── Marquee 客戶輪播（垂直向上） ── */
.marquee-v-wrap {
  max-width: 600px; margin: 0 auto; height: 360px; overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee-v-track {
  display: flex; flex-direction: column; animation: marquee-up 40s linear infinite;
}
.marquee-v-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px 0;
}
.marquee-tag {
  display: inline-block; padding: 10px 22px; margin: 0;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 24px;
  white-space: nowrap; font-size: .9rem; color: var(--ink); font-weight: 500;
  letter-spacing: .02em;
}
@keyframes marquee-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.marquee-note { margin-top: 20px; font-size: .95rem; color: var(--text-3); font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .marquee-v-track { animation: none; }
}
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline .tl-item { position: relative; padding-bottom: 28px; }
.timeline .tl-item::before {
  content: ""; position: absolute; left: -32px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,95,255,.18);
}
.timeline .yr { font-weight: 800; color: var(--primary); }

/* ---------- Lucide 圖示 ---------- */
.card .icon i[data-lucide],
.card .icon svg { width: 28px; height: 28px; color: var(--primary); }

/* ---------- 分享列 ---------- */
.share-bar { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  display: grid; place-items: center; cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.share-btn:hover { transform: scale(1.1); opacity: .85; }

/* ---------- 對照表 tfoot ---------- */
table.compare tfoot th,
table.compare tfoot td { border-bottom: none; padding-top: 20px; padding-bottom: 20px; background: var(--bg-muted); }
table.compare tfoot th { font-weight: 700; }

/* ---------- 增值服務 6 格 ---------- */
.grid-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-6 { grid-template-columns: 1fr; } }

/* ---------- Language Switcher ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 10px; cursor: pointer;
  font-size: .85rem; font-weight: 600; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.lang-btn:hover { border-color: var(--primary); background: rgba(11,95,255,.04); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 140px; z-index: 200;
  overflow: hidden;
}
.lang-switch:hover .lang-dropdown,
.lang-switch:focus-within .lang-dropdown { display: block; }
.lang-dropdown form { margin: 0; }
.lang-option {
  display: block; width: 100%; padding: 10px 16px; border: none;
  background: transparent; text-align: left; cursor: pointer;
  font-size: .9rem; color: var(--ink); transition: background .15s;
  text-decoration: none;
}
.lang-option:hover { background: var(--bg-muted); }
.lang-option.active { color: var(--primary); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
