/* ============================================================
   UltraSearch 繁體中文官網 - 頁面樣式 page.css
   依賴 common.css 提供的變數與導航/頁尾
   ============================================================ */

/* ---------- Hero 區域樣式 ---------- */
.ts-hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(60% 70% at 85% 0%,  rgba(0, 193, 82, 0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 80%,  rgba(37, 46, 48, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
  overflow: hidden;
  isolation: isolate;
}
.ts-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 193, 82, 0.18) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
          mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}
.ts-hero::after {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(0,193,82,.0), rgba(0,193,82,.35), rgba(37,46,48,.25), rgba(0,193,82,.0));
  filter: blur(60px);
  opacity: .65;
  pointer-events: none;
  z-index: -1;
}
.ts-hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 72px;
  align-items: center;
}
.ts-hero-text h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.05;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--ts-text);
}
.ts-hero-text h1 em {
  font-style: normal;
  color: var(--ts-primary);
}
.ts-hero-desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ts-text-muted);
  margin: 0 0 32px;
}
.ts-hero-cta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.ts-hero-media video {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--ts-shadow);
}

/* ---------- Section 通用樣式 ---------- */
.ts-section {
  padding: 96px 0;
}
.ts-section-alt {
  background: var(--ts-bg-soft);
}
.ts-section-header {
  text-align: center;
  margin-bottom: 64px;
}
.ts-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ts-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- 客戶評價 ---------- */
.ts-testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.ts-testimonial-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--ts-text);
  margin: 0 0 24px;
  font-style: italic;
}
.ts-testimonial-author {
  font-size: 16px;
  color: var(--ts-text-muted);
}

/* ---------- 功能網格 ---------- */
.ts-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.ts-feature-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 16px;
  padding: 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ts-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ts-shadow);
}
.ts-feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}
.ts-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ts-text);
  margin: 0 0 12px;
}
.ts-feature-card p {
  font-size: 15px;
  color: var(--ts-text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.ts-feature-note {
  font-size: 13px;
  color: var(--ts-text-light);
}

/* ---------- 功能列表 ---------- */
.ts-features-list {
  display: grid;
  gap: 48px;
}
.ts-feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.ts-feature-item-icon {
  width: 48px;
  height: 48px;
}
.ts-feature-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ts-text);
  margin: 0 0 12px;
}
.ts-feature-item ul {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
}
.ts-feature-item li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--ts-text-muted);
  position: relative;
  padding-left: 24px;
}
.ts-feature-item li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ts-primary);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.ts-faq {
  max-width: 800px;
  margin: 0 auto;
}
.ts-faq-item {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.ts-faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ts-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ts-faq-item summary::-webkit-details-marker {
  display: none;
}
.ts-faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--ts-primary);
}
.ts-faq-item[open] summary::after {
  content: "−";
}
.ts-faq-body {
  padding: 0 24px 24px;
  color: var(--ts-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--ts-border);
  padding-top: 16px;
}

/* ---------- 資料安全 ---------- */
.ts-security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ts-security-image {
  border-radius: 20px;
  box-shadow: var(--ts-shadow);
}
.ts-security-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ts-text-muted);
  margin: 0 0 16px;
}

/* ---------- CTA Box ---------- */
.ts-cta-box {
  background: var(--ts-text);
  color: #fff;
  border-radius: 24px;
  padding: 64px;
  text-align: center;
}
.ts-cta-box h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin: 0 0 32px;
  color: #fff;
}
.ts-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.ts-cta-actions .ts-btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.ts-cta-actions .ts-btn-ghost:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------- 響應式 ---------- */
@media (max-width: 880px) {
  .ts-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ts-hero {
    padding: 56px 0 48px;
  }
  .ts-hero-text h1 {
    font-size: clamp(32px, 8vw, 44px);
  }
  .ts-features-grid {
    grid-template-columns: 1fr;
  }
  .ts-security {
    grid-template-columns: 1fr;
  }
  .ts-cta-box {
    padding: 40px 24px;
  }
}

