/* ==========================================================
   I-PLEX.STUDIO — 1:1 零改動原版 UI 設計 + 防重疊 Flex 文字層
   - 底圖：OpenCV 筆劃級去字原圖板（無直角黑邊、100% 保留光暈水花）
   - 排版：區塊內 Flex Stack（數學上杜絕標題／副標重疊）
   - 比例：CSS Container Query (cqw) 鎖定原位
   ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #000000;
  color: #ffffff;
  font-family: "Noto Sans TC", "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Plate Container (Desktop 16:9 / Mobile 2:3) */
.plate-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000000;
  overflow: hidden;
}

.plate-desktop {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  container-type: inline-size;
  display: block;
}

.plate-mobile {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  container-type: inline-size;
  display: none;
}

@media (max-width: 767.98px) {
  .plate-desktop {
    display: none;
  }

  .plate-mobile {
    display: block;
  }
}

.plate-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Text Layer Primitives */
.tx {
  position: absolute;
  margin: 0;
  padding: 0;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.tx-stack {
  display: flex;
  flex-direction: column;
}

.tx-stack--center {
  left: 0;
  right: 0;
  align-items: center;
  text-align: center;
}

.tx-stack h1,
.tx-stack h2,
.tx-stack h3,
.tx-stack p {
  margin: 0;
  padding: 0;
}

.tx-center {
  left: 0;
  right: 0;
  text-align: center;
}

.tx-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.orange {
  color: #ff7b00;
}

.slant {
  display: inline-block;
  transform: skewX(-7deg);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.wordmark .plex {
  font-weight: 900;
  color: #ffffff;
}

.wordmark .dot {
  color: #ff7b00;
  font-weight: 900;
  margin: 0 0.08em;
}

.wordmark .studio {
  font-weight: 400;
  color: #eceff4;
  letter-spacing: 0.09em;
}

/* Interactive Click Areas */
.btn-hit {
  cursor: pointer;
  border-radius: 999px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-hit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-hit:active {
  transform: scale(0.97);
}

.btn-hit:focus-visible,
.link-hit:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.link-hit {
  transition: color 0.18s ease;
}

.link-hit:hover {
  color: #ff9426;
}

.card-hit {
  cursor: pointer;
  border-radius: 1.1cqw;
  transition: background-color 0.2s ease;
}

.card-hit:hover {
  background-color: rgba(255, 136, 0, 0.06);
}

/* Menu Drawer */
.menu-hotspot {
  position: absolute;
  z-index: 15;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  z-index: 100;
  background: rgba(8, 8, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255, 123, 0, 0.35);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.menu-drawer.is-open {
  transform: translateX(0);
}

.menu-drawer__close {
  align-self: flex-end;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.menu-drawer a {
  font-size: 18px;
  font-weight: 600;
  color: #f3f4f6;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.18s ease;
}

.menu-drawer a:hover {
  color: #ff8c1a;
}

/* ==========================================================
   DESKTOP (16:9) — FLEX-STACK ANTI-OVERLAP + 1:1 ALIGNMENT
   ========================================================== */

/* 01 HERO */
.d-hero-wordmark {
  left: 14.1%;
  top: 9.6%;
  font-size: 2.38cqw;
}

.d-hero-menu {
  left: 92.5%;
  top: 5.5%;
  width: 4.5%;
  height: 7.5%;
}

.d-hero-stack {
  left: 5.75%;
  top: 23.4%;
  gap: 1.8cqw;
}

.d-hero-h1 {
  font-size: 6.15cqw;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.d-hero-h1 span {
  display: block;
}

.d-hero-sub {
  font-size: 1.92cqw;
  font-weight: 400;
  line-height: 1.48;
  color: #e8eaef;
  letter-spacing: 0.02em;
}

.d-hero-btn {
  left: 5.76%;
  top: 78.27%;
  width: 24.58%;
  height: 10.25%;
  font-size: 1.98cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  gap: 0.55cqw;
}

/* 02 SERVICE A */
.d-sva-pill {
  left: 5.87%;
  top: 14.8%;
  width: 14.6%;
  height: 3.2%;
  font-size: 1.06cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.d-sva-stack {
  left: 5.75%;
  top: 19.2%;
  gap: 0.9cqw;
}

.d-sva-h2 {
  font-size: 5.85cqw;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.d-sva-sub {
  font-size: 2.34cqw;
  font-weight: 400;
  line-height: 1.25;
  color: #eef0f4;
  letter-spacing: 0.03em;
}

.d-sva-before {
  left: 6.15%;
  top: 40.9%;
  width: 6.8%;
  height: 3.9%;
  font-size: 1.24cqw;
  font-weight: 600;
  color: #ffffff;
}

.d-sva-after {
  left: 31.7%;
  top: 40.9%;
  width: 6.0%;
  height: 3.9%;
  font-size: 1.24cqw;
  font-weight: 600;
  color: #ffffff;
}

.d-sva-f1 { left: 9.9%; top: 74.9%; font-size: 1.26cqw; line-height: 1.4; color: #f3f4f6; }
.d-sva-f2 { left: 24.0%; top: 74.9%; font-size: 1.26cqw; line-height: 1.4; color: #f3f4f6; }
.d-sva-f3 { left: 41.3%; top: 74.9%; font-size: 1.26cqw; line-height: 1.4; color: #f3f4f6; }

.d-sva-btn {
  left: 5.80%;
  top: 84.63%;
  width: 19.72%;
  height: 7.96%;
  font-size: 1.66cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  gap: 0.45cqw;
}

/* 03 SERVICE B */
.d-svb-stack {
  top: 6.2%;
  gap: 1.0cqw;
}

.d-svb-h2 {
  font-size: 4.95cqw;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.d-svb-sub {
  font-size: 2.24cqw;
  font-weight: 400;
  line-height: 1.25;
  color: #eef0f4;
  letter-spacing: 0.04em;
}

.d-svb-b1 { left: 6.85%; top: 34.4%; width: 10.6%; height: 5.5%; font-size: 1.66cqw; font-weight: 700; color: #ffffff; }
.d-svb-b2 { left: 53.85%; top: 34.4%; width: 9.5%; height: 5.5%; font-size: 1.66cqw; font-weight: 700; color: #ffffff; }

.d-svb-f1 { left: 21.7%; top: 78.1%; font-size: 1.92cqw; font-weight: 600; color: #f3f4f6; }
.d-svb-f2 { left: 48.6%; top: 78.1%; font-size: 1.92cqw; font-weight: 600; color: #f3f4f6; }
.d-svb-f3 { left: 74.9%; top: 78.1%; font-size: 1.92cqw; font-weight: 600; color: #f3f4f6; }

.d-svb-btn {
  left: 36.56%;
  top: 86.30%;
  width: 26.84%;
  height: 9.88%;
  font-size: 2.15cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  gap: 0.5cqw;
}

/* 04 BEFORE / AFTER */
.d-ba-stack {
  top: 11.2%;
  gap: 0.9cqw;
}

.d-ba-h2 {
  font-size: 5.5cqw;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.d-ba-sub {
  font-size: 2.42cqw;
  font-weight: 400;
  line-height: 1.25;
  color: #e8eaee;
  letter-spacing: 0.08em;
}

.d-ba-b1 { left: 6.65%; top: 32.0%; width: 11.2%; height: 6.4%; font-size: 1.88cqw; font-weight: 600; color: #ffffff; }
.d-ba-b2 { left: 53.85%; top: 32.0%; width: 9.7%; height: 6.4%; font-size: 1.88cqw; font-weight: 600; color: #ffffff; }

.d-ba-f1 { left: 26.9%; top: 75.5%; }
.d-ba-f2 { left: 49.7%; top: 75.5%; }
.d-ba-f3 { left: 72.3%; top: 75.5%; }

.d-ba-ftitle { font-size: 1.66cqw; font-weight: 700; color: #ffffff; line-height: 1.3; }
.d-ba-fsub { font-size: 1.2cqw; font-weight: 400; color: #d1d5db; line-height: 1.4; }

.d-ba-btn {
  left: 36.15%;
  top: 85.93%;
  width: 27.53%;
  height: 9.57%;
  font-size: 2.08cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  gap: 0.5cqw;
}

/* 05 PORTFOLIO */
.d-pf-stack {
  top: 14.8%;
  gap: 1.05cqw;
}

.d-pf-h2 {
  font-size: 4.85cqw;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.d-pf-sub {
  font-size: 2.28cqw;
  font-weight: 500;
  line-height: 1.25;
  color: #f1f3f6;
  letter-spacing: 0.06em;
}

.d-pf-card {
  top: 34.4%;
  width: 22.35%;
  height: 37.5%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.45cqw 1.65cqw;
}

.d-pf-card-1 { left: 3.3%; }
.d-pf-card-2 { left: 26.95%; }
.d-pf-card-3 { left: 50.6%; }
.d-pf-card-4 { left: 74.3%; }

.d-pf-ctitle { font-size: 1.62cqw; font-weight: 800; color: #ffffff; line-height: 1.3; }
.d-pf-cdesc { font-size: 1.08cqw; font-weight: 400; color: #d4d8df; line-height: 1.45; margin-top: 0.18cqw; }

.d-pf-f1 { left: 22.1%; top: 77.3%; font-size: 1.72cqw; font-weight: 600; color: #f3f4f6; }
.d-pf-f2 { left: 46.4%; top: 77.3%; font-size: 1.72cqw; font-weight: 600; color: #f3f4f6; }
.d-pf-f3 { left: 72.0%; top: 77.3%; font-size: 1.72cqw; font-weight: 600; color: #f3f4f6; }

.d-pf-btn {
  left: 39.2%;
  top: 86.0%;
  width: 21.6%;
  height: 8.2%;
  font-size: 1.62cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  gap: 0.45cqw;
}

/* 06 PRODUCTION PROCESS */
.d-pr-stack {
  top: 18.0%;
  gap: 0.7cqw;
}

.d-pr-h2 {
  font-size: 4.95cqw;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.d-pr-sub {
  font-size: 1.94cqw;
  font-weight: 500;
  line-height: 1.25;
  color: #e8eaef;
  letter-spacing: 0.04em;
}

.d-pr-col { width: 20.4%; transform: translateX(-50%); text-align: center; }
.d-pr-c1 { left: 15.28%; }
.d-pr-c2 { left: 38.54%; }
.d-pr-c3 { left: 61.63%; }
.d-pr-c4 { left: 84.72%; }

.d-pr-num { top: 42.9%; height: 6.2%; font-size: 2.38cqw; font-weight: 700; color: #ff851b; }
.d-pr-ctitle { top: 53.3%; font-size: 2.08cqw; font-weight: 800; color: #ffffff; letter-spacing: 0.02em; }
.d-pr-cdesc { top: 62.0%; font-size: 1.36cqw; font-weight: 400; line-height: 1.56; color: #c9cdd6; }

.d-pr-hl1 { left: 22.7%; top: 77.2%; }
.d-pr-hl2 { left: 51.9%; top: 77.2%; }
.d-pr-hl3 { left: 81.1%; top: 77.2%; }

.d-pr-htitle { font-size: 1.56cqw; font-weight: 700; color: #ffffff; line-height: 1.3; }
.d-pr-hsub { font-size: 1.04cqw; font-weight: 400; color: #9ca3af; line-height: 1.4; }

.d-pr-btn {
  left: 32.67%;
  top: 87.72%;
  width: 34.62%;
  height: 7.59%;
  font-size: 1.74cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

/* 07 WHATSAPP & FOOTER */
.d-ct-stack {
  left: 6.9%;
  top: 16.5%;
  gap: 1.2cqw;
}

.d-ct-h2 {
  padding-left: 4.8cqw;
  font-size: 5.85cqw;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.d-ct-sub {
  font-size: 2.4cqw;
  font-weight: 400;
  line-height: 1.25;
  color: #eef0f4;
  letter-spacing: 0.02em;
}

.d-ct-chk1 { left: 11.6%; top: 37.9%; font-size: 1.78cqw; font-weight: 600; color: #ffffff; }
.d-ct-chk2 { left: 26.0%; top: 37.9%; font-size: 1.78cqw; font-weight: 600; color: #ffffff; }
.d-ct-chk3 { left: 40.4%; top: 37.9%; font-size: 1.78cqw; font-weight: 600; color: #ffffff; }

.d-ct-wa { top: 45.6%; width: 24.4%; height: 16.5%; border-radius: 3.5cqw; }
.d-ct-wa-a { left: 5.8%; }
.d-ct-wa-b { left: 31.6%; }

.d-ct-wa-txt {
  position: absolute;
  left: 33%;
  top: 18%;
  width: 50%;
  font-size: 1.64cqw;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  text-align: left;
  letter-spacing: 0.02em;
}

.d-ct-wa-tag {
  position: absolute;
  left: 34%;
  top: 76.5%;
  width: 32%;
  height: 21%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.42cqw;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.d-ft-wordmark { left: 9.0%; top: 74.3%; font-size: 1.85cqw; }
.d-ft-tagline { left: 11.9%; top: 81.4%; font-size: 1.02cqw; color: #d1d5db; letter-spacing: 0.06em; }

.d-ft-col1 { left: 33.6%; top: 72.8%; display: flex; flex-direction: column; gap: 0.9cqw; font-size: 1.24cqw; color: #e5e7eb; }
.d-ft-col2 { left: 45.8%; top: 72.8%; display: flex; flex-direction: column; gap: 0.9cqw; font-size: 1.24cqw; color: #e5e7eb; }

.d-ft-right { left: 59.1%; top: 76.2%; }
.d-ft-rbrand { font-size: 1.5cqw; font-weight: 400; letter-spacing: 0.12em; color: #f3f4f6; }
.d-ft-rsub { margin-top: 0.7cqw; font-size: 1.0cqw; font-weight: 400; letter-spacing: 0.08em; color: #cbd5e1; }

/* ==========================================================
   MOBILE (2:3) — FLEX-STACK ANTI-OVERLAP + 1:1 ALIGNMENT
   Note: On 2:3 mobile plate, 100% height = 150cqw!
   ========================================================== */

/* m01 HERO */
.m-hero-wordmark { left: 21.0%; top: 5.6%; font-size: 4.9cqw; }
.m-hero-menu { left: 85%; top: 2.5%; width: 12%; height: 6%; }

.m-hero-stack {
  left: 7.2%;
  top: 13.5%;
  gap: 2.6cqw;
}

.m-hero-h1 {
  font-size: 10.6cqw;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.m-hero-h1 span {
  display: block;
}

.m-hero-sub {
  font-size: 3.55cqw;
  font-weight: 400;
  line-height: 1.44;
  color: #e8eaef;
  letter-spacing: 0.02em;
}

.m-hero-btn {
  left: 6.58%;
  top: 46.95%;
  width: 44.87%;
  height: 7.41%;
  font-size: 4.35cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  gap: 1.2cqw;
}

/* m02 SERVICE A */
.m-sva-pill { left: 7.3%; top: 8.3%; width: 30.2%; height: 3.1%; font-size: 2.55cqw; font-weight: 700; }

.m-sva-stack {
  left: 7.3%;
  top: 12.2%;
  gap: 1.5cqw;
}

.m-sva-h2 {
  font-size: 10.4cqw;
  font-weight: 900;
  line-height: 1.06;
}

.m-sva-sub {
  font-size: 3.9cqw;
  line-height: 1.25;
  color: #eef0f4;
}

.m-sva-before { left: 8.6%; top: 26.2%; width: 12.4%; height: 3.1%; font-size: 2.8cqw; font-weight: 600; }
.m-sva-after { left: 54.0%; top: 26.2%; width: 10.8%; height: 3.1%; font-size: 2.8cqw; font-weight: 600; }

.m-sva-f1 { left: 16.5%; top: 79.0%; font-size: 2.75cqw; line-height: 1.38; color: #f3f4f6; }
.m-sva-f2 { left: 45.8%; top: 79.0%; font-size: 2.75cqw; line-height: 1.38; color: #f3f4f6; }
.m-sva-f3 { left: 81.2%; top: 79.0%; font-size: 2.75cqw; line-height: 1.38; color: #f3f4f6; }

.m-sva-btn {
  left: 22.22%;
  top: 86.21%;
  width: 55.47%;
  height: 8.55%;
  font-size: 4.9cqw;
  font-weight: 700;
  gap: 1.2cqw;
}

/* m03 SERVICE B */
.m-svb-pill { left: 6.0%; top: 9.5%; width: 30.8%; height: 3.1%; font-size: 2.55cqw; font-weight: 700; }

.m-svb-stack {
  left: 6.6%;
  top: 13.0%;
  gap: 1.5cqw;
}

.m-svb-h2 {
  font-size: 8.6cqw;
  font-weight: 900;
  line-height: 1.1;
}

.m-svb-sub {
  font-size: 3.75cqw;
  line-height: 1.25;
  color: #eef0f4;
}

.m-svb-b1 { left: 5.5%; top: 30.2%; width: 14.4%; height: 3.2%; font-size: 2.8cqw; font-weight: 700; }
.m-svb-b2 { left: 54.2%; top: 30.2%; width: 12.6%; height: 3.2%; font-size: 2.8cqw; font-weight: 700; }

.m-svb-f1 { left: 15.2%; top: 80.5%; font-size: 3.2cqw; font-weight: 600; color: #f3f4f6; }
.m-svb-f2 { left: 50.0%; top: 80.5%; font-size: 3.2cqw; font-weight: 600; color: #f3f4f6; }
.m-svb-f3 { left: 79.8%; top: 80.5%; font-size: 3.2cqw; font-weight: 600; color: #f3f4f6; }

.m-svb-btn {
  left: 23.50%;
  top: 86.27%;
  width: 52.91%;
  height: 8.03%;
  font-size: 4.9cqw;
  font-weight: 700;
  gap: 1.2cqw;
}

/* m04 BEFORE / AFTER */
.m-ba-stack {
  top: 12.5%;
  gap: 1.6cqw;
}

.m-ba-h2 {
  font-size: 10.0cqw;
  font-weight: 900;
  line-height: 1.06;
}

.m-ba-sub {
  font-size: 4.25cqw;
  line-height: 1.25;
  color: #eef0f4;
  letter-spacing: 0.05em;
}

.m-ba-b1 { left: 7.4%; top: 28.4%; width: 19.0%; height: 4.2%; font-size: 3.5cqw; font-weight: 600; }
.m-ba-b2 { left: 53.6%; top: 28.4%; width: 17.6%; height: 4.2%; font-size: 3.5cqw; font-weight: 600; }

.m-ba-f1 { left: 18.2%; top: 72.0%; }
.m-ba-f2 { left: 49.0%; top: 72.0%; }
.m-ba-f3 { left: 77.6%; top: 72.0%; }
.m-ba-ftitle { font-size: 3.05cqw; font-weight: 700; color: #ffffff; line-height: 1.3; }
.m-ba-fsub { font-size: 2.3cqw; color: #d1d5db; line-height: 1.35; }

.m-ba-btn {
  left: 20.77%;
  top: 80.74%;
  width: 58.38%;
  height: 8.03%;
  font-size: 4.9cqw;
  font-weight: 700;
  gap: 1.2cqw;
}

/* m05 PORTFOLIO */
.m-pf-stack {
  top: 5.8%;
  gap: 1.4cqw;
}

.m-pf-h2 {
  font-size: 8.9cqw;
  font-weight: 900;
  line-height: 1.08;
}

.m-pf-sub {
  font-size: 3.45cqw;
  line-height: 1.25;
  color: #eef0f4;
  letter-spacing: 0.06em;
}

.m-pf-card { left: 5.5%; width: 89%; height: 13.5%; display: flex; align-items: center; padding-left: 4.2cqw; }
.m-pf-c1 { top: 23.0%; }
.m-pf-c2 { top: 38.0%; }
.m-pf-c3 { top: 52.5%; }
.m-pf-c4 { top: 67.0%; }
.m-pf-ctitle { font-size: 5.1cqw; font-weight: 800; color: #ffffff; }

.m-pf-f1 { left: 7%; top: 86.7%; width: 28%; text-align: center; font-size: 2.95cqw; font-weight: 600; }
.m-pf-f2 { left: 36%; top: 86.7%; width: 28%; text-align: center; font-size: 2.95cqw; font-weight: 600; }
.m-pf-f3 { left: 66%; top: 86.7%; width: 28%; text-align: center; font-size: 2.95cqw; font-weight: 600; }

.m-pf-btn {
  left: 21.6%;
  top: 91.4%;
  width: 56.8%;
  height: 6.4%;
  font-size: 4.3cqw;
  font-weight: 700;
  gap: 1.2cqw;
}

/* m06 PROCESS */
.m-pr-stack {
  top: 8.4%;
  gap: 1.5cqw;
}

.m-pr-h2 {
  font-size: 10.2cqw;
  font-weight: 900;
  line-height: 1.06;
}

.m-pr-sub {
  font-size: 3.4cqw;
  line-height: 1.25;
  color: #eef0f4;
  letter-spacing: 0.05em;
}

.m-pr-num { left: 8.6%; width: 9.2%; height: 6.2%; font-size: 5.0cqw; font-weight: 800; color: #ffffff; }
.m-pr-n1 { top: 24.8%; }
.m-pr-n2 { top: 40.8%; }
.m-pr-n3 { top: 57.0%; }
.m-pr-n4 { top: 73.1%; }

.m-pr-box { left: 21.2%; width: 34%; display: flex; flex-direction: column; gap: 0.9cqw; }
.m-pr-b1 { top: 24.6%; }
.m-pr-b2 { top: 40.6%; }
.m-pr-b3 { top: 56.8%; }
.m-pr-b4 { top: 72.9%; }

.m-pr-ctitle { font-size: 4.25cqw; font-weight: 800; color: #ffffff; line-height: 1.2; }
.m-pr-cdesc { font-size: 2.7cqw; color: #d1d5db; line-height: 1.42; }

.m-pr-btn {
  left: 16.58%;
  top: 86.8%;
  width: 66.8%;
  height: 7.3%;
  font-size: 4.35cqw;
  font-weight: 700;
  gap: 1.2cqw;
}

/* m07 WHATSAPP & FOOTER */
.m-ct-stack {
  left: 5.6%;
  top: 9.4%;
  gap: 1.6cqw;
}

.m-ct-h2 {
  font-size: 9.8cqw;
  font-weight: 900;
  line-height: 1.06;
}

.m-ct-sub {
  font-size: 3.7cqw;
  line-height: 1.4;
  color: #eef0f4;
}

.m-ct-chk1 { left: 12.2%; top: 25.5%; font-size: 3.35cqw; font-weight: 600; }
.m-ct-chk2 { left: 12.2%; top: 28.9%; font-size: 3.35cqw; font-weight: 600; }
.m-ct-chk3 { left: 12.2%; top: 32.1%; font-size: 3.35cqw; font-weight: 600; }

.m-ct-card { left: 4.4%; width: 91.2%; height: 15.6%; border-radius: 3.5cqw; }
.m-ct-ca { top: 40.2%; }
.m-ct-cb { top: 58.4%; }
.m-ct-cpill { position: absolute; left: 26%; top: 13%; width: 21.5%; height: 22%; display: flex; align-items: center; justify-content: center; font-size: 3.2cqw; font-weight: 800; color: #111111; }
.m-ct-cbody { position: absolute; left: 26%; top: 40%; display: flex; flex-direction: column; gap: 1.4cqw; }
.m-ct-ctitle { font-size: 5.4cqw; font-weight: 900; color: #ffffff; line-height: 1.08; }
.m-ct-csub { font-size: 3.4cqw; color: #e5e7eb; line-height: 1.2; }

.m-ft-wordmark { left: 38.8%; top: 79.4%; font-size: 4.8cqw; }
.m-ft-tagline { top: 83.8%; font-size: 2.35cqw; color: #d1d5db; letter-spacing: 0.06em; }
.m-ft-col1 { left: 12%; top: 88.2%; display: flex; flex-direction: column; gap: 2.2cqw; font-size: 3.2cqw; color: #e5e7eb; }
.m-ft-col2 { left: 41.5%; top: 88.2%; display: flex; flex-direction: column; gap: 2.2cqw; font-size: 3.2cqw; color: #e5e7eb; }
.m-ft-col3 { left: 72%; top: 88.2%; display: flex; flex-direction: column; gap: 2.2cqw; font-size: 3.2cqw; color: #e5e7eb; }

/* ==========================================================
   SERVICE B (方案 A + C):
   AdRecast 雙屏短片對比卡 + 自然響應式高度 + I-PLEX 原版黑橙美學
   - 獨立頂欄 [ 原片 | 復刻 ] 位於影片外面，零遮眼、零裁頭
   - 9:8 黃金比例完整呈現 1080x960 雙屏真片（autoplay loop muted）
   ========================================================== */
.svb-section {
  position: relative;
  width: 100%;
  padding: clamp(54px, 6.5vw, 96px) clamp(18px, 4vw, 40px);
  background: #000000;
  overflow: hidden;
}

/* 保留原版 Service B 暖橙斜光條氛圍 */
.svb-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 24% at 10% 18%, rgba(255, 118, 0, 0.24) 0%, transparent 72%),
    radial-gradient(ellipse 60% 24% at 90% 20%, rgba(255, 118, 0, 0.22) 0%, transparent 72%),
    radial-gradient(ellipse 70% 26% at 15% 86%, rgba(255, 110, 0, 0.28) 0%, transparent 72%),
    radial-gradient(ellipse 70% 26% at 85% 86%, rgba(255, 110, 0, 0.28) 0%, transparent 72%);
}

.svb-ambient::before,
.svb-ambient::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 130, 0, 0.8) 28%, rgba(255, 200, 120, 0.9) 50%, rgba(255, 130, 0, 0.8) 72%, transparent 100%);
  box-shadow: 0 0 22px 4px rgba(255, 118, 0, 0.5);
  opacity: 0.5;
}

.svb-ambient::before {
  top: 14%;
  transform: rotate(-7deg);
}

.svb-ambient::after {
  bottom: 9%;
  transform: rotate(5deg);
}

.svb-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.svb-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7400 0%, #ff951a 100%);
  color: #ffffff;
  font-size: clamp(0.8rem, 1.1vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.4);
  margin-bottom: 14px;
}

.svb-heading {
  margin: 0;
  text-align: center;
  font-size: clamp(2.15rem, 4.9vw, 4.35rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.svb-subtitle {
  margin: 12px 0 0;
  text-align: center;
  font-size: clamp(1.02rem, 1.9vw, 1.58rem);
  font-weight: 400;
  line-height: 1.35;
  color: #eef0f4;
  letter-spacing: 0.04em;
}

/* AdRecast 風格雙屏短片外框卡片 */
.adrecast-card {
  width: 100%;
  max-width: 680px;
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(10px, 1.5vw, 14px);
  border-radius: clamp(18px, 2.2vw, 24px);
  background: #111115;
  border: 1.5px solid rgba(255, 152, 62, 0.5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.72), 0 0 38px rgba(255, 118, 0, 0.18);
}

/* 獨立頂欄（完全在影片畫面之外，永不遮眼） */
.adrecast-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: clamp(10px, 1.4vw, 13px);
}

.adrecast-tab {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: clamp(9px, 1.2vw, 12px) 16px;
  background: #0a0a0d;
  color: #cfd5df;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.adrecast-tab:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.adrecast-tab.is-active {
  background: linear-gradient(90deg, #ff5719 0%, #ff7a18 100%);
  border-color: rgba(255, 168, 92, 0.65);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 102, 24, 0.48);
}

/* 9:8 黃金比例影片視窗（完整容納 1080x960 雙屏短片，零裁頭、零黑邊） */
.adrecast-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 8;
  border-radius: clamp(12px, 1.5vw, 16px);
  overflow: hidden;
  background: #050507;
  cursor: pointer;
}

.adrecast-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 單屏聚焦模式：無縫放大檢視左半（原片）或右半（復刻），同源零延遲 */
.adrecast-card[data-view="single"][data-focus="original"] .adrecast-video {
  width: 200%;
  max-width: none;
  transform: translateX(0%);
}

.adrecast-card[data-view="single"][data-focus="remake"] .adrecast-video {
  width: 200%;
  max-width: none;
  transform: translateX(-50%);
}

/* 並排模式下：點擊「原片」或「復刻」時對非選中側加極輕柔暗幕突顯焦點 */
.adrecast-veil {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.adrecast-veil--left { left: 0; }
.adrecast-veil--right { right: 0; }

.adrecast-card[data-view="split"][data-spotlight="original"] .adrecast-veil--right,
.adrecast-card[data-view="split"][data-spotlight="remake"] .adrecast-veil--left {
  opacity: 1;
}

/* 並排中心 1px 細分割線 */
.adrecast-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.2s ease;
}

.adrecast-card[data-view="single"] .adrecast-divider {
  opacity: 0;
}

/* 右下角極簡懸浮控制（不擋人臉、不擋字幕） */
.adrecast-mini-ctrls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.adrecast-viewport:hover .adrecast-mini-ctrls {
  opacity: 1;
}

.adrecast-mini-btn {
  border: 0;
  background: transparent;
  color: #f3f4f6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.adrecast-mini-btn:hover {
  background: rgba(255, 123, 0, 0.28);
  color: #ffffff;
}

/* 底部 3 項橙色圖示特色列（延續原版 Service B 風格） */
.svb-features {
  margin-top: clamp(26px, 3.2vw, 38px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.svb-feat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px clamp(16px, 2.8vw, 34px);
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 600;
  color: #f3f4f6;
}

.svb-feat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.28);
}

.svb-feat svg {
  width: clamp(26px, 2.6vw, 36px);
  height: clamp(26px, 2.6vw, 36px);
  color: #ff7b00;
  flex-shrink: 0;
}

/* 底部原版紫色發光主按鈕 ＋ 橙框次按鈕（廣告模板庫） */
.svb-cta-group {
  margin-top: clamp(24px, 2.8vw, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  width: 100%;
}

.svb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 248px;
  padding: clamp(14px, 1.5vw, 17px) 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6520ff 0%, #7f34ff 55%, #9448ff 100%);
  color: #ffffff;
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.svb-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 38px rgba(139, 92, 246, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.svb-cta--outline {
  background: rgba(14, 14, 18, 0.88);
  border: 1.5px solid rgba(255, 138, 42, 0.85);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(255, 118, 0, 0.22), inset 0 1px 0 rgba(255, 190, 120, 0.16);
}

.svb-cta--outline:hover {
  background: rgba(255, 123, 0, 0.16);
  border-color: #ff9c38;
  box-shadow: 0 10px 32px rgba(255, 123, 0, 0.42);
}

.svb-cta:active,
.adrecast-tab:active {
  transform: scale(0.97);
}

/* 2px 頂部閱讀進度細線（零佔位） */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 95;
  pointer-events: none;
  background: linear-gradient(90deg, #ff6414 0%, #ff9d3b 100%);
  box-shadow: 0 0 10px rgba(255, 123, 0, 0.75);
}

/* 鍵盤 Skip Link（平時隱藏，Tab 聚焦時顯示） */
.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 999px;
  background: #7c3aed;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 14px;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* 側邊抽屜半透明遮罩 */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* 捲過首屏後淡入嘅右下角極簡懸浮導覽小膠囊 */
.float-dock {
  position: fixed;
  right: 16px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 148, 56, 0.38);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.float-dock.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-dock__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.float-dock__btn:hover {
  background: rgba(255, 123, 0, 0.22);
  color: #ff9c38;
}

.float-dock__btn:active {
  transform: scale(0.94);
}

/* 擴大 Service B 右下角細掣隱形觸控安全區至 44px */
.adrecast-mini-btn {
  position: relative;
  min-height: 30px;
}

.adrecast-mini-btn::after {
  content: "";
  position: absolute;
  inset: -7px -6px;
}

.svb-heading,
.svb-subtitle {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* ==========================================================
   SERVICE A (圖 2): 真實產品短片播放器（像素級對齊 m02 原影片框）
   ========================================================== */
.sva-video-box {
  position: absolute;
  left: 6.67%;
  top: 49.97%;
  width: 86.58%;
  height: 23.59%;
  z-index: 6;
  border-radius: 2.7cqw;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 200, 140, 0.55);
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.2);
}

.sva-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.sva-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding: 5.5cqw 3.2cqw 2.0cqw;
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.9) 100%);
}

.sva-video-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2cqw;
}

.sva-video-left,
.sva-video-right {
  display: inline-flex;
  align-items: center;
  gap: 2.2cqw;
}

.sva-ctrl-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 0.4cqw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.15s ease;
}

.sva-ctrl-btn::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.sva-ctrl-btn:hover {
  color: #ff9c38;
}

.sva-ctrl-btn:active {
  transform: scale(0.92);
}

.sva-video-time {
  font-size: 2.7cqw;
  font-weight: 500;
  color: #f3f4f6;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.sva-progress {
  position: relative;
  width: 100%;
  height: 0.9cqw;
  min-height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  overflow: hidden;
}

.sva-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b10 0%, #ffa03b 100%);
}

/* 桌面版 Service A After 卡片可點擊開短片預覽（零改動原版排版） */
.d-sva-video-hit {
  position: absolute;
  left: 31.3%;
  top: 39.6%;
  width: 22.8%;
  height: 31.0%;
  z-index: 6;
  border: 0;
  background: transparent;
  border-radius: 1.1cqw;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-sva-play-badge {
  width: 4.0cqw;
  height: 4.0cqw;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.d-sva-video-hit:hover .d-sva-play-badge {
  transform: scale(1.08);
  background: rgba(255, 123, 0, 0.88);
}

/* 桌面版 16:9 高清短片 Lightbox */
.sva-lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sva-lightbox.is-open {
  display: flex;
}

.sva-lightbox__box {
  position: relative;
  width: min(920px, 94vw);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  border: 1.5px solid rgba(255, 148, 56, 0.6);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 118, 0, 0.22);
}

.sva-lightbox__box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sva-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 14, 0.82);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sva-lightbox__close:hover {
  border-color: #ff9c38;
  color: #ff9c38;
}

/* 尊重系統減少動態偏好（A11y） */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  .svb-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .svb-cta {
    width: min(340px, 88vw);
    min-width: 0;
  }

  .svb-features {
    gap: 6px 0;
  }

  .svb-feat {
    padding: 4px 12px;
    gap: 7px;
    font-size: 0.9rem;
  }

  .svb-feat:not(:last-child)::after {
    height: 20px;
  }
}

