/* ============================================================
   AURA 智鎖 — 仿 apple.com 設計語彙
   色彩 / 字級 / 留白 / 卡片節奏皆對齊 Apple 官網的公開視覺規範
   ============================================================ */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --ink-inv: #f5f5f7;
  --bg: #ffffff;
  --panel: #f5f5f7;
  --dark: #000000;
  --dark-2: #1d1d1f;
  --blue: #0071e3;
  --link: #06c;
  --link-dark: #2997ff;
  --new: #bf4800;
  --nav-bg: rgba(22, 22, 23, 0.85);
  --hairline: rgba(0, 0, 0, 0.12);
  --radius-card: 28px;
  --maxw: 1024px;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC",
    "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; }
ul { list-style: none; }

/* ---------- 通用元件 ---------- */

.link-arrow {
  color: var(--link);
  font-size: 17px;
}
.link-arrow::after { content: " \203A"; font-weight: 600; }
.link-arrow:hover { text-decoration: underline; }

.feature-dark .link-arrow,
.hero .link-arrow { color: var(--link-dark); }

.btn-pill {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  padding: 9px 18px;
  border-radius: 980px;
  transition: background .2s;
}
.btn-pill:hover { background: #0077ed; }
button.btn-pill { border: 0; cursor: pointer; font-family: inherit; }
.btn-large { font-size: 19px; padding: 13px 26px; }

.cta-links { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- 促銷橫幅 ---------- */

.promo-banner {
  background: var(--panel);
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--ink);
}
.promo-banner sup { font-size: 9px; }

/* ---------- 全站導航（黑色半透明＋毛玻璃） ---------- */

.global-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.global-nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 44px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

.global-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.global-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color .2s;
}
.global-links a:hover { color: #fff; }

.global-icons { display: flex; align-items: center; gap: 22px; }
.global-icons a { color: rgba(255, 255, 255, 0.8); }
.global-icons a:hover { color: #fff; }

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 32px 20px;
  background: var(--nav-bg);
}
.mobile-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu.open { display: flex; }

/* ---------- 產品區導航（淺色 sticky） ---------- */

.local-nav {
  position: sticky;
  top: 44px;
  z-index: 800;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.local-nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 52px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.local-brand {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}

.local-links {
  display: flex;
  gap: 26px;
  flex: 1;
  font-size: 13px;
}
.local-links a { color: var(--ink-2); transition: color .2s; }
.local-links a:hover { color: var(--ink); }
.local-links a.active { color: var(--ink); font-weight: 500; }

.btn-buy-nav { font-size: 13px; padding: 6px 14px; }

/* ---------- Hero（黑色全幅） ---------- */

.hero {
  background: var(--dark);
  color: var(--ink-inv);
  text-align: center;
  padding: 72px 22px 0;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.hero-sub {
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 600;
  color: var(--ink-3);
}

.hero-price {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-2);
}

.hero-fit {
  margin-top: 12px;
  font-size: 16px;
  color: rgba(255,255,255,.72);
}

.hero .cta-links { margin-top: 14px; }

.hero-visual {
  width: min(560px, 92vw);
  height: min(360px, 60vw);
  margin: 40px auto 0;
}

/* ---------- 數據帶 ---------- */

.stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 8vw, 96px);
  padding: 56px 22px;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700;
  color: var(--link-dark);
  letter-spacing: -0.01em;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- 四種解鎖方式 ---------- */

.icon-grid {
  max-width: var(--maxw);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.icon-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 30px 20px;
}
.icon-card h3 { font-size: 17px; font-weight: 700; margin-top: 14px; }
.icon-card p { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

/* ---------- 虛位密碼示範 ---------- */

.dummy-demo {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: .08em;
}
.dummy-demo .real {
  background: var(--blue);
  color: #fff;
  padding: 4px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.dummy-demo .dummy { color: var(--ink-3); }

/* ---------- 特色清單 ---------- */

.feature-list {
  max-width: 560px;
  margin: 26px auto 0;
  text-align: left;
  font-size: 17px;
  line-height: 1.7;
  color: #a1a1a6;
}
.feature-list li { margin-bottom: 10px; padding-left: 26px; position: relative; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--link-dark);
  font-weight: 700;
}
.feature-list strong { color: var(--ink-inv); }

/* ---------- 規格表 ---------- */

.spec-table {
  border-collapse: collapse;
  min-width: 560px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  font-size: 15px;
  text-align: left;
}
.spec-table th, .spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.5;
  vertical-align: top;
}
.spec-table tbody th {
  width: 150px;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table sup { font-size: 9px; }

/* ---------- 特色區塊 ---------- */

.feature {
  padding: 96px 22px;
  text-align: center;
}

.feature-panel { background: var(--panel); }
.feature-dark { background: var(--dark); color: var(--ink-inv); }

.feature h2 {
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.feature p {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
}
.feature-dark p { color: #a1a1a6; }

.feature-note { font-size: 13px !important; color: var(--ink-3) !important; }

.feature-visual {
  width: min(420px, 80vw);
  margin: 44px auto 0;
}

/* ---------- 比較表 ---------- */

.compare {
  background: var(--panel);
  padding: 96px 22px;
  text-align: center;
}
.compare h2 {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

.compare-wrap { overflow-x: auto; }

/* ---------- 時效密碼卡片 ---------- */

.acc-grid {
  max-width: var(--maxw);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.acc-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 32px 20px;
}
.acc-card h3 { font-size: 19px; font-weight: 700; }
.acc-card p { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.acc-price { font-size: 16px !important; font-weight: 600; color: var(--ink) !important; }
.acc-card .btn-pill { margin-top: 12px; }

/* ---------- 購買 CTA ---------- */

.buy-cta {
  background: var(--dark);
  color: var(--ink-inv);
  text-align: center;
  padding: 96px 22px;
}
.buy-cta h2 { font-size: clamp(28px, 4.6vw, 44px); font-weight: 700; }

.buy-cta .buy-contact { margin: 0 0 6px; font-size: 15px; color: rgba(255,255,255,.72); }
.buy-cta .buy-contact a { color: var(--link-dark); text-decoration: none; }
.buy-cta .buy-contact a:hover { text-decoration: underline; }
.buy-cta p { color: var(--ink-3); margin: 12px 0 26px; font-size: 17px; }
.buy-cta .cta-links { margin-top: 22px; }

/* ---------- 頁尾 ---------- */

.site-footer {
  background: var(--panel);
  font-size: 12px;
  color: var(--ink-2);
  padding: 32px 22px 40px;
}

.footnotes p {
  max-width: var(--maxw);
  margin: 0 auto 10px;
  line-height: 1.6;
}

.site-footer hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  max-width: var(--maxw);
  margin: 20px auto;
}

.footer-columns {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-columns h4 { font-size: 12px; color: var(--ink); margin-bottom: 10px; }
.footer-columns li { margin-bottom: 8px; }
.footer-columns a { color: var(--ink-2); }
.footer-columns a:hover { color: var(--ink); text-decoration: underline; }

.footer-legal {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { text-decoration: underline; }

/* ---------- 無障礙：跳過導覽 ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- FAQ（GEO：可見 Q&A，與 FAQPage 結構化資料一致） ---------- */

.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 96px 22px;
}
.faq h2 {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-align: center;
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 600;
  padding: 18px 36px 18px 4px;
  position: relative;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform .25s;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  padding: 0 4px 20px;
  max-width: 680px;
}

/* ---------- 分級價表 ---------- */

.tier-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  font-size: 15px;
}
.tier-table th, .tier-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  line-height: 1.5;
}
.tier-table tbody th {
  text-align: left;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.tier-table thead th { font-size: 17px; font-weight: 700; }
.tier-qty { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); margin-top: 4px; }
.tier-table .tier-best { background: rgba(0, 113, 227, 0.06); }
.tier-table thead .tier-best { color: var(--blue); }
.tier-note {
  max-width: 900px;
  margin: 14px auto 0;
  font-size: 12px;
  color: var(--ink-3);
  text-align: left;
}

/* ---------- Hero kicker（回產品連結） ---------- */

.hero-kicker { margin-bottom: 10px; }
.hero-kicker a { color: var(--link-dark); font-size: 17px; }
.hero-kicker a:hover { text-decoration: underline; }

/* ---------- 聯絡卡片 ---------- */

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px 26px;
  min-width: 200px;
  transition: border-color .2s;
}
.contact-card:hover { border-color: rgba(255, 255, 255, 0.35); }
.contact-label { font-size: 12px; color: var(--ink-3); }
.contact-value { font-size: 18px; font-weight: 600; color: var(--ink-inv); }

/* ---------- 表單（深色區塊內） ---------- */

.contact-form {
  max-width: 640px;
  margin: 30px auto 0;
  text-align: left;
}
.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-inv);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink-inv);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--link-dark);
  background: rgba(255, 255, 255, 0.12);
}
.field select option { color: var(--ink); }
.field .req { color: #ff6961; }
.hp { position: absolute; left: -9999px; }

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
}
.form-status.ok { display: block; background: rgba(52, 199, 89, 0.15); color: #6ee7a0; }
.form-status.err { display: block; background: rgba(255, 105, 97, 0.15); color: #ff9a94; }

.form-alt {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.form-alt a { color: var(--link-dark); }

.contact-cards.compact { margin-top: 26px; }

/* ---------- 部落格文章 ---------- */

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 22px 96px;
}
.article-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin: 10px 0 26px;
}
.article h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}
.article h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.article p { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 14px; }
.article ul, .article ol { margin: 0 0 16px 24px; }
.article li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.article a { color: var(--link); }
.article a:hover { text-decoration: underline; }
.article .lede {
  font-size: 19px;
  color: var(--ink-2);
  border-left: 3px solid var(--blue);
  padding-left: 16px;
}
.toc {
  background: var(--panel);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 15px;
}
.toc h2 { margin: 0 0 10px; font-size: 17px; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 6px; font-size: 15px; }
.related {
  background: var(--panel);
  border-radius: 14px;
  padding: 24px;
  margin-top: 44px;
}
.related h2 { margin: 0 0 12px; font-size: 19px; }
.related li { font-size: 16px; }

