/* ========================================
   📐 新增 SECTION 標準結構模板
   ======================================== 

   ⚠️ 直接複製 .about-hero 的結構(已驗證正常):

   .new-section {
     padding: clamp(96px, 12vw, 160px) clamp(24px, 6vw, 72px);
   }

   .new-section__container {
     width: min(var(--max-width), 100%);
     margin: 0 auto;
     padding: 0;
   }

   ✅ 參考範例：.about-hero, .our-business
   ❌ 不要自己創造新結構，直接複製正常工作的即可

   ======================================== */

:root {
  --color-bg: #dfdfdf;
  --color-surface: #d9d9d9;
  --color-text: #0d0d0d;
  --text-dark: #0d0d0d;
  --color-accent: #111357;
  --color-border: #000000;
  --color-primary: #000000;
  --color-primary-contrast: #ffffff;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-inset: inset 0 4px 4px rgba(255, 255, 255, 0.25);
  --shadow-raised: 0 4px 18px rgba(0, 104, 255, 0.2);
  --max-width: 1200px;
  --transition-base: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  --hero-bg-image: url('assets/hero-cover.svg');
  --hero-bg-overlay: rgba(0, 0, 0, 0);
  --hero-bg-offset: clamp(-260px, -14vw, -90px);
  --btn-primary-bg: rgba(255, 255, 255, 0.18);
  --btn-primary-border: rgba(255, 255, 255, 0.55);
  --btn-primary-drop: rgba(0, 104, 255, 0.25);
  --btn-primary-blur: 12px;
  --header-height: 92px;
  --header-open-width: clamp(198px, 30vw, 268px);
  --header-toggle-size: clamp(44px, 7.5vw, 54px);
  --header-launcher-top: clamp(16px, 5vh, 28px);
  --header-launcher-right: clamp(16px, 4vw, 28px);
  --header-launcher-width: clamp(198px, 30vw, 268px);
  --header-launcher-height: clamp(62px, 12vw, 74px);
  --header-panel-gap: clamp(10px, 2vw, 14px);
  --header-toggle-bar-gap: clamp(7px, 1.6vh, 10px);
  --header-launcher-gap: clamp(12px, 4vw, 16px);
  --layout-right-offset: calc(var(--header-launcher-right) + var(--header-launcher-width) * 0.6);
  --layout-gutter: clamp(24px, 6vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  position: relative;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  background: linear-gradient(180deg, rgba(223, 223, 223, 1) 0%, rgba(246, 246, 246, 1) 100%);
  color: var(--color-text);
  --service-activation: 0;
  transition: color 0.6s ease;
  -webkit-font-smoothing: antialiased;
  -ms-overflow-style: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: #000000;
  opacity: var(--service-activation);
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 0;
}

body.is-scroll-locked {
  overflow: hidden;
}

/* ========== 進場像素化載入器 ========== */
.pixel-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.pixel-loader.finished {
  display: none;
}

.pixel-loader.is-fadeout {
  opacity: 0;
  transition: opacity 1s ease-out;
  pointer-events: none;
}

.pixel-loader-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  pointer-events: none;
}

.loader-logo-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.loader-logo-container.hide {
  opacity: 0;
}

.loader-logo {
  width: clamp(150px, 20vw, 220px);
  height: clamp(150px, 20vw, 220px);
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logoFadeIn 1s ease-out forwards;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.loader-text {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #4A90E2 0%, #7B68EE 50%, #E84393 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
}

.loader-pixel {
  position: absolute;
  box-sizing: border-box;
  border: none;
  opacity: 1;
  transition: opacity 0.3s ease-out;
  will-change: opacity;
}

.loader-pixel.hide {
  opacity: 0;
}

/* 主內容初始隱藏 */
body.loading {
  overflow: hidden;
}

body.loading .main-content,
body.loading .main-page {
  opacity: 0;
  visibility: hidden;
}

/* LOADING 期間隱藏導航欄 */
body.loading nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.main-content,
.main-page {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-out, visibility 0.6s;
}

.page-wrapper {
  min-height: 100vh;
  background-color: var(--color-bg);
  opacity: 1;
  position: relative;
  z-index: 1;
  transition: opacity 0.6s ease 0.1s, background-color 0.6s ease, color 0.6s ease;
}

.page-wrapper.is-ready {
  opacity: 1;
}

h1,
h2,
h3,
.eyebrow,
.logo {
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  line-height: 1.6;
}

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

.page-wrapper {
  min-height: 100vh;
  background-color: var(--color-bg);
  padding-right: var(--layout-right-offset);
  transition: padding-right 0.45s ease;
}

body.is-header-open .page-wrapper {
  padding-right: var(--layout-right-offset);
}

/* ========== 導航欄（右上角小盒子） ========== */
nav {
  position: fixed;
  top: 2rem;
  right: 10rem;
  z-index: 9999;
  width: auto;
  max-width: 400px;
  overflow: visible;
}

.nav-container {
  position: relative;
  min-width: 500px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  overflow: visible;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  gap: 4rem;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}

/* Logo 樣式 */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo-icon {
  height: 60px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Krona One', sans-serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: 400;
}

/* 漢堡選單按鈕 */
.hamburger {
  width: 45px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s;
}

.hamburger span {
  width: 100%;
  height: 4px;
  background: #0d0d0d;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(16px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-16px) rotate(-45deg);
}

/* 展開選單（獨立於小盒子） */
.nav-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  pointer-events: none;
  overflow: hidden;
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links {
  list-style: none;
  padding: 2rem 2rem;
  margin: 0;
}

.nav-links li {
  margin-bottom: 0.5rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--text-dark);
  text-decoration: none;
  font-family: 'Krona One', sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  transition: all 0.3s;
  letter-spacing: 0.05em;
  border-radius: 8px;
  margin: 0.5rem 0;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(68, 83, 211, 1);
  transform: translateX(5px);
}

main {
  overflow: visible;
  position: relative;
  z-index: 1;
}


.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  margin-top: calc(var(--header-height) * -1);
  margin-right: calc(-1 * var(--layout-right-offset));
  padding: 0 clamp(24px, 6vw, 64px) clamp(64px, 8vw, 120px);
  padding-right: calc(clamp(24px, 6vw, 64px) + var(--layout-right-offset));
  padding-top: calc(clamp(64px, 8vw, 120px) + var(--header-height));
  min-height: calc(100vh + var(--header-height));
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-bg-overlay);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(26px);
  animation: hero-container-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}

.eyebrow {
  display: inline-flex;
  flex-direction: column;
  gap: clamp(4px, 1vw, 12px);
  font-size: clamp(52px, 9vw, 110px);
  color: var(--color-text);
  letter-spacing: -0.04em;
  text-transform: none;
  line-height: 0.92;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.22s;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.32s;
}

.hero-content > *:nth-child(3) {
  animation-delay: 0.42s;
}

.hero-content > *:nth-child(4) {
  animation-delay: 0.52s;
}