.feat-cell li a {
  color: var(--ts-primary);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.feat-cell li a:hover { border-bottom-color: var(--ts-primary); }
/* 標題 + 描述兩行佈局（當 li 內同時有 strong 與 .d 時） */
.feat-cell li:has(> .d) > strong {
  display: block;
  font-weight: 600;
  color: var(--ts-text);
  margin-bottom: 2px;
  line-height: 1.4;
}
.feat-cell li > .d {
  display: block;
  color: var(--ts-text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- 價格卡 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}
.price-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all .3s ease;
}
.price-card.featured {
  border-color: var(--ts-primary);
  background: linear-gradient(160deg, #f3fbf6 0%, #ffffff 70%);
  box-shadow: 0 20px 40px -22px rgba(0,193,82,.3);
}
.price-card.dark {
  background: var(--ts-text);
  color: #fff;
  border-color: transparent;
}
.price-card.dark .pc-tag { color: rgba(255,255,255,.6); }
.price-card.dark h3 { color: #fff; }
.price-card.dark .pc-desc { color: rgba(255,255,255,.7); }
.price-card.dark .pc-features li { color: rgba(255,255,255,.85); }
.price-card .pc-ribbon {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 10px;
  background: var(--ts-primary); color: #fff;
  font-size: 11px; font-weight: 700;
  border-radius: 999px;
  letter-spacing: .5px;
}
.price-card .pc-tag {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ts-text-light);
  margin-bottom: 12px;
}
.price-card h3 {
  margin: 0 0 6px;
  font-size: 22px; font-weight: 800;
  letter-spacing: -.4px;
  color: var(--ts-text);
}
.price-card .pc-sub {
  font-size: 13px; font-weight: 600;
  color: var(--ts-primary);
  margin-bottom: 12px;
}
.price-card .pc-desc {
  font-size: 14px; line-height: 1.6;
  color: var(--ts-text-muted);
  margin: 0 0 20px;
  min-height: 44px;
}
.price-card .pc-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 4px;
}
.price-card .pc-price .now {
  font-size: 36px; font-weight: 800;
  color: var(--ts-text);
  letter-spacing: -1px;
  line-height: 1;
}
.price-card.dark .pc-price .now { color: #fff; }
.price-card .pc-price .unit { font-size: 14px; color: var(--ts-text-muted); }
.price-card.dark .pc-price .unit { color: rgba(255,255,255,.6); }
.price-card .pc-price .orig {
  font-size: 14px;
  color: var(--ts-text-light);
  text-decoration: line-through;
  font-weight: 500;
}
.price-card .pc-cycle {
  font-size: 12px;
  color: var(--ts-text-muted);
  margin-bottom: 22px;
}
.price-card.dark .pc-cycle { color: rgba(255,255,255,.6); }
.price-card .pc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid; gap: 10px;
}
.price-card .pc-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ts-text);
  line-height: 1.55;
}
.price-card .pc-features li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ts-primary-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C152' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 3px;
  flex-shrink: 0;
}
.price-card.dark .pc-features li::before {
  background-color: rgba(0,193,82,.2);
}
.price-card .pc-action { margin-top: auto; }
.price-card .pc-action .ts-btn { width: 100%; justify-content: center; }

/* ---------- 對比表格 ---------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 16px;
  overflow: hidden;
  font-size: 14.5px;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--ts-border);
  border-right: 1px solid var(--ts-border);
}
.compare-table th:last-child,
.compare-table td:last-child { border-right: none; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th {
  background: var(--ts-bg-soft);
  font-weight: 700;
  font-size: 14px;
  color: var(--ts-text);
  border-bottom-color: var(--ts-border);
}
.compare-table tbody td:first-child,
.compare-table tbody th:first-child {
  text-align: left;
  color: var(--ts-text);
  font-weight: 500;
}
.compare-table tr.group td {
  background: linear-gradient(90deg, var(--ts-primary-50), transparent);
  text-align: left;
  font-weight: 700;
  color: var(--ts-primary);
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.compare-table .yes {
  color: var(--ts-primary);
  font-weight: 700;
}
.compare-table .no {
  color: var(--ts-text-light);
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Prose 長文 ---------- */
.prose {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ts-text);
}
.prose h2 { font-size: 28px; font-weight: 800; margin: 48px 0 16px; letter-spacing: -.5px; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--ts-text); }
.prose p { color: var(--ts-text-muted); margin: 0 0 16px; }
.prose strong { color: var(--ts-text); font-weight: 600; }
.prose a { color: var(--ts-primary); text-decoration: none; border-bottom: 1px dashed var(--ts-primary-100); }
.prose a:hover { border-bottom-color: var(--ts-primary); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 6px 0; color: var(--ts-text); }
.prose blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--ts-primary-50);
  border-left: 4px solid var(--ts-primary);
  border-radius: 0 10px 10px 0;
  color: var(--ts-text);
  font-style: italic;
}
.prose img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--ts-border);
  margin: 16px 0;
}

