/* 首頁(產品介紹)專用樣式;會員中心與其他頁面用 app.css */
:root {
  --night: #060e21;
  --navy: #0a1429;
  --dusk: #2c242b;
  --mauve: #3a2f37;
  --indigo: #2b3566;
  --indigo-hover: #1f2650;
  --ink: #141a2c;
  --muted: #585c70;
  --soft: #8c8fa3;
  --line: #e5e5ec;
  --bg: #f6f6f9;
  --card: #ffffff;
  --on-dark: #eceef4;
  --on-dark-soft: #b2b4c6;
  --green: #1e7d46;
  --radius: 20px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 Inter, "Noto Sans TC", "Microsoft JhengHei UI", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── 頁首 ── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 14, 33, 0.78); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: 0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 24px; margin-left: 8px; }
.nav a { color: var(--on-dark-soft); font-size: 15px; }
.nav a:hover { color: #fff; }
.top .actions { margin-left: auto; display: flex; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: background 0.15s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn.primary { background: #fff; color: var(--navy); }
.btn.primary:hover { background: #e9ebf3; }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn.dark { background: var(--indigo); color: #fff; }
.btn.dark:hover { background: var(--indigo-hover); }
.btn.small { height: 38px; padding: 0 16px; font-size: 14px; }
.menu-btn { display: none; }

/* ── 主視覺 ── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(43, 53, 102, 0.55), transparent 70%),
    linear-gradient(180deg, #0b1530 0%, var(--night) 48%, #121527 76%, var(--dusk) 100%);
  padding: 72px 0 0;
}
.hero::before {
  /* 星點 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 42%, #dfe6ff, transparent),
    radial-gradient(1.4px 1.4px at 46% 12%, #fff, transparent),
    radial-gradient(1px 1px at 63% 30%, #dfe6ff, transparent),
    radial-gradient(1.2px 1.2px at 78% 52%, #fff, transparent),
    radial-gradient(1px 1px at 90% 20%, #dfe6ff, transparent),
    radial-gradient(1px 1px at 8% 66%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 36% 74%, #dfe6ff, transparent);
}
.hero .wrap { position: relative; }
.eyebrow { display: inline-block; font-size: 14px; letter-spacing: 0.08em; color: var(--on-dark-soft); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.18; margin: 0 0 18px; letter-spacing: 0.01em; font-weight: 800; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--on-dark-soft); max-width: 640px; margin: 0 0 30px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .meta { margin-top: 16px; font-size: 14px; color: var(--soft); }
.stage { position: relative; margin-top: 56px; padding-bottom: 0; }
.window {
  border-radius: 14px; overflow: hidden; background: #0a1429;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.stage .main-shot { width: min(920px, 100%); margin: 0 auto; border-radius: 14px 14px 0 0; }
.stage .float-shot {
  position: absolute; left: max(0px, calc(50% - 560px)); bottom: 40px; width: 360px;
  border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.stage .float-note {
  position: absolute; right: max(0px, calc(50% - 560px)); top: 40px; width: 240px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px); border-radius: 16px; padding: 16px 18px; font-size: 14px; color: var(--on-dark);
}
.float-note b { display: block; font-size: 15px; margin-bottom: 4px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #46c98b; margin-right: 6px; vertical-align: 1px; }

/* ── 重點數字 ── */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 12px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-size: 22px; color: var(--ink); }
.fact span { font-size: 14px; color: var(--muted); }

/* ── 區段 ── */
section.block { padding: 96px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head .eyebrow { color: var(--indigo); font-weight: 600; }
.head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.25; margin: 0 0 12px; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }

/* 應用場景 */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 26, 44, 0.06), 0 12px 32px rgba(20, 26, 44, 0.06);
  display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s;
}
.scene:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 26, 44, 0.08), 0 20px 40px rgba(20, 26, 44, 0.12); }
.scene img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.scene .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scene h3 { margin: 0; font-size: 20px; }
.scene p { margin: 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chip { font-size: 13px; color: var(--indigo); background: #ececf5; border-radius: 999px; padding: 3px 10px; }

/* 功能展示 */
.features { background: #fff; }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .text { order: 2; }
.feature .text h3 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 12px; line-height: 1.3; }
.feature .text p { color: var(--muted); margin: 0 0 18px; }
.feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; }
.feature li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.shot-frame {
  background: linear-gradient(160deg, #0b1530, var(--night) 55%, var(--dusk));
  border-radius: 24px; padding: 32px; display: flex; justify-content: center;
}
.shot-frame img { border-radius: 10px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }

/* 三步驟 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s);
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px;
}
/* 步驟卡片滑過時浮起(編號用 ::before,所以不套游標光暈) */
.step { transition: transform 0.2s, box-shadow 0.2s; }
.step.rv.in:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 26, 44, 0.12); transition-delay: 0s; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* 方案 */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { border-radius: var(--radius); padding: 32px; background: #fff; border: 1px solid var(--line); }
.plan.pro { background: linear-gradient(160deg, #0b1530, var(--night) 60%, var(--dusk)); color: #fff; border: 0; }
.plan h3 { margin: 0 0 6px; font-size: 22px; }
.plan p { margin: 0 0 18px; color: var(--muted); }
.plan.pro p { color: var(--on-dark-soft); }
.plan ul { margin: 0 0 22px; padding-left: 20px; }
.plan.pro .btn.primary { background: #fff; }

/* 結尾 */
.closing {
  text-align: center; color: #fff; padding: 88px 0;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(58, 47, 55, 0.9), transparent 70%),
    linear-gradient(180deg, var(--night), #0e1226);
}
.closing h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; }
.closing p { color: var(--on-dark-soft); margin: 0 0 28px; }
footer { background: var(--night); color: var(--soft); font-size: 14px; padding: 28px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer .copy { margin-left: auto; }

/* ── 平板 ── */
@media (max-width: 1024px) {
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .text { order: 0; }
  .stage .float-shot { width: 280px; left: 12px; }
  .stage .float-note { display: none; }
}
/* ── 手機 ── */
@media (max-width: 680px) {
  .nav, .top .actions .ghost { display: none; }
  .top .wrap { gap: 12px; }
  .hero { padding-top: 48px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .stage { margin-top: 36px; }
  .stage .float-shot { position: static; width: 100%; margin: 16px 0 0; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  section.block { padding: 64px 0; }
  .scenes, .steps, .plans { grid-template-columns: 1fr; }
  .shot-frame { padding: 16px; border-radius: 18px; }
  footer .copy { margin-left: 0; }
}

/* ── 多頁導覽、子頁橫幅、價格、下載、安全、常見問題 ── */
.nav a[aria-current="page"] { color: #fff; }
.menu-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-btn svg { width: 20px; height: 20px; }
.hero h1 em { font-style: normal; color: #b9c3ff; }

/* 子頁橫幅(價格、下載) */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 72px 0 64px;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(43, 53, 102, 0.55), transparent 70%),
    linear-gradient(180deg, #0b1530 0%, var(--night) 70%, #121527 100%);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
.page-hero p { color: var(--on-dark-soft); margin: 0 auto; max-width: 620px; font-size: 17px; }
.page-hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* 月繳、年繳切換 */
.cycle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); margin-top: 26px; }
.cycle button {
  border: 0; background: transparent; color: var(--on-dark-soft); font: inherit; font-size: 15px; font-weight: 600;
  height: 40px; padding: 0 20px; border-radius: 999px; cursor: pointer;
}
.cycle button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.cycle small { font-weight: 600; color: #46c98b; margin-left: 6px; }
.cycle button[aria-pressed="true"] small { color: var(--green); }

/* 方案卡 */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pcard {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 24px;
}
.pcard.hot { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo), 0 18px 40px rgba(43, 53, 102, 0.16); }
.pcard .tag {
  position: absolute; top: -12px; left: 24px; background: var(--indigo); color: #fff; font-size: 13px; font-weight: 600;
  border-radius: 999px; padding: 2px 12px;
}
.pcard h3 { margin: 0; font-size: 20px; }
.pcard .for { margin: 4px 0 16px; color: var(--muted); font-size: 14px; min-height: 48px; }
.pcard .amount { display: flex; align-items: baseline; gap: 6px; }
.pcard .amount b { font-size: 36px; line-height: 1.1; letter-spacing: -0.01em; }
.pcard .amount span { color: var(--muted); font-size: 14px; }
.pcard .bill { margin: 4px 0 18px; color: var(--soft); font-size: 13px; min-height: 22px; }
.pcard ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 15px; }
.pcard li { display: flex; gap: 8px; align-items: flex-start; }
.pcard li::before {
  content: ""; flex: 0 0 16px; height: 16px; margin-top: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.2L13 4.8' fill='none' stroke='%232b3566' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pcard .btn { margin-top: auto; width: 100%; }
.btn.line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn.line:hover { background: var(--bg); }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }

/* 方案比較表 */
.compare { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg); font-size: 15px; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); font-weight: 500; width: 30%; }
.compare tr.grp td { background: #fafafc; color: var(--ink); font-weight: 700; text-align: left; font-size: 14px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes {
  display: inline-block; width: 18px; height: 18px; vertical-align: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.2L13 4.8' fill='none' stroke='%231e7d46' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compare .na { color: #c3c5d1; }

/* 加購 */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.addon-card h3 { margin: 0 0 4px; font-size: 18px; }
.addon-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 常見問題 */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 17px 28px 17px 0; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(45deg); transition: transform 0.15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.faq a, .text-link { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }

/* 安全 */
.band-dark { color: #fff; background: linear-gradient(160deg, #0b1530, var(--night) 60%, var(--dusk)); }
.band-dark .head .eyebrow { color: #b9c3ff; }
.band-dark .head p { color: var(--on-dark-soft); }
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.safe-item { border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 22px; }
.safe-item svg { width: 26px; height: 26px; color: #b9c3ff; margin-bottom: 10px; }
.safe-item h3 { margin: 0 0 4px; font-size: 18px; }
.safe-item p { margin: 0; color: var(--on-dark-soft); font-size: 15px; }

/* 下載 */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.dl-card .where { font-size: 14px; color: var(--indigo); font-weight: 600; }
.dl-card h2 { margin: 0; font-size: 24px; }
.dl-card p { margin: 0 0 14px; color: var(--muted); }
.dl-card ul { margin: 0 0 22px; padding-left: 20px; font-size: 15px; }
.dl-card .btn { margin-top: auto; align-self: flex-start; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px; margin: 0; }
.spec div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; }
.spec div + div { border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }

/* 頁尾(多欄) */
footer.site { padding: 48px 0 36px; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; align-items: start; }
footer.site .about p { margin: 12px 0 0; max-width: 280px; }
footer.site h4 { margin: 0 0 10px; color: var(--on-dark); font-size: 14px; font-weight: 600; }
footer.site nav { display: grid; gap: 8px; }
footer.site a:hover { color: #fff; }
footer.site .copy { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .pcard .for { min-height: 0; }
  .safe { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .top .wrap { position: relative; gap: 12px; }
  .top .actions { margin-left: auto; }
  .top .actions .ghost { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px; margin: 0; padding: 8px 20px 16px;
    flex-direction: column; gap: 0; background: #060e21; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  .page-hero { padding: 48px 0 44px; }
  .price-grid, .addons, .safe, .dl-grid { grid-template-columns: 1fr; }
  .dl-card { padding: 24px; }
  .dl-card .btn { align-self: stretch; }
  .spec { padding: 4px 20px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  footer.site .about { grid-column: 1 / -1; }
}
.addon-price { margin: 2px 0 8px; color: var(--muted); font-size: 14px; }
.addon-price b { font-size: 24px; color: var(--ink); }

/* 功能特色:小標、淺色畫面框、更多功能 */
.kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--indigo); background: #ececf5; border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }
.shot-frame.light { background: linear-gradient(160deg, #e9ecf7, #dfe3f2); }
.shot-frame.light img { box-shadow: 0 18px 40px rgba(20, 26, 44, 0.18); border: 1px solid #d5d9ea; }
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.more-item { background: var(--bg); border-radius: 16px; padding: 22px; }
.more-item h3 { margin: 0 0 4px; font-size: 18px; }
.more-item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1024px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .more { grid-template-columns: 1fr; margin-top: 24px; padding-top: 24px; } }

/* ══ 互動與動態效果(site.js) ══ */
.top { transition: background 0.25s, box-shadow 0.25s; }
.top.scrolled { background: rgba(6, 14, 33, 0.94); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.nav a { position: relative; transition: color 0.15s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: #b9c3ff; transform: scaleX(0); transition: transform 0.25s; }
.nav a:hover::after, .nav a.on::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.on { color: #fff; }

/* 星空 */
.hero, .page-hero, .closing, .band-dark { position: relative; overflow: hidden; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.hero .wrap, .page-hero .wrap, .closing .wrap, .band-dark .wrap { position: relative; }
.hero::before { display: none; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -30vmax; top: -40vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(87, 104, 190, 0.34), transparent); animation: drift 16s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.12); } }

/* 進場 */
.hero .eyebrow, .hero h1, .hero .lead, .hero .cta, .hero .meta, .page-hero h1, .page-hero p, .page-hero .cycle { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation-delay: 0.08s; } .hero .lead, .page-hero p { animation-delay: 0.16s; } .hero .cta, .page-hero .cycle { animation-delay: 0.24s; } .hero .meta { animation-delay: 0.32s; }
.hero h1 em { background: linear-gradient(90deg, #b9c3ff, #fff 45%, #b9c3ff 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s both, sheen 6s linear 1s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes sheen { to { background-position: -220% 0; } }
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
.scene.rv.in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* 按鈕 */
.btn, .cycle button, .show-tabs button { position: relative; overflow: hidden; }
.btn { transition: background 0.15s, transform 0.15s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary:hover { box-shadow: 0 10px 26px rgba(185, 195, 255, 0.28); }
.btn.dark:hover { box-shadow: 0 10px 24px rgba(43, 53, 102, 0.35); }
.btn:active { transform: scale(0.97); }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: 0.25; pointer-events: none; animation: ripple 0.6s ease-out forwards; }
@keyframes ripple { from { transform: scale(0); opacity: 0.3; } to { transform: scale(1); opacity: 0; } }

/* 游標光暈 */
.glow { position: relative; isolation: isolate; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity 0.25s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(87, 104, 190, 0.16), transparent 70%);
}
.glow:hover::before { opacity: 1; }
.safe-item.glow::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(185, 195, 255, 0.2), transparent 70%); }
.safe-item.glow:hover { border-color: rgba(185, 195, 255, 0.45); transform: translateY(-3px); }
.safe-item svg { transition: transform 0.3s; }
.safe-item:hover svg { transform: scale(1.15) rotate(-6deg); }
.pcard.glow.in:hover, .more-item.glow.in:hover, .dl-card.glow.in:hover, .step.glow.in:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 26, 44, 0.12); transition-delay: 0s; }
.scene img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.scene:hover img { transform: scale(1.06); }
.scene { overflow: hidden; }
.chip { transition: background 0.2s, color 0.2s; }
.scene:hover .chip { background: var(--indigo); color: #fff; }
.fact b { transition: color 0.2s; }
.fact:hover b { color: var(--indigo); }
.step::before { transition: transform 0.3s, background 0.3s; }
.step:hover::before { transform: scale(1.15); background: var(--indigo); }
.faq details { transition: border-color 0.2s, box-shadow 0.2s; }
.faq details:hover, .faq details[open] { border-color: #c9cde6; box-shadow: 0 8px 24px rgba(20, 26, 44, 0.06); }
.faq details[open] p { animation: rise 0.35s ease both; }
.compare tbody tr:not(.grp) { transition: background 0.15s; }
.compare tbody tr:not(.grp):hover { background: #f4f5fb; }
.pcard.hot .tag { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }
.cycle button { transition: background 0.25s, color 0.25s; }

/* ── 主視覺:連線示範 ── */
.demo .main-shot { position: relative; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.6s; }
.demo .main-shot > img { transition: filter 0.9s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); filter: blur(7px) brightness(0.45); transform: scale(1.03); }
.demo[data-state="connected"] .main-shot > img { filter: none; transform: none; }
.demo[data-state="connected"] .main-shot { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(185, 195, 255, 0.35), 0 0 60px rgba(87, 104, 190, 0.35); }
.demo-veil { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark); font-weight: 600; transition: opacity 0.5s; }
.demo-veil span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.demo-veil .dot { margin: 0; background: #f0b454; animation: blink 1.2s ease-in-out infinite; }
.demo[data-state="connecting"] .demo-veil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(185, 195, 255, 0.22), transparent); background-size: 100% 40%; background-repeat: no-repeat; animation: scan 1.1s linear infinite; }
.demo[data-state="connected"] .demo-veil { opacity: 0; pointer-events: none; }
@keyframes blink { 50% { opacity: 0.35; } }
@keyframes scan { from { background-position: 0 -40%; } to { background-position: 0 140%; } }
.demo .tool { position: absolute; top: 0.9%; height: 4.4%; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; opacity: 0; pointer-events: none; }
.demo[data-state="connected"] .tool { opacity: 1; pointer-events: auto; }
.demo .tool::after { content: ""; position: absolute; inset: -2px; border-radius: 8px; border: 2px solid #b9c3ff; opacity: 0; animation: ping 2.2s ease-out infinite; }
.demo .tool:nth-of-type(2)::after { animation-delay: 0.5s; } .demo .tool:nth-of-type(3)::after { animation-delay: 1s; }
.demo .tool:hover { background: rgba(185, 195, 255, 0.22); }
.demo[data-fx="privacy"] .tool[data-fx="privacy"], .demo[data-fx="board"] .tool[data-fx="board"], .demo[data-fx="file"] .tool[data-fx="file"] { background: rgba(185, 195, 255, 0.3); box-shadow: inset 0 0 0 2px #b9c3ff; }
@keyframes ping { 0% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.5); } }
.fx-board { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.fx-board ellipse, .fx-board path { fill: none; stroke: #ff5b5b; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-board text { fill: #ff5b5b; font: 700 26px "Noto Sans TC", sans-serif; opacity: 0; }
.demo[data-fx="board"] .fx-board { opacity: 1; }
.demo[data-fx="board"] .fx-board ellipse { animation: draw 0.7s ease-out forwards; }
.demo[data-fx="board"] .fx-board path:nth-of-type(1) { animation: draw 0.5s ease-out 0.7s forwards; }
.demo[data-fx="board"] .fx-board path:nth-of-type(2) { animation: draw 0.25s ease-out 1.2s forwards; }
.demo[data-fx="board"] .fx-board text { animation: rise 0.4s ease 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fx-privacy, .fx-file { position: absolute; right: 3%; bottom: 7%; opacity: 0; transform: translateY(14px); transition: opacity 0.35s, transform 0.35s; pointer-events: none; }
.demo[data-fx="privacy"] .fx-privacy, .demo[data-fx="file"] .fx-file { opacity: 1; transform: none; }
.fx-privacy { display: grid; justify-items: center; gap: 6px; color: var(--on-dark); font-size: 13px; }
.fx-privacy .pip { width: 150px; aspect-ratio: 16 / 10; border-radius: 10px; background: #000; border: 3px solid #3a4266; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); }
.fx-privacy svg { width: 30px; height: 30px; color: #8c93b8; }
.fx-file { width: 230px; padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); display: grid; gap: 2px; font-size: 13px; }
.fx-file b { font-size: 15px; }
.fx-file span { color: var(--muted); }
.fx-file .done { display: none; color: var(--green); font-weight: 600; }
.fx-file i { display: block; height: 6px; border-radius: 3px; background: #e6e8f2; margin-top: 8px; overflow: hidden; }
.fx-file em { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--indigo); }
.demo[data-fx="file"] .fx-file em { animation: fill 2.6s cubic-bezier(0.3, 0.1, 0.3, 1) forwards; }
.demo[data-fx="file"] .fx-file .doing { animation: hide 0s linear 2.6s forwards; }
.demo[data-fx="file"] .fx-file .done { display: block; opacity: 0; height: 0; animation: showdone 0s linear 2.6s forwards; }
@keyframes fill { to { width: 100%; } }
@keyframes hide { to { display: none; } }
@keyframes showdone { to { opacity: 1; height: auto; } }
.demo-card {
  position: absolute; left: max(0px, calc(50% - 580px)); bottom: 36px; width: 320px; padding: 22px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); display: grid; gap: 12px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both;
}
.demo-card h3 { margin: 0; font-size: 18px; }
.demo-fields { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; }
.demo-field { display: flex; align-items: center; height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid #d5d7e2; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.demo-field:empty::before { content: attr(data-ph); color: var(--soft); }
.demo-field.caret { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(43, 53, 102, 0.12); }
.demo-field.caret::after { content: ""; width: 1.5px; height: 18px; margin-left: 2px; background: var(--ink); animation: blink 0.9s steps(1) infinite; }
.demo-card .btn { width: 100%; height: 42px; cursor: pointer; font-family: inherit; }
.demo[data-state="idle"] #demoGo, .demo[data-state="typing"] #demoGo { opacity: 0.55; pointer-events: none; }
.demo[data-state="ready"] #demoGo { animation: pulse 1.5s ease-in-out infinite; }
.demo[data-state="connecting"] #demoGo { pointer-events: none; }
.demo[data-state="connected"] #demoGo { background: var(--green); pointer-events: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(43, 53, 102, 0.5); } 50% { box-shadow: 0 0 0 10px rgba(43, 53, 102, 0); } }
.demo-card p { margin: 0; font-size: 13px; color: var(--muted); min-height: 42px; }

/* ── 功能展示 ── */
.show { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.show-tabs { display: grid; gap: 6px; position: sticky; top: 88px; }
.show-tabs button {
  display: grid; gap: 2px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent;
  font: inherit; color: var(--muted); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.show-tabs button b { font-size: 17px; color: var(--ink); }
.show-tabs button span { font-size: 14px; }
.show-tabs button:hover { background: var(--bg); transform: translateX(4px); }
.show-tabs button[aria-selected="true"] { background: var(--bg); border-color: var(--line); transform: none; }
.show-tabs button[aria-selected="true"] b { color: var(--indigo); }
.show-tabs .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--indigo); transform: scaleX(0); transform-origin: left; }
.show-tabs button[aria-selected="true"] .bar { transform: scaleX(1); }
.show-tabs button.auto .bar { animation: progress 7s linear forwards; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.show-view { display: grid; }
.show-pane { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.985); transition: opacity 0.45s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.45s; }
.show-pane.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.show-pane .shot {
  position: relative; border-radius: 22px; padding: 28px; display: flex; justify-content: center; transition: transform 0.25s ease-out;
  background: linear-gradient(160deg, #0b1530, var(--night) 55%, var(--dusk));
}
.show-pane.light .shot { background: linear-gradient(160deg, #e9ecf7, #dfe3f2); }
.show-pane .shot img { border-radius: 10px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); width: 100%; }
.show-pane.narrow .shot img { width: 72%; }
.show-pane.light .shot img { box-shadow: 0 18px 40px rgba(20, 26, 44, 0.18); border: 1px solid #d5d9ea; }
.show-pane figcaption { padding: 20px 4px 0; }
.show-pane h3 { margin: 0 0 10px; font-size: clamp(21px, 2.4vw, 26px); }
.show-pane ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.show-pane li { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
/* 畫面上的標記 */
.spot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 0; border-radius: 50%; background: #5b74ff; cursor: pointer; box-shadow: 0 0 0 4px rgba(91, 116, 255, 0.3); opacity: 0; transform: scale(0); }
.show-pane.on .spot { animation: pop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
.show-pane.on .spot:nth-of-type(1) { animation-delay: 0.45s; } .show-pane.on .spot:nth-of-type(2) { animation-delay: 0.6s; } .show-pane.on .spot:nth-of-type(3) { animation-delay: 0.75s; } .show-pane.on .spot:nth-of-type(4) { animation-delay: 0.9s; } .show-pane.on .spot:nth-of-type(5) { animation-delay: 1.05s; }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #5b74ff; animation: ping2 2s ease-out infinite; }
.spot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
@keyframes ping2 { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.spot span {
  position: absolute; left: 30px; top: 50%; transform: translateY(-50%) translateX(-6px); white-space: nowrap; padding: 6px 12px; border-radius: 8px;
  background: #fff; color: var(--ink); font: 500 13px/1.4 Inter, "Noto Sans TC", sans-serif; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 2;
}
.spot.flip span { left: auto; right: 30px; transform: translateY(-50%) translateX(6px); }
.spot:hover, .spot.open { z-index: 3; background: #2f48e0; }
.spot:hover span, .spot:focus-visible span, .spot.open span { opacity: 1; transform: translateY(-50%); }

@media (max-width: 1024px) {
  .demo { display: flex; flex-direction: column; gap: 16px; }
  .demo-card { position: static; width: 100%; max-width: 420px; margin: 0 auto; order: -1; }
  .show { grid-template-columns: 1fr; gap: 18px; }
  .show-tabs { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .show-tabs::-webkit-scrollbar { display: none; }
  .show-tabs button { flex: 0 0 auto; padding: 10px 16px; border-color: var(--line); scroll-snap-align: center; }
  .show-tabs button span { display: none; }
  .show-tabs button:hover { transform: none; }
}
@media (max-width: 680px) {
  .show-pane .shot { padding: 14px; border-radius: 16px; }
  .show-pane.narrow .shot img { width: 100%; }
  .spot { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
  .spot::after { inset: 6px; }
  .spot span { white-space: normal; width: max-content; max-width: 150px; font-size: 12px; }
  .fx-privacy .pip { width: 84px; } .fx-privacy { font-size: 11px; }
  .fx-file { width: 150px; padding: 8px 10px; font-size: 11px; } .fx-file b { font-size: 12px; }
  .demo-veil span { font-size: 13px; padding: 5px 12px; }
}

/* 頁首:一開始和主視覺同色,捲動後才變成半透明 */
.top { background: #0b1530; backdrop-filter: none; border-bottom-color: transparent; }
.top.scrolled { background: rgba(6, 14, 33, 0.9); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: rgba(255, 255, 255, 0.08); }
/* 五項重點 */
.facts.five .wrap { grid-template-columns: repeat(5, 1fr); }
.facts.five .fact b { font-size: 20px; }
@media (max-width: 1024px) {
  .facts.five .wrap { grid-template-columns: repeat(3, 1fr); }
  .facts.five .fact:nth-child(4) { border-left: 0; }
  .facts.five .fact:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .facts.five .wrap { grid-template-columns: repeat(2, 1fr); }
  .facts.five .fact { border-left: 0; }
  .facts.five .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .facts.five .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts.five .fact:nth-child(5) { grid-column: 1 / -1; }
}

/* 功能展示:重點對應的區域亮起(取代圓點) */
.show-pane .frame { position: relative; width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.show-pane.narrow .frame { width: 72%; }
.show-pane.light .frame { box-shadow: 0 18px 40px rgba(20, 26, 44, 0.18); border: 1px solid #d5d9ea; }
.show-pane .shot .frame img, .show-pane.narrow .shot .frame img, .show-pane.light .shot .frame img { width: 100%; border-radius: 0; box-shadow: none; border: 0; }
.focus {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 8px; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2000px rgba(6, 14, 33, 0.58), 0 0 0 2px #8fa3ff, 0 0 26px 4px rgba(143, 163, 255, 0.75);
  transition: left 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), top 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s;
}
.frame.lit .focus { opacity: 1; }
.show-pane li { padding: 0; border: 0; background: none; }
.pt {
  font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  cursor: pointer; text-align: left; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.pt:hover { transform: translateY(-1px); border-color: var(--indigo); }
.pt.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.show-tabs button.auto .bar { animation-duration: var(--span, 7s); }
@media (max-width: 680px) { .show-pane.narrow .frame { width: 100%; } .pt { font-size: 13px; padding: 6px 12px; } }

/* 主視覺的說明:電腦版在冒號後換行 */
.hero .lead { max-width: 760px; }
@media (max-width: 860px) { br.wide { display: none; } }
.more.plain { margin-top: 0; padding-top: 0; border-top: 0; }
.more.plain .more-item { background: #fff; border: 1px solid var(--line); }
/* 導覽項目變多:寬度不足時提早改成選單 */
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .top .wrap { position: relative; gap: 12px; }
  .top .actions { margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px; margin: 0; padding: 8px 20px 16px;
    flex-direction: column; gap: 0; background: #060e21; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
}

/* 常見問題頁 */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.faq-jump a { padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--on-dark); font-size: 14px; transition: background 0.2s, border-color 0.2s; }
.faq-jump a:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.faq-group { max-width: 800px; margin: 40px auto 14px; font-size: 22px; scroll-margin-top: 84px; }
.faq-group:first-child { margin-top: 0; }

/* 語言選單 */
.lang { position: relative; }
.lang-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #fff; cursor: pointer; padding: 0; transition: background 0.15s; }
.lang-btn:hover { background: rgba(255, 255, 255, 0.08); }
.lang-btn svg { width: 19px; height: 19px; }
.lang-menu { position: absolute; right: 0; top: 46px; min-width: 150px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); display: none; z-index: 30; }
.lang.open .lang-menu { display: grid; animation: rise 0.18s ease both; }
.lang-menu a { padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.lang-menu a:hover { background: var(--bg); }
.lang-menu a[aria-current="true"] { color: var(--indigo); font-weight: 600; background: #ececf5; }
/* 日文、韓文頁面的字型 */
html[lang="ja"] body { font-family: Inter, "Noto Sans JP", "Yu Gothic UI", "Hiragino Sans", Meiryo, system-ui, sans-serif; }
html[lang="ko"] body { font-family: Inter, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; }
html[lang="en"] body { font-family: Inter, "Noto Sans TC", "Segoe UI", system-ui, sans-serif; }
html[lang="en"] .hero h1 { letter-spacing: -0.01em; }
.doc-note { font-size: 14px; color: var(--soft, #8c8fa3); border-left: 3px solid var(--line, #e5e5ec); padding-left: 12px; }
/* 頁首不折行;手機上非中文的註冊按鈕字較長,收進主視覺的按鈕與選單 */
.brand, .top .actions .btn { white-space: nowrap; }
@media (max-width: 680px) {
  html:not([lang="zh-Hant"]) .top .actions .btn.primary { display: none; }
}

/* ── 主視覺:連線示範(裝置清單 → 系統資訊 → 連線 → 自動錄影 → 操作 → 檔案傳輸),每一輪換一個情境。
   內部固定 960×684,整塊依寬度縮放 ── */
.od { position: relative; width: min(920px, 100%); margin: 0 auto; aspect-ratio: 960 / 684; border-radius: 14px; overflow: hidden; background: #050916;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.od-canvas { position: absolute; left: 0; top: 0; width: 960px; height: 684px; transform-origin: 0 0; font-size: 12px; line-height: 1.5; color: #1c2033;
  background: radial-gradient(1200px 500px at 70% -10%, #1a2550 0%, #0a1024 55%, #050916 100%); }
.od-canvas i { font-style: normal; }
.od-scene { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: scale(0.97); transform-origin: 0 0; transition: opacity 0.5s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.od-scene.on { opacity: 1; transform: none; }
/* 特寫:把工具列左側放大 */
.od-scene.on.zoom { transform: scale(2.5); }

/* 裝置管理視窗 */
.od-con { position: absolute; left: 40px; top: 70px; width: 880px; height: 544px; border-radius: 10px; overflow: hidden; background: #f2f2f6; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.od-tb { position: absolute; left: 0; right: 0; top: 0; height: 24px; background: #0a0f20; color: #c9cce0; font-size: 11px; display: flex; align-items: center; padding: 0 10px; gap: 6px; white-space: nowrap; }
.od-tb img { width: 13px; height: 13px; }
.od-tb .od-wc { margin-left: auto; letter-spacing: 14px; font-size: 10px; color: #8b90ad; }
.od-side { position: absolute; left: 0; top: 24px; bottom: 0; width: 150px; background: #0a1429; color: #dfe2f0; padding: 16px 10px 0; }
.od-side > b { display: block; font-size: 16px; color: #fff; padding: 0 6px; }
.od-side > small { display: block; font-size: 10px; color: #9fa6c8; padding: 0 6px; }
.od-side > em { display: block; font-style: normal; font-size: 10px; color: #7f86a8; margin: 18px 6px 4px; }
.od-side ul { list-style: none; margin: 0; padding: 0; }
.od-groups li { display: flex; justify-content: space-between; padding: 5px 8px; border-radius: 6px; font-size: 12px; }
.od-groups li span:last-child { color: #7f86a8; font-size: 11px; }
.od-groups li.on { background: #262b48; color: #fff; font-weight: 700; }
.od-acct { position: absolute; left: 10px; right: 10px; bottom: 76px; border: 1px solid #26335c; border-radius: 9px; padding: 8px; font-size: 10px; background: #0d1a36; }
.od-acct div { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.od-acct div + div { margin-top: 6px; color: #9fa6c8; }
.od-acct i { width: 16px; height: 16px; border-radius: 50%; background: #3d4a85; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; flex: none; }
.od-acct b { background: #4a3d1c; color: #f0c674; border-radius: 4px; padding: 0 5px; font-size: 9px; }
.od-links { position: absolute; left: 10px; right: 10px; bottom: 12px; }
.od-links li { padding: 4px 8px; font-size: 12px; }
.od-main { position: absolute; left: 150px; right: 0; top: 24px; bottom: 0; padding: 14px 18px; }
.od-head { display: flex; align-items: center; gap: 8px; height: 44px; }
.od-head > div { margin-right: auto; }
.od-head h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.od-head p { margin: 0; font-size: 11px; color: #50546a; }
.od-in { width: 118px; height: 28px; border: 1px solid #d2d3dd; border-radius: 7px; background: #fff; color: #9a9db0; display: flex; align-items: center; padding: 0 10px; font-size: 11px; white-space: nowrap; overflow: hidden; }
.od-btn, .od-btn2 { height: 28px; padding: 0 12px; border-radius: 7px; display: inline-flex; align-items: center; font-weight: 700; font-size: 11px; white-space: nowrap; position: relative; overflow: hidden; }
.od-btn { background: #2b3566; color: #fff; transition: transform 0.15s, background 0.15s; }
.od-btn2 { background: #fff; border: 1px solid #d2d3dd; color: #1c2033; }
.od-press { transform: scale(0.97); background: #3d4a85; }
.od-press::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); animation: od-ripple 0.6s ease-out forwards; }
.od-table, .od-info { position: absolute; top: 70px; bottom: 58px; background: #fff; border: 1px solid #e5e5ec; border-radius: 10px; }
.od-table { left: 18px; right: 220px; padding: 4px 6px; }
.od-th, .od-row { display: grid; grid-template-columns: 1.9fr 1fr 0.75fr 0.95fr 0.45fr; column-gap: 8px; align-items: center; height: 29px; padding: 0 8px; white-space: nowrap; }
.od-th { color: #50546a; font-size: 11px; }
.od-row { border-radius: 5px; transition: background 0.2s; }
.od-row.sel { background: #cfe6fb; }
.od-row span { overflow: hidden; text-overflow: ellipsis; }
.od-row .num { font-variant-numeric: tabular-nums; }
.od-st { display: flex; align-items: center; gap: 5px; color: #1f8a4d; }
.od-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #23a05a; }
.od-st.off { color: #8b8fa6; } .od-st.off::before { background: #a9abba; }
.od-info { right: 18px; width: 190px; padding: 12px; font-size: 11px; }
.od-info .hint { color: #8b8fa6; text-align: center; margin-top: 120px; }
.od-info h4 { margin: 0; font-size: 13px; }
.od-info .sub { color: #1f8a4d; font-variant-numeric: tabular-nums; padding-bottom: 8px; border-bottom: 1px solid #e5e5ec; margin-bottom: 8px; }
.od-m { margin-bottom: 9px; }
.od-m div { display: flex; justify-content: space-between; }
.od-m b { font-size: 12px; } .od-m small { color: #8b8fa6; font-size: 10px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-m u { display: block; height: 3px; border-radius: 2px; background: #e5e5ec; margin-top: 3px; overflow: hidden; text-decoration: none; }
.od-m u s { display: block; height: 100%; width: 0; background: #2b3566; border-radius: 2px; transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.od-kv { border-top: 1px solid #e5e5ec; padding-top: 8px; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; white-space: nowrap; }
.od-kv span:nth-child(odd) { color: #8b8fa6; } .od-kv span { overflow: hidden; text-overflow: ellipsis; }
.od-acts { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; gap: 7px; }
.od-acts .r { margin-left: auto; }

/* 連線畫面:工具列、遠端桌面 */
.od-bar { position: absolute; left: 0; right: 0; top: 0; height: 44px; background: #0a1429; border-bottom: 1px solid #1c2547; display: flex; align-items: center; gap: 7px; padding: 0 12px; font-size: 12px; color: #eceef4; }
.od-state { display: flex; align-items: center; gap: 8px; margin-right: auto; color: #b2b4c6; white-space: nowrap; }
.od-state > i { width: 9px; height: 9px; border-radius: 50%; background: #46c98b; animation: od-ping 2s infinite; flex: none; }
.od-rec { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; background: #171c33; color: #eceef4; font-variant-numeric: tabular-nums; }
.od-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4d; animation: blink 1.2s ease-in-out infinite; }
.od-tool { padding: 6px 9px; border-radius: 7px; background: #171c33; white-space: nowrap; transition: background 0.2s; }
.od-tool.end { background: #2b3566; color: #fff; }
.od-tool.hot { background: #3b3a5e; color: #fff; }
.od-desk { position: absolute; left: 0; right: 0; top: 44px; bottom: 0; overflow: hidden; background: #dfe3ec; }
.od-desk > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.od-banner { position: absolute; right: 6px; bottom: 44px; height: 56px; width: 400px; border-radius: 12px; background: #0b152e; border: 1px solid #26335c; display: flex; align-items: center; gap: 10px; padding: 0 10px;
  transform: translateX(440px); transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); overflow: hidden; color: #fff; }
.od-banner.in { transform: none; }
.od-banner.small { width: 34px; height: 34px; padding: 0; border-color: transparent; background: none; bottom: 55px; }
.od-banner img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.od-txt { flex: 1; min-width: 0; white-space: nowrap; }
.od-t1 { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.od-t1 i { width: 9px; height: 9px; border-radius: 50%; background: #46c98b; flex: none; }
.od-t2 { font-size: 11px; color: #d8d9e4; overflow: hidden; text-overflow: ellipsis; }
.od-x { font-size: 11px; background: #1f2b52; border-radius: 8px; padding: 5px 10px; flex: none; }
.od-banner.small .od-txt, .od-banner.small .od-x { display: none; }

/* 檔案傳輸視窗 */
.od-fw { position: absolute; left: 50px; top: 64px; width: 860px; height: 452px; border-radius: 10px; overflow: hidden; background: #f2f2f6; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(10, 20, 41, 0.25);
  opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.od-fw.in { opacity: 1; transform: none; }
.od-fwb { position: absolute; inset: 24px 0 0; padding: 12px; display: grid; grid-template-columns: 1fr 132px 1fr; gap: 12px; grid-template-rows: 1fr 30px; }
.od-pane { background: #fff; border: 1px solid #e5e5ec; border-radius: 12px; padding: 10px 10px 4px; overflow: hidden; }
.od-ph { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.od-ph i { width: 7px; height: 7px; border-radius: 50%; background: #2b3566; flex: none; } .od-ph i.g { background: #46c98b; }
.od-ph small { margin-left: auto; font-weight: 400; font-size: 10px; color: #8b8fa6; }
.od-ph .peer { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.od-path { display: flex; gap: 6px; margin: 8px 0 6px; }
.od-path span { height: 24px; border-radius: 7px; background: #f6f6f9; display: flex; align-items: center; padding: 0 9px; font-size: 11px; white-space: nowrap; overflow: hidden; }
.od-path span:nth-child(2) { flex: 1; }
.od-fh, .od-f { display: grid; grid-template-columns: 1fr 58px 96px; align-items: center; height: 23px; padding: 0 6px; font-size: 11px; white-space: nowrap; }
.od-fh { color: #50546a; border-top: 1px solid #e5e5ec; }
.od-fh span:nth-child(2), .od-f span:nth-child(2) { text-align: right; padding-right: 10px; }
.od-f { border-radius: 4px; transition: background 0.2s; }
.od-f span:first-child { overflow: hidden; text-overflow: ellipsis; }
.od-f span:first-child::before { content: ""; display: inline-block; vertical-align: -2px; margin-right: 6px; width: 12px; height: 13px; border-radius: 2px; background: #b9c4dc; }
.od-f.dir span:first-child::before { height: 10px; background: #f3c95c; }
.od-f.sel { background: #cfe6fb; }
.od-f.new { animation: od-new 1.6s ease-out; }
.od-mid { display: flex; flex-direction: column; justify-content: center; gap: 6px; text-align: center; font-size: 10px; color: #8b8fa6; line-height: 1.4; }
.od-mid .od-btn, .od-mid .od-btn2 { height: 34px; justify-content: center; font-size: 12px; }
.od-mid .od-btn2 { margin-top: 12px; }
.od-fs { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 11px; color: #50546a; white-space: nowrap; padding: 0 4px; }
.od-fs u { flex: 0 0 220px; height: 5px; border-radius: 3px; background: #dcdde6; overflow: hidden; opacity: 0; transition: opacity 0.2s; text-decoration: none; }
.od-fs.busy u { opacity: 1; }
.od-fs u s { display: block; height: 100%; width: 0; background: #2b3566; transition: width 0.3s linear; }

.od-cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; z-index: 5; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s; pointer-events: none; }
.od-cursor.hide { opacity: 0; }
.od-clk { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #2b3566; background: rgba(43, 53, 102, 0.18); opacity: 0; z-index: 4; pointer-events: none; }
.od-clk.go { animation: od-clk 0.5s ease-out; }
.od-foot { width: min(920px, 100%); margin: 14px auto 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.od-steps { display: flex; gap: 6px; }
.od-steps i { width: 22px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); transition: background 0.3s; }
.od-steps i.on { background: #46c98b; }
.od-cap { margin: 0; color: var(--on-dark-soft); font-size: 14px; flex: 1; min-width: 200px; }
.od-cap b { color: #fff; font-weight: 700; margin-right: 10px; }
@keyframes od-ripple { to { transform: scale(46); opacity: 0; } }
@keyframes od-clk { 0% { opacity: 1; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes od-new { 0%, 40% { background: #d9f2e3; } 100% { background: transparent; } }
@keyframes od-ping { 0% { box-shadow: 0 0 0 0 rgba(70, 201, 139, 0.6); } 70% { box-shadow: 0 0 0 9px rgba(70, 201, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 201, 139, 0); } }

/* ── 按鈕光澤、卡片浮起 ── */
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn:hover::before { animation: od-sheen 0.8s ease-out; }
.btn.primary::before, .btn.line::before { background: linear-gradient(90deg, transparent, rgba(43, 53, 102, 0.14), transparent); }
@keyframes od-sheen { to { transform: translateX(460%) skewX(-20deg); } }
.pcard.glow.in:hover, .more-item.glow.in:hover, .dl-card.glow.in:hover, .addon-card.glow.in:hover { transform: translateY(-5px); transition-delay: 0s; box-shadow: 0 2px 4px rgba(20, 26, 44, 0.06), 0 22px 44px rgba(20, 26, 44, 0.12); }

/* ── 導覽列:產品、資源是下拉選單;右邊是語言、登入與註冊 ── */
.top .wrap { height: 68px; gap: 20px; }
.nav { gap: 4px; margin-left: 16px; align-items: center; }
.nav-item { position: relative; }
.nav .nav-link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 9px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500;
  color: var(--on-dark-soft); cursor: pointer; transition: color 0.15s, background 0.15s; }
.nav .nav-link::after { display: none; }
.nav .nav-link:hover, .nav-item:hover > .nav-link, .nav-item.open > .nav-link, .nav .nav-link[aria-current="page"], .nav-item.cur > .nav-link { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav .nav-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-item:hover > .nav-link svg, .nav-item.open > .nav-link svg { transform: rotate(180deg); }
.nav-menu { position: absolute; left: 0; top: 100%; padding-top: 10px; min-width: 300px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 30; }
.nav-menu::before { content: ""; position: absolute; inset: 10px 0 0; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(20, 26, 44, 0.06); }
.nav-item:hover > .nav-menu, .nav-item:focus-within > .nav-menu, .nav-item.open > .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav .nav-menu a { position: relative; display: block; margin: 0 6px; padding: 10px 12px; border-radius: 9px; color: var(--ink); }
.nav .nav-menu a:first-child { margin-top: 6px; } .nav .nav-menu a:last-child { margin-bottom: 6px; }
.nav .nav-menu a::after { display: none; }
.nav .nav-menu a:hover, .nav .nav-menu a.on, .nav .nav-menu a[aria-current="page"] { background: #f1f2f8; color: var(--ink); }
.nav-menu b { display: block; font-size: 15px; font-weight: 600; }
.nav-menu span { display: block; font-size: 13px; color: #6b6f85; margin-top: 1px; }
.nav .nav-mobile { display: none; }
.top .actions { align-items: center; gap: 8px; }
.nav-login { padding: 0 12px; height: 38px; display: inline-flex; align-items: center; border-radius: 9px; color: var(--on-dark); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background 0.15s; }
.nav-login:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.lang-btn { border-color: transparent; }
.lang-btn:hover { border-color: transparent; }
@media (max-width: 1040px) {
  .nav { top: 68px; padding: 6px 20px 18px; align-items: stretch; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav .nav-link { height: 48px; padding: 0; border-radius: 0; font-size: 16px; justify-content: space-between; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: none !important; }
  .nav-menu { position: static; padding: 0; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-menu::before { display: none; }
  .nav-item.open > .nav-menu { display: block; padding: 4px 0 8px; }
  .nav-item:hover > .nav-link svg { transform: none; }
  .nav-item.open > .nav-link svg { transform: rotate(180deg); }
  .nav .nav-menu a { margin: 0; padding: 9px 12px; color: var(--on-dark); border-bottom: 0; }
  .nav .nav-menu a:first-child, .nav .nav-menu a:last-child { margin: 0; }
  .nav .nav-menu a:hover, .nav .nav-menu a.on, .nav .nav-menu a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); color: #fff; }
  .nav-menu span { color: var(--soft); }
  .nav .nav-mobile { display: inline-flex; border-bottom: 0; }
  .nav-login { display: none; }
}

/* ── 頁尾:品牌與下載在左,三欄連結在右;最下面一列是版權與條款 ── */
footer.site { padding: 64px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
footer.site .wrap { display: block; }
.foot-top { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(120px, 1fr)); gap: 40px 32px; align-items: start; }
footer.site .about p { margin: 14px 0 0; max-width: 300px; line-height: 1.7; }
.foot-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
footer.site h4 { margin: 4px 0 14px; color: var(--on-dark); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
footer.site nav { display: grid; gap: 10px; }
footer.site nav a { color: var(--soft); transition: color 0.15s; width: fit-content; }
footer.site nav a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
footer.site .foot-bottom .copy { margin: 0; padding: 0; border: 0; grid-column: auto; }
footer.site .legal { display: flex; gap: 24px; }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .foot-top .about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-top { gap: 32px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* 主視覺下方的重點列:六項 */
.facts.six .wrap { grid-template-columns: repeat(6, 1fr); }
.facts.six .fact b { font-size: 19px; }
.facts.six .fact { padding-left: 16px; padding-right: 16px; }
@media (max-width: 1100px) {
  .facts.six .wrap { grid-template-columns: repeat(3, 1fr); }
  .facts.six .fact:nth-child(4) { border-left: 0; }
  .facts.six .fact:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .facts.six .wrap { grid-template-columns: repeat(2, 1fr); }
  .facts.six .fact { border-left: 0; }
  .facts.six .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .facts.six .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* 主視覺上方的小標:兩段各自不斷行,窄螢幕時第二段換到下一行 */
.hero .eyebrow span { white-space: nowrap; }
.hero .eyebrow .tw::before { content: "・"; margin: 0 0.55em; }
@media (max-width: 560px) {
  .hero .eyebrow span { white-space: normal; }
  .hero .eyebrow .tw { display: block; }
  .hero .eyebrow .tw::before { display: none; }
}

/* 兩欄的說明卡片 */
.more.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .more.two { grid-template-columns: 1fr; } }

/* ── 首頁的應用場景卡片:整張可點,進到完整說明 ── */
.scene { position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.scene:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 26, 44, 0.06), 0 22px 44px rgba(20, 26, 44, 0.12); }
.scene-list { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink); }
.scene-list li { padding-left: 18px; position: relative; }
.scene-list li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); opacity: 0.55; }
.scene .chips { margin-top: 6px; }
.scene-more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--indigo); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.scene-more::after { content: "→"; transition: transform 0.2s; }
.scene-more::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.scene:hover .scene-more::after { transform: translateX(4px); }

/* ── 應用場景說明頁 ── */
.use-hero { text-align: left; padding: 56px 0 64px; }
.use-hero .wrap { display: grid; gap: 28px; }
.use-hero p { margin: 0; max-width: 560px; }
.use-hero .cta { justify-content: flex-start; }
.use-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #b9c3ff; font-size: 14px; letter-spacing: 0.06em; }
.use-back::before { content: "←"; }
.use-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.use-grid { display: grid; gap: 16px; }
.use-case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.use-case h3 { margin: 0 0 8px; font-size: 19px; }
.use-case p { margin: 0; color: var(--muted); font-size: 15px; }
.use-feats { background: #fff; }
.use-feat { display: grid; gap: 22px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.use-feats .head + .use-feat { border-top: 0; padding-top: 0; }
.use-feat .kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--indigo); background: #ececf5; border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; }
.use-feat h3 { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; }
.use-feat p { margin: 0 0 14px; color: var(--muted); }
.use-feat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.use-feat li { padding-left: 26px; position: relative; }
.use-feat li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 11px; height: 6px; border-left: 2px solid #23a05a; border-bottom: 2px solid #23a05a; transform: rotate(-45deg); }
.use-shot { margin: 0; border-radius: 12px; overflow: hidden; background: #0a1429; box-shadow: 0 18px 44px rgba(20, 26, 44, 0.16), 0 0 0 1px rgba(20, 26, 44, 0.08); }
.use-shot img { display: block; width: 100%; height: auto; }
.use-shot.narrow { max-width: 440px; justify-self: center; }
.use-remote { margin: 0 auto; max-width: 960px; }
.use-remote img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.use-remote figcaption { margin-top: 12px; text-align: center; color: var(--on-dark-soft); font-size: 14px; }
section.use-others { padding-top: 0; }
.use-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.use-link { display: block; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.use-link img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.use-link b { display: block; padding: 12px 14px 14px; font-size: 15px; }
.use-link:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 26, 44, 0.12); }
@media (min-width: 700px) {
  .use-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .use-links { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 960px) {
  .use-hero { padding: 72px 0 80px; }
  .use-hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .use-feat { grid-template-columns: 5fr 7fr; gap: 48px; padding: 44px 0; }
  .use-feat.flip { grid-template-columns: 7fr 5fr; }
  .use-feat.flip .use-feat-text { order: 2; }
}

/* ───── 下載頁:兩張卡片(手邊的電腦 → 要被操作的電腦) ───── */
.page-hero.deep { padding-bottom: 120px; }
.get-block { padding-top: 0; margin-top: -72px; position: relative; z-index: 2; }
.get-block .wrap { max-width: 1080px; }
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; }
.get-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06); }
.get-card svg, .get-join svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.get-card.ctrl { --tone: var(--indigo); --tone-bg: #e9ebf5; }
.get-card.host { --tone: var(--green); --tone-bg: #e4f3ea; }
.get-art { height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--tone-bg); color: var(--tone); }
.get-pic { width: 200px; height: 146px; }
.get-where { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.get-where i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: #fff; font-style: normal; font-size: 13px; }
.get-join { position: absolute; left: 50%; top: 145px; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(10, 20, 40, 0.12); display: grid; place-items: center; color: var(--indigo); z-index: 2; }
.get-join svg { width: 26px; height: 26px; stroke-width: 2.2; }
.get-body { padding: 28px 34px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.get-body h2 { margin: 0; font-size: 26px; line-height: 1.3; }
.get-term { margin: 6px 0 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--tone); }
.get-lead { margin: 0; color: var(--muted); }
.get-sec { width: 100%; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.get-sec h3 { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; color: var(--soft); letter-spacing: 0.04em; }
.get-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; margin: 0 auto; }
.get-chips span { padding: 5px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--tone-bg); color: var(--tone); }
.get-sec ul { display: inline-grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; text-align: left; }
.get-sec li { display: flex; gap: 10px; }
.get-sec li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 4px; stroke-width: 2.4; color: var(--tone); }
.get-cta { width: 100%; margin-top: auto; padding-top: 26px; }
.get-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 14px; font-weight: 700; font-size: 17px; color: #fff; background: var(--tone); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, filter 0.15s; }
.get-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 20, 40, 0.18); filter: brightness(1.08); }
.get-btn svg { width: 22px; height: 22px; stroke-width: 2.2; }
.get-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; margin-top: 10px; color: var(--soft); font-size: 13.5px; }
.get-meta b { font-weight: 600; }
.get-help { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; text-align: center; font-size: 15px; color: var(--muted); }
.get-help div { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.get-help b { display: block; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 760px) {
  .page-hero.deep { padding-bottom: 96px; }
  .get-block { margin-top: -60px; }
  .get-grid, .get-help { grid-template-columns: 1fr; gap: 20px; }
  .get-join { position: static; transform: rotate(90deg); margin: -6px auto; }
  .get-art { height: 230px; }
  .get-pic { width: 164px; height: 120px; }
  .get-body { padding: 24px 20px; }
  .get-body h2 { font-size: 23px; }
}

/* 下載頁:macOS 版(發佈之後才顯示) */
.get-mac { margin-top: 14px; }
.get-btn.alt { background: #fff; color: var(--tone); border: 1.5px solid var(--tone); min-height: 52px; font-size: 16px; }
.get-btn.alt:hover { filter: none; background: var(--tone-bg); }

/* ── 導覽列右上角的主按鈕「免費下載」:前面帶下載圖示 ── */
.btn.nav-dl { gap: 7px; white-space: nowrap; }
.btn.nav-dl::after { content: ""; order: -1; width: 15px; height: 15px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a1429' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v7.5M4.8 7 8 10.2 11.2 7M3 13.2h10'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 420px) {
  .btn.nav-dl { padding: 0 13px; }
  .btn.nav-dl::after { display: none; }
}