.hero-content > *:nth-child(5) {
  animation-delay: 0.62s;
}

.eyebrow span {
  display: block;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.15;
  margin: 0;
}

.hero-deck {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 700px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn.primary:hover,
.hero-actions .btn.primary:focus-visible {
  transform: translateY(-3px);
}

.hero-art {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes hero-container-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-orbit {
  position: fixed;
  right: clamp(-20px, 6vw, 90px);
  bottom: clamp(-12px, 8vw, 120px);
  width: clamp(180px, 20vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  z-index: 999;
  pointer-events: auto;
  transition: transform 0.4s ease;
}

.contact-orbit:hover,
.contact-orbit:focus-visible {
  transform: translateY(-6px) scale(1.02);
}

.contact-orbit::before {
  content: '';
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: rgba(68, 83, 211, 1);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.22);
  z-index: -1;
  transition: opacity 0.4s ease, background 0.3s ease;
}

.contact-orbit.is-at-footer::before {
  background: #e53e3e;
}

.contact-orbit__core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(68, 83, 211, 1);
  color: #ffffff;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 14px;
  transition: background 0.3s ease;
}

.contact-orbit.is-at-footer .contact-orbit__core {
  background: #e53e3e;
}

.contact-orbit__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contact-orbit__text {
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(12px, 1.6vw, 16px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  fill: rgba(0, 0, 0, 0.9);
  transform-origin: center;
  transform-box: fill-box;
  animation: orbit-spin 12s linear infinite;
}

body.is-service-mode .contact-orbit__text {
  fill: rgba(255, 255, 255, 0.92);
}

.contact-orbit:hover .contact-orbit__text,
.contact-orbit:focus-visible .contact-orbit__text {
  animation-duration: 8s;
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* Thinking 跑馬燈 - 靈感來自 ENJIN TOKYO */
.thinking-marquee {
  margin-top: clamp(48px, 8vw, 108px);
  margin-right: calc(-1 * var(--layout-right-offset));
  padding: clamp(48px, 8vw, 96px) 0;
  padding-right: var(--layout-right-offset);
  overflow: hidden;
  position: relative;
}

.thinking-marquee__track {
  display: flex;
  width: max-content;
  animation: thinking-scroll 25s linear infinite;
  gap: clamp(100px, 12vw, 150px);
}

.thinking-marquee__text {
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  letter-spacing: 0.02em;
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  text-transform: uppercase;
  opacity: 1;
}

@keyframes thinking-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .thinking-marquee {
    padding: clamp(36px, 10vw, 64px) 0;
    margin-right: 0;
    padding-right: 0;
  }
  
  .thinking-marquee__track {
    gap: clamp(80px, 14vw, 120px);
  }
  
  .thinking-marquee__text {
    font-size: clamp(48px, 12vw, 80px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .thinking-marquee__track {
    animation: none;
  }
}

.about-hero {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 6vw, 72px);
  scroll-margin-top: calc(var(--header-height) + 48px);
}

.about-hero__inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(48px, 8vw, 130px);
  padding: clamp(48px, 6vw, 88px);
  align-items: center;
}

.about-hero__media {
  margin: 0;
  border-radius: clamp(24px, 4vw, 36px);
  overflow: hidden;
  box-shadow: 0 26px 44px rgba(17, 19, 87, 0.18);
  background: linear-gradient(135deg, rgba(197, 210, 255, 0.65), rgba(240, 244, 255, 0.9));
}

.about-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__body {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  padding-right: clamp(16px, 5vw, 64px);
  margin-left: clamp(36px, 7vw, 110px);
  max-width: min(100%, 700px);
}

.about-hero__kicker {
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: rgba(17, 19, 87, 0.68);
}

.about-hero__headline {
  margin: 0;
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(52px, 9vw, 110px);
  letter-spacing: -0.01em;
  color: rgba(13, 13, 13, 0.9);
  white-space: nowrap;
}

.about-hero__divider {
  width: clamp(120px, 18vw, 220px);
  border: none;
  height: 2px;
  background: rgba(17, 19, 87, 0.24);
  margin: 0;
}

.about-hero__text {
  margin: 0;
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.9;
  color: rgba(13, 13, 13, 0.68);
  letter-spacing: 0.02em;
}

.about-hero__actions {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(4px, 1.8vw, 10px);
}

/* ========== OUR BUSINESS 區域 ========== */
.our-business {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 6vw, 72px);
  background: linear-gradient(180deg, rgba(223, 223, 223, 1) 0%, rgba(217, 217, 217, 1) 100%);
  scroll-margin-top: calc(var(--header-height) + 48px);
}

.our-business__container {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 0;
}

.our-business__header {
  text-align: center;
  margin-bottom: clamp(64px, 8vw, 96px);
}

.our-business__title {
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(24px, 4vw, 36px) 0;
  color: rgba(13, 13, 13, 0.95);
}

.our-business__subtitle {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(13, 13, 13, 0.75);
  margin: 0;
  letter-spacing: 0.02em;
}

.our-business__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}