/* ---------- App 下載按鈕 ---------- */

.app-download {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 980px;
  padding: 10px 20px;
  color: #f5f5f7;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.dl-btn:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
.dl-btn small { display: block; font-size: 11px; color: #a1a1a6; }
.dl-btn b { font-weight: 600; }
.dl-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }
.dl-note a { color: var(--link-dark); }
.dl-note a:hover { text-decoration: underline; }
.feature-panel .dl-note a, .article .dl-note a { color: var(--link); }

/* ---------- 購物車 ---------- */

.cart-btn {
  position: relative;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
}
.cart-btn:hover { color: #fff; }
.cart-badge {
  display: none;
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 92vw);
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.32, .72, 0, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: none; }

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--hairline);
}
.cart-head h2 { font-size: 19px; font-weight: 700; }
.cart-close {
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-2);
}

.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-empty { text-align: center; color: var(--ink-2); padding: 40px 0; font-size: 15px; line-height: 1.8; }
.cart-empty a { color: var(--link); }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.cart-item-info { flex: 1; min-width: 140px; }
.cart-item-name { font-size: 15px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: var(--ink-2); margin-top: 3px; }

.qty { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
}
.qty button:hover { border-color: var(--ink-2); }

.cart-remove {
  background: none;
  border: 0;
  color: var(--link);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}