/* ---------- Quote / Testimonial 卡片 ---------- */
.q-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.q-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 18px;
  padding: 26px;
  display: flex; flex-direction: column;
  transition: all .3s ease;
}
.q-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -16px rgba(0,193,82,.18);
  border-color: var(--ts-primary-100);
}
.q-card blockquote {
  margin: 0 0 18px;
  font-size: 14.5px; line-height: 1.7;
  color: var(--ts-text);
}
.q-card .q-author {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--ts-border);
}
.q-card .q-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-light));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.q-card .q-name { font-size: 13.5px; font-weight: 600; color: var(--ts-text); }
.q-card .q-role { font-size: 12px; color: var(--ts-text-muted); margin-top: 2px; }

/* ---------- 時間線（更新日誌） ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--ts-border);
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ts-primary);
  box-shadow: 0 0 0 4px var(--ts-primary-50);
}
.timeline-version {
  font-size: 24px; font-weight: 800;
  color: var(--ts-text);
  letter-spacing: -.4px;
  margin: 0 0 4px;
}
.timeline-date {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 12px;
  color: var(--ts-text-light);
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.timeline-group {
  margin-bottom: 16px;
}
.timeline-group h4 {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ts-primary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: ui-monospace, "Consolas", monospace;
}
.timeline-group ul {
  list-style: none; padding: 0; margin: 0;
}
.timeline-group li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--ts-text);
  font-size: 14.5px;
  line-height: 1.7;
}
.timeline-group li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ts-primary-100);
}

/* ---------- 螢幕截圖畫廊 ---------- */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .screens-grid {
    grid-template-columns: 1fr;
  }
}
.screen-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
}
.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(37,46,48,.22);
}
.screen-card a { display: block; }
.screen-card img {
  width: 100%; height: auto;
  display: block;
  background: var(--ts-bg-soft);
  border-bottom: 1px solid var(--ts-border);
}
.screen-card .sc-body { padding: 18px 20px 20px; }
.screen-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--ts-text); }
.screen-card p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--ts-text-muted); }

/* ---------- 場景卡（compare 用） ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .scenario-grid { grid-template-columns: 1fr; }
}
.scenario-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 20px;
  padding: 28px;
  transition: all .3s ease;
}
.scenario-card.ts { border-top: 4px solid var(--ts-primary); }
.scenario-card.so { border-top: 4px solid var(--ts-accent); }
.scenario-card .sc-tag {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: var(--ts-text-light);
}
.scenario-card.ts .sc-pick { color: var(--ts-primary); }
.scenario-card.so .sc-pick { color: var(--ts-accent); }
.scenario-card h3 {
  font-size: 18px; font-weight: 700;
  color: var(--ts-text); margin: 0 0 8px;
}
.scenario-card .sc-pick {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--ts-primary-50);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  margin: 0 0 14px;
}
.scenario-card.so .sc-pick { background: rgba(37,46,48,.08); }
.scenario-card ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.scenario-card li {
  position: relative;
  padding-left: 22px;
  font-size: 14px; color: var(--ts-text); line-height: 1.6;
}
.scenario-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ts-primary-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C152' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}
.scenario-card.so li::before {
  background-color: rgba(37,46,48,.08);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252E30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.scenario-card li:has(> .d) > strong {
  display: block;
  font-weight: 600;
  color: var(--ts-text);
  margin-bottom: 2px;
  line-height: 1.4;
}
.scenario-card li > .d {
  display: block;
  color: var(--ts-text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- SLA / CTA Banner ---------- */