.business-question {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.business-question:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.business-question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(17, 19, 87, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.business-question:hover {
  background: rgba(255, 255, 255, 0.25);
  padding-left: clamp(32px, 4vw, 44px);
}

.business-question:hover::before {
  transform: scaleY(1);
}

.business-question__header {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 24px);
  width: 100%;
}

.business-question__number {
  font-family: 'Krona One', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: rgba(17, 19, 87, 0.75);
  line-height: 1;
  flex-shrink: 0;
  min-width: clamp(80px, 10vw, 120px);
}

.business-question__title {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(13, 13, 13, 0.9);
  margin: 0;
  letter-spacing: 0.02em;
  padding-top: clamp(4px, 1vw, 8px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary {
  background: rgb(217, 217, 217);
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  position: relative;
  box-shadow: 
    0 2px 4px rgba(0, 104, 255, 0.25),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

.btn.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 104, 255, 0.25);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: rgb(207, 207, 207);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(0, 104, 255, 0.3),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

/* ========== 統一按鈕樣式 ========== */
.cta-primary {
  font-family: 'Noto Sans TC', sans-serif;
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  background: rgb(217, 217, 217);
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  /* Drop shadow: RGB(0, 104, 255) 25%, Blur 4 */
  /* Inner shadow: RGB(255, 255, 255) 25%, Blur 4, Y offset 4 */
  box-shadow: 
    0 2px 4px rgba(0, 104, 255, 0.25),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 104, 255, 0.25);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

.cta-primary:hover {
  background: rgb(207, 207, 207);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(0, 104, 255, 0.3),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

.bubble-btn {
  position: relative;
  padding: 18px 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.65) 0%, rgba(146, 197, 255, 0.9) 40%, rgba(51, 102, 255, 0.92) 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 28px 46px rgba(13, 13, 13, 0.28),
    inset 0 3px 8px rgba(255, 255, 255, 0.75),
    inset 0 -6px 14px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(8px);
}

.bubble-btn::before,
.bubble-btn::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.bubble-btn::before {
  inset: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  opacity: 0.85;
}

.bubble-btn::after {
  top: -35%;
  left: -15%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
  animation: bubble-gleam 5.5s ease-in-out infinite;
  opacity: 0.7;
}

.bubble-btn:hover,
.bubble-btn:focus-visible {
  transform: translateY(-6px);
  box-shadow:
    0 36px 62px rgba(13, 13, 13, 0.34),
    inset 0 4px 10px rgba(255, 255, 255, 0.85),
    inset 0 -8px 18px rgba(0, 0, 0, 0.22);
}

.bubble-btn:hover::after,
.bubble-btn:focus-visible::after {
  animation-duration: 3s;
  opacity: 0.9;
}

@keyframes bubble-gleam {
  0%,
  100% {
    transform: translate(-10%, -8%) scale(1);
  }
  50% {
    transform: translate(18%, 12%) scale(1.15);
  }
}

.btn.ghost {
  border-color: #0d0d0d;
  background: transparent;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: rgba(13, 13, 13, 0.08);
  transform: translateY(-3px);
}

.services {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 6vw, 64px);
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  scroll-margin-top: var(--header-height);
}

.services-header {
  display: grid;
  gap: 30px;
  max-width: none;
  margin: 0 0 clamp(12px, 3vw, 24px);
  text-align: left;
  padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
}

.services-header .section-label {
  margin: clamp(-220px, -18vw, -140px) 0 0;
  text-align: left;
}

.services-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  position: relative;
}

.service-menu {
  position: sticky;
  top: calc(var(--header-height) + 48px);
  display: grid;
  gap: 20px;
  padding-right: clamp(12px, 2vw, 24px);
  align-self: start;
}

.service-menu-item {
  display: grid;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.service-menu-item button {
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.service-menu-item.is-active button {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.service-menu-item.is-complete button {
  color: rgba(255, 255, 255, 0.68);
}

.service-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.service-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f7cff 0%, #94b5ff 100%);
  transition: width 0.35s ease;
}

.service-content {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.service-section {
  scroll-margin-top: calc(var(--header-height) + 48px);
  padding: clamp(32px, 5vw, 48px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.9);
}

.service-section--ai {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  box-shadow: 0 34px 68px rgba(0, 0, 0, 0.48);
  padding: clamp(48px, 6vw, 72px);
  gap: clamp(24px, 4vw, 36px);
}

.service-section-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-heading-group {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vw, 12px);
}

.service-heading-top {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vw, 10px);
}

.service-section h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
}

.service-section--ai h3 {
  font-size: clamp(60px, 10vw, 82px);
  letter-spacing: 0.14em;
  text-transform: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.service-tagline {
  margin: 0;
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.7);
}

body.is-service-mode .service-tagline {
  color: rgba(255, 255, 255, 0.7);
}

.service-section-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.service-section--ai .service-section-body {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr);
  align-items: center;
}

.service-section--ai .service-copy {
  align-self: center;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  max-width: 540px;
}