.cart-remove:hover { text-decoration: underline; }

.cart-foot { border-top: 1px solid var(--hairline); padding: 18px 20px; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cart-checkout { display: flex; flex-direction: column; gap: 10px; }
.cart-checkout .btn-pill { text-align: center; }
.btn-ghost {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-ghost:hover { background: rgba(0, 113, 227, 0.06); }
.cart-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; text-align: center; }
.cart-note a { color: var(--link); text-decoration: none; }
.cart-note a:hover { text-decoration: underline; }

.add-row { margin-bottom: 6px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  padding: 10px 18px;
  border-radius: 980px;
  font-size: 14px;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  z-index: 1300;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- 解鎖動畫示範 ---------- */

.demo-grid {
  max-width: var(--maxw);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.demo-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 22px 16px 18px;
  text-align: center;
}
.demo-card .demo { width: 100%; height: auto; }
.demo-card figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.demo-card figcaption strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 3px; }
.demo-key-note { margin-top: 20px; font-size: 15px; color: var(--ink-2); }

/* 動畫元素基準 */
.demo * { transform-box: fill-box; transform-origin: center; }

.fp-finger { animation: fingerPress 5s ease-in-out infinite; }
.fp-ring, .nfc-zone, .app-btn { animation: ringPulse 5s ease-in-out infinite; }
.demo-check { animation: checkPop 5s ease-in-out infinite; }
.pw { opacity: .2; }
.pw1 { animation: pwOn1 5s linear infinite; }
.pw2 { animation: pwOn2 5s linear infinite; }
.pw3 { animation: pwOn3 5s linear infinite; }
.pw4 { animation: pwOn4 5s linear infinite; }
.pw5 { animation: pwOn5 5s linear infinite; }
.pw6 { animation: pwOn6 5s linear infinite; }
.wv { opacity: 0; }
.wv1 { animation: wvOn1 5s linear infinite; }
.wv2 { animation: wvOn2 5s linear infinite; }
.wv3 { animation: wvOn3 5s linear infinite; }
.nfc-card { animation: cardIn 5s ease-in-out infinite; }
.shackle { animation: shackleUp 5s ease-in-out infinite; }

@keyframes fingerPress {
  0% { transform: translateY(-18px); opacity: 0; }
  12% { transform: translateY(0); opacity: 1; }
  42% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(-18px); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ringPulse {
  0%, 10% { opacity: .35; }
  25%, 42% { opacity: 1; }
  55%, 100% { opacity: .35; }
}
@keyframes checkPop {
  0%, 48% { transform: scale(.3); opacity: 0; }
  58% { transform: scale(1); opacity: 1; }
  85% { transform: scale(1); opacity: 1; }
  92%, 100% { transform: scale(.3); opacity: 0; }
}
@keyframes pwOn1 { 0% { opacity: .2; } 8% { opacity: 1; } 60% { opacity: 1; } 72%, 100% { opacity: .2; } }
@keyframes pwOn2 { 0%, 16% { opacity: .2; } 20% { opacity: 1; } 60% { opacity: 1; } 72%, 100% { opacity: .2; } }
@keyframes pwOn3 { 0%, 24% { opacity: .2; } 28% { opacity: 1; } 60% { opacity: 1; } 72%, 100% { opacity: .2; } }
@keyframes pwOn4 { 0%, 32% { opacity: .2; } 36% { opacity: 1; } 60% { opacity: 1; } 72%, 100% { opacity: .2; } }
@keyframes pwOn5 { 0%, 40% { opacity: .2; } 44% { opacity: 1; } 60% { opacity: 1; } 72%, 100% { opacity: .2; } }
@keyframes pwOn6 { 0%, 48% { opacity: .2; } 52% { opacity: 1; } 62% { opacity: 1; } 72%, 100% { opacity: .2; } }
@keyframes wvOn1 { 0%, 18% { opacity: 0; } 26% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes wvOn2 { 0%, 24% { opacity: 0; } 32% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes wvOn3 { 0%, 30% { opacity: 0; } 38% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes cardIn {
  0% { transform: translateX(26px); opacity: 0; }
  15% { transform: translateX(0); opacity: 1; }
  55% { transform: translateX(0); opacity: 1; }
  68% { transform: translateX(26px); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes shackleUp {
  0%, 30% { transform: translateY(0); }
  45%, 75% { transform: translateY(-7px); }
  88%, 100% { transform: translateY(0); }
}
@keyframes pulseRing {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}
.pulse-ring { animation: pulseRing 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .demo * { animation: none !important; }
  .pw, .wv, .fp-finger, .nfc-card, .demo-check { opacity: 1; }
}

/* ---------- 藍牙盒生態系 ---------- */

.eco-wrap {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
}
.eco-wrap h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.eco-wrap p { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin-top: 10px; }
.eco-visual { margin: 26px auto 0; width: min(460px, 92vw); }
.eco-note { font-size: 13px !important; color: var(--ink-3) !important; margin-top: 14px; }

/* ---------- 進場動畫 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 響應式 ---------- */

@media (max-width: 833px) {
  .global-links { display: none; }
  .menu-btn { display: block; }

  .local-links { display: none; }
  .local-nav-inner { justify-content: space-between; }

  .icon-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .acc-grid { grid-template-columns: 1fr 1fr; }

  .feature { padding: 64px 22px; }
  .compare, .buy-cta { padding: 64px 22px; }

  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 480px) {
  .icon-grid, .acc-grid, .demo-grid { grid-template-columns: 1fr; }
}

/* ---------- 生態系選配卡片（藍牙盒章節內） ---------- */

.eco-cards { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }

@media (max-width: 833px) {
  .eco-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .eco-cards { grid-template-columns: 1fr; }
}

/* ---------- 實品細節圖廊 ---------- */

.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 22px 40px;
}
.gallery h2 {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.gallery-lead {
  font-size: 19px;
  color: var(--ink-2);
  margin-top: 14px;
  line-height: 1.5;
}
.gallery-grid {
  margin-top: 40px;
  column-count: 3;
  column-gap: 22px;
}
.g-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 22px;
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
}
.g-item img {
  display: block;
  width: 100%;
  height: auto;
}
.g-item figcaption {
  padding: 14px 20px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.gallery-note {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 833px) {
  .gallery { padding: 64px 22px 32px; }
  .gallery-grid { column-count: 2; }
}

@media (max-width: 480px) {
  .gallery-grid { column-count: 1; }
}

/* ---------- 章節內說明圖 ---------- */

.feature-shot {
  max-width: 520px;
  margin: 36px auto 0;
}
.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .10);
}
.feature-shot figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* 淺色區塊內的特色清單（預設樣式是為深色區塊設計） */
.feature-panel .feature-list { color: var(--ink-2); }
.feature-panel .feature-list strong { color: var(--ink); }
.feature-panel .feature-list li::before { color: var(--blue); }

/* ---------- 圖片放大（lightbox） ---------- */

.g-item img, .feature-shot img { cursor: zoom-in; }
.g-item img:focus-visible, .feature-shot img:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.lightbox.open { display: flex; }
body.lb-lock { overflow: hidden; }

.lb-stage { margin: 0; max-width: min(1080px, 94vw); text-align: center; }
.lb-stage img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  background: #fff;
}
.lb-stage figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #d2d2d7;
}

.lb-btn {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #f5f5f7;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn:focus-visible { outline: 3px solid var(--link-dark); outline-offset: 2px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 833px) {
  .lightbox { padding: 14px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-stage img { max-height: 64vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lb-btn { transition: none; }
}
