/* Bluesalt — a quiet, material-led visual system. */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --paper: #f5f5f7;
  --line: #dedee3;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
html { background: #fff; }
body { margin: 0; background: transparent; color: var(--ink); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,ul,ol,figure { margin: 0; }
h1,h2,h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
a,button { touch-action: manipulation; }
button { cursor: pointer; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #0071e3; outline-offset: 5px; }
::selection { background: #b9d8ff; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 96px)); margin: auto; }
.section { padding: 120px 0; }
.section-kicker { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.3; letter-spacing: -.05em; font-weight: 600; }
h3 { font-weight: 600; letter-spacing: -.025em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; }
.section-heading > p { font-size: 14px; color: var(--muted); line-height: 1.9; max-width: 310px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; background: white; padding: 10px 20px; z-index: 100; }
.page-grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .022; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23g)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }
.skip-link:focus { top: 10px; }
/* ===== 導覽列：停在頂端時完全讓位給首屏，一開始捲動就收成浮動玻璃膠囊 ===== */
.navbar { position: sticky; top: 0; z-index: 30; padding: 0; transition: padding .45s cubic-bezier(.22,.61,.36,1); }
.nav-container {
  height: 74px; display: flex; justify-content: space-between; align-items: center;
  padding: 0; border: 1px solid transparent; border-radius: 0; background: transparent; box-shadow: none;
  transition: height .45s cubic-bezier(.22,.61,.36,1), width .45s cubic-bezier(.22,.61,.36,1), padding .45s cubic-bezier(.22,.61,.36,1), border-radius .45s, background .45s, box-shadow .45s, border-color .45s;
}
.navbar.is-stuck { padding: 11px 0; }
.navbar.is-stuck .nav-container {
  width: min(1040px, calc(100% - 48px)); height: 60px; padding: 0 11px 0 20px; border-radius: 40px;
  background: #ffffffae; border-color: #ffffffdb; box-shadow: 0 12px 36px #1e2f4a1f, inset 0 1px 0 #fff;
  backdrop-filter: saturate(180%) blur(26px); -webkit-backdrop-filter: saturate(180%) blur(26px);
}
.brand img { width: 34px; height: 34px; object-fit: contain; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
/* 選取指示器：一枚在項目之間滑動的膠囊，游標移開就回到目前所在的區段 */
.nav-menu { position: relative; }
.nav-menu::before {
  content: ''; position: absolute; left: 0; top: 50%; height: 32px; margin-top: -16px;
  width: var(--iw, 0); transform: translateX(var(--ix, 0)); opacity: var(--io, 0);
  border-radius: 16px; background: #0071e310; border: 1px solid #0071e31c; pointer-events: none;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), width .5s cubic-bezier(.22,.61,.36,1), opacity .3s;
}
.nav-menu a:not(.nav-cta) { position: relative; padding: 7px 13px; border-radius: 16px; transition: color .3s; }
.nav-menu a.is-current { color: var(--blue); }
/* 洽談專案：箭頭收在圓形晶片裡，滑過時往右上遞出 */
.nav-cta { background: #1d1d1f; color: white; border-radius: 30px; padding: 8px 8px 8px 18px; display: inline-flex; align-items: center; gap: 12px; transition: background .3s, box-shadow .3s; }
.nav-cta span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #ffffff26; font-size: 11px; transition: transform .35s cubic-bezier(.22,.61,.36,1), background .3s; }
.nav-cta:hover { background: #000; color: white; box-shadow: 0 8px 22px #1d1d1f38; }
.nav-cta:hover span { transform: translate(2px,-2px); background: #ffffff40; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-9px); } }
.brand { display: flex; align-items: center; gap: 10px; }
.brand > span { font-size: 17px; font-weight: 600; letter-spacing: .035em; line-height: 1.4; }
.brand small { display: block; color: var(--muted); font: 9px/1.5 'Manrope',sans-serif; letter-spacing: .01em; margin-top: 2px; }
.nav-menu { display: flex; align-items: center; gap: 36px; padding: 0; list-style: none; font-size: 12px; }
.hamburger { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 25px; border-radius: 30px; border: 0; font-size: 14px; font-weight: 400; transition: background .2s, box-shadow .2s; }
.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: #0077ed; color: white; box-shadow: 0 6px 22px #0071e31c; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: 15px; }
.text-link > span { font-size: 24px; font-family: sans-serif; font-weight: 300; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(165deg, #fbfcfeee 5%, #f4f6fbc4 52%, #edf2f900 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(#728caf55 .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(transparent 27%, #0006 67%, transparent);
  -webkit-mask-image: linear-gradient(transparent 27%, #0006 67%, transparent);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23grain)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
.hero-layout { padding: 65px 0 92px; text-align: center; }
h1 { font-size: clamp(54px, 6.2vw, 82px); font-weight: 600; letter-spacing: -.065em; line-height: 1.15; }
.hero-description { margin-top: 25px; font-size: 17px; color: var(--muted); line-height: 1.9; letter-spacing: -.02em; }
@media (min-width: 851px) { h1 br { display: none; } }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 25px; }
/* ===== 首屏：極光在底、網格在上、光場跟著游標走 ===== */
.hero-aurora { position: absolute; inset: -18%; z-index: -3; pointer-events: none; opacity: .46; }
.hero-aurora i { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.hero-aurora i:nth-child(1) { width: 64%; height: 68%; left: -5%; top: -5%; background: radial-gradient(ellipse farthest-side, #a9ccffdb 0, #a9ccff8a 45%, #a9ccff00 100%); animation: drift-a 26s ease-in-out infinite; }
.hero-aurora i:nth-child(2) { width: 56%; height: 60%; right: -7%; top: 5%; background: radial-gradient(ellipse farthest-side, #c9bef2db 0, #c9bef28a 45%, #c9bef200 100%); animation: drift-b 31s ease-in-out infinite; }
.hero-aurora i:nth-child(3) { width: 66%; height: 58%; left: 17%; bottom: -9%; background: radial-gradient(ellipse farthest-side, #abdcecdb 0, #abdcec8a 45%, #abdcec00 100%); animation: drift-c 23s ease-in-out infinite; }
@keyframes drift-a { 0%,100% { transform: none; } 50% { transform: translate3d(11%, 8%, 0) scale(1.14); } }
@keyframes drift-b { 0%,100% { transform: none; } 50% { transform: translate3d(-13%, 11%, 0) scale(.88); } }
@keyframes drift-c { 0%,100% { transform: none; } 50% { transform: translate3d(7%, -10%, 0) scale(1.1); } }
.hero-spotlight { position: absolute; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; z-index: -2; pointer-events: none; opacity: 0; background: radial-gradient(circle closest-side, #7fb2ff38 0, #7fb2ff12 55%, #7fb2ff00 100%); transform: translate3d(var(--px, 50vw), var(--py, 40vh), 0); will-change: transform; transition: opacity .6s; }
.hero:hover .hero-spotlight { opacity: 1; }
/* ===== 字元級進場：模糊上浮，逐字到位 ===== */
h1 .char { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(12px); animation: char-in .95s cubic-bezier(.22,.61,.36,1) forwards; animation-delay: calc(var(--i, 0) * 34ms); }
@keyframes char-in { to { opacity: 1; transform: none; filter: blur(0); } }
/* ===== 眉標的呼吸點 ===== */
.hero-intro { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; color: #4e5056; font-weight: 500; margin-bottom: 17px; }
.hero-intro i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 #0071e359; animation: pulse-dot 2.6s ease-out infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 #0071e359; } 70%,100% { box-shadow: 0 0 0 9px #0071e300; } }
/* ===== 液態玻璃標籤：呼應下方的跨平台展示 ===== */
.hero-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-platforms a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 17px; border-radius: 22px;
  font-size: 12.5px; color: #45505f; letter-spacing: .01em;
  background: linear-gradient(180deg, #ffffffc4, #ffffff63); border: 1px solid #ffffffde;
  box-shadow: 0 6px 18px #2a3f5e16, inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80;
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s;
}
.hero-platforms a span { font-size: 13px; line-height: 1; color: #6f93c6; }
.hero-platforms a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #2a3f5e22, inset 0 1px 0 #fff; color: #1d1d1f; }
/* ===== 磁吸按鈕 ===== */
[data-magnetic] { transition: transform .45s cubic-bezier(.22,.61,.36,1), background .2s, box-shadow .2s; }
/* ===== 捲動提示 ===== */
.scroll-cue { position: absolute; left: 50%; bottom: 30px; margin-left: -13px; width: 26px; height: 42px; border-radius: 14px; border: 1px solid #b4c3d8; display: grid; place-items: start center; padding-top: 8px; background: #ffffff5c; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .3s; }
.scroll-cue:hover { border-color: var(--blue); }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: #7b93b5; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(13px); opacity: 0; } }
.intro-statement { text-align: center; padding: 120px 0; }
.intro-statement .container > p:first-child { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.intro-statement h2 { font-size: clamp(38px,4.8vw,60px); }
.statement-body { color: var(--muted); font-size: 17px; line-height: 1.9; margin-top: 28px; }
.services { position: relative; isolation: isolate; }
.services::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(#7d97bd33 .7px, transparent .7px); background-size: 26px 26px; mask-image: linear-gradient(transparent 8%, #0009 48%, transparent 94%); -webkit-mask-image: linear-gradient(transparent 8%, #0009 48%, transparent 94%); }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid #e7ebf2; box-shadow: 0 2px 10px #2434480a; border-radius: 24px; padding: 34px 26px 26px; display: flex; flex-direction: column; }
.service-card svg { width: 38px; height: 38px; fill: none; stroke: #3a71a7; stroke-width: 1.3; margin-bottom: 45px; }
.service-card h3 { font-size: 21px; margin-bottom: 13px; }
.service-card > p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.service-card ul { list-style: none; padding: 0; margin: 24px 0 28px; color: #85858d; font-size: 11px; line-height: 2.1; }
.service-card > a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--blue); font-size: 12px; }
.service-card > a span { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: #f5f5f7; color: #555; }
/* 互動技術展示：同一套系統，在不同載體上的樣子。裝置外框全部以 CSS 繪製。 */
.expertise { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 100px; }
.expertise::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(#7d97bd40 .7px, transparent .7px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 72% 62% at 50% 46%, #000 8%, transparent 76%); -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 46%, #000 8%, transparent 76%); }
.showcase-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 42px; margin-bottom: 48px; }
.rail-group { display: flex; flex-direction: column; gap: 11px; }
.rail-label { font: 9px/1 'Manrope',var(--sans); letter-spacing: .16em; color: #9aa2b0; text-align: center; }
.rail-tabs { display: flex; gap: 8px; }
.showcase-rail button { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 84px; padding: 12px 14px 10px; border: 1px solid #e4e8ef; border-radius: 14px; background: #ffffffd6; color: #6d7482; font-size: 12px; line-height: 1.5; box-shadow: 0 2px 6px #2f425e08; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s, color .25s; }
.showcase-rail button > span { font-size: 15px; line-height: 1; color: #8ba6cc; transition: color .25s; }
.showcase-rail button small { font: 9px/1 'Manrope',var(--sans); letter-spacing: .05em; color: #a7aeba; transition: color .25s; }
.showcase-rail button:hover { transform: translateY(-2px); border-color: #ccd8ea; box-shadow: 0 8px 18px #2f425e14; }
.showcase-rail button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px #0071e32e; }
.showcase-rail button[aria-selected="true"] > span,.showcase-rail button[aria-selected="true"] small { color: #ffffffc7; }
.showcase-stage { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.device-deck { position: relative; height: 430px; }
.device { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(18px) scale(.94); transition: opacity .5s, transform .5s; pointer-events: none; }
.device.is-active { opacity: 1; transform: none; }
.device .screen { background: #fff; border: 1px solid #e1e5ec; box-shadow: 0 30px 60px #24344814, 0 4px 12px #2434480a; overflow: hidden; display: flex; flex-direction: column; }
.device b,.device span,.device em { display: block; }
.device em.status { display: inline-block; font-style: normal; }
.device i { display: block; background: #e8edf4; border-radius: 3px; }
/* 桌機視窗 */
.device-desktop .screen { width: 100%; max-width: 525px; aspect-ratio: 16/10; border-radius: 14px; }
.win-bar { display: flex; align-items: center; gap: 5px; padding: 9px 13px; background: #fafbfc; border-bottom: 1px solid #eef0f4; }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #dfe3ea; }
.win-bar b { margin-left: 10px; font: 500 9px/1 'Manrope',var(--sans); color: #a2a8b4; }
.win-body { display: grid; grid-template-columns: 84px 1fr; flex: 1; min-height: 0; }
.win-nav { background: #f7f8fb; border-right: 1px solid #eef0f4; padding: 13px 10px; display: flex; flex-direction: column; gap: 9px; }
.win-nav b { height: 7px; width: 70%; border-radius: 3px; background: #c9d6e8; }
.win-nav span { height: 5px; border-radius: 3px; background: #e6eaf1; }
.win-nav span:nth-child(3) { width: 82%; background: #d7e2f2; }
.win-nav span:nth-child(5) { width: 66%; }
.win-main { padding: 13px 15px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.tile-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 3px; }
.tile-row i { height: 30px; border-radius: 7px; background: linear-gradient(140deg,#eef4fd,#dfe9f8); }
.grid-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; font-size: 9px; color: #6b7484; padding-bottom: 6px; border-bottom: 1px solid #f2f4f8; }
.grid-row.is-head { color: #a2a8b4; border-bottom-color: #e8ebf1; }
.win-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; font-size: 9px; color: #97a0b0; }
.win-foot i { width: 72px; height: 6px; background: #d9e3f1; }
/* 手機 */
.device-phone .screen { height: 400px; width: auto; aspect-ratio: 9/18.6; border-radius: 26px; padding: 8px 9px 9px; gap: 7px; }
.phone-bar { display: flex; justify-content: center; padding-bottom: 2px; }
.phone-bar i { width: 46px; height: 4px; border-radius: 3px; background: #e4e8ef; }
.phone-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 2px 6px; border-bottom: 1px solid #f1f3f7; }
.phone-head b { font-size: 10px; font-weight: 600; color: #4a525f; }
.notice { display: flex; gap: 8px; padding: 9px; border-radius: 11px; background: #f6f9fd; border: 1px solid #eaf0f8; }
.notice > i { width: 7px; height: 7px; border-radius: 50%; margin-top: 3px; background: #5b9bea; flex: none; }
.notice > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.notice b { font-size: 9px; font-weight: 500; color: #57616f; }
.notice span { height: 4px; border-radius: 3px; background: #e3eaf3; }
.notice span.short { width: 54%; }
.notice.is-quiet { background: #fafbfd; }
.notice.is-quiet > i { background: #9fc7a9; }
.phone-foot { display: flex; justify-content: space-around; gap: 10px; margin-top: auto; padding-top: 8px; border-top: 1px solid #f1f3f7; }
.phone-foot span { width: 18px; height: 5px; border-radius: 3px; background: #e6eaf1; }
.phone-foot span:first-child { background: #c2d7f0; }
/* 行動終端 PDA */
.device-handheld .screen { height: 378px; width: auto; aspect-ratio: 9/16.4; border-radius: 15px; padding: 9px 10px 10px; gap: 7px; border-color: #c8d1de; box-shadow: 0 0 0 9px #e4e9f1, 0 0 0 10px #cdd6e3, 0 26px 50px #24344822; }
.device-handheld .phone-bar { padding-bottom: 4px; }
.device-handheld .phone-bar i { width: 52px; height: 8px; border-radius: 4px; background: linear-gradient(180deg,#59636f,#3f4854); box-shadow: inset 0 1px 0 #ffffff2e; }
.pda-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 2px 6px; border-bottom: 1px solid #f1f3f7; }
.pda-head b { font-size: 10px; font-weight: 600; color: #4a525f; }
.barcode { display: flex; align-items: stretch; gap: 2px; height: 42px; padding: 7px 9px; border-radius: 9px; background: #f7f9fc; border: 1px solid #eaeff6; }
.barcode i { flex: 1; border-radius: 0; background: #5d6a7d; }
.barcode i:nth-child(2n) { flex: .5; background: #97a3b4; }
.barcode i:nth-child(3n) { flex: 1.6; }
.pda-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 9px; color: #98a1ae; }
.pda-row b { font: 600 12px/1.4 'Manrope',var(--sans); color: #3a4658; }
.pda-key { margin-top: auto; text-align: center; padding: 9px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 10px; }
/* 平板 · 送貨單辨識 */
.device-tablet .screen { width: 100%; max-width: 452px; aspect-ratio: 4/3; border-radius: 20px; padding: 11px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 11px; }
.ocr-view { position: relative; border-radius: 13px; background: linear-gradient(155deg,#eef2f8,#dde5f0); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ocr-view .corner { position: absolute; width: 18px; height: 18px; border: 2px solid #4f8ee0; }
.ocr-view .corner:nth-child(1) { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; }
.ocr-view .corner:nth-child(2) { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 5px 0 0; }
.ocr-view .corner:nth-child(3) { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 5px; }
.ocr-view .corner:nth-child(4) { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; }
/* 掃描線動 background-position 而非 top：只重繪，不觸發重排。視覺完全相同。 */
.scanline { position: absolute; left: 8%; right: 8%; top: 0; bottom: 0; background: linear-gradient(90deg,transparent,#4f8ee0,transparent) no-repeat; background-size: 100% 2px; animation: sweep 2.8s ease-in-out infinite; }
.device:not(.is-active) .scanline { animation: none; }
@keyframes sweep { 0%,100% { background-position: 0 20%; } 50% { background-position: 0 78%; } }
.doc { width: 62%; padding: 13px 12px; border-radius: 6px; background: #fff; box-shadow: 0 8px 18px #24344812; display: flex; flex-direction: column; gap: 7px; }
.doc i { height: 5px; background: #e2e8f1; }
.doc i:first-child { width: 58%; height: 7px; background: #c6d5ea; }
.doc i.short { width: 44%; }
.ocr-panel { display: flex; flex-direction: column; gap: 8px; padding: 3px 2px; }
.ocr-panel > b { font-size: 9px; font-weight: 500; color: #97a0ae; letter-spacing: .06em; }
.ocr-row { display: flex; flex-direction: column; gap: 5px; padding: 8px 9px; border-radius: 8px; background: #f6f9fd; border: 1px solid #eaf0f8; }
.ocr-row span { font-size: 9px; color: #8d97a6; }
.ocr-row i { height: 6px; width: 76%; background: #cadbf1; }
.ocr-row.is-wait i { width: 38%; background: #e6e2d3; }
.ocr-panel .status { margin-top: auto; align-self: flex-start; }
/* 手機 · 儲位地圖 */
.bin-map { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; padding: 9px; border-radius: 11px; background: #f7f9fc; border: 1px solid #eaeff6; }
.bin-map i { aspect-ratio: 1; border-radius: 4px; background: #cfdcee; }
.bin-map i.is-empty { background: #fff; border: 1px dashed #c6d2e2; }
.bin-meter { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #98a1ae; }
.bin-meter > div { flex: 1; height: 6px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.bin-meter i { width: 34%; height: 100%; border-radius: 4px; background: var(--blue); }
/* 大螢幕看板 */
.device-tv .screen { width: 100%; max-width: 545px; aspect-ratio: 16/9; border-radius: 11px; padding: 15px 17px; gap: 12px; background: linear-gradient(160deg,#fbfcfe,#f3f6fb); }
.device-tv .stand { position: absolute; left: 50%; bottom: 42px; width: 128px; height: 9px; transform: translateX(-50%); border-radius: 0 0 7px 7px; background: linear-gradient(180deg,#dbe1ea,#c8d0dc); }
.tv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-head b { font-size: 12px; font-weight: 600; color: #45505f; }
.tv-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.tv-tile { padding: 10px; border-radius: 9px; background: #fff; border: 1px solid #e8edf4; display: flex; flex-direction: column; gap: 7px; }
.tv-tile span { height: 5px; width: 62%; border-radius: 3px; background: #dde5f0; }
.tv-tile i { height: 13px; width: 78%; border-radius: 4px; background: linear-gradient(90deg,#9ec2f2,#cfdff5); }
.tv-tile:nth-child(2) i { width: 56%; }
.tv-tile:nth-child(3) i { width: 88%; }
.tv-tile:nth-child(4) i { width: 64%; }
.tv-chart { flex: 1; display: flex; align-items: flex-end; gap: 7px; padding-top: 4px; }
.tv-chart i { flex: 1; height: var(--bar); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg,#8fb8ef,#cddef5); }
/* 說明面板 */
.showcase-copy { min-width: 0; }
.showcase-crumb { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #99a1ae; }
.showcase-crumb i { font-style: normal; color: #c3c9d3; }
.showcase-platform { display: inline-block; margin: 14px 0 16px; padding: 4px 11px; border-radius: 20px; font: 500 10px/1.7 'Manrope',var(--sans); letter-spacing: .04em; color: #3062a4; background: #e9f0fa; border: 1px solid #d8e5f6; }
.showcase-copy h3 { font-size: 25px; line-height: 1.45; letter-spacing: -.03em; }
.showcase-copy > p:not(.showcase-crumb):not(.showcase-platform) { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 12px 0 22px; }
.module-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.module-chips li { padding: 6px 11px; border-radius: 6px; font-size: 10px; color: #6c7c93; background: #f4f7fbd9; border: 1px solid #e6ecf4; }
.status { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 9px; color: #527868; background: #eef6f1; }
.status.pending { color: #9b8455; background: #faf5e9; }
.status.active { color: #3a6a9e; background: #eef3fa; }
.demo-insight { display: flex; align-items: center; gap: 10px; background: #f4f7fbd9; border: 1px solid #e8eef6; padding: 12px 14px; border-radius: 9px; font-size: 10px; color: #7c8a9e; }
.demo-insight > span { font-size: 18px; }
.expertise-note { text-align: center; margin-top: 60px; }
.expertise-note strong { font-size: 15px; font-weight: 500; }
.expertise-note p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.product-showcase { position: relative; isolation: isolate; overflow: hidden; }
.product-showcase::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(#7d97bd33 .7px, transparent .7px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 76% 64% at 50% 50%, #000 6%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 76% 64% at 50% 50%, #000 6%, transparent 78%); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.product-card { overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid #e7ebf2; box-shadow: 0 2px 10px #2434480a; }
.product-copy { padding: 38px 38px 20px; }
.product-copy .product-name { font: 600 13px/1.6 'Manrope',var(--sans); color: #7d8797; margin-bottom: 12px; }
.product-copy h3 { font-size: 29px; line-height: 1.4; margin-bottom: 13px; }
.product-copy > p:not(.product-name) { color: var(--muted); font-size: 14px; max-width: 32em; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; font-size: 10px; color: #858b95; }
.product-tags span + span::before { content: '/'; margin-right: 8px; color: #c4c7ce; }
.product-preview { position: relative; height: 290px; margin: 25px 0 0; overflow: hidden; padding: 24px 28px 0; background: radial-gradient(ellipse at 50% 100%,#dce6f6,transparent 75%); }
.mini-window { height: 270px; border: 1px solid #dde3ed; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 15px 30px #29435c12; transform: perspective(1100px) rotateY(-8deg) rotateX(8deg); overflow: hidden; }
.mini-top { display: flex; justify-content: space-between; align-items: center; font-size: 9px; padding: 11px 15px; color: #6b778d; background: #f7f9fc; border-bottom: 1px solid #edf0f5; }
.mini-dots { letter-spacing: 3px; color: #c3ccda; font-size: 11px; }
.mini-body { display: grid; grid-template-columns: 80px 1fr; height: 100%; }
.mini-nav { background: #f6f8fc; padding: 17px 12px; display: flex; flex-direction: column; gap: 13px; font-size: 8px; color: #a3adbc; }
.mini-nav b { color: #547ba5; font-weight: 500; }
.mini-content { padding: 18px; }
.mini-content > p { font-size: 10px; color: #7a899e; margin-bottom: 15px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mini-kpis i { height: 38px; border-radius: 5px; background: linear-gradient(115deg,#e7eef8,#f6f8fc); }
.mini-chart { display: flex; gap: 9px; height: 95px; align-items: end; border-bottom: 1px solid #e9eef5; padding: 10px 5px 0; margin-top: 10px; }
.mini-chart i { flex: 1; height: var(--bar); border-radius: 3px 3px 0 0; background: linear-gradient(#a7c6ec,#e5effa); }
.product-card-warehouse .product-preview { background: radial-gradient(ellipse at 50% 100%,#dde6ed,transparent 75%); }
.product-card-warehouse .mini-window { transform: perspective(1100px) rotateY(8deg) rotateX(8deg); margin-right: 45px; }
.mini-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mini-apps span { border: 1px solid #e5eaf2; border-radius: 7px; padding: 12px; font-size: 8px; color: #8290a4; background: #fafcfe; }
.mini-apps span::before { content: '▧'; display: block; color: #91acc8; font-size: 16px; margin-bottom: 5px; }
.mini-phone { position: absolute; width: 97px; height: 191px; right: 20px; bottom: -10px; background: #fff; border: 4px solid #626f80; border-radius: 18px; padding: 20px 8px 8px; box-shadow: 0 10px 25px #213d5926; transform: rotate(5deg); }
.mini-phone::before { content: ''; position: absolute; top: 7px; left: 35px; width: 22px; height: 4px; background: #58667a; border-radius: 9px; }
.mini-phone > p { font-size: 8px; color: #65778e; margin-bottom: 12px; }
.mini-scan { height: 60px; margin: 10px 4px; border: 1px solid #c9d6e6; border-radius: 5px; display: grid; place-items: center; }
.mini-scan i { width: 42px; height: 24px; background: repeating-linear-gradient(90deg,#91a5bd 0 2px,transparent 2px 4px,#91a5bd 4px 5px,transparent 5px 8px); }
.mini-phone > span { display: block; height: 8px; background: #eaf0f7; border-radius: 3px; margin: 7px 3px; }
.preview-note { color: #898d95; font-size: 11px; text-align: center; margin-top: 26px; }
.product-cta { display: inline-flex; font-size: 12px; color: var(--blue); gap: 10px; margin-top: 18px; }
.process { position: relative; isolation: isolate; }
.about { position: relative; isolation: isolate; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.about-mark { min-height: 430px; position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg,#e5eaf0,#eff2f7); padding: 38px; }
.about-mark > span { font: 700 62px/1.3 'Manrope',sans-serif; letter-spacing: -4px; color: #3f5269; }
.about-mark > p { color: #7e8b9d; font-size: 14px; margin-top: 12px; }
.about-mark > small { position: absolute; bottom: 25px; font-size: 10px; color: #7a8b9e; }
.brand-landscape { position: absolute; width: 270px; height: 240px; right: -30px; bottom: -35px; transform: rotate(-28deg) skewX(20deg); }
.brand-landscape i { position: absolute; inset: 0; border: 1px solid #fff; border-radius: 22px; background: linear-gradient(130deg,#e4f0ffbb,#92b7e580); box-shadow: 0 20px 30px #7693bc20; }
.brand-landscape i:nth-child(2) { transform: translate(-20px,30px); }
.brand-landscape i:nth-child(3) { transform: translate(-40px,60px); }
.brand-landscape i:nth-child(4) { transform: translate(-60px,90px); }
.about-copy h2 { font-size: 39px; }
.about-copy > p:not(.section-kicker) { font-size: 14px; color: var(--muted); margin-top: 23px; }
.other-business { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.other-business > span { width: 100%; color: #929299; font-size: 11px; }
.other-business a { color: var(--blue); }
.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: start; }
.contact h2 { font-size: 52px; }
.contact-copy > p:not(.section-kicker) { font-size: 15px; color: var(--muted); margin-top: 25px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; font: 500 clamp(16px,1.8vw,24px)/1.7 'Manrope',sans-serif; border-bottom: 1px solid var(--line); margin-top: 35px; padding: 20px 0; }
.contact-line { display: flex; flex-wrap: wrap; gap: 15px; font-size: 12px; margin-top: 22px; }
.contact-line > span { color: var(--muted); }
.contact-line a { color: var(--blue); }
.contact-form { background: #fffffff2; border: 1px solid #e7eaf0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 35px; border-radius: 24px; }
.contact-form h3 { font-size: 21px; }
.form-note { color: var(--muted); font-size: 11px; margin: 7px 0 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; color: #505056; margin-bottom: 7px; }
.form-group label span { font-size: 10px; margin-left: 6px; color: #8d8d94; }
.form-group input,.form-group select,.form-group textarea { width: 100%; min-width: 0; display: block; padding: 12px; border: 1px solid #d4d4db; border-radius: 10px; background: white; color: var(--ink); font-size: 13px; }
.form-group input::placeholder,.form-group textarea::placeholder { color: #9999a2; }
.form-group textarea { resize: vertical; }
.contact-form .button { width: 100%; }
#form-status { margin-top: 15px; color: #3a6192; font-size: 12px; }
#form-status:empty { display: none; }
footer { background: #ffffff8f; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid #e6e9ef; padding: 35px 0 23px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 25px; }
.footer-top > p,.footer-top > a:last-child { font-size: 11px; color: var(--muted); }
.footer-bottom { display: flex; gap: 25px; font-size: 10px; color: #8b8b92; border-top: 1px solid var(--line); padding-top: 20px; }
.footer-bottom > span:last-child { margin-left: auto; }
/* ===== 連續感：整頁共用一層會隨捲動漂移的光場，取代一段一段的區塊底色 ===== */
.page-canvas {
  position: fixed; inset: -14% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 22% at 16% 8%, #c7dbffa3 0, transparent 64%),
    radial-gradient(ellipse 30% 20% at 88% 22%, #ddd4f799 0, transparent 64%),
    radial-gradient(ellipse 36% 22% at 24% 44%, #c7e4f799 0, transparent 64%),
    radial-gradient(ellipse 32% 20% at 84% 60%, #d5e2ff9c 0, transparent 64%),
    radial-gradient(ellipse 34% 22% at 34% 78%, #dbd8f68a 0, transparent 64%),
    radial-gradient(ellipse 30% 20% at 78% 94%, #cfe1f78a 0, transparent 64%);
  transform: translate3d(0, calc(var(--scroll-progress, 0) * -13%), 0);
  will-change: transform;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 40; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, #0071e3, #7db1f2); border-radius: 0 3px 3px 0; box-shadow: 0 0 14px #0071e359;
}
/* ===== 進場：捲到哪裡，哪裡才醒過來。此清單與 index.js 的 REVEAL 常數必須一致。 ===== */
.has-js .section-heading > *,
.has-js .intro-statement .container > *,
.has-js .service-card,
.has-js .product-card,
.has-js .preview-note,
.has-js .showcase-rail,
.has-js .showcase-stage,
.has-js .expertise-note,
.has-js .process-intro > *,
.has-js .process-step,
.has-js .about-mark,
.has-js .about-copy,
.has-js .contact-copy,
.has-js .contact-form {
  opacity: var(--reveal-o, 0);
  transform: translateY(var(--reveal-y, 26px));
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
/* 以自訂屬性切換，避免和上面那串長選擇器比權重 */
.is-in { --reveal-o: 1; --reveal-y: 0px; }
/* ===== 首屏隨捲動退場，與下一段銜接而不是硬切 ===== */
.hero-copy { transform: translate3d(0, calc(var(--hero-p, 0) * 46px), 0); opacity: calc(1 - var(--hero-p, 0) * .62); }
/* ===== 導覽：目前在哪一段，看得出來 ===== */
/* ===== 卡片：游標所在處泛起一圈光 ===== */
.service-card,.product-card { position: relative; isolation: isolate; transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s; }
.service-card::after,.product-card::after {
  content: ''; position: absolute; z-index: -1; width: 320px; height: 320px; left: 0; top: 0;
  transform: translate3d(calc(var(--mx, 0px) - 160px), calc(var(--my, 0px) - 160px), 0); border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(circle, #0071e314 0, transparent 68%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover,.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px #2434481c; }
.service-card:hover::after,.product-card:hover::after { opacity: 1; }
/* ===== 合作方式：標題釘住，四個階段隨捲動逐一亮起 ===== */
.process-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.process-intro { position: sticky; top: 118px; }
.process-intro h2 { font-size: clamp(32px, 3.4vw, 46px); margin-top: 4px; }
.process-lead { font-size: 14px; line-height: 1.95; color: var(--muted); margin: 22px 0 28px; }
.process-grid { position: relative; display: flex; flex-direction: column; list-style: none; margin: 0; padding: 6px 0 0 40px; }
.process-step { position: relative; padding-bottom: 150px; }
.process-step::after { content: ''; position: absolute; left: -30px; top: 23px; bottom: -7px; width: 2px; border-radius: 2px; background: linear-gradient(#0071e3, #8cbaf3) no-repeat, #e1e6ee; background-size: 100% 0%; transition: background-size .9s cubic-bezier(.22,.61,.36,1); }
.process-step:last-child::after { display: none; }
.process-step.is-on::after { background-size: 100% 100%; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before { content: ''; position: absolute; left: -36px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #dde3ec; transition: border-color .55s, box-shadow .55s; }
.process-step.is-on::before { border-color: var(--blue); box-shadow: 0 0 0 5px #0071e31c; }
.process-step > span { color: #9d9fa6; font: 12px/1.8 'Manrope',var(--sans); letter-spacing: .04em; transition: color .55s; }
.process-step.is-on > span { color: #5d87c0; }
.process-step h3 { font-size: 21px; margin: 9px 0 12px; transition: color .55s; }
.process-step.is-on h3 { color: #17457e; }
.process-step p { font-size: 13.5px; color: var(--muted); line-height: 1.95; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .service-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .service-card { padding: 32px; }
  .service-card svg { margin-bottom: 30px; }
  .about-grid,.contact-grid { gap: 45px; }
  .product-copy { padding: 30px 28px 15px; }
  .product-copy h3 { font-size: 26px; }
}
@media (max-width: 850px) {
  .section { padding: 90px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 44px; }
  .section-heading > p { max-width: none; }
  .hero-layout { padding-top: 55px; padding-bottom: 40px; }
  .scroll-cue { display: none; }
  .showcase-stage { grid-template-columns: 1fr; gap: 34px; }
  .showcase-copy { max-width: 560px; margin: 0 auto; }
  .device-deck { height: 360px; }
  .device-phone .screen { height: 338px; }
  .device-handheld .screen { height: 328px; }
  .device-tv .stand { bottom: 34px; }
  .process-layout { grid-template-columns: 1fr; gap: 34px; }
  .process-intro { position: static; }
  .process-lead { margin: 18px 0 20px; }
  .process-step { padding-bottom: 64px; }
  .product-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-copy { padding: 35px 40px 10px; }
  .product-preview { height: 330px; padding: 25px 50px 0; }
  .mini-window { height: 340px; }
  .mini-body { grid-template-columns: 110px 1fr; }
  .mini-nav { font-size: 10px; }
  .mini-phone { right: 45px; width: 125px; height: 230px; }
  .mini-phone::before { left: 45px; }
  .mini-scan { height: 85px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { max-width: 550px; }
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 35px; }
  .about-copy h2 { font-size: 32px; }
  .about-mark { padding: 28px; }
  .about-mark > span { font-size: 46px; letter-spacing: -3px; }
  .nav-menu { gap: 22px; }
  .footer-top > p { display: none; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 82px; }
  .container { width: calc(100% - 40px); }
  .nav-container { height: 64px; }
  .brand img { width: 30px; height: 30px; }
  .brand > span { font-size: 16px; }
  .brand small { font-size: 8px; }
  .hamburger { width: 40px; height: 40px; background: transparent; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .hamburger span { width: 18px; height: 1.5px; border-radius: 2px; background: #333; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
  .hamburger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .navbar.is-stuck { padding: 8px 0; }
  .navbar.is-stuck .nav-container { width: calc(100% - 24px); height: 56px; padding: 0 9px 0 16px; }
  .nav-menu::before { display: none; }
  .nav-menu { display: none; position: absolute; left: 10px; right: 10px; top: calc(100% + 2px); padding: 13px; border-radius: 22px; background: #ffffffe6; backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%); border: 1px solid #ffffffe0; box-shadow: 0 18px 46px #1e2f4a26; }
  .nav-menu.active { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-menu.active li { animation: menu-in .42s cubic-bezier(.22,.61,.36,1) backwards; }
  .nav-menu.active li:nth-child(2) { animation-delay: 45ms; }
  .nav-menu.active li:nth-child(3) { animation-delay: 90ms; }
  .nav-menu.active li:nth-child(4) { animation-delay: 135ms; }
  .nav-menu.active li:nth-child(5) { animation-delay: 180ms; }
  .nav-menu a { display: flex; padding: 12px 16px; border-radius: 12px; }
  .nav-menu a:not(.nav-cta):hover { background: #0071e30f; }
  .nav-menu .nav-cta { justify-content: space-between; margin-top: 4px; }
  .hero-layout { padding: 42px 0 25px; }
  .hero-intro { font-size: 13px; margin-bottom: 20px; }
  h1 { font-size: clamp(40px,12vw,65px); line-height: 1.18; }
  .hero-description { font-size: 13px; margin-top: 24px; line-height: 1.95; }
  .hero-actions { gap: 20px; margin-top: 23px; }
  .button { font-size: 12px; padding: 12px 20px; }
  .text-link { font-size: 12px; gap: 7px; }
  .intro-statement { padding: 80px 0; }
  .intro-statement .container > p:first-child { font-size: 13px; }
  .intro-statement h2 { font-size: 36px; }
  .statement-body { font-size: 13px; }
  h2 { font-size: 35px; }
  .section { padding: 70px 0; }
  .section-kicker { font-size: 12px; margin-bottom: 15px; }
  .section-heading { margin-bottom: 35px; gap: 18px; }
  .section-heading > p { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px; border-radius: 22px; }
  .service-card svg { margin-bottom: 25px; }
  .service-card h3 { font-size: 23px; }
  .service-card > p { font-size: 14px; }
  .service-card ul { margin: 18px 0 23px; font-size: 11px; }
  .showcase-rail { gap: 14px 18px; margin-bottom: 30px; }
  .rail-tabs { gap: 5px; }
  .showcase-rail button { min-width: 0; flex: 1; padding: 9px 7px 8px; font-size: 10px; border-radius: 11px; }
  .showcase-rail button > span { font-size: 13px; }
  .showcase-rail button small { font-size: 8px; }
  .device-deck { height: 300px; }
  .device-desktop .screen,.device-tv .screen { max-width: 100%; }
  .device-tablet .screen { max-width: 100%; padding: 8px; gap: 8px; border-radius: 15px; }
  .device-phone .screen { height: 282px; border-radius: 19px; }
  .device-handheld .screen { height: 274px; }
  .device-tv .stand { bottom: 26px; width: 96px; }
  .win-body { grid-template-columns: 62px 1fr; }
  .win-main { padding: 10px 11px; }
  .grid-row { font-size: 8px; gap: 5px; }
  .tv-head b { font-size: 10px; }
  .tv-grid { gap: 6px; }
  .tv-tile { padding: 7px; }
  .showcase-copy h3 { font-size: 20px; }
  .showcase-copy > p:not(.showcase-crumb):not(.showcase-platform) { font-size: 12px; margin: 10px 0 18px; }
  .module-chips { gap: 5px; margin-bottom: 16px; }
  .module-chips li { font-size: 9px; padding: 5px 8px; }
  .status { padding: 2px 5px; font-size: 8px; }
  .demo-insight { padding: 10px; font-size: 9px; }
  .expertise-note { margin-top: 38px; }
  .expertise-note strong { font-size: 12px; }
  .expertise-note p { font-size: 11px; }
  .product-copy { padding: 28px 26px 5px; }
  .product-copy h3 { font-size: 26px; }
  .product-copy > p:not(.product-name) { font-size: 13px; }
  .product-preview { padding: 20px 18px 0; height: 260px; }
  .mini-window { height: 270px; }
  .mini-body { grid-template-columns: 67px 1fr; }
  .mini-nav { font-size: 7px; padding: 15px 9px; }
  .mini-content { padding: 14px 10px; }
  .mini-phone { width: 85px; height: 171px; right: 13px; border-width: 3px; }
  .mini-phone::before { left: 28px; }
  .mini-scan { height: 47px; }
  .mini-apps { gap: 5px; }
  .mini-apps span { font-size: 7px; padding: 8px; }
  .product-card-warehouse .mini-window { margin-right: 25px; }
  .process-grid { padding-left: 30px; }
  .process-grid::before,.process-grid::after { left: 7px; }
  .process-step { padding-bottom: 48px; }
  .process-step::before { left: -28px; width: 12px; height: 12px; }
  .process-step h3 { font-size: 17px; margin: 7px 0 10px; }
  .process-step p { font-size: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-mark { min-height: 300px; }
  .about-mark > span { font-size: 55px; }
  .about-copy h2 { font-size: 35px; }
  .about-copy > p:not(.section-kicker) { font-size: 13px; }
  .contact h2 { font-size: 40px; }
  .contact-copy > p:not(.section-kicker) { font-size: 13px; }
  .contact-email { margin-top: 22px; font-size: 18px; }
  .contact-form { padding: 26px 22px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group input,.form-group select,.form-group textarea { font-size: 16px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 20px; }
  .footer-bottom > span:last-child { margin-left: 0; width: 100%; }
}
/* Product comprehension and a complete, local-only sample workflow. */
.intro-statement { padding-top: 65px; padding-bottom: 65px; }
.showcase-summary > p:not(.showcase-crumb):not(.showcase-platform) { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 12px 0 22px; }
.module-contact { margin-top: 23px; font-size: 14px; }
.showcase-rail button { font-size: 13px; min-height: 74px; }
.showcase-rail button small { font-size: 11px; }
.hero-intro i { animation: none; }
.ocr-demo { background: #f5f8fd; border: 1px solid #dce7f5; border-radius: 17px; padding: 22px; margin-top: 24px; }
.ocr-demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ocr-demo-heading h4 { font-size: 15px; font-weight: 600; margin: 0; }
.ocr-demo-heading > span { font-size: 10px; color: #637b9c; white-space: nowrap; }
.ocr-demo-note { color: #65748a; font-size: 12px; line-height: 1.8; margin: 9px 0 16px; }
.sample-document { background: #fff; border: 1px solid #e1e6ee; border-radius: 9px; padding: 15px; margin-bottom: 18px; }
.sample-document > span { font-size: 12px; font-weight: 600; }
.sample-document dl { margin: 9px 0 0; font-size: 12px; }
.sample-document dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.sample-document dt { color: #76849a; }
.sample-document dd { margin: 0; color: #334c6f; }
.ocr-demo .button { font-size: 12px; padding: 10px 18px; }
.ocr-demo button:disabled { cursor: wait; opacity: .65; }
.ocr-review-intro { font-size: 12px; color: #805b28; margin-bottom: 12px; }
#ocr-review label { display: block; font-size: 12px; color: #4c5b70; margin-bottom: 7px; }
.ocr-confirm-row { display: flex; gap: 9px; }
#ocr-quantity { width: 0; flex: 1; min-width: 90px; border: 1px solid #bccce1; border-radius: 8px; padding: 9px; font-size: 16px; background: white; color: #233a59; }
#ocr-status { font-size: 12px; line-height: 1.8; color: #42658e; margin: 14px 0 0; }
.ocr-reset { border: 0; padding: 7px 0; background: none; color: var(--blue); font-size: 12px; margin-top: 7px; }
.device-tablet:not(.is-scanning) .scanline { animation: none; opacity: 0; }
.device-tablet.is-recognized .ocr-row i { width: auto; height: auto; background: none; font-size: 10px; color: #335e91; font-style: normal; }
@media (max-width: 850px) {
  .showcase-stage { gap: 22px; }
  .showcase-copy { display: contents; }
  .showcase-summary { order: 0; }
  .device-deck { order: 1; }
  .showcase-details { order: 2; }
}
@media (max-width: 640px) {
  .intro-statement { padding-top: 45px; padding-bottom: 45px; }
  .intro-statement h2 { font-size: 29px; }
  .intro-statement .statement-body { margin-top: 16px; }
  .showcase-rail { justify-content: stretch; margin-bottom: 24px; gap: 16px; }
  .rail-group { width: 100%; }
  .rail-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
  .showcase-rail button { font-size: 13px; min-height: 58px; padding: 10px 7px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .showcase-rail button small { font-size: 10px; }
  .showcase-summary h3 { font-size: 22px; }
  .showcase-summary > p:not(.showcase-crumb):not(.showcase-platform) { font-size: 14px; margin-bottom: 0; }
  .showcase-platform { margin-top: 8px; margin-bottom: 10px; }
  .module-chips li { font-size: 11px; }
  .demo-insight { font-size: 12px; }
  .ocr-demo { padding: 18px; }
  .ocr-confirm-row { flex-wrap: wrap; }
  .ocr-confirm-row .button { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  :root { --reveal-o: 1; --reveal-y: 0px; --hero-p: 0; }
  h1 .char { opacity: 1; transform: none; filter: none; }
  .page-canvas { transform: none; }
  .service-card:hover,.product-card:hover { transform: none; }
}
