/* 全站 v3 共用樣式：自首頁 index.html 內嵌樣式複製（2026-10-04）。首頁本身仍用內嵌版，未改動。 */
:root {
  --o: #D04A11;          /* logo 橘紅 */
  --o-2: #FC9000;        /* logo 亮橘 */
  --o-ink: #B53D0A;      /* 淺底上的橘字 */
  --o-btn: #C4430D;      /* 白字按鈕底 */
  --o-soft: #FFF3EA;
  --o-line: #F6D5BE;
  --ink: #1C2230;
  --ink-2: #4A5263;
  --ink-3: #5E6676;
  --line: #ECE6E0;
  --bg: #FFFFFF;
  --bg-2: #FBF8F5;
  --foot: #23262D;
  --r: 14px;
  --shadow: 0 6px 24px rgba(60, 35, 15, .07);
  --wrap: 1320px;
  --sans: 'Inter', 'Noto Sans TC', system-ui, sans-serif;
  --hand: 'LXGW WenKai TC', 'Noto Sans TC', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 20.2px; line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
p, li, blockquote { text-wrap: pretty; }
.nb { white-space: nowrap; }
.desc { word-break: keep-all; text-wrap: balance; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { --duo: #FFDCC4; --duo2: #FFFFFF; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; overflow: visible; }
.ico-go { width: 16px; height: 16px; margin-left: 4px; vertical-align: -3px; stroke-width: 2.2; transition: transform .2s; }
a:hover .ico-go { transform: translateX(3px); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; white-space: nowrap; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 19px; font-weight: 600; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--o { background: var(--o-btn); color: #fff; box-shadow: 0 8px 20px rgba(196, 67, 13, .25); }
.btn--o:hover { background: #A63609; transform: translateY(-1px); }
.btn--line { border: 1.5px solid #D9D2CB; background: #fff; color: var(--ink); }
.btn--line:hover { border-color: var(--o-ink); color: var(--o-ink); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 7px 16px; border: 1.5px solid var(--o-line); border-radius: 999px;
  font-size: 17.4px; font-weight: 600; color: var(--o-ink); background: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.pill .ico { width: 16px; height: 16px; stroke-width: 2.2; }
.pill:hover { background: var(--o-btn); border-color: var(--o-btn); color: #fff; }
.pill--grey { border-color: #DDD6CF; color: var(--ink); }

/* ---------- 導覽列 ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 6px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 24px 14px; font-size: 18.6px; font-weight: 600; color: var(--ink);
  border-bottom: 2.5px solid transparent;
}
.nav-links > li > a:hover, .nav-links > li > a[aria-current] { color: var(--o-ink); }
.nav-links > li > a[aria-current] { border-bottom-color: var(--o); }
.sub {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px);
  min-width: 240px; margin: 0; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 18.6px; white-space: nowrap; }
.sub a:hover { background: var(--o-soft); color: var(--o-ink); }
.nav-cta { padding: 11px 26px; font-size: 18.6px; }
.nav-toggle { display: none; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #FFFFFF 0%, #FFF8F2 45%, #FFE9D9 100%); }
.hero-waves { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero-brand { font-size: 24.6px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.hero h1 { margin-top: 10px; font-size: clamp(45.8px, 5.2vw, 68.6px); font-weight: 900; letter-spacing: .02em; line-height: 1.2; }
.hero h1 em { font-style: normal; color: var(--o); }
.hero h1 .h1-sub { display: block; margin-top: 12px; font-size: clamp(25.9px, 2.5vw, 33.5px); font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.hero-desc { margin-top: 18px; font-size: 21.3px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; max-width: 520px; }
.tags li {
  padding: 4px 16px; border: 1.5px solid var(--o-line); border-radius: 999px; background: rgba(255,255,255,.75);
  font-size: 18.6px; font-weight: 600; color: var(--o-ink);
}
.tags li.more { border-style: dashed; color: var(--ink-3); }
.hero-meta { word-break: keep-all; display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 19px; font-weight: 600; color: var(--ink-2); }
.hero-meta .ico { width: 26px; height: 26px; color: var(--o); }
.hero-act { display: flex; flex-wrap: wrap; gap: 22px 26px; margin-top: 32px; }

/* 裝置展示 */
.devices { position: relative; padding: 96px 0 10px; }
.note {
  position: absolute; z-index: 3; font-family: var(--hand); color: var(--o-ink);
  font-size: 32.4px; line-height: 1.35; transform: rotate(-8deg);
}
.note--hero { right: 40px; top: -6px; text-align: right; }
.note svg { position: absolute; width: 46px; height: 30px; right: -36px; bottom: 6px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.laptop { position: relative; width: 88%; }
.laptop-screen { border: 12px solid #1F2128; border-bottom-width: 16px; border-radius: 16px 16px 4px 4px; background: #fff; box-shadow: 0 30px 60px rgba(60, 35, 15, .2); overflow: hidden; }
.laptop-base { height: 16px; margin: 0 -7%; background: linear-gradient(#D8DADF, #A9ACB3); border-radius: 0 0 18px 18px; }
.app { display: grid; grid-template-columns: 22% 1fr; aspect-ratio: 16 / 9.6; font-size: 10px; line-height: 1.4; }
.app-side { background: #26282F; color: #C9CCD3; padding: 10px 8px; }
.app-logo { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; padding: 4px 6px; border-radius: 6px; background: var(--o); color: #fff; font-weight: 700; font-size: 11px; }
.app-logo img { width: 14px; height: 14px; }
.app-side span { display: block; padding: 4px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; }
.app-side span.on { background: rgba(255,255,255,.1); color: #fff; }
.app-main { padding: 10px 12px; background: #F7F7F9; display: grid; grid-template-columns: 1.25fr 1fr; align-content: start; gap: 8px; color: #333; }
.app-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; color: #555; }
.app-bar b { font-size: 11px; color: #222; }
.app-card { background: #fff; border-radius: 6px; padding: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.05); min-width: 0; }
.app-card small { display: block; color: #777; }
.app-num { font-size: 17px; font-weight: 700; color: #222; }
.app-up { color: #16A34A; font-weight: 600; }
.app-chart { width: 100%; height: auto; margin-top: 4px; }
.app-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 4px; text-align: center; color: #666; }
.app-cal i { font-style: normal; padding: 2px 0; border-radius: 3px; }
.app-cal i.d { background: var(--o); color: #fff; }
.app-cal i.b { background: #FFE7D6; color: #A3360A; }
.app-rows { grid-column: 1 / -1; }
.app-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr .7fr; gap: 6px; align-items: center; padding: 4px 0; border-top: 1px solid #F0F0F2; white-space: nowrap; overflow: hidden; }
.app-row:first-of-type { border-top: 0; }
.app-tag { justify-self: start; padding: 0 6px; border-radius: 99px; background: #E7F6EC; color: #157A3B; }
.app-tag.w { background: #FFF1E6; color: #A3360A; }
.phone {
  position: absolute; right: 2%; bottom: 0; z-index: 2; width: 27%;
  border: 7px solid #1F2128; border-radius: 26px; background: #fff; overflow: hidden;
  box-shadow: 0 24px 50px rgba(60, 35, 15, .25);
}
.laptop-shot { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 687; object-fit: cover; object-position: top left; }
.phone-shot { display: block; width: 100%; height: auto; aspect-ratio: 540 / 1171; object-fit: cover; object-position: top; }
.phone-in { aspect-ratio: 9 / 18.5; padding: 14px 8px 10px; font-size: 9px; line-height: 1.4; color: #333; display: flex; flex-direction: column; gap: 6px; }
.phone-in b { font-size: 11px; color: #222; text-align: center; }
.phone-svc { display: flex; gap: 4px; }
.phone-svc i { flex: 1; font-style: normal; text-align: center; padding: 3px 0; border-radius: 4px; background: #F3F3F5; }
.phone-svc i.on { background: var(--o); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.slots i { font-style: normal; text-align: center; padding: 4px 0; border: 1px solid #EEE; border-radius: 4px; }
.slots i.on { border-color: var(--o); color: #A3360A; background: #FFF3EA; }
.slots i.x { color: #BBB; text-decoration: line-through; }
.phone-btn { margin-top: auto; padding: 6px; border-radius: 99px; background: var(--o); color: #fff; text-align: center; font-weight: 700; }

/* ---------- 區段通用 ---------- */
.sec { padding: 56px 0 0; }
.sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.sec-head > div { flex: none; max-width: 100%; }
.sec-head h2, .panel h2, .cta-band h2, .cfg-h, .pain h3 { word-break: keep-all; }
.sec-head h2 { font-size: 32.4px; font-weight: 900; letter-spacing: .03em; }
.sec-head .sub-t { font-size: 19px; color: var(--ink-3); word-break: keep-all; }
.sec-head .pill { margin-left: auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- 產業對照表 ---------- */
.ind { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ind a { display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.ind a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 35, 15, .13); }
.ind img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ind-body { flex: 1; display: flex; flex-direction: column; padding: 14px 12px 16px; }
.ind-name { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; }
.ind-name .ico { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--o-soft); color: var(--o); }
.ind-k { margin-top: 12px; font-size: 16.2px; color: var(--ink-3); }
.ind-q { font-size: 18px; line-height: 1.55; color: var(--ink); word-break: keep-all; }
.ind-use { margin-top: auto; padding-top: 12px; font-size: 16.2px; color: var(--ink-3); }
.ind-use b { display: block; font-weight: 600; color: var(--o-ink); }

/* ---------- 客戶回饋 ---------- */
.voices { position: relative; }
.v-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; margin: 0; list-style: none; scrollbar-width: none; }
.v-track::-webkit-scrollbar { display: none; }
.v-item { flex: 0 0 344px; scroll-snap-align: start; display: flex; gap: 14px; padding: 22px 20px; }
.v-ava { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #FFE1CC, #FFC59E); color: #8E2F07; font-size: 22.4px; font-weight: 700; }
.v-who { font-size: 18.6px; font-weight: 700; }
.v-who span { display: block; font-size: 16.2px; font-weight: 400; color: var(--ink-3); }
.v-q { margin-top: 8px; font-size: 18.6px; line-height: 1.65; color: var(--ink-2); word-break: keep-all; }
.v-arrow {
  position: absolute; top: calc(50% - 26px); z-index: 2; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
}
.v-arrow:hover { color: var(--o-ink); border-color: var(--o-line); }
.v-arrow .ico { width: 20px; height: 20px; }
.v-prev { left: -22px; }
.v-next { right: -22px; }

/* ---------- 生意形態＋產業痛點 ---------- */
.duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.panel { position: relative; border-radius: 18px; padding: 30px 30px 32px; background: linear-gradient(135deg, #FFF6EF, #FFEEE2); border: 1px solid #F8E2D3; overflow: hidden; }
.panel h2 { font-size: 30.2px; font-weight: 900; letter-spacing: .03em; }
.panel .desc { margin-top: 8px; font-size: 20.2px; color: var(--ink-2); }
.note--panel { right: 28px; top: 26px; font-size: 24.6px; transform: rotate(-7deg); text-align: right; }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.type { display: flex; flex-direction: column; padding: 20px 14px; transition: transform .25s, box-shadow .25s; }
.type:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(60, 35, 15, .12); }
.type-badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--o-btn); color: #fff; font-weight: 700; font-size: 19px; font-family: 'Inter', sans-serif; }
.type h3 { margin-top: 14px; font-size: 22.4px; font-weight: 700; }
.type h3 small { display: block; font-size: 17.4px; font-weight: 400; color: var(--ink-3); }
.type-flow { margin-top: 10px; font-size: 18.6px; color: var(--ink-2); word-break: keep-all; }
.type-go { word-break: keep-all; margin-top: auto; padding-top: 14px; font-size: 16.2px; font-weight: 600; color: var(--o-ink); }
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.pains a { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 16px 6px 14px; text-align: center; transition: transform .25s, border-color .25s; }
.pains a:hover { transform: translateY(-3px); border-color: var(--o-line); }
.pains .ico { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--o-soft); color: var(--o); stroke-width: 1.6; }
.pains b { font-size: 19px; }
.pains span { font-size: 15px; line-height: 1.45; color: var(--ink-3); word-break: keep-all; }
.pains .all { grid-column: span 1; }
.pains .all span { font-size: inherit; color: inherit; }
.pains .all a { gap: 6px; justify-content: center; background: transparent; border: 1.5px dashed var(--o-line); box-shadow: none; color: var(--o-ink); font-weight: 600; font-size: 18.6px; }
.bulb { --duo: #FFE6D3; position: absolute; right: 22px; top: 18px; width: 64px; height: 64px; color: #EDB58E; stroke-width: 1.3; }

/* ---------- 四個模組＋選配器 ---------- */
.mods-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.mod { display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.mod:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 35, 15, .13); }
.mod-img { margin: 12px 12px 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #EEE; }
.mod-img img { width: 100%; height: 100%; object-fit: cover; }
.mod-body { padding: 16px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.mod-name { display: flex; align-items: center; gap: 10px; font-size: 20.2px; font-weight: 700; }
.mod-name .ico { --duo: rgba(255,255,255,.3); --duo2: rgba(255,255,255,.3); width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: linear-gradient(135deg, #E2601A, var(--o-btn)); color: #fff; stroke-width: 1.8; box-shadow: 0 6px 14px rgba(196,67,13,.25); }
.mod-en { margin-top: 6px; font-size: 15.1px; letter-spacing: .1em; color: var(--ink-3); font-family: 'Inter', sans-serif; font-weight: 600; }
.mod-func { margin-top: 6px; font-size: 18.6px; color: var(--ink-2); word-break: keep-all; }
.mod-go { margin-top: auto; padding-top: 12px; font-size: 17.4px; font-weight: 600; color: var(--o-ink); }
.cfg { grid-column: 1 / -1; margin-top: 8px; border-radius: 16px; padding: 28px 30px; background: linear-gradient(160deg, #FFF4EC, #FFE8D8); border: 1px solid #F8DCC8;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, 1.25fr); gap: 28px; align-items: center; }
.cfg-head .btn { margin-top: 18px; }
.cfg .cfg-picks { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.cfg .cfg-out { margin-top: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.cfg h3 { font-size: 24.6px; font-weight: 900; color: var(--o-ink); }
.cfg .desc { margin-top: 6px; font-size: 18.6px; color: var(--ink-2); }
.cfg-picks { margin-top: 14px; display: grid; gap: 8px; }
.pick { display: flex; align-items: center; gap: 10px; font-size: 18.6px; font-weight: 600; cursor: pointer; }
.pick input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--o-btn); cursor: pointer; }
.cfg-out { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #F6DCCB; }
.cfg-out-t { font-size: 20.2px; font-weight: 700; }
.cfg-out-b { word-break: keep-all; margin-top: 4px; font-size: 18.6px; color: var(--ink-2); }
.cfg-out-f { margin-top: 8px; font-size: 16.2px; color: var(--ink-3); word-break: keep-all; }
.cfg-out-f b { color: var(--o-ink); font-weight: 600; margin-right: 4px; }
.cfg-out.is-live { animation: pop .35s ease; }
@keyframes pop { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cfg .btn { padding: 11px 22px; font-size: 18.6px; }

/* ---------- 實力 ---------- */
.power { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 16px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.stat .ico { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: var(--o-soft); color: var(--o); stroke-width: 1.5; }
.stat b { font-size: 36.7px; font-weight: 900; color: var(--o); font-family: 'Inter', sans-serif; line-height: 1; }
.stat b small { margin-left: 4px; font-size: 18.6px; font-weight: 700; font-family: var(--sans); color: var(--o-ink); }
.stat span { display: block; margin-top: 6px; font-size: 18.6px; color: var(--ink-2); word-break: keep-all; }
.demo { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 16px; background: #F6F3F0; }
.demo h3 { font-size: 21.3px; font-weight: 700; }
.demo p { margin-top: 4px; font-size: 18.6px; color: var(--ink-2); }
.demo .btn { margin-top: 12px; padding: 10px 22px; font-size: 18.6px; }
.demo > .ico { --duo: #FFE3CF; position: absolute; right: 18px; top: 16px; width: 52px; height: 52px; color: #E39A68; stroke-width: 1.4; }

/* ---------- 頁尾 ---------- */
.foot { margin-top: 72px; background: var(--foot); color: #D6D8DD; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.45fr .95fr .95fr 1.15fr 1.5fr; gap: 32px; padding: 52px 0 40px; }
.foot-brand img { height: 50px; width: auto; }
.foot-tag { margin-top: 14px; font-size: 19px; font-weight: 600; color: #fff; word-break: keep-all; }
.foot-about { margin-top: 10px; font-size: 17.4px; color: #AEB2BA; }
.foot h4 { margin-bottom: 12px; font-size: 18.6px; font-weight: 700; color: #fff; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { font-size: 17.4px; line-height: 1.6; padding: 3px 0; }
.foot a:hover { color: #FFB27A; }
.contact li { display: flex; gap: 10px; align-items: flex-start; }
.contact .ico { --duo: rgba(255,178,122,.22); --duo2: var(--foot); width: 20px; height: 20px; margin-top: 2px; color: #FFB27A; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 16.2px; color: #AEB2BA; }

/* ---------- 補回現行首頁內容用的樣式 ---------- */
.eyebrow { margin-bottom: 6px; font-size: 15px; font-weight: 600; letter-spacing: .12em; color: var(--o-ink); }
.type-k { margin-top: 10px; font-size: 13.4px; font-weight: 700; letter-spacing: .16em; color: var(--ink-3); font-family: 'Inter', sans-serif; }
.type h3 { margin-top: 4px; }
.pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pain { display: flex; flex-direction: column; padding: 22px 22px 20px; scroll-margin-top: 96px; }
.pain-ind { display: flex; align-items: center; gap: 10px; font-size: 16.2px; font-weight: 600; color: var(--ink-3); }
.pain-ind .ico { width: 38px; height: 38px; padding: 7px; border-radius: 10px; background: var(--o-soft); color: var(--o); }
.pain h3 { margin-top: 14px; font-size: 22.4px; font-weight: 700; line-height: 1.4; }
.pain-a { margin-top: 10px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.pain-k { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.chips li { padding: 2px 10px; border-radius: 999px; background: var(--o-soft); color: var(--o-ink); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.pain-go { margin-top: auto; padding-top: 16px; font-size: 17.4px; font-weight: 600; color: var(--o-ink); }

/* 痛點卡：行業照片當背景。遮罩直接疊在卡片的 background 上（不用偽元素），
   最淺處 66% 深棕——就算底下照片是純白，白字仍有 6:1 以上對比。 */
.pain--img {
  position: relative; overflow: hidden; border: 0; color: #fff;
  background-color: #fff;
  background-image: linear-gradient(180deg, rgba(24,16,10,.66) 0%, rgba(24,16,10,.78) 45%, rgba(24,16,10,.9) 100%), var(--bg);
  background-size: 100% 100%, cover; background-position: center, center;
  transition: transform .3s, box-shadow .3s, background-size .6s;
}
.pain--img:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(60, 35, 15, .28); background-size: 100% 100%, 110%; }
.pain--img .pain-ind { color: rgba(255,255,255,.92); }
.pain--img .pain-ind .ico { --duo: rgba(255,178,122,.28); --duo2: transparent; background: rgba(255,255,255,.14); color: #FFB27A; }
.pain--img h3 { color: #fff; }
.pain--img .pain-a { color: rgba(255,255,255,.9); }
.pain--img .pain-k { color: rgba(255,255,255,.85); }
.pain--img .chips li { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.4); color: #fff; }
.pain--img .pain-go { color: #fff; }
.pain--img .pain-go:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #FFB27A; }
.pain-all a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; min-height: 160px; border: 1.5px dashed var(--o-line); border-radius: var(--r); font-size: 20.2px; font-weight: 700; color: var(--o-ink); transition: background .2s, color .2s, border-color .2s; }
.pain-all .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--o-btn); color: #fff; stroke-width: 2.2; }
.pain-all a:hover { background: var(--o-soft); border-color: var(--o); color: #8E2F07; }
.mod-tag { margin-top: 8px; font-size: 16.2px; font-weight: 700; color: var(--o-ink); word-break: keep-all; }
.mod-func { margin-top: 4px; }
.cfg .eyebrow { margin-bottom: 4px; }
.cfg-h { font-size: 24.6px; font-weight: 900; color: var(--ink); word-break: keep-all; }
.pick { align-items: flex-start; }
.pick input { margin-top: 4px; }
.pick small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-3); }
.cfg-out-k { font-size: 14px; font-weight: 600; color: var(--o-ink); letter-spacing: .06em; }
h3.cfg-out-t { margin-top: 2px; }
.demo h3 { word-break: keep-all; }
.cta-band { padding: clamp(48px, 6vw, 84px) 24px; border-radius: 22px; text-align: center; background: linear-gradient(120deg, #FFF3EA, #FFE2CC); border: 1px solid #F8D9C3; }
.cta-label { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--o-ink); }
.cta-band h2 { margin-top: 12px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 900; letter-spacing: .06em; }
.cta-band .desc { margin-top: 14px; font-size: 20.2px; color: var(--ink-2); }
.cta-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
.foot { margin-top: 64px; }
@media (max-width: 1359px) { .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pain-grid { grid-template-columns: 1fr; }
  .cta-band h2 { letter-spacing: .03em; }
}

/* ---------- 捲動進場（移植自舊版 main.css／main.js 第 1 段） ---------- */
.js [data-rv] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16, .84, .44, 1), transform .7s cubic-bezier(.16, .84, .44, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-rv].is-in { opacity: 1; transform: none; }
section[id], #pains .pain { scroll-margin-top: 92px; }

/* ---------- 響應式 ---------- */
@media (max-width: 1359px) {
  .duo { grid-template-columns: 1fr; }
  .ind { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mods-row, .power { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfg, .demo { grid-column: 1 / -1; }
  .cfg { grid-template-columns: 1fr 1fr; }
  .mod-img { aspect-ratio: 16 / 9; }
  .cfg-head { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; padding: 9px 18px; border: 1.5px solid #DDD6CF; border-radius: 999px;
    background: #fff; font: 600 18.6px var(--sans); color: var(--ink); cursor: pointer;
  }
  .nav.open .nav-links {
    display: block; position: absolute; left: 0; right: 0; top: 76px; margin: 0; padding: 8px 24px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 76px); overflow: auto;
  }
  .nav.open .nav-links > li > a { padding: 12px 0; border: 0; font-size: 19px; }
  .nav.open .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .nav.open .sub a { white-space: normal; }
  .hero-grid { grid-template-columns: 1fr; padding: 44px 0 56px; }
  .hero-waves { width: 100%; opacity: .55; }
  .devices { max-width: 680px; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .brand img { height: 40px; }
  .hero-desc { font-size: 20.2px; }
  .hero-act .bru { width: calc(100% - 12px); }
  .note--hero { font-size: 24.6px; top: -14px; right: 18px; }
  .note svg { display: none; }
  .ind { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sec-head { flex-wrap: wrap; gap: 6px 14px; }
  .sec-head h2 { font-size: 28.1px; }
  .sec-head .pill { margin-left: 0; }
  .v-item { flex-basis: 84%; }
  .v-arrow { display: none; }
  .panel { padding: 24px 18px; }
  .note--panel { display: none; }
  .types { grid-template-columns: 1fr; }
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mods-row, .power { grid-template-columns: 1fr; }
  .cfg { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .cfg .cfg-picks { grid-template-columns: 1fr; }
  .demo > .ico { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-grid > :first-child, .foot-grid > :nth-child(2), .foot-grid > :last-child { grid-column: 1 / -1; }
}
/* 首頁兩顆行動鈕（沿用現行首頁 index.html 的樣式；--accent 換成實際色值，字級依規範放大 11→13.4、18→20.2） —— 粗獷風，淺色系。
   樣式來源：uiverse.io/0xnihilism/fast-cat-82（Uiverse 全站 MIT，可商用）
   原版是 Microsoft 按鈕，四色方格＝微軟商標、投影用微軟藍；商標不在 MIT 範圍內，
   所以圖示換成依燃自己的、投影改品牌色。
   淺底版要補兩件事：加邊框（淺底在淺色頁面上沒有邊界就散了），
   掃光改成暗色（白底上的白光等於看不見）。 */
.bru{
  display:inline-flex;align-items:center;gap:14px;
  width:auto;min-width:216px;height:72px;padding:0 24px;box-sizing:border-box;
  background:#fff;color:#0B1220;text-decoration:none;cursor:pointer;
  font-family:inherit;font-weight:700;
  border:2px solid #0B1220;
  box-shadow:7px 7px 0 #FC9000;
  transition:all .1s ease-out;position:relative;overflow:hidden}

/* 掃光：淺底用暗色半透明，不是白色 */
.bru::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(11,18,32,.10),transparent);
  z-index:1;opacity:0;transition:none}
.bru:hover::before{opacity:1;animation:bruSlide 2s infinite}
@keyframes bruSlide{0%{left:-100%}100%{left:100%}}

.bru:hover{transform:translate(-4px,-4px);box-shadow:11px 11px 0 #FC9000;
  background:#FFF8F0}
.bru:active{transform:translate(4px,4px);box-shadow:0 0 0 #FC9000;
  background:#FC9000;color:#1A0A00;border-color:#0B1220}
.bru:focus-visible{outline:3px solid #FC9000;outline-offset:3px}

.bru-ico{width:40px;height:40px;flex-shrink:0;position:relative;z-index:1;
  display:grid;place-items:center;transition:transform .2s ease-out}
.bru-ico img,.bru-ico svg{width:100%;height:auto;display:block}
.bru:hover .bru-ico{transform:rotate(-10deg) scale(1.06)}
.bru:active .bru-ico{transform:rotate(10deg) scale(.92)}

.bru-t{display:flex;flex-direction:column;line-height:1.25;
  position:relative;z-index:1;transition:transform .2s ease-out}
.bru:hover .bru-t{transform:skew(-5deg)}
.bru:active .bru-t{transform:skew(5deg)}
.bru-t span:first-child{font-size:13.4px;letter-spacing:.22em;opacity:.78}
.bru-t span:last-child{font-size:20.2px;letter-spacing:.04em}

/* ── 次要鈕：暖白底 ── */
.bru--red{background:#FFF3EE;color:#B42318;border-color:#B42318;
  box-shadow:7px 7px 0 #0B1220}
.bru--red:hover{background:#FFE9E1;box-shadow:11px 11px 0 #0B1220}
.bru--red:active{background:#B42318;color:#fff;border-color:#0B1220;
  box-shadow:0 0 0 #0B1220}
/* 小字 78% 在暖白底上只有 4.18:1，提到 90% */
.bru--red .bru-t span:first-child{opacity:.9}
.bru--red .bru-ico{color:#B42318}
.bru--red:active .bru-ico{color:#fff}
.bru--red:focus-visible{outline:3px solid #B42318;outline-offset:3px}

@media(prefers-reduced-motion:reduce){
  .bru,.bru-ico,.bru-t{transition:none}
  .bru:hover::before{animation:none;opacity:0}
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-rv] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 開場動畫 ---------- */

/* 開場：方塊飛進來拼成依燃圖記，實體 logo 接上。
   播放時機完全比照 ruby0825 參考頁：預設 display:none，判斷要播才加 .is-on，
   動畫掛在 .is-go 底下（等真的畫到畫面才起算），收尾加 .is-done 淡出 0.8s。
   壓進 2.2 秒＋0.8 秒淡出，與參考頁一致。 */
.ei{position:fixed;inset:0;z-index:9999;background:#0B1220;
  display:none;place-items:center;overflow:hidden}
.ei.is-on{display:grid}
.ei-stage{position:relative;width:min(360px,64vw);aspect-ratio:1}

/* 方塊：起跑錯開 .45s ＋ 飛行 .95s ＝ 1.4s 就位 */
.ei-cube{position:absolute;left:calc(50% + var(--tx));top:calc(50% + var(--ty));
  width:1.49%;height:1.61%;background:#FC9000;opacity:0;
  transform:translate(calc(-50% + var(--fx)),calc(-50% + var(--fy))) rotate(var(--fr)) scale(.4)}
.ei.is-go .ei-cube{
  animation:eiGather .95s cubic-bezier(.2,.75,.2,1) var(--d) forwards,
            eiDrop .4s ease 1.65s forwards}
@keyframes eiGather{35%{opacity:1}
  100%{opacity:1;transform:translate(-50%,-50%) rotate(0) scale(1)}}
@keyframes eiDrop{to{opacity:0;transform:translate(-50%,-50%) scale(.7)}}

.ei-flash{position:absolute;inset:-14%;border-radius:50%;opacity:0;
  background:radial-gradient(circle,rgba(252,144,0,.34),transparent 64%)}
.ei.is-go .ei-flash{animation:eiFlash .6s ease 1.45s forwards}
@keyframes eiFlash{40%{opacity:1}100%{opacity:0}}

.ei-logo{position:absolute;inset:0;display:grid;place-items:center;opacity:0}
.ei.is-go .ei-logo{animation:eiLogo .55s cubic-bezier(.4,0,.2,1) 1.6s forwards}
.ei-logo img{width:100%;height:auto}
@keyframes eiLogo{to{opacity:1}}

/* 收尾：跟參考頁一樣往上收＋淡出 0.8s */
.ei.is-done{transition:transform .8s cubic-bezier(.76,0,.24,1),opacity .8s ease;
  transform:translateY(-101%);opacity:0}
html.ei-lock,html.ei-lock body{overflow:hidden}