.service-section--ai .service-copy p {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.service-section--ai .service-points {
  gap: clamp(12px, 2vw, 18px);
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.05em;
  padding-left: clamp(20px, 4vw, 24px);
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* 手機模式下的列表優化 */
@media (max-width: 768px) {
  .service-points {
    font-size: clamp(14px, 3.5vw, 16px);
    gap: clamp(10px, 2vw, 14px);
    padding-left: clamp(18px, 4vw, 22px);
  }
}

@media (max-width: 480px) {
  .service-points {
    font-size: 13px;
    gap: 10px;
    padding-left: 18px;
    line-height: 1.6;
  }
  
  .service-points li {
    margin-bottom: 8px;
  }
}

.service-section--ai .service-cta {
  margin-top: clamp(12px, 2vw, 24px);
}

.service-cta .btn.primary {
  background: rgb(34, 34, 34);
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 4px 40px rgba(0, 104, 255, 0.25);
  filter: none;
  transform: rotate(-0.12deg);
  background-clip: padding-box;
}

.service-cta .btn.primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  padding: 1px;
  background: linear-gradient(135deg, rgb(100, 149, 219) 0%, rgb(0, 63, 153) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.service-cta .btn.primary:hover,
.service-cta .btn.primary:focus-visible {
  background: rgb(42, 42, 42);
  background-clip: padding-box;
  transform: rotate(-0.12deg) translateY(-2px);
  box-shadow: 0px 6px 50px rgba(0, 104, 255, 0.25);
}

.service-cta .btn.primary:hover::before,
.service-cta .btn.primary:focus-visible::before {
  background: linear-gradient(135deg, rgb(120, 169, 239) 0%, rgb(20, 83, 173) 100%);
}

body.is-service-mode .service-cta .btn.primary {
  background: rgb(34, 34, 34);
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 4px 40px rgba(0, 104, 255, 0.25);
  filter: none;
  transform: rotate(-0.12deg);
  background-clip: padding-box;
}

body.is-service-mode .service-cta .btn.primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  padding: 1px;
  background: linear-gradient(135deg, rgb(100, 149, 219) 0%, rgb(0, 63, 153) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

body.is-service-mode .service-cta .btn.primary:hover,
body.is-service-mode .service-cta .btn.primary:focus-visible {
  background: rgb(42, 42, 42);
  background-clip: padding-box;
  transform: rotate(-0.12deg) translateY(-2px);
  box-shadow: 0px 6px 50px rgba(0, 104, 255, 0.25);
}

body.is-service-mode .service-cta .btn.primary:hover::before,
body.is-service-mode .service-cta .btn.primary:focus-visible::before {
  background: linear-gradient(135deg, rgb(120, 169, 239) 0%, rgb(20, 83, 173) 100%);
}

.service-illustration {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: clamp(-120px, -10vw, -40px);
}

.service-illustration-image {
  width: min(560px, 82%);
  height: auto;
  object-fit: contain;
  transform: translate(-50px, -20px);
}

.service-stepper {
  margin-top: clamp(12px, 3vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
}

.service-step-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(14px, 2.6vw, 22px);
  transition: transform 0.35s ease;
}

.service-step-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 10px;
  min-height: 165px;
  transition: border-color 0.4s ease;
}

.service-step-card:hover {
  border-color: #98c7f1;
}

.service-step-number {
  font-size: clamp(16px, 2.4vw, 20px);
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.18em;
  transition: color 0.4s ease;
}

.service-step-card:hover .service-step-number {
  color: #98c7f1;
}

.service-step-title {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 22px);
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.4s ease;
}

.service-step-card:hover .service-step-title {
  color: #98c7f1;
}

.service-step-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.4s ease;
}

.service-step-card:hover .service-step-text {
  color: #98c7f1;
}

.service-step-next {
  font-family: 'Noto Sans TC', sans-serif;
  width: clamp(52px, 6vw, 66px);
  height: clamp(52px, 6vw, 66px);
  border-radius: 5px;
  border: 1px solid transparent;
  background: rgb(34, 34, 34);
  display: flex;
  align-items: center;
  justify-items: center;
  justify-content: center;
  font-size: clamp(22px, 4vw, 28px);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0px 4px 40px rgba(0, 104, 255, 0.25);
  filter: none;
  transform: rotate(-0.12deg);
  background-clip: padding-box;
}

.service-step-next::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  padding: 1px;
  background: linear-gradient(135deg, rgb(100, 149, 219) 0%, rgb(0, 63, 153) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.service-step-next:hover,
.service-step-next:focus-visible {
  background: rgb(42, 42, 42);
  background-clip: padding-box;
  transform: rotate(-0.12deg) translateY(-2px);
  box-shadow: 0px 6px 50px rgba(0, 104, 255, 0.25);
}

.service-step-next:hover::before,
.service-step-next:focus-visible::before {
  background: linear-gradient(135deg, rgb(120, 169, 239) 0%, rgb(20, 83, 173) 100%);
}

/* ========== 直線步驟流程圖 (Linear Stepper) ========== */
.service-stepper--linear {
  margin-top: clamp(24px, 4vw, 36px);
  display: block;
}

.service-step-linear {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  position: relative;
  padding: clamp(16px, 3vw, 24px) 0;
}

.service-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  flex: 0 0 auto;
  width: clamp(180px, 20vw, 260px);
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-step-item:hover {
  transform: translateY(-6px);
}

.service-step-dot {
  width: clamp(56px, 7vw, 72px);
  height: clamp(56px, 7vw, 72px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(10, 102, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 2px 6px rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  z-index: 2;
  flex-shrink: 0;
}

.service-step-item:hover .service-step-dot {
  background: rgba(10, 102, 255, 0.85);
  color: #ffffff;
  border-color: rgba(10, 102, 255, 0.9);
  box-shadow: 
    0 12px 28px rgba(10, 102, 255, 0.5),
    inset 0 2px 8px rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.service-step-line {
  flex: 1 1 auto;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(10, 102, 255, 0.5) 0%, 
    rgba(10, 102, 255, 0.3) 50%,
    rgba(10, 102, 255, 0.5) 100%);
  margin: 0 clamp(-12px, -1.5vw, -8px);
  margin-top: clamp(28px, 3.5vw, 36px);
  position: relative;
  transition: all 0.3s ease;
  border-radius: 2px;
  min-width: clamp(40px, 8vw, 80px);
}

.service-step-item:hover + .service-step-line,
.service-step-line:has(+ .service-step-item:hover) {
  background: linear-gradient(90deg, 
    rgba(10, 102, 255, 0.9) 0%, 
    rgba(10, 102, 255, 0.7) 50%,
    rgba(10, 102, 255, 0.9) 100%);
  height: 4px;
  box-shadow: 0 2px 16px rgba(10, 102, 255, 0.6);
}

.service-step-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 12px);
  width: 100%;
}

.service-step-item .service-step-title {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s ease;
}

.service-step-item:hover .service-step-title {
  color: rgb(94, 165, 255);
}

.service-step-item .service-step-text {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.3s ease;
}

.service-step-item:hover .service-step-text {
  color: rgba(255, 255, 255, 0.88);
}

/* Dark mode support */
body.is-service-mode .service-step-dot {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(10, 102, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 2px 6px rgba(255, 255, 255, 0.15);
}

body.is-service-mode .service-step-item:hover .service-step-dot {
  background: rgba(10, 102, 255, 0.85);
  border-color: rgba(10, 102, 255, 0.9);
  box-shadow: 
    0 12px 28px rgba(10, 102, 255, 0.5),
    inset 0 2px 8px rgba(255, 255, 255, 0.2);
}

body.is-service-mode .service-step-line {
  background: linear-gradient(90deg, 
    rgba(10, 102, 255, 0.5) 0%, 
    rgba(10, 102, 255, 0.3) 50%,
    rgba(10, 102, 255, 0.5) 100%);
}

body.is-service-mode .service-step-item:hover + .service-step-line,
body.is-service-mode .service-step-line:has(+ .service-step-item:hover) {
  background: linear-gradient(90deg, 
    rgba(10, 102, 255, 0.9) 0%, 
    rgba(10, 102, 255, 0.7) 50%,
    rgba(10, 102, 255, 0.9) 100%);
  box-shadow: 0 2px 16px rgba(10, 102, 255, 0.6);
}

body.is-service-mode .service-step-item .service-step-title {
  color: rgba(255, 255, 255, 0.92);
}

body.is-service-mode .service-step-item:hover .service-step-title {
  color: rgb(94, 165, 255);
}

body.is-service-mode .service-step-item .service-step-text {
  color: rgba(255, 255, 255, 0.74);
}

body.is-service-mode .service-step-item:hover .service-step-text {
  color: rgba(255, 255, 255, 0.88);
}

/* 平板響應式 */
@media (max-width: 960px) {
  .service-step-linear {
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 5vw, 36px);
  }

  .service-step-item {
    width: 100%;
    max-width: 400px;
  }

  .service-step-line {
    width: 3px;
    height: clamp(40px, 8vw, 60px);
    min-width: auto;
    margin: clamp(-12px, -2vw, -8px) 0;
    background: linear-gradient(180deg, 
      rgba(10, 102, 255, 0.4) 0%, 
      rgba(10, 102, 255, 0.2) 50%,
      rgba(10, 102, 255, 0.4) 100%);
  }

  .service-step-item:hover + .service-step-line,
  .service-step-line:has(+ .service-step-item:hover) {
    width: 4px;
    background: linear-gradient(180deg, 
      rgba(10, 102, 255, 0.8) 0%, 
      rgba(10, 102, 255, 0.6) 50%,
      rgba(10, 102, 255, 0.8) 100%);
  }

  body.is-service-mode .service-step-line {
    background: linear-gradient(180deg, 
      rgba(10, 102, 255, 0.5) 0%, 
      rgba(10, 102, 255, 0.3) 50%,
      rgba(10, 102, 255, 0.5) 100%);
  }

  body.is-service-mode .service-step-item:hover + .service-step-line,
  body.is-service-mode .service-step-line:has(+ .service-step-item:hover) {
    background: linear-gradient(180deg, 
      rgba(10, 102, 255, 0.9) 0%, 
      rgba(10, 102, 255, 0.7) 50%,
      rgba(10, 102, 255, 0.9) 100%);
  }
}

body.is-service-mode {
  --color-text: #f5f5f5;
  --btn-primary-bg: rgba(255, 255, 255, 0.14);
  --btn-primary-border: rgba(255, 255, 255, 0.36);
  --btn-primary-drop: rgba(0, 104, 255, 0.35);
  color: var(--color-text);
}

body.is-service-mode .page-wrapper {
  background-color: transparent;
}

body.is-service-mode .nav-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.is-service-mode .nav-menu {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  color: inherit;
}

body.is-service-mode .nav-links a {
  color: var(--text-dark);
}

body.is-service-mode .nav-links a:hover {
  color: #ffffff;
  background: rgba(68, 83, 211, 1);
}

body.is-service-mode .hamburger span {
  background: #0d0d0d;
}

body.is-service-mode .services {
  color: inherit;
}

body.is-service-mode .services-header .section-label {
  color: rgba(255, 255, 255, 0.7);
}

body.is-service-mode .service-menu-item {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

body.is-service-mode .service-menu-item button {
  color: rgba(255, 255, 255, 0.45);
}

body.is-service-mode .service-menu-item.is-active button {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

body.is-service-mode .service-menu-item.is-complete button {
  color: rgba(255, 255, 255, 0.68);
}

body.is-service-mode .service-progress {
  background: rgba(255, 255, 255, 0.18);
}

body.is-service-mode .service-progress-fill {
  background: linear-gradient(90deg, #4f7cff 0%, #94b5ff 100%);
}

body.is-service-mode .service-section {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.4);
  color: inherit;
}

body.is-service-mode .service-section--ai {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 68px rgba(0, 0, 0, 0.48);
}

body.is-service-mode .service-tagline {
  color: rgba(255, 255, 255, 0.7);
}

body.is-service-mode .service-step-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
  transition: border-color 0.4s ease;
}

body.is-service-mode .service-step-card:hover {
  border-color: #98c7f1;
}

body.is-service-mode .service-step-number {
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.4s ease;
}

body.is-service-mode .service-step-card:hover .service-step-number {
  color: #98c7f1;
}

body.is-service-mode .service-step-title {
  transition: color 0.4s ease;
}

body.is-service-mode .service-step-card:hover .service-step-title {
  color: #98c7f1;
}

body.is-service-mode .service-step-text {
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.4s ease;
}

body.is-service-mode .service-step-card:hover .service-step-text {
  color: #98c7f1;
}

body.is-service-mode .service-step-next {
  background: rgb(34, 34, 34);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 4px 40px rgba(0, 104, 255, 0.25);
  border-radius: 5px;
  filter: none;
  transform: rotate(-0.12deg);
  background-clip: padding-box;
  position: relative;
}

body.is-service-mode .service-step-next::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  padding: 1px;
  background: linear-gradient(135deg, rgb(100, 149, 219) 0%, rgb(0, 63, 153) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

body.is-service-mode .service-step-next:hover,
body.is-service-mode .service-step-next:focus-visible {
  background: rgb(42, 42, 42);
  background-clip: padding-box;
  transform: rotate(-0.12deg) translateY(-2px);
  box-shadow: 0px 6px 50px rgba(0, 104, 255, 0.25);
}

body.is-service-mode .service-step-next:hover::before,
body.is-service-mode .service-step-next:focus-visible::before {
  background: linear-gradient(135deg, rgb(120, 169, 239) 0%, rgb(20, 83, 173) 100%);
}

body.is-service-mode .btn.primary {
  background: rgb(34, 34, 34);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 4px 40px rgba(0, 104, 255, 0.25);
  border-radius: 5px;
  transform: rotate(-0.12deg);
  background-clip: padding-box;
  position: relative;
}

body.is-service-mode .btn.primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  padding: 1px;
  background: linear-gradient(135deg, rgb(100, 149, 219) 0%, rgb(0, 63, 153) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

body.is-service-mode .btn.primary:hover,
body.is-service-mode .btn.primary:focus-visible {
  background: rgb(42, 42, 42);
  background-clip: padding-box;
  transform: rotate(-0.12deg) translateY(-2px);
  box-shadow: 0px 6px 50px rgba(0, 104, 255, 0.25);
}

body.is-service-mode .btn.primary:hover::before,
body.is-service-mode .btn.primary:focus-visible::before {
  background: linear-gradient(135deg, rgb(120, 169, 239) 0%, rgb(20, 83, 173) 100%);
}

.section-label {
  margin: 0;
  font-size: clamp(52px, 9vw, 110px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(13, 13, 13, 0.9);
}

.section-title {
  text-align: center;
  font-size: clamp(34px, 5vw, 54px);
  margin: 0;
}

.section-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.7);
}

.feature-highlight {
  position: relative;
  margin: clamp(64px, 8vw, 120px) clamp(24px, 6vw, 64px);
  padding: clamp(48px, 6vw, 96px);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(17, 19, 87, 0.08), rgba(0, 0, 0, 0));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  border: 1px solid rgba(17, 19, 87, 0.12);
}

.highlight-title {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 20px;
}

.highlight-text {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 28px;
}

.highlight-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: min(420px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  background: rgba(217, 217, 217, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.45);
}

/* ========== CLIENT 區域 ========== */
.clients {
  position: relative;
  margin: clamp(96px, 12vw, 160px) clamp(24px, 6vw, 64px);
  padding: clamp(80px, 10vw, 140px) clamp(48px, 8vw, 96px);
  background: #e0e0e0;
  border-radius: 36px;
  scroll-margin-top: calc(var(--header-height) + 48px);
}

.clients-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(60px, 10vw, 140px);
  align-items: start;
}

/* 左側區域 */
.clients-left {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 60px);
}

.clients-header {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

.clients-title {
  text-align: left;
  margin-top: -50px;
}

.clients-underline {
  width: clamp(260px, 70%, 380px);
  height: 3px;
  background: #000000;
  margin-top: clamp(4px, 0.6vw, 8px);
}

.clients-content {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.clients-description {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.78);
  letter-spacing: 0.02em;
}

/* 右側區域 */
.clients-right {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
}

.clients-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  transition: opacity 0.3s ease;
}

.clients-cards.is-animating {
  opacity: 0.3;
}

.client-card {
  background: #c0c0c0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.client-logo {
  aspect-ratio: 1;
  background: #c0c0c0;
  border: 1px solid #999999;
  border-left: none;
  border-right: none;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 2.5vw, 32px);
}