.sla-banner {
  margin-top: 24px;
  background: var(--ts-text);
  color: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.sla-banner::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(0,193,82,.35), transparent 70%);
  filter: blur(50px); opacity: .6;
  pointer-events: none;
}
.sla-banner h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -.5px;
  position: relative;
}
.sla-banner h3 em { font-style: normal; color: var(--ts-primary); }
.sla-banner p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  max-width: 540px;
}
.sla-banner .sla-action { position: relative; }
@media (max-width: 720px) {
  .sla-banner { grid-template-columns: 1fr; padding: 36px 28px; }
}

/* ---------- 內頁 Hero / 區頭 ---------- */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(0,193,82,.12), transparent 60%),
    radial-gradient(50% 60% at 0% 80%, rgba(37,46,48,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,193,82,.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
          mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
  opacity: .5;
  pointer-events: none;
  z-index: -1;
}
.page-hero-inner {
  max-width: var(--ts-container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ts-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-eyebrow .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--ts-primary); color: #fff;
  border-radius: 5px; font-size: 11px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 22px;
  color: var(--ts-text);
  max-width: 880px;
}
.page-hero h1 em { font-style: normal; color: var(--ts-primary); }
.page-hero .page-lead {
  color: var(--ts-text-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 720px;
}
.page-hero .page-actions {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- 內頁區塊 ---------- */
.page-section {
  padding: 96px 0;
}
.page-section.alt { background: var(--ts-bg-soft); }
.page-section .ts-container {
  max-width: var(--ts-container);
  margin: 0 auto;
  padding: 0 24px;
}
.page-section .sec-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.page-section .sec-head .page-eyebrow { margin-bottom: 16px; }
.page-section .sec-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ts-text);
}
.page-section .sec-head h2 em { font-style: normal; color: var(--ts-primary); }
.page-section .sec-head p {
  color: var(--ts-text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ---------- 功能卡片（圖示 + 標題 + 列表）---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .feat-grid {
    grid-template-columns: 1fr !important;
  }
}
.feat-cell {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feat-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -22px rgba(0,193,82,.22);
  border-color: var(--ts-primary-100);
}
.feat-cell .fc-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.feat-cell .fc-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ts-primary-50);
  color: var(--ts-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.feat-cell .fc-ic svg { width: 22px; height: 22px; }
.feat-cell h3 {
  margin: 0;
  font-size: 18px; font-weight: 700;
  color: var(--ts-text);
  letter-spacing: -.2px;
}
.feat-cell ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.feat-cell li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ts-text);
  line-height: 1.65;
}
.feat-cell li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ts-primary-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C152' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.feat-cell img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--ts-border);
  margin-top: 16px;
}

/* ---------- 內頁 Hero / 區頭 ---------- */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(0,193,82,.12), transparent 60%),
    radial-gradient(50% 60% at 0% 80%, rgba(37,46,48,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,193,82,.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
          mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
  opacity: .5;
  pointer-events: none;
  z-index: -1;
}
.page-hero-inner {
  max-width: var(--ts-container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ts-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-eyebrow .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--ts-primary); color: #fff;
  border-radius: 5px; font-size: 11px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 22px;
  color: var(--ts-text);
  max-width: 880px;
}
.page-hero h1 em { font-style: normal; color: var(--ts-primary); }
.page-hero .page-lead {
  color: var(--ts-text-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 720px;
}
.page-hero .page-actions {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- 內頁區塊 ---------- */
.page-section {
  padding: 96px 0;
}
.page-section.alt { background: var(--ts-bg-soft); }
.page-section .ts-container {
  max-width: var(--ts-container);
  margin: 0 auto;
  padding: 0 24px;
}
.page-section .sec-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.page-section .sec-head .page-eyebrow { margin-bottom: 16px; }
.page-section .sec-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ts-text);
}
.page-section .sec-head h2 em { font-style: normal; color: var(--ts-primary); }
.page-section .sec-head p {
  color: var(--ts-text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ---------- 功能卡片（圖示 + 標題 + 列表）---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .feat-grid {
    grid-template-columns: 1fr !important;
  }
}
.feat-cell {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feat-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -22px rgba(0,193,82,.22);
  border-color: var(--ts-primary-100);
}
.feat-cell .fc-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.feat-cell .fc-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ts-primary-50);
  color: var(--ts-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.feat-cell .fc-ic svg { width: 22px; height: 22px; }
.feat-cell h3 {
  margin: 0;
  font-size: 18px; font-weight: 700;
  color: var(--ts-text);
  letter-spacing: -.2px;
}
.feat-cell ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.feat-cell li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ts-text);
  line-height: 1.65;
}
.feat-cell li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ts-primary-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C152' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.feat-cell img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--ts-border);
  margin-top: 16px;
}