.client-logo-text {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  color: #000000;
  text-align: center;
  letter-spacing: 0.02em;
}

.client-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.client-info {
  background: #c0c0c0;
  padding: clamp(20px, 2.5vw, 28px) clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

.client-company {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 500;
  color: #000000;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.client-date {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
}

.client-service {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
}

.client-meta {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
}

.clients-next {
  font-family: 'Noto Sans TC', sans-serif;
  flex-shrink: 0;
  width: clamp(52px, 6vw, 68px);
  height: clamp(52px, 6vw, 68px);
  border-radius: 8px;
  border: none;
  background: rgb(217, 217, 217);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  /* Drop shadow: RGB(0, 104, 255) 25%, Blur 4, plus lighter */
  box-shadow: 
    0 2px 4px rgba(0, 104, 255, 0.25),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

.clients-next::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 104, 255, 0.25);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

.clients-next:hover {
  background: rgb(207, 207, 207);
  transform: translateX(4px);
  box-shadow: 
    0 4px 8px rgba(0, 104, 255, 0.3),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

.clients-next:active {
  transform: translateX(2px) scale(0.98);
}

/* 平板響應式 */
@media (min-width: 1024px) {
  .clients {
    margin-inline-start: var(--layout-gutter);
    margin-inline-end: calc(var(--layout-gutter) - var(--layout-right-offset));
  }
}

@media (max-width: 1024px) {
  .clients-container {
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vw, 72px);
  }

  .clients-left {
    max-width: 100%;
  }

  .clients-right {
    width: 100%;
  }
}

/* 手機響應式 */
@media (max-width: 768px) {
  .clients {
    margin: clamp(64px, 10vw, 96px) clamp(16px, 4vw, 32px);
    padding: clamp(60px, 10vw, 100px) clamp(32px, 6vw, 48px);
  }

  .clients-description {
    font-size: clamp(14px, 3.5vw, 16px);
  }

  .clients-cards {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 28px);
  }

  .clients-right {
    flex-direction: column;
    gap: clamp(24px, 5vw, 32px);
  }

  .clients-next {
    align-self: center;
    transform: rotate(90deg);
  }

  .clients-next:hover {
    background: rgb(207, 207, 207);
    transform: rotate(90deg) translateX(4px);
  }
}

@media (max-width: 600px) {
  .clients {
    margin: clamp(40px, 8vw, 64px) clamp(12px, 3vw, 20px);
    padding: clamp(40px, 8vw, 64px) clamp(24px, 5vw, 32px);
  }
}

@media (max-width: 480px) {
  .clients {
    padding: clamp(32px, 7vw, 48px) clamp(20px, 4vw, 28px);
  }

  .clients-underline {
    width: clamp(200px, 60%, 280px);
  }

  .clients-description {
    font-size: clamp(13px, 3.5vw, 15px);
  }

  .client-logo-text {
    font-size: clamp(12px, 3.5vw, 16px);
  }

  .client-company {
    font-size: clamp(11px, 3vw, 14px);
  }

  .client-date {
    font-size: clamp(10px, 2.5vw, 12px);
  }

  .client-service {
    font-size: clamp(10px, 2.5vw, 12px);
  }

  .client-meta {
    font-size: clamp(10px, 2.5vw, 12px);
  }
}

.cta {
  position: relative;
  margin: clamp(96px, 12vw, 160px) clamp(24px, 5vw, 80px);
  padding: clamp(56px, 8vw, 120px);
  border-radius: 42px;
  background: var(--color-surface);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
  display: grid;
  gap: 32px;
  justify-items: center;
}

.cta .section-label {
  justify-self: start;
  text-align: left;
  width: 100%;
  margin-top: -50px;
}

.cta-title {
  text-align: center;
  font-size: clamp(36px, 5vw, 64px);
  margin: 0;
}

.cta-subtitle {
  text-align: center;
  font-size: clamp(20px, 3vw, 32px);
  color: rgba(0, 0, 0, 0.65);
}