/* ---------- 內頁 Hero / 區頭 ---------- */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(0,193,82,.12), transparent 60%),
    radial-gradient(50% 60% at 0% 80%, rgba(37,46,48,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,193,82,.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
          mask-image: radial-gradient(ellipse 65% 75% at 70% 50%, #000 0%, transparent 85%);
  opacity: .5;
  pointer-events: none;
  z-index: -1;
}
.page-hero-inner {
  max-width: var(--ts-container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, "Consolas", "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ts-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-eyebrow .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--ts-primary); color: #fff;
  border-radius: 5px; font-size: 11px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 22px;
  color: var(--ts-text);
  max-width: 880px;
}
.page-hero h1 em { font-style: normal; color: var(--ts-primary); }
.page-hero .page-lead {
  color: var(--ts-text-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 720px;
}
.page-hero .page-actions {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- 內頁區塊 ---------- */
.page-section {
  padding: 96px 0;
}
.page-section.alt { background: var(--ts-bg-soft); }
.page-section .ts-container {
  max-width: var(--ts-container);
  margin: 0 auto;
  padding: 0 24px;
}
.page-section .sec-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.page-section .sec-head .page-eyebrow { margin-bottom: 16px; }
.page-section .sec-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ts-text);
}
.page-section .sec-head h2 em { font-style: normal; color: var(--ts-primary); }
.page-section .sec-head p {
  color: var(--ts-text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ---------- 功能卡片（圖示 + 標題 + 列表）---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .feat-grid {
    grid-template-columns: 1fr !important;
  }
}
.feat-cell {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feat-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -22px rgba(0,193,82,.22);
  border-color: var(--ts-primary-100);
}
.feat-cell .fc-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.feat-cell .fc-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ts-primary-50);
  color: var(--ts-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.feat-cell .fc-ic svg { width: 22px; height: 22px; }
.feat-cell h3 {
  margin: 0;
  font-size: 18px; font-weight: 700;
  color: var(--ts-text);
  letter-spacing: -.2px;
}
.feat-cell ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.feat-cell li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ts-text);
  line-height: 1.65;
}
.feat-cell li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ts-primary-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C152' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.feat-cell img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--ts-border);
  margin-top: 16px;
}

/* ---------- 移動端 ---------- */
@media (max-width: 768px) {
  .page-hero { padding: 100px 0 60px; }
  .page-hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .page-hero .page-lead { font-size: 15.5px; }
  .page-section { padding: 64px 0; }
  .price-card { padding: 24px 20px; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
}


/* ---------- FAQ 摺疊面板（內頁通用） ---------- */
.faq-item {
  border: 1px solid var(--ts-border);
  border-radius: 14px;
  background: #fff;
  transition: all .25s ease;
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--ts-primary-100);
  box-shadow: 0 10px 30px -16px rgba(0,193,82,.2);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ts-text);
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 14px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ic {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ts-primary-50);
  color: var(--ts-primary);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease;
  justify-self: end;
}
.faq-item summary .faq-ic svg { width: 14px; height: 14px; }
.faq-item[open] summary .faq-ic { transform: rotate(45deg); background: var(--ts-primary); color: #fff; }
.faq-body {
  padding: 0 22px 22px 22px;
  color: var(--ts-text-muted);
  font-size: 15px; line-height: 1.85;
}
.faq-body strong { color: var(--ts-text); }
.faq-body a { color: var(--ts-primary); text-decoration: none; border-bottom: 1px dashed var(--ts-primary-100); }
.faq-body a:hover { border-bottom-color: var(--ts-primary); }