.cta-form {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  background: rgba(255, 255, 255, 0.72);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-form .field {
  display: grid;
  gap: 10px;
}

.cta-form .field.full {
  grid-column: span 2;
}

.cta-form label {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-form .required-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: #e53e3e;
  border: 1px solid #c53030;
  border-radius: 4px;
  line-height: 1.2;
}

.cta-form input,
.cta-form textarea,
.cta-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.cta-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230d0d0d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.cta-form input:focus,
.cta-form textarea:focus,
.cta-form select:focus {
  outline: none;
  border-color: rgba(17, 19, 87, 0.6);
  box-shadow: 0 0 0 4px rgba(17, 19, 87, 0.12);
}

.cta-form .field.center {
  display: flex;
  justify-content: center;
  align-items: center;
}


.to-top {
  font-family: 'Noto Sans TC', sans-serif;
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: none;
  background: rgb(217, 217, 217);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 
    0 2px 4px rgba(0, 104, 255, 0.25),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

.to-top > span {
  position: relative;
  z-index: 1;
}

.to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 104, 255, 0.25);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

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

.to-top.is-visible:hover {
  background: rgb(207, 207, 207);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(0, 104, 255, 0.3),
    inset 0 4px 4px rgba(255, 255, 255, 0.25);
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .feature-highlight,
  .cta {
    margin-inline-start: var(--layout-gutter);
    margin-inline-end: calc(var(--layout-gutter) - var(--layout-right-offset));
  }

  .services {
    margin-inline-start: clamp(32px, 6vw, 96px);
    margin-inline-end: clamp(16px, 4vw, 56px);
  }
}

@media (max-width: 960px) {
  nav {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    z-index: 9999;
  }

  .nav-logo-icon {
    height: 50px;
  }

  .nav-header {
    padding: 1.5rem 2rem;
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1.5rem;
    padding: 1.2rem 1.5rem;
  }

  .nav-menu {
    width: 100%;
    z-index: 10000;
  }

  .nav-container {
    min-width: auto;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: clamp(44px, 10vw, 72px);
  }

  .about-hero__media {
    justify-self: center;
    max-width: clamp(320px, 60vw, 420px);
  }

  .about-hero__body {
    justify-items: center;
    margin-left: clamp(18px, 7vw, 72px);
    padding-right: clamp(18px, 6vw, 52px);
    max-width: min(100%, 600px);
  }

  .about-hero__divider {
    margin: 0 auto;
  }

  .about-hero__headline {
    white-space: normal;
  }

  .about-hero__actions .btn.primary {
    justify-content: center;
  }

  /* OUR BUSINESS 響應式 */
  .our-business {
    padding: clamp(64px, 10vw, 88px) clamp(18px, 5vw, 32px);
  }

  .our-business__header {
    margin-bottom: clamp(48px, 8vw, 64px);
  }

  .our-business__title {
    font-size: clamp(36px, 9vw, 56px);
  }

  .our-business__subtitle {
    font-size: clamp(18px, 4vw, 24px);
  }

  .our-business__grid {
    gap: clamp(20px, 4vw, 28px);
  }

  .business-question {
    padding: clamp(24px, 5vw, 32px) clamp(18px, 3vw, 24px);
  }

  .business-question__header {
    gap: clamp(16px, 3vw, 20px);
  }

  .business-question__number {
    font-size: clamp(28px, 6vw, 42px);
    min-width: clamp(70px, 10vw, 100px);
  }

  .business-question__title {
    font-size: clamp(17px, 3.8vw, 22px);
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: clamp(24px, 10vw, 48px);
    margin-right: 0;
    padding-right: clamp(24px, 6vw, 64px);
  }

  .hero-content {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .eyebrow {
    align-items: center;
    font-size: clamp(44px, 12vw, 72px);
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 52px);
  }

  .hero-art {
    min-height: 220px;
  }

  .services-shell {
    grid-template-columns: 1fr;
    gap: clamp(32px, 9vw, 72px);
  }

  .service-menu {
    position: static;
    padding-right: 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-menu-item {
    border-bottom: none;
    padding: 18px clamp(16px, 4vw, 24px);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .service-menu-item button {
    font-size: 18px;
  }

  .service-section--ai .service-section-body {
    grid-template-columns: 1fr;
    gap: clamp(28px, 8vw, 36px);
  }

  .service-illustration {
    justify-content: center;
    margin-top: clamp(-20px, -4vw, -10px);
    width: 100%;
    max-width: 100%;
  }

  .service-illustration-image {
    width: min(420px, 90%);
    max-width: 100%;
    height: auto;
    transform: translate(0, 0);
  }

  /* 確保所有圖片響應式 */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Service menu items in mobile */
  .service-menu-item button {
    font-size: clamp(14px, 3.5vw, 17px);
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .cta-form {
    grid-template-columns: 1fr;
    padding: clamp(20px, 5vw, 28px);
    gap: 18px;
  }

  .cta-form .field.full {
    grid-column: span 1;
  }

  .cta-form input,
  .cta-form textarea,
  .cta-form select {
    font-size: 16px; /* 防止 iOS 自動縮放 */
  }

  .hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
    min-height: auto;
    margin-right: 0;
  }

  .contact-orbit {
    position: fixed;
    right: 16px;
    bottom: 90px;
    margin: 0;
    width: clamp(140px, 35vw, 180px);
    z-index: 35;
  }

  .contact-orbit__core {
    font-size: clamp(13px, 3.5vw, 16px);
    padding: 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .cta-primary {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  .service-menu {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-section {
    padding: clamp(24px, 8vw, 36px);
  }

  .service-section--ai {
    padding: clamp(32px, 8vw, 48px);
  }

  .service-stepper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-step-next {
    justify-self: center;
  }

  .service-step-cards {
    gap: 16px;
  }

  /* Services header 調整 */
  .services-header {
    padding: clamp(24px, 5vw, 36px) 0 clamp(16px, 3vw, 24px);
  }

  .services-header .section-label {
    margin-top: clamp(-120px, -12vw, -80px);
  }

  /* CTA 區塊調整 */
  .cta {
    margin: clamp(64px, 10vw, 96px) clamp(16px, 4vw, 32px);
    padding: clamp(40px, 8vw, 64px) clamp(20px, 5vw, 32px);
  }

  .cta-title {
    font-size: clamp(28px, 7vw, 44px);
  }

  .cta-subtitle {
    font-size: clamp(16px, 4vw, 24px);
  }

  .cta .section-label {
    margin-top: clamp(-30px, -5vw, -20px);
  }
}

@media (max-width: 600px) {
  .about-hero {
    padding: clamp(64px, 15vw, 88px) clamp(16px, 5vw, 24px);
  }

  .about-hero__inner {
    padding: clamp(28px, 10vw, 44px);
    gap: clamp(32px, 8vw, 48px);
  }

  .about-hero__body {
    margin-left: 0;
    padding-right: clamp(8px, 6vw, 24px);
    max-width: 100%;
    gap: clamp(12px, 3vw, 20px);
  }

  .about-hero__headline {
    font-size: clamp(36px, 10vw, 64px);
  }

  .about-hero__kicker {
    font-size: clamp(16px, 4vw, 20px);
  }

  .about-hero__text {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  /* OUR BUSINESS 小螢幕響應式 */
  .our-business {
    padding: clamp(48px, 12vw, 72px) clamp(16px, 4vw, 24px);
  }

  .our-business__header {
    margin-bottom: clamp(32px, 8vw, 48px);
  }

  .our-business__title {
    font-size: clamp(28px, 10vw, 48px);
    margin-bottom: clamp(16px, 4vw, 24px);
  }

  .our-business__subtitle {
    font-size: clamp(16px, 4.5vw, 22px);
  }

  .our-business__grid {
    gap: clamp(16px, 4vw, 24px);
  }

  .business-question {
    padding: clamp(20px, 5vw, 28px) clamp(16px, 3vw, 20px);
  }

  .business-question:hover {
    padding-left: clamp(20px, 4vw, 24px);
  }

  .business-question__header {
    gap: clamp(12px, 3vw, 16px);
    flex-direction: column;
    align-items: flex-start;
  }

  .business-question__number {
    font-size: clamp(24px, 7vw, 36px);
    min-width: auto;
  }

  .business-question__title {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.7;
  }

  .site-header {
    padding: 16px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: clamp(40px, 8vw, 64px);
  }

  .hero-content {
    gap: 18px;
  }

  .eyebrow {
    font-size: clamp(32px, 14vw, 52px);
    gap: clamp(2px, 0.8vw, 8px);
  }

  .hero-title {
    font-size: clamp(24px, 9vw, 38px);
  }

  .hero-deck {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .hero-art {
    min-height: 140px;
  }

  .service-section {
    padding: clamp(20px, 7vw, 32px);
    border-radius: clamp(20px, 5vw, 28px);
  }

  .service-section--ai {
    padding: clamp(28px, 8vw, 40px);
  }

  .service-section h3 {
    font-size: clamp(20px, 5vw, 30px);
  }

  .service-section--ai h3 {
    font-size: clamp(40px, 10vw, 64px);
    letter-spacing: 0.1em;
  }

  .service-tagline {
    font-size: clamp(14px, 3.5vw, 20px);
    letter-spacing: 0.18em;
  }

  .feature-highlight,
  .cta {
    margin: clamp(40px, 8vw, 64px) clamp(12px, 3vw, 20px);
    padding: clamp(28px, 7vw, 40px) clamp(16px, 4vw, 24px);
    border-radius: clamp(24px, 6vw, 32px);
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 12px;
  }

  /* Nav 在小螢幕的調整 */
  nav {
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
  }

  .nav-header {
    padding: 1rem 1.2rem;
  }

  .nav-logo-icon {
    height: 38px;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 480px) {
  /* 導航欄 */
  nav {
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
  }

  .nav-header {
    padding: 0.9rem 1rem;
    gap: 1rem;
  }

  .nav-logo-icon {
    height: 32px;
  }

  .hamburger {
    width: 35px;
    height: 28px;
  }

  .nav-links {
    padding: 1.5rem 1rem;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.8rem 0.9rem;
    margin: 0.3rem 0;
  }

  /* Hero 區塊 */
  .hero {
    padding: clamp(80px, 15vw, 100px) clamp(16px, 4vw, 24px) clamp(32px, 6vw, 48px);
    min-height: auto;
    margin-right: 0;
  }

  .eyebrow {
    font-size: clamp(28px, 11vw, 44px);
  }

  .hero-title {
    font-size: clamp(22px, 7.5vw, 32px);
  }

  .hero-actions .cta-primary,
  .hero-actions .btn.primary {
    width: 100%;
    font-size: 15px;
    padding: 0.9rem 1.2rem;
  }

  /* Contact Orbit */
  .contact-orbit {
    right: 12px;
    bottom: 80px;
    width: clamp(120px, 32vw, 160px);
  }

  .contact-orbit__core {
    font-size: clamp(11px, 3vw, 14px);
  }

  .contact-orbit__text {
    font-size: clamp(10px, 2.5vw, 13px);
  }

  /* Thinking 跑馬燈 */
  .thinking-marquee {
    padding: clamp(28px, 8vw, 48px) 0;
    margin-right: 0;
    padding-right: 0;
  }

  .thinking-marquee__text {
    font-size: clamp(40px, 10vw, 64px);
  }

  /* Services */
  .services {
    padding: clamp(64px, 10vw, 96px) clamp(16px, 4vw, 32px);
  }

  .services-header .section-label {
    font-size: clamp(40px, 9vw, 72px);
  }

  .service-section {
    padding: clamp(18px, 6vw, 28px);
  }

  .service-section--ai {
    padding: clamp(24px, 7vw, 36px);
  }

  .service-section--ai h3 {
    font-size: clamp(32px, 9vw, 52px);
  }

  .service-section--ai .service-copy p {
    font-size: clamp(14px, 3.8vw, 17px);
  }
  .service-points {
    font-size: clamp(13px, 3.5vw, 16px);
  }

  /* Step cards */
  .service-step-card {
    padding: clamp(16px, 4vw, 22px);
    min-height: 140px;
  }

  .service-step-number {
    font-size: clamp(14px, 3.5vw, 17px);
  }

  .service-step-title {
    font-size: clamp(16px, 4vw, 19px);
  }

  .service-step-text {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Feature Highlight */
  .highlight-title {
    font-size: clamp(24px, 6.5vw, 38px);
  }

  .highlight-text {
    font-size: clamp(14px, 3.8vw, 17px);
  }

  /* CTA */
  .cta {
    padding: clamp(32px, 7vw, 48px) clamp(16px, 4vw, 24px);
    gap: 24px;
  }

  .cta .section-label {
    font-size: clamp(36px, 8vw, 64px);
  }

  .cta-title {
    font-size: clamp(22px, 6vw, 36px);
  }

  .cta-subtitle {
    font-size: clamp(14px, 3.8vw, 20px);
  }

  .cta-form {
    padding: clamp(16px, 4vw, 24px);
    gap: 14px;
  }

  .cta-form label {
    font-size: 14px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .cta-form .required-badge {
    font-size: 11px;
    padding: 2px 6px;
  }

  .cta-form input,
  .cta-form textarea,
  .cta-form select {
    padding: 12px 14px;
    font-size: 16px;
  }

  .cta-form select {
    padding-right: 36px;
    background-position: right 12px center;
  }

  .cta-form .btn.primary {
    padding: 13px 24px;
    font-size: 15px;
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .site-footer {
    padding: clamp(40px, 8vw, 56px) 0 clamp(28px, 5vw, 36px);
    margin-top: 0;
  }

  .footer-container {
    padding: 0 clamp(16px, 4vw, 24px);
  }

  .footer-logo {
    width: clamp(140px, 35vw, 180px);
  }

  .footer-location-title,
  .footer-nav-title {
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .footer-address,
  .footer-contact,
  .footer-nav-list a {
    font-size: clamp(12px, 3.2vw, 14px);
  }
}

/* ========== FOOTER 樣式 ========== */
.site-footer {
  position: relative;
  background: rgba(68, 83, 211, 1);
  color: #ffffff;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 60px);
  margin-top: 0;
  border-radius: 60px 60px 0 0;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.footer-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-main-title {
  margin: 0;
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(52px, 9vw, 110px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #ffffff;
  transform: translateY(-50%);
  text-align: center;
  white-space: nowrap;
  padding: 0 clamp(24px, 5vw, 64px);
}

/* Footer 主要內容 */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 60px);
}

/* 左側區域 */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}

/* Logo 品牌區 */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 16px);
}

.footer-logo {
  width: clamp(200px, 25vw, 300px);
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-brand-name {
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  display: none;
}

.footer-brand-subtitle {
  display: none;
}

/* Location 區域 */
.footer-location {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 16px);
}

.footer-location-title {
  margin: 0;
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-address {
  font-style: normal;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

.footer-contact {
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.8;
  color: #ffffff;
  margin: 0;
}

/* 右側導航區 */
.footer-right {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding-top: clamp(8px, 1vw, 12px);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}

.footer-nav-title {
  margin: 0;
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-nav-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav-title a:hover {
  color: #e0e0e0;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
}

.footer-nav-list li {
  margin: 0;
}

.footer-nav-list a {
  display: inline-block;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  white-space: nowrap;
}

.footer-nav-list a:hover {
  color: #e0e0e0;
  transform: translateX(4px);
}

/* Dark mode support for service mode */
body.is-service-mode .site-footer {
  background: #1a1a1a;
  color: #ffffff;
}

body.is-service-mode .footer-main-title,
body.is-service-mode .footer-brand-name,
body.is-service-mode .footer-brand-subtitle,
body.is-service-mode .footer-location-title,
body.is-service-mode .footer-address,
body.is-service-mode .footer-contact,
body.is-service-mode .footer-nav-title,
body.is-service-mode .footer-nav-list a {
  color: #ffffff;
}

body.is-service-mode .footer-logo {
  filter: brightness(0) invert(1);
}

body.is-service-mode .footer-nav-list a:hover {
  color: #cccccc;
}

/* 平板響應式 */
@media (max-width: 1024px) {
  .site-footer {
    margin-right: 0;
    padding-right: clamp(24px, 5vw, 64px);
    border-radius: 50px 50px 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: clamp(56px, 8vw, 72px);
  }

  .footer-right {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 4vw, 40px);
  }
}

/* 手機響應式 */
@media (max-width: 768px) {
  .site-footer {
    padding: clamp(48px, 8vw, 64px) 0 clamp(32px, 5vw, 40px);
    margin-top: 0;
    margin-right: 0;
    padding-right: clamp(20px, 5vw, 40px);
    border-radius: 40px 40px 0 0;
  }

  .footer-header {
    left: clamp(20px, 5vw, 40px);
    right: clamp(20px, 5vw, 40px);
  }

  .footer-main-title {
    font-size: clamp(40px, 8vw, 72px);
    white-space: normal;
  }

  .footer-content {
    gap: clamp(48px, 8vw, 64px);
  }

  .footer-left {
    gap: clamp(40px, 6vw, 56px);
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }

  .footer-nav-col {
    padding-bottom: clamp(16px, 3vw, 24px);
  }

  /* 確保內容不超出 */
  .footer-container {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .site-footer {
    border-radius: 30px 30px 0 0;
    padding: clamp(36px, 7vw, 52px) 0 clamp(24px, 4vw, 32px);
  }

  .footer-header {
    left: clamp(16px, 4vw, 28px);
    right: clamp(16px, 4vw, 28px);
  }

  .footer-main-title {
    font-size: clamp(28px, 7vw, 40px);
    white-space: normal;
    line-height: 1.4;
  }

  .footer-container {
    padding: 0 clamp(16px, 4vw, 24px);
  }

  .footer-logo {
    width: clamp(160px, 40vw, 200px);
  }

  .footer-right {
    gap: clamp(28px, 7vw, 40px);
  }
}


