:root {
  color-scheme: dark;
  --ink: #050607;
  --ink-2: #0b0f12;
  --paper: #f4f3ef;
  --paper-2: #e9e7df;
  --text: #f7f8f5;
  --text-dark: #101214;
  --muted: #aeb4b8;
  --muted-dark: #626a70;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(5, 6, 7, 0.16);
  --teal: #12c9c0;
  --teal-dark: #06988f;
  --radius: 6px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --page-width: min(1780px, calc(100% - clamp(64px, 5vw, 96px)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #000;
  font-family:
    "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 50%;
  width: var(--page-width);
  height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  color: #ffffff;
}

.brand-logo {
  width: clamp(72px, 6.3vw, 116px);
  height: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 21px;
  background: rgba(255, 255, 255, 0.42);
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(247, 248, 245, 0.78);
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 3.4vw, 58px);
  color: rgba(247, 248, 245, 0.76);
  font-size: clamp(0.76rem, 0.78vw, 0.9rem);
  font-weight: 700;
}

.nav-links a,
.site-footer nav a {
  position: relative;
  padding: 12px 0;
}

.nav-links a::after,
.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  opacity: 0;
  background: var(--teal);
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover::after,
.site-footer nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(36px, 3.1vw, 50px);
  padding: 0 clamp(20px, 1.8vw, 30px);
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: clamp(0.78rem, 0.78vw, 0.92rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta {
  color: #ffffff;
}

.nav-cta::after,
.button::after {
  content: "↗";
  margin-left: 11px;
  font-size: 0.78rem;
  transform: translateY(-1px);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #031415;
  border-color: var(--teal);
  background: var(--teal);
}

.button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

.button.ghost:hover,
.nav-cta:hover {
  color: var(--ink);
  border-color: var(--teal);
  background: var(--teal);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: #ffffff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-button span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-button span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 25;
  inset: 82px 0 auto;
  display: none;
  padding: 18px 22px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.96);
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.hero {
  --hero-copy-y: 0px;
  --hero-copy-opacity: 1;
  --hero-model-x: 0px;
  --hero-model-y: 0px;
  --hero-model-scale: 1;
  --hero-model-rotate: 0deg;
  --hero-pointer-x: 0;
  --hero-pointer-y: 0;
  --hero-mask-x: 56%;
  --hero-mask-y: 54%;
  --hero-mask-size: 48%;
  --hero-veil-opacity: 0.38;
  position: relative;
  min-height: clamp(356px, 34vw, 600px);
  overflow: hidden;
  padding: 86px 0 0;
  background:
    radial-gradient(circle at 74% 54%, rgba(170, 184, 190, 0.26), transparent 28rem),
    radial-gradient(circle at 50% 36%, rgba(18, 201, 192, 0.08), transparent 20rem),
    linear-gradient(90deg, rgba(2, 3, 4, 1) 0%, rgba(4, 6, 7, 0.98) 44%, rgba(9, 12, 14, 0.92) 100%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 86px 0 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 11.5%, rgba(255, 255, 255, 0.16) 11.55%, transparent 11.6%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 100% 88px;
  opacity: 0.1;
}

#brain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.22;
  mix-blend-mode: lighten;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: clamp(34px, 4.8vw, 92px);
  width: var(--page-width);
  max-width: none;
  min-height: clamp(252px, 27vw, 492px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 20;
  isolation: isolate;
  max-width: 640px;
  padding-top: clamp(20px, 3.4vw, 58px);
  opacity: var(--hero-copy-opacity);
  transform: translate3d(0, var(--hero-copy-y), 0);
  will-change: transform, opacity;
}

.hero-copy > * {
  animation: rise-in 880ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 120ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 210ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 300ms;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  line-height: 0.92;
}

.hero-logo {
  position: relative;
  z-index: 22;
  width: clamp(330px, 38vw, 690px);
  height: auto;
  display: block;
}

.hero-line {
  position: relative;
  margin: 12px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--teal);
  font-size: clamp(1.35rem, 2.05vw, 3.05rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero-summary {
  max-width: 630px;
  margin: clamp(12px, 1.4vw, 22px) 0 0;
  color: rgba(247, 248, 245, 0.76);
  font-size: clamp(0.9rem, 0.88vw, 1.02rem);
  line-height: 1.9;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 30px;
  margin-top: clamp(20px, 2vw, 30px);
}

.scan-button span {
  position: relative;
  z-index: 1;
}

.scan-button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}

.scan-button:hover::before,
.scan-button:focus-visible::before {
  opacity: 0.72;
  animation: premium-sheen 1.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

@keyframes premium-sheen {
  0% {
    transform: translateX(0) skewX(-18deg);
  }

  54% {
    transform: translateX(420%) skewX(-18deg);
  }

  100% {
    transform: translateX(420%) skewX(-18deg);
  }
}

.hero-object {
  position: relative;
  min-height: clamp(250px, 27vw, 530px);
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--hero-model-x), var(--hero-model-y), 0) scale(var(--hero-model-scale)) rotate(var(--hero-model-rotate));
  transform-origin: 56% 54%;
  will-change: transform;
  animation: model-arrive 1100ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-object img {
  position: absolute;
  inset: -44px -42px -54px -48px;
  width: calc(100% + 90px);
  height: calc(100% + 98px);
  display: block;
  object-fit: contain;
  object-position: center;
  transform: translate3d(calc(var(--hero-pointer-x) * 12px), calc(var(--hero-pointer-y) * -10px), 0);
  transition: transform 320ms ease-out;
  mask-image:
    radial-gradient(
      ellipse at var(--hero-mask-x) var(--hero-mask-y),
      black var(--hero-mask-size),
      rgba(0, 0, 0, 0.82) calc(var(--hero-mask-size) + 16%),
      transparent calc(var(--hero-mask-size) + 34%)
    );
  will-change: transform, mask-image;
}

.hero-object::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 8% -12% 8% 2%;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, 0.5) 38%, rgba(18, 201, 192, 0.18) 45%, transparent 58%),
    radial-gradient(circle at var(--hero-mask-x) var(--hero-mask-y), rgba(18, 201, 192, 0.2), transparent 42%);
  mix-blend-mode: screen;
  opacity: var(--hero-veil-opacity);
  transform: translate3d(calc(var(--hero-model-x) * -0.35), calc(var(--hero-model-y) * -0.25), 0);
  mask-image: linear-gradient(90deg, transparent, black 24%, black 78%, transparent);
  will-change: transform, opacity;
}

.hero-object::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 9%;
  width: 46%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.85), transparent);
  opacity: calc(var(--hero-veil-opacity) + 0.18);
  transform: translate3d(calc(var(--hero-model-x) * -0.5), calc(var(--hero-model-y) * -0.15), 0);
  animation: scan-line 3.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero:hover .hero-object img,
.hero-object:hover img,
.hero-object.is-assembling img {
  filter: brightness(1.12) contrast(1.08) drop-shadow(0 0 18px rgba(18, 201, 192, 0.16));
}

.assembly-rig {
  position: absolute;
  z-index: 12;
  inset: -1% -2% -4% -2%;
  pointer-events: none;
  perspective: 900px;
  opacity: 0.72;
  transform: translate3d(calc(var(--hero-pointer-x) * 8px), calc(var(--hero-pointer-y) * -6px), 0);
  transition: transform 320ms ease-out, opacity 220ms ease;
}

.assembly-rig::before,
.assembly-rig::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 260ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.assembly-rig::before {
  left: 15%;
  right: 12%;
  top: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.95), rgba(255, 255, 255, 0.72), transparent);
  box-shadow: 0 0 16px rgba(18, 201, 192, 0.82);
  transform-origin: left center;
}

.assembly-rig::after {
  right: 19%;
  top: 20%;
  width: 1px;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(18, 201, 192, 0.9), rgba(255, 255, 255, 0.56), transparent);
  box-shadow: 0 0 16px rgba(18, 201, 192, 0.82);
  transform: scaleY(0);
  transform-origin: top center;
}

.assembly-part {
  position: absolute;
  display: block;
  opacity: 0.46;
  border: 1.5px solid rgba(210, 248, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 45%),
    rgba(18, 201, 192, 0.11);
  box-shadow: 0 0 30px rgba(18, 201, 192, 0.22), inset 0 0 30px rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  transition:
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.assembly-part::before,
.assembly-part::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.part-frame {
  top: 1%;
  left: 31%;
  width: 43%;
  height: 43%;
  transform: translate3d(-92px, -54px, 86px) rotateX(58deg) rotateZ(-4deg) scale(0.74);
}

.part-frame::before {
  inset: 12% 9%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.part-core {
  top: 27%;
  left: 43%;
  width: 31%;
  height: 26%;
  background:
    repeating-linear-gradient(90deg, rgba(18, 201, 192, 0.22) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(18, 201, 192, 0.04));
  transform: translate3d(112px, -44px, 68px) rotateX(60deg) rotateZ(-3deg) scale(0.7);
}

.part-panel {
  top: 18%;
  left: 15%;
  width: 25%;
  height: 39%;
  transform: translate3d(-130px, 34px, 72px) rotateY(-54deg) rotateZ(-2deg) scale(0.7);
}

.part-panel::before {
  top: 18%;
  left: 16%;
  width: 52%;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 14px 0 rgba(255, 255, 255, 0.32),
    0 28px 0 rgba(18, 201, 192, 0.34),
    0 42px 0 rgba(255, 255, 255, 0.22);
}

.part-data {
  top: 19%;
  right: 8%;
  width: 19%;
  height: 44%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(18, 201, 192, 0.08), transparent);
  transform: translate3d(112px, 34px, 92px) rotateY(46deg) scale(0.72);
}

.part-base {
  left: 25%;
  bottom: 13%;
  width: 46%;
  height: 18%;
  transform: translate3d(-44px, 92px, 44px) rotateX(70deg) rotateZ(-1deg) scale(0.78);
}

.part-base::before {
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.92), transparent);
  box-shadow: 0 11px 0 rgba(255, 255, 255, 0.18), 0 -11px 0 rgba(255, 255, 255, 0.12);
}

.part-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border-color: rgba(18, 201, 192, 0.74);
  background: rgba(18, 201, 192, 0.82);
  box-shadow: 0 0 18px rgba(18, 201, 192, 0.8);
  transform: scale(0.15);
}

.node-a {
  top: 18%;
  left: 47%;
}

.node-b {
  top: 46%;
  left: 28%;
}

.node-c {
  top: 58%;
  right: 20%;
}

.hero:hover .assembly-rig,
.hero-object:hover .assembly-rig,
.hero-object.is-assembling .assembly-rig {
  opacity: 1;
}

.hero:hover .assembly-rig::before,
.hero-object:hover .assembly-rig::before,
.hero-object.is-assembling .assembly-rig::before {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 520ms;
}

.hero:hover .assembly-rig::after,
.hero-object:hover .assembly-rig::after,
.hero-object.is-assembling .assembly-rig::after {
  opacity: 1;
  transform: scaleY(1);
  transition-delay: 660ms;
}

.hero:hover .assembly-part,
.hero-object:hover .assembly-part,
.hero-object.is-assembling .assembly-part {
  opacity: 0.96;
  border-color: rgba(230, 252, 255, 0.88);
  box-shadow: 0 0 42px rgba(18, 201, 192, 0.42), inset 0 0 34px rgba(255, 255, 255, 0.12);
}

.hero:hover .part-frame,
.hero-object:hover .part-frame,
.hero-object.is-assembling .part-frame {
  transform: translate3d(0, 0, 0) rotateX(58deg) rotateZ(-4deg) scale(1);
}

.hero:hover .part-core,
.hero-object:hover .part-core,
.hero-object.is-assembling .part-core {
  transform: translate3d(0, 0, 0) rotateX(60deg) rotateZ(-3deg) scale(1);
  transition-delay: 90ms;
}

.hero:hover .part-panel,
.hero-object:hover .part-panel,
.hero-object.is-assembling .part-panel {
  transform: translate3d(0, 0, 0) rotateY(-54deg) rotateZ(-2deg) scale(1);
  transition-delay: 160ms;
}

.hero:hover .part-data,
.hero-object:hover .part-data,
.hero-object.is-assembling .part-data {
  transform: translate3d(0, 0, 0) rotateY(46deg) scale(1);
  transition-delay: 230ms;
}

.hero:hover .part-base,
.hero-object:hover .part-base,
.hero-object.is-assembling .part-base {
  transform: translate3d(0, 0, 0) rotateX(70deg) rotateZ(-1deg) scale(1);
  transition-delay: 300ms;
}

.hero:hover .part-node,
.hero-object:hover .part-node,
.hero-object.is-assembling .part-node {
  opacity: 1;
  transform: scale(1);
  transition-delay: 420ms;
}

.hero:hover .node-a,
.hero-object:hover .node-a,
.hero-object.is-assembling .node-a {
  animation: node-pulse 1.4s 420ms ease-in-out infinite;
}

.hero:hover .node-b,
.hero-object:hover .node-b,
.hero-object.is-assembling .node-b {
  animation: node-pulse 1.4s 560ms ease-in-out infinite;
}

.hero:hover .node-c,
.hero-object:hover .node-c,
.hero-object.is-assembling .node-c {
  animation: node-pulse 1.4s 700ms ease-in-out infinite;
}

.assembly-rig {
  z-index: 6;
  inset: -44px -42px -54px -48px;
  opacity: 1;
  mix-blend-mode: normal;
  perspective: none;
  transform: translate3d(calc(var(--hero-pointer-x) * 8px), calc(var(--hero-pointer-y) * -6px), 0);
}

.assembly-rig::before,
.assembly-rig::after {
  display: none;
}

.assembly-slice {
  position: absolute;
  inset: 0;
  display: block;
  background-image: url("assets/hero-system-model.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  mix-blend-mode: screen;
  filter: brightness(1.08) contrast(1.08) drop-shadow(0 0 12px rgba(18, 201, 192, 0.2));
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 360ms ease,
    filter 360ms ease;
  will-change: transform, opacity;
}

.slice-base {
  --slice-x: -46px;
  --slice-y: 48px;
  --slice-scale: 0.97;
  clip-path: inset(49% 18% 12% 10%);
  transition-delay: 0ms;
}

.slice-left {
  --slice-x: -88px;
  --slice-y: 12px;
  --slice-scale: 0.96;
  clip-path: inset(19% 64% 30% 3%);
  transition-delay: 80ms;
}

.slice-center {
  --slice-x: 34px;
  --slice-y: -58px;
  --slice-scale: 0.94;
  clip-path: inset(25% 34% 31% 34%);
  transition-delay: 160ms;
}

.slice-top {
  --slice-x: 0px;
  --slice-y: -92px;
  --slice-scale: 0.92;
  clip-path: inset(2% 18% 56% 29%);
  transition-delay: 240ms;
}

.slice-right {
  --slice-x: 92px;
  --slice-y: 14px;
  --slice-scale: 0.96;
  clip-path: inset(19% 4% 22% 58%);
  transition-delay: 320ms;
}

.slice-front {
  --slice-x: -24px;
  --slice-y: 86px;
  --slice-scale: 0.95;
  clip-path: inset(51% 38% 18% 21%);
  transition-delay: 400ms;
}

.hero-object > img {
  opacity: 0.92;
  transition: transform 320ms ease-out, opacity 360ms ease, filter 360ms ease;
}

.hero-object.is-disassembling > img {
  opacity: 0.58;
}

.hero-object.is-assembling > img {
  opacity: 0.92;
}

.hero-object.is-disassembling .assembly-slice {
  opacity: 0.84;
  filter: brightness(1.1) contrast(1.1) drop-shadow(0 0 18px rgba(18, 201, 192, 0.3));
  transform: translate3d(var(--slice-x), var(--slice-y), 0) scale(var(--slice-scale, 1));
}

.hero-object.is-assembling .assembly-slice {
  opacity: 0.96;
  filter: brightness(1.14) contrast(1.12) drop-shadow(0 0 18px rgba(18, 201, 192, 0.34));
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-tech-visual {
  --hero-hover-scale: 1;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --hero-scroll-opacity: 1;
  z-index: 4;
  position: relative;
  min-height: clamp(310px, 31vw, 560px);
  overflow: visible;
  opacity: var(--hero-scroll-opacity);
  transform:
    translate3d(var(--hero-model-x), var(--hero-model-y), 0)
    scale(calc(var(--hero-model-scale) * var(--hero-hover-scale)))
    rotateX(var(--hero-tilt-x))
    rotateY(var(--hero-tilt-y))
    rotate(var(--hero-model-rotate));
  transform-style: preserve-3d;
  transform-origin: 54% 52%;
  perspective: 1200px;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms ease;
  animation: tech-visual-arrive 1180ms 160ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-tech-visual::before,
.hero-tech-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -12% -8% -10% -8%;
  border-radius: 40%;
  opacity: 0.78;
}

.hero-tech-visual::before {
  z-index: -2;
  background:
    radial-gradient(circle at 44% 49%, rgba(18, 201, 192, 0.28), transparent 24%),
    radial-gradient(circle at 66% 39%, rgba(84, 202, 255, 0.18), transparent 30%),
    radial-gradient(circle at 58% 76%, rgba(18, 201, 192, 0.12), transparent 35%),
    linear-gradient(90deg, transparent 0 8%, rgba(18, 201, 192, 0.08) 35%, transparent 76%);
  filter: blur(8px);
  animation: glow-breathe 5.8s ease-in-out infinite;
}

.hero-tech-visual::after {
  z-index: 8;
  inset: 9% 3% 15% 8%;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.45) 48%, rgba(18, 201, 192, 0.2) 52%, transparent 64%);
  mix-blend-mode: screen;
  opacity: 0.26;
  transform: translate3d(-32%, 0, 0);
  animation: tech-scan 4.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-tech-visual:hover {
  --hero-hover-scale: 1.03;
}

.hero-tech-visual .tech-model {
  position: absolute;
  inset: -11% -8% -13% -10%;
  width: 118%;
  height: 124%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0.96;
  mask-image:
    radial-gradient(ellipse at 58% 52%, black 0 50%, rgba(0, 0, 0, 0.72) 64%, transparent 88%),
    linear-gradient(90deg, transparent 0%, black 10%, black 82%, transparent 100%);
  filter: brightness(0.94) contrast(1.18) saturate(1.04) drop-shadow(0 0 28px rgba(18, 201, 192, 0.16));
  transform: translate3d(calc(var(--hero-pointer-x) * 12px), calc(var(--hero-pointer-y) * -10px), 0) scale(1);
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), filter 360ms ease;
  will-change: transform;
}

.hero-tech-visual:hover .tech-model {
  filter: brightness(1.12) contrast(1.12) drop-shadow(0 0 40px rgba(18, 201, 192, 0.22));
}

.tech-core,
.tech-grid-plane,
.tech-data-flow,
.tech-panel,
.tech-module,
.tech-light,
.tech-particle {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.tech-core {
  inset: 0;
  z-index: 4;
  transform: translate3d(0, 0, 0);
}

.tech-grid-plane {
  z-index: 1;
  left: 5%;
  right: 1%;
  bottom: 2%;
  height: 58%;
  transform: perspective(740px) rotateX(66deg) rotateZ(-3deg) translate3d(calc(var(--hero-pointer-x) * -8px), calc(var(--hero-pointer-y) * 5px), -70px);
  background:
    linear-gradient(rgba(18, 201, 192, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 201, 192, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 45% 45%, rgba(18, 201, 192, 0.28), transparent 30%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  border: 1px solid rgba(18, 201, 192, 0.12);
  mask-image: radial-gradient(ellipse at 56% 52%, black 0 42%, transparent 78%);
  opacity: 0.52;
  animation: grid-drift 11s linear infinite;
}

.core-cube {
  position: absolute;
  z-index: 7;
  left: 48.5%;
  top: 45.5%;
  width: clamp(118px, 11vw, 196px);
  aspect-ratio: 0.86;
  transform: translate(-50%, -50%) translateZ(64px) rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 0 24px rgba(18, 201, 192, 0.38));
}

.cube-face {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(220, 252, 255, 0.54);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(18, 201, 192, 0.035) 38%, rgba(0, 9, 12, 0.02)),
    rgba(3, 12, 15, 0.08);
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.08), 0 0 20px rgba(18, 201, 192, 0.18);
  backdrop-filter: blur(3px);
}

.face-front {
  transform: translateZ(28px);
}

.face-top {
  height: 26%;
  transform: rotateX(75deg) translateY(-52%) translateZ(34px);
  transform-origin: top center;
}

.face-side {
  width: 28%;
  left: auto;
  transform: rotateY(78deg) translateX(52%) translateZ(34px);
  transform-origin: right center;
}

.core-logo {
  position: absolute;
  inset: 0 0 16%;
  display: grid;
  place-items: center;
  color: rgba(230, 255, 255, 0.96);
  font-size: clamp(2.2rem, 4.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 24px rgba(18, 201, 192, 0.92), 0 0 46px rgba(84, 202, 255, 0.34);
  transform: translateZ(36px);
}

.core-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21%;
  color: rgba(230, 255, 255, 0.78);
  font-family: "Inter", "Noto Sans TC", sans-serif;
  font-size: clamp(0.58rem, 0.82vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-shadow: 0 0 14px rgba(18, 201, 192, 0.8);
  transform: translateZ(38px);
}

.tech-data-flow {
  position: absolute;
  z-index: 6;
  inset: 16% 9% 12% 10%;
  pointer-events: none;
  transform: translate3d(calc(var(--hero-pointer-x) * 10px), calc(var(--hero-pointer-y) * -7px), 0);
}

.tech-data-flow span {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.8), rgba(255, 255, 255, 0.55), transparent);
  box-shadow: 0 0 14px rgba(18, 201, 192, 0.74);
  opacity: 0.56;
  animation: data-flow 4.8s linear infinite;
}

.tech-data-flow span:nth-child(1) {
  left: 12%;
  right: 42%;
  top: 35%;
}

.tech-data-flow span:nth-child(2) {
  left: 31%;
  right: 16%;
  top: 55%;
  animation-delay: 1.2s;
}

.tech-data-flow span:nth-child(3) {
  left: 28%;
  right: 26%;
  bottom: 17%;
  animation-delay: 2.1s;
}

.tech-panel {
  z-index: 6;
  width: clamp(100px, 9vw, 156px);
  min-height: clamp(74px, 7.2vw, 116px);
  padding: 12px 13px;
  border: 1px solid rgba(196, 242, 248, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(18, 201, 192, 0.025) 46%, rgba(2, 7, 9, 0.08)),
    rgba(2, 6, 8, 0.18);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.045), 0 0 18px rgba(18, 201, 192, 0.12);
  backdrop-filter: blur(7px);
  color: rgba(242, 252, 252, 0.88);
  opacity: 0;
  translate: 0 16px;
  transform-style: preserve-3d;
  transition: border-color 320ms ease, box-shadow 320ms ease, transform 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease, translate 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-panel span {
  display: block;
  color: rgba(18, 201, 192, 0.88);
  font-family: "Inter", "Noto Sans TC", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tech-panel strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(0.82rem, 1vw, 1.04rem);
  font-weight: 800;
}

.tech-panel i {
  display: block;
  width: 54%;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, rgba(18, 201, 192, 0.95), transparent);
  box-shadow: 0 0 12px rgba(18, 201, 192, 0.8);
}

.panel-vision {
  left: 12%;
  top: 10%;
  transform: translate3d(calc(var(--hero-pointer-x) * -23px), calc(var(--hero-pointer-y) * 17px), 64px) rotateY(-24deg) rotateZ(1deg);
  animation: panel-float 6.8s ease-in-out infinite;
  transition-delay: 80ms;
}

.panel-knowledge {
  left: 14%;
  bottom: 22%;
  transform: translate3d(calc(var(--hero-pointer-x) * -18px), calc(var(--hero-pointer-y) * -13px), 52px) rotateY(-18deg) rotateZ(-1deg);
  animation: panel-float 7.4s 0.7s ease-in-out infinite;
  transition-delay: 200ms;
}

.panel-aware {
  right: 4%;
  top: 43%;
  transform: translate3d(calc(var(--hero-pointer-x) * 26px), calc(var(--hero-pointer-y) * -18px), 70px) rotateY(24deg) rotateZ(-1deg);
  animation: panel-float 7s 1.1s ease-in-out infinite;
  transition-delay: 320ms;
}

.tech-module {
  z-index: 7;
  bottom: 9%;
  width: clamp(48px, 4.4vw, 66px);
  height: clamp(42px, 3.8vw, 54px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 201, 192, 0.28);
  background: rgba(2, 8, 10, 0.44);
  color: rgba(230, 255, 255, 0.74);
  font-size: clamp(0.46rem, 0.52vw, 0.58rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 0 18px rgba(18, 201, 192, 0.12);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.module-site {
  left: 36%;
  transition-delay: 220ms;
}

.module-system {
  left: 46%;
  transition-delay: 340ms;
}

.module-seo {
  left: 56%;
  transition-delay: 460ms;
}

.module-analytics {
  left: 66%;
  transition-delay: 580ms;
}

.module-ai {
  left: 76%;
  transition-delay: 700ms;
}

.hero-tech-visual.is-visual-ready .tech-panel,
.hero-tech-visual.is-visual-ready .tech-module,
.tech-panel.is-visible,
.tech-module.is-visible,
.hero-tech-visual:hover .tech-module {
  opacity: 1;
  translate: 0 0;
}

.hero-tech-visual.is-visual-ready .tech-module,
.tech-module.is-visible,
.hero-tech-visual:hover .tech-module {
  transform: translateY(0);
}

.hero-tech-visual:hover .tech-panel {
  border-color: rgba(216, 255, 255, 0.72);
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.1), 0 0 36px rgba(18, 201, 192, 0.28);
}

.tech-light {
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.92), rgba(255, 255, 255, 0.7), transparent);
  box-shadow: 0 0 18px rgba(18, 201, 192, 0.86);
  opacity: 0.74;
}

.light-a {
  left: 15%;
  right: 9%;
  top: 58%;
  animation: light-flow 4.9s linear infinite;
}

.light-b {
  left: 26%;
  right: 24%;
  top: 34%;
  transform: rotate(90deg);
  animation: light-flow 5.8s 0.8s linear infinite reverse;
}

.tech-particle {
  z-index: 9;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(18, 201, 192, 0.82);
  background: rgba(18, 201, 192, 0.4);
  box-shadow: 0 0 16px rgba(18, 201, 192, 0.78);
  transform: translate3d(calc(var(--hero-pointer-x) * var(--particle-x, 10px)), calc(var(--hero-pointer-y) * var(--particle-y, -10px)), 0);
  animation: particle-float 5.6s ease-in-out infinite;
}

.particle-a {
  --particle-x: -20px;
  --particle-y: 18px;
  left: 23%;
  top: 32%;
}

.particle-b {
  --particle-x: 26px;
  --particle-y: -22px;
  right: 16%;
  top: 25%;
  animation-delay: 1s;
}

.particle-c {
  --particle-x: -14px;
  --particle-y: -28px;
  left: 34%;
  bottom: 18%;
  animation-delay: 1.8s;
}

.particle-d {
  --particle-x: 28px;
  --particle-y: 18px;
  right: 24%;
  bottom: 27%;
  animation-delay: 2.4s;
}

.hero-tech-visual[data-hero-scene] {
  --scene-x: 0;
  --scene-y: 0;
  --scene-tilt-x: 0deg;
  --scene-tilt-y: 0deg;
  --scene-intensity: 1;
  --hero-scroll-opacity: 1;
  z-index: 4;
  min-height: clamp(370px, 33vw, 620px);
  overflow: visible;
  isolation: isolate;
  opacity: var(--hero-scroll-opacity);
  transform:
    translate3d(var(--hero-model-x), var(--hero-model-y), 0)
    scale(var(--hero-model-scale))
    rotateX(var(--scene-tilt-x))
    rotateY(var(--scene-tilt-y));
  transform-style: preserve-3d;
  perspective: 1300px;
  transform-origin: 52% 54%;
  animation: tech-visual-arrive 1050ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-reference-visual {
  display: grid;
  place-items: center;
  --scene-x: 0;
  --scene-y: 0;
  --scene-tilt-x: 0deg;
  --scene-tilt-y: 0deg;
  --scene-intensity: 1;
  --scene-entry-opacity: 1;
  --scene-entry-y: 0px;
  overflow: visible;
}

.hero-reference-visual::before {
  content: none;
}

.hero-reference-visual::after {
  content: none;
}

.hero-reference-stage {
  position: relative;
  width: min(124%, 1040px);
  aspect-ratio: 1792 / 1024;
  overflow: hidden;
  transform: translate3d(-4%, var(--scene-entry-y), 0);
  transform-style: flat;
  transform-origin: 52% 52%;
  opacity: var(--scene-entry-opacity);
  will-change: transform, opacity;
  image-rendering: auto;
  --idle-glow: 0.45;
}

.hero-object .hero-reference-icon,
.hero-object .hero-reference-part {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  transform: translateZ(0);
  transition: none;
  will-change: auto;
  backface-visibility: hidden;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 3%, black 7%, black 94%, rgba(0, 0, 0, 0.72) 98%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 3%, black 7%, black 93%, rgba(0, 0, 0, 0.72) 98%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 3%, black 7%, black 94%, rgba(0, 0, 0, 0.72) 98%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 3%, black 7%, black 93%, rgba(0, 0, 0, 0.72) 98%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.hero-visual,
.hero-visual-stage,
.hero-main-image,
.hero-core,
.hero-server,
.panel-vision,
.panel-knowledge,
.panel-aware,
.module-cards,
.glow-line,
.tech-grid,
.particles,
.hero-idle-particle {
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.hero-core {
  transform-style: preserve-3d;
}

.tech-grid {
  will-change: background-position, transform, opacity;
}

.glow-line {
  will-change: transform, opacity, filter;
}

.hero-object .hero-reference-part {
  z-index: 4;
  opacity: 0;
}

.part-cube {
  clip-path: polygon(35% 14%, 62% 14%, 64% 68%, 32% 70%, 31% 25%);
}

.part-server {
  clip-path: polygon(56% 10%, 91% 10%, 90% 68%, 58% 68%);
}

.part-left-panels {
  clip-path: polygon(3% 8%, 37% 8%, 39% 84%, 2% 84%);
}

.part-vision {
  clip-path: polygon(4% 8%, 35% 8%, 36% 46%, 3% 48%);
}

.part-knowledge {
  clip-path: polygon(3% 47%, 36% 47%, 38% 84%, 2% 84%);
}

.part-aware {
  clip-path: polygon(77% 38%, 99% 36%, 99% 83%, 76% 85%);
}

.module-website { clip-path: polygon(37.8% 73%, 44.6% 73%, 44.6% 97%, 37.8% 97%); }
.module-system { clip-path: polygon(44.1% 73%, 51.1% 73%, 51.1% 97%, 44.1% 97%); }
.module-strategy { clip-path: polygon(50.5% 73%, 57.9% 73%, 57.9% 97%, 50.5% 97%); }
.module-solution { clip-path: polygon(57.1% 73%, 64.8% 73%, 64.8% 97%, 57.1% 97%); }

.hero-intro-scan {
  position: absolute;
  z-index: 9;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  overflow: visible;
  background: none;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.46));
  mask-image: radial-gradient(ellipse at 59% 54%, black 0 36%, rgba(0, 0, 0, 0.7) 54%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 59% 54%, black 0 36%, rgba(0, 0, 0, 0.7) 54%, transparent 78%);
}

.hero-scan-path,
.hero-scan-spark {
  fill: none;
  stroke: rgba(98, 246, 255, 0.76);
  stroke-width: 0.42;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
  filter: drop-shadow(0 0 7px rgba(0, 255, 255, 0.78));
  animation: scanPath 3.7s ease-in-out infinite;
}

.scan-path-core {
  animation-delay: 0.22s;
}

.scan-path-server {
  animation-delay: 0.42s;
}

.scan-path-panel {
  animation-delay: 0.66s;
  opacity: 0;
}

.hero-scan-spark {
  stroke: rgba(226, 255, 255, 0.58);
  stroke-width: 0.3;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation-duration: 2.8s;
  animation-delay: 0.88s;
}

.hero-idle-grid,
.hero-idle-particle,
.particles {
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.particles {
  z-index: 8;
  inset: 0;
  opacity: 1;
  overflow: visible;
  will-change: transform, opacity;
}

.hero-idle-grid {
  z-index: 1;
  inset: 2% 0 0 0;
  background:
    linear-gradient(rgba(18, 201, 192, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 201, 192, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 56% 55%, black 0 40%, transparent 78%);
  mix-blend-mode: screen;
}

.hero-reference-stage.is-idle .hero-idle-grid {
  opacity: 0.24;
  animation: hero-idle-grid-drift 10s linear infinite;
}

.hero-reference-stage.is-hovering .hero-idle-grid {
  opacity: 0.36;
  animation-duration: 5.2s;
}

.hero-reference-stage.is-idle .hero-reference-icon {
  filter:
    drop-shadow(0 0 calc(12px + 18px * var(--idle-glow)) rgba(18, 201, 192, calc(0.16 + 0.18 * var(--idle-glow))));
}

.hero-idle-particle {
  z-index: 8;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(88, 241, 246, 0.82);
  background: rgba(18, 201, 192, 0.12);
  box-shadow: 0 0 14px rgba(18, 201, 192, 0.55);
  transform: rotate(45deg) scale(0.8);
  will-change: transform, opacity;
}

.idle-particle-1 { left: 23%; top: 44%; }
.idle-particle-2 { left: 34%; top: 61%; }
.idle-particle-3 { left: 49%; top: 35%; }
.idle-particle-4 { right: 15%; top: 48%; }
.idle-particle-5 { right: 8%; top: 35%; }

@keyframes hero-idle-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 28px -18px, -18px 24px;
  }
}

@keyframes scanPath {
  0% {
    stroke-dashoffset: 42;
    opacity: 0;
  }

  14% {
    opacity: 0.86;
  }

  72% {
    opacity: 0.72;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.hero:hover .hero-object .hero-reference-icon,
.hero-object:hover .hero-reference-icon,
.hero-object.is-assembling .hero-reference-icon {
  filter: none;
}

.hero-reference-visual:hover .hero-depth-glow,
.hero.is-scene-hover .hero-depth-glow {
  opacity: 1;
}

.hero-depth-glow,
.hero-cube-parallax,
.hero-panel-depth,
.hero-grid-flow,
.hero-orbit-cube,
.hero-particle {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.hero-depth-glow {
  z-index: -1;
  inset: 7% 7% 8% 4%;
  background:
    radial-gradient(circle at 52% 45%, rgba(191, 255, 255, calc(0.16 * var(--scene-intensity))), transparent 18%),
    radial-gradient(circle at 70% 47%, rgba(18, 201, 192, calc(0.13 * var(--scene-intensity))), transparent 28%),
    radial-gradient(ellipse at 45% 76%, rgba(18, 201, 192, 0.13), transparent 45%);
  filter: blur(18px);
  opacity: 0.92;
  animation: glow-breathe 5.8s ease-in-out infinite;
}

.hero-cube-parallax {
  z-index: 3;
  left: 43.8%;
  top: 18.3%;
  width: 29.5%;
  height: 42%;
  border: 1px solid rgba(224, 255, 255, calc(0.45 + 0.2 * var(--scene-intensity)));
  background:
    linear-gradient(145deg, rgba(226, 255, 255, 0.1), rgba(18, 201, 192, 0.05) 46%, transparent 72%);
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.08),
    0 0 calc(18px + 18px * var(--scene-intensity)) rgba(18, 201, 192, 0.18);
  mix-blend-mode: screen;
  opacity: 0.58;
  transform:
    perspective(780px)
    rotateX(calc(var(--scene-y) * -5deg))
    rotateY(calc(var(--scene-x) * 6deg))
    translateZ(34px);
  transition: border-color 320ms ease, box-shadow 320ms ease, opacity 320ms ease;
}

.hero-panel-depth {
  z-index: 4;
  border: 1px solid rgba(151, 247, 255, calc(0.2 + 0.18 * var(--scene-intensity)));
  background: rgba(24, 221, 232, 0.04);
  box-shadow: 0 0 calc(14px + 14px * var(--scene-intensity)) rgba(18, 201, 192, 0.13);
  mix-blend-mode: screen;
  opacity: 0.54;
}

.panel-depth-vision {
  left: 19.7%;
  top: 16.2%;
  width: 16.5%;
  height: 28%;
  transform: skewY(13deg);
}

.panel-depth-knowledge {
  left: 24.4%;
  top: 59%;
  width: 17%;
  height: 25%;
  transform: skewY(9deg);
}

.panel-depth-aware {
  right: 4.6%;
  top: 62.4%;
  width: 16%;
  height: 24%;
  transform: skewY(-12deg);
}

.hero-grid-flow {
  z-index: 2;
  left: 7%;
  right: 9%;
  bottom: 9%;
  height: 24%;
  background:
    linear-gradient(100deg, transparent 0 24%, rgba(30, 238, 248, 0.45) 42%, rgba(255, 255, 255, 0.22) 49%, transparent 66%),
    repeating-linear-gradient(116deg, rgba(20, 216, 228, 0.14) 0 1px, transparent 1px 30px);
  clip-path: polygon(0 28%, 49% 100%, 100% 13%, 53% 0);
  mix-blend-mode: screen;
  opacity: 0.36;
  animation: hero-grid-current 6.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-orbit-cube {
  z-index: 5;
  width: 3.7%;
  aspect-ratio: 1;
  border: 1px solid rgba(43, 232, 242, 0.72);
  box-shadow: 0 0 16px rgba(18, 201, 192, 0.38);
  transform: rotate(45deg);
  opacity: 0.66;
}

.orbit-cube-a {
  left: 26.6%;
  top: 59.3%;
  animation: hero-float-a 5.6s ease-in-out infinite;
}

.orbit-cube-b {
  right: 11.8%;
  top: 44.3%;
  animation: hero-float-b 6.2s 0.4s ease-in-out infinite;
}

.orbit-cube-c {
  left: 35.7%;
  top: 70%;
  animation: hero-float-b 5.4s 0.8s ease-in-out infinite;
}

.hero-particle {
  z-index: 6;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #27eff5;
  box-shadow: 0 0 14px rgba(39, 239, 245, 0.9);
  opacity: 0.72;
}

.particle-a { left: 69%; top: 10%; animation: hero-particle-drift 5.8s ease-in-out infinite; }
.particle-b { left: 83%; top: 14%; animation: hero-particle-drift 6.8s 0.7s ease-in-out infinite; }
.particle-c { left: 35%; top: 73%; animation: hero-particle-drift 7.4s 1.2s ease-in-out infinite; }
.particle-d { left: 15%; top: 62%; animation: hero-particle-drift 6.2s 0.3s ease-in-out infinite; }
.particle-e { right: 4%; top: 66%; animation: hero-particle-drift 5.2s 1.5s ease-in-out infinite; }

.hero-reference-visual.is-visual-ready .hero-reference-stage {
  animation: hero-stage-float 7.4s 1.1s ease-in-out infinite;
}

.hero.is-scene-hover .hero-cube-parallax,
.hero-reference-visual:hover .hero-cube-parallax {
  opacity: 0.82;
}

@keyframes hero-stage-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes hero-grid-current {
  0% {
    background-position: -260px 0, 0 0;
    opacity: 0.16;
  }

  45% {
    opacity: 0.42;
  }

  100% {
    background-position: 420px 0, 80px 0;
    opacity: 0.2;
  }
}

@keyframes hero-float-a {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 7px -12px;
  }
}

@keyframes hero-float-b {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: -9px -10px;
  }
}

@keyframes hero-particle-drift {
  0%,
  100% {
    translate: 0 0;
    opacity: 0.35;
  }

  50% {
    translate: 12px -18px;
    opacity: 0.9;
  }
}

.hero-tech-visual[data-hero-scene]::before {
  z-index: -3;
  inset: -18% -11% -12% -10%;
  border-radius: 0;
  background:
    radial-gradient(circle at 45% 47%, rgba(18, 201, 192, calc(0.24 * var(--scene-intensity))), transparent 21%),
    radial-gradient(circle at 69% 43%, rgba(76, 188, 255, calc(0.17 * var(--scene-intensity))), transparent 32%),
    radial-gradient(circle at 46% 76%, rgba(180, 235, 255, 0.12), transparent 27%),
    linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.08), transparent);
  filter: blur(10px);
  opacity: 0.95;
}

.hero-tech-visual[data-hero-scene]::after {
  content: none;
}

.hero-reference-stage .hero-main-image,
.hero-reference-stage .hero-core,
.hero-reference-stage .hero-server,
.hero-reference-stage .panel-vision,
.hero-reference-stage .panel-knowledge,
.hero-reference-stage .panel-aware,
.hero-reference-stage .module-cards {
  inset: -1px;
  left: -1px;
  right: auto;
  top: -1px;
  bottom: auto;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  animation: none;
  transform: translate3d(0, 0, 0);
  transition: none;
}

.hero-reference-stage .panel-vision,
.hero-reference-stage .panel-knowledge,
.hero-reference-stage .panel-aware {
  display: block;
  margin: 0;
}

.scene-haze,
.scene-grid,
.scene-beam,
.scene-core,
.scene-server,
.scene-panel,
.scene-modules,
.scene-data-panel,
.scene-particle {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.scene-haze {
  z-index: -2;
  inset: 2% 2% 0 0;
  background:
    radial-gradient(ellipse at 50% 56%, rgba(186, 232, 244, 0.2), transparent 22%),
    radial-gradient(ellipse at 64% 53%, rgba(18, 201, 192, 0.18), transparent 34%);
  filter: blur(18px);
  opacity: 0.68;
  animation: scene-breathe 6s ease-in-out infinite;
}

.scene-grid {
  z-index: 1;
  border: 1px solid rgba(18, 201, 192, 0.12);
  background:
    linear-gradient(rgba(18, 201, 192, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 201, 192, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 0 43%, transparent 78%);
  opacity: 0.48;
}

.grid-back {
  left: 18%;
  right: 3%;
  top: 5%;
  height: 55%;
  transform: translate3d(calc(var(--scene-x) * -16px), calc(var(--scene-y) * 10px), -160px) rotateX(62deg) rotateZ(-4deg);
  animation: grid-drift 13s linear infinite;
}

.grid-floor {
  left: 8%;
  right: 1%;
  bottom: 0;
  height: 54%;
  transform: translate3d(calc(var(--scene-x) * 14px), calc(var(--scene-y) * -8px), -80px) rotateX(68deg) rotateZ(-2deg);
  opacity: 0.56;
  animation: grid-drift 9s linear infinite reverse;
}

.scene-beam {
  z-index: 13;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.95), rgba(235, 255, 255, 0.66), transparent);
  box-shadow: 0 0 20px rgba(18, 201, 192, 0.86);
  opacity: 0.7;
}

.beam-horizontal {
  left: 15%;
  right: 5%;
  top: 58%;
  animation: beam-flow 4.6s linear infinite;
}

.beam-vertical {
  left: 52%;
  top: 22%;
  width: 1px;
  height: 52%;
  animation: beam-flow-y 5.4s linear infinite;
}

.scene-core {
  z-index: 10;
  left: 37%;
  top: 18%;
  width: clamp(220px, 22vw, 390px);
  height: clamp(230px, 22vw, 400px);
  transform:
    translate3d(calc(var(--scene-x) * 18px), calc(var(--scene-y) * -14px), 70px)
    rotateX(calc(var(--scene-y) * -4deg))
    rotateY(calc(var(--scene-x) * 5deg));
  transform-style: preserve-3d;
}

.core-platform {
  position: absolute;
  left: 5%;
  right: 5%;
  height: 34%;
  border: 1px solid rgba(190, 243, 250, 0.26);
  background:
    linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.14), transparent),
    rgba(4, 13, 16, 0.22);
  transform: rotateX(67deg) rotateZ(-1deg);
  transform-origin: center;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.04), 0 0 24px rgba(18, 201, 192, 0.18);
}

.platform-back {
  bottom: 23%;
  opacity: 0.42;
}

.platform-mid {
  bottom: 14%;
  opacity: 0.62;
}

.platform-front {
  bottom: 5%;
  opacity: 0.78;
}

.core-cube-3d {
  position: absolute;
  left: 30%;
  top: 6%;
  width: 42%;
  height: 54%;
  transform-style: preserve-3d;
  transform: translateZ(86px);
  filter: drop-shadow(0 0 28px rgba(18, 201, 192, 0.42));
}

.core-cube-3d .cube-face {
  position: absolute;
  display: block;
  border: 1px solid rgba(222, 252, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(18, 201, 192, 0.035) 48%, rgba(0, 11, 14, 0.06)),
    rgba(2, 12, 16, 0.08);
  box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.08), 0 0 24px rgba(18, 201, 192, 0.2);
  backdrop-filter: blur(5px);
}

.cube-front {
  inset: 0;
  transform: translateZ(42px);
}

.cube-left {
  inset: 0 auto 0 0;
  width: 34%;
  transform-origin: left center;
  transform: rotateY(-74deg) translateZ(42px);
}

.cube-right {
  inset: 0 0 0 auto;
  width: 34%;
  transform-origin: right center;
  transform: rotateY(74deg) translateZ(42px);
}

.cube-top {
  inset: 0 0 auto;
  height: 30%;
  transform-origin: top center;
  transform: rotateX(74deg) translateZ(42px);
}

.cube-mark,
.cube-name,
.cube-scan {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  text-align: center;
  transform: translateZ(52px);
}

.cube-mark {
  top: 31%;
  color: rgba(232, 255, 255, 0.96);
  font-size: clamp(3.2rem, 5vw, 6.4rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 24px rgba(18, 201, 192, 0.98), 0 0 58px rgba(84, 202, 255, 0.44);
}

.cube-name {
  top: 66%;
  color: rgba(230, 255, 255, 0.75);
  font-size: clamp(0.62rem, 0.78vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cube-scan {
  top: 10%;
  bottom: 10%;
  width: 1px;
  margin: auto;
  background: linear-gradient(180deg, transparent, rgba(18, 201, 192, 0.92), transparent);
  box-shadow: 0 0 18px rgba(18, 201, 192, 0.88);
  animation: cube-scan 3.4s linear infinite;
}

.scene-server {
  z-index: 9;
  right: 8%;
  top: 16%;
  width: clamp(130px, 13vw, 245px);
  height: clamp(190px, 18vw, 330px);
  border: 1px solid rgba(198, 244, 250, 0.42);
  background:
    repeating-linear-gradient(90deg, rgba(18, 201, 192, 0.18) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(2, 10, 13, 0.1));
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.06), 0 0 28px rgba(18, 201, 192, 0.2);
  transform: translate3d(calc(var(--scene-x) * 28px), calc(var(--scene-y) * -12px), 20px) skewY(-1.5deg);
}

.scene-server span {
  position: absolute;
  top: 9%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 255, 255, 0.52), transparent);
  box-shadow: 0 0 12px rgba(18, 201, 192, 0.5);
}

.scene-server span:nth-child(1) { left: 20%; }
.scene-server span:nth-child(2) { left: 36%; }
.scene-server span:nth-child(3) { left: 52%; }
.scene-server span:nth-child(4) { left: 68%; }
.scene-server span:nth-child(5) { left: 84%; }

.scene-server i {
  position: absolute;
  right: 12%;
  width: 18%;
  height: 1px;
  background: rgba(18, 201, 192, 0.74);
  box-shadow: 0 0 10px rgba(18, 201, 192, 0.76);
}

.scene-server i:nth-of-type(1) { top: 18%; }
.scene-server i:nth-of-type(2) { top: 28%; }
.scene-server i:nth-of-type(3) { top: 40%; }
.scene-server i:nth-of-type(4) { top: 53%; }
.scene-server i:nth-of-type(5) { top: 66%; }
.scene-server i:nth-of-type(6) { top: 78%; }

.scene-panel {
  z-index: 14;
  width: clamp(112px, 10vw, 176px);
  min-height: clamp(86px, 8vw, 138px);
  padding: 14px 15px;
  border: 1px solid rgba(208, 248, 252, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(18, 201, 192, 0.025) 48%, rgba(2, 8, 11, 0.18)),
    rgba(2, 9, 12, 0.22);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.055), 0 0 24px rgba(18, 201, 192, 0.14);
  backdrop-filter: blur(9px);
  color: rgba(242, 252, 252, 0.88);
  opacity: 0;
  transform-style: preserve-3d;
  animation: panel-float 7s ease-in-out infinite;
}

.scene-panel span {
  color: rgba(18, 201, 192, 0.88);
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scene-panel strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(0.94rem, 1.05vw, 1.14rem);
}

.panel-vision {
  left: 17%;
  top: 9%;
  transform: translate3d(calc(var(--scene-x) * -34px), calc(var(--scene-y) * 22px), 30px) rotateY(-23deg);
}

.panel-knowledge {
  left: 15%;
  bottom: 21%;
  transform: translate3d(calc(var(--scene-x) * -24px), calc(var(--scene-y) * -18px), 48px) rotateY(-17deg);
  animation-delay: 0.8s;
}

.panel-aware {
  right: 1%;
  top: 45%;
  transform: translate3d(calc(var(--scene-x) * 36px), calc(var(--scene-y) * -20px), 58px) rotateY(23deg);
  animation-delay: 1.2s;
}

.panel-orbit,
.panel-ring {
  display: block;
  width: 54px;
  height: 54px;
  margin-top: 14px;
  border: 1px solid rgba(18, 201, 192, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(18, 201, 192, 0.18), transparent 48%),
    conic-gradient(from 0deg, transparent, rgba(18, 201, 192, 0.78), transparent 36%);
  animation: orbit-spin 8s linear infinite;
}

.panel-aware .panel-ring {
  margin-left: auto;
}

.panel-knowledge em,
.scene-data-panel i {
  display: block;
  height: 1px;
  margin-top: 13px;
  background: linear-gradient(90deg, rgba(18, 201, 192, 0.86), transparent);
  box-shadow: 0 0 10px rgba(18, 201, 192, 0.58);
}

.panel-knowledge em:nth-of-type(2) {
  width: 70%;
}

.panel-knowledge em:nth-of-type(3) {
  width: 42%;
}

.scene-modules {
  z-index: 16;
  left: 35%;
  right: 10%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  transform: translate3d(calc(var(--scene-x) * 16px), calc(var(--scene-y) * -8px), 80px);
}

.scene-modules span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 201, 192, 0.28);
  background: rgba(2, 9, 12, 0.42);
  color: rgba(230, 255, 255, 0.72);
  font-size: clamp(0.52rem, 0.58vw, 0.64rem);
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.035), 0 0 16px rgba(18, 201, 192, 0.12);
}

.scene-data-panel {
  z-index: 8;
  width: clamp(110px, 10vw, 180px);
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(18, 201, 192, 0.22);
  background: rgba(2, 8, 11, 0.18);
  color: rgba(230, 255, 255, 0.68);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.76;
}

.dashboard-panel {
  right: 19%;
  bottom: 25%;
  transform: translate3d(calc(var(--scene-x) * 26px), calc(var(--scene-y) * -14px), 10px);
}

.analytics-panel {
  left: 27%;
  top: 27%;
  transform: translate3d(calc(var(--scene-x) * -20px), calc(var(--scene-y) * 12px), -20px);
}

.scene-particle {
  z-index: 18;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(18, 201, 192, 0.78);
  background: rgba(18, 201, 192, 0.32);
  box-shadow: 0 0 18px rgba(18, 201, 192, 0.82);
  animation: particle-float 5.8s ease-in-out infinite;
}

.particle-1 { left: 12%; top: 47%; }
.particle-2 { left: 31%; top: 70%; animation-delay: 0.7s; }
.particle-3 { right: 18%; top: 21%; animation-delay: 1.2s; }
.particle-4 { left: 23%; top: 19%; animation-delay: 1.8s; }
.particle-5 { right: 6%; bottom: 23%; animation-delay: 2.4s; }
.particle-6 { left: 56%; bottom: 14%; animation-delay: 3s; }

.hero.is-scene-hover .hero-tech-visual[data-hero-scene]::before {
  opacity: 1;
}

.hero.is-scene-hover .scene-panel,
.hero.is-scene-hover .scene-modules span,
.hero.is-scene-hover .core-cube-3d .cube-face {
  border-color: rgba(225, 254, 255, 0.68);
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.08), 0 0 30px rgba(18, 201, 192, 0.28);
}

.scroll-cue {
  display: none;
}

.about,
.insights {
  color: var(--text-dark);
  background: var(--paper);
}

.service-index,
.process-band,
.cases,
.about,
.insights,
.contact {
  scroll-margin-top: 82px;
}

.service-index {
  display: block;
  width: var(--page-width);
  margin: 0 auto;
  color: var(--text);
  background: #050607;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.section-title {
  padding: clamp(32px, 2.8vw, 46px) clamp(32px, 2.8vw, 50px);
}

.service-index .section-title {
  display: none;
}

.section-title p,
.process-heading p,
.about > div > p {
  margin: 0 0 18px;
  font-family: "Noto Serif TC", "PMingLiU", "Microsoft JhengHei", serif;
  font-size: clamp(1.65rem, 2.1vw, 2.65rem);
  font-weight: 900;
  line-height: 1.1;
}

.section-title h2,
.process-heading h2,
.about h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(0.9rem, 1vw, 1.08rem);
  font-weight: 600;
  line-height: 1.85;
  color: var(--muted-dark);
}

.section-title a {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 900;
}

.section-title a::after {
  content: "→";
  margin-left: 10px;
  color: var(--teal-dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-left: 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(96px, 6.9vw, 126px);
  padding: clamp(15px, 1.35vw, 24px) clamp(14px, 1.3vw, 24px) clamp(13px, 1.25vw, 22px);
  border-right: 0;
  background: transparent;
  transition: color 180ms ease, transform 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(18, 201, 192, 0.16), transparent);
  opacity: 0;
  transform: skewX(-16deg);
  transition: opacity 180ms ease;
}

.service-card:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
}

.service-card:hover::before {
  opacity: 1;
  animation: card-scan 1.2s cubic-bezier(0.45, 0, 0.2, 1);
}

.service-icon {
  width: clamp(34px, 2.35vw, 48px);
  height: clamp(34px, 2.35vw, 48px);
  margin: 0 0 clamp(9px, 0.78vw, 15px);
  color: var(--teal);
  display: grid;
  place-items: center;
}

.service-icon svg {
  width: 92%;
  height: 92%;
  display: block;
  opacity: 0.9;
  transform: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.service-card:hover .service-icon svg {
  filter: drop-shadow(0 0 10px rgba(18, 201, 192, 0.55));
  transform: translateY(-2px);
}

.service-card h3,
.process-list h3,
.case-copy h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(0.94rem, 0.95vw, 1.14rem);
  line-height: 1.35;
}

.service-card p,
.process-list p,
.case-copy dd,
.about-panel,
.insight-list strong,
.contact p {
  color: var(--muted-dark);
  line-height: 1.82;
  font-weight: 600;
}

.service-card p {
  display: -webkit-box;
  margin: 6px 0 0;
  color: rgba(247, 248, 245, 0.54);
  font-size: clamp(0.54rem, 0.58vw, 0.7rem);
  line-height: 1.58;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.service-card h3 {
  color: #ffffff;
  text-align: left;
}

.process-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 2.7fr);
  width: var(--page-width);
  margin: 0 auto;
  padding: 0;
  color: var(--text);
  background: #060707;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-heading {
  padding: clamp(30px, 2.6vw, 44px) clamp(32px, 2.8vw, 50px);
}

.process-heading h2 {
  color: rgba(247, 248, 245, 0.64);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 0;
}

.process-list li {
  position: relative;
  min-height: clamp(130px, 9.5vw, 175px);
  padding: clamp(26px, 2.3vw, 40px) clamp(16px, 1.5vw, 26px);
  border-right: 0;
  transition: background 180ms ease, transform 180ms ease;
}

.process-list li::after {
  content: "›";
  position: absolute;
  top: clamp(44px, 4vw, 68px);
  right: -9px;
  z-index: 1;
  color: #ffffff;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  font-weight: 200;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.process-list li:hover {
  background: rgba(255, 255, 255, 0.024);
  transform: translateY(-3px);
}

.process-list li:hover::after {
  color: var(--teal);
  text-shadow: 0 0 14px rgba(18, 201, 192, 0.5);
  transform: translateX(4px);
}

.process-list li:last-child::after {
  display: none;
}

.process-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: clamp(0.9rem, 0.9vw, 1.1rem);
  font-weight: 900;
}

.process-list h3 {
  color: #ffffff;
}

.process-list p {
  margin: 10px 0 0;
  color: rgba(247, 248, 245, 0.66);
  font-size: clamp(0.64rem, 0.64vw, 0.78rem);
}

.cases {
  display: grid;
  grid-template-columns: minmax(142px, 0.32fr) minmax(0, 3fr);
  gap: clamp(12px, 1vw, 22px);
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(32px, 2.8vw, 54px) 0 clamp(34px, 2.8vw, 56px);
  color: var(--text);
  background:
    radial-gradient(circle at 72% 48%, rgba(18, 201, 192, 0.08), transparent 18rem),
    #050607;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cases .section-title {
  display: block;
  padding: 0 0 0 clamp(24px, 2.5vw, 48px);
}

.cases .section-title p,
.cases .section-title h2,
.cases .section-title a {
  margin-top: 0;
}

.cases .section-title p {
  color: #ffffff;
}

.cases .section-title h2 {
  max-width: 220px;
  color: rgba(247, 248, 245, 0.58);
}

.cases .section-title a {
  color: #ffffff;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, 1.16fr) minmax(0, 1.08fr);
  gap: clamp(8px, 0.95vw, 20px);
  width: auto;
  margin: 0 clamp(14px, 1.6vw, 32px) 0 0;
  border: 0;
  background: transparent;
}

.case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(94px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: auto;
  gap: clamp(10px, 0.9vw, 18px);
  align-items: start;
  border-right: 0;
  transition: transform 220ms ease, filter 220ms ease;
}

.case-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.34));
}

.case-card:last-child {
  border-right: 0;
}

.case-visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(136px, 9.4vw, 210px);
  margin: 0;
  background: #0a0d10;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.case-visual::before,
.case-visual::after {
  content: "";
  position: absolute;
}

.case-visual::after {
  inset: 0 auto 0 -60%;
  width: 42%;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.2) 46%, transparent 58%);
  opacity: 0;
  transform: skewX(-14deg);
  transition: opacity 180ms ease;
}

.case-visual span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.case-visual-image {
  background: #050608;
}

.case-visual-image::before {
  display: none;
}

.case-visual-image::after {
  display: block;
}

.case-visual-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), filter 220ms ease;
}

.case-visual-image span {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.case-card:hover .case-visual-image::after {
  opacity: 1;
  animation: card-scan 1.25s cubic-bezier(0.45, 0, 0.2, 1);
}

.case-card:hover .case-visual-image img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08);
}

.visual-green::before {
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 70% 30%, rgba(18, 201, 192, 0.32), transparent 28%),
    linear-gradient(135deg, #111, #282a26);
}

.visual-green::after {
  width: 52px;
  height: 52px;
  right: 22px;
  top: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(246, 245, 241, 0.3), rgba(18, 201, 192, 0.18));
}

.visual-system::before {
  inset: 12px;
  border: 1px solid rgba(18, 201, 192, 0.34);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(18, 201, 192, 0.24) 48% 49%, transparent 49%),
    linear-gradient(0deg, transparent 0 61%, rgba(255, 255, 255, 0.16) 61% 62%, transparent 62%),
    #081018;
}

.visual-system::after {
  right: 24px;
  bottom: 20px;
  width: 72px;
  height: 38px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  box-shadow: -70px -32px 0 -30px rgba(18, 201, 192, 0.7), -18px -50px 0 -24px rgba(255, 255, 255, 0.5);
}

.visual-shop::before {
  inset: 13px 34px 13px 48px;
  border-radius: 16px;
  border: 5px solid #f5f5f0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(180deg, #d9d0c2, #f4f1e9);
}

.visual-shop::after {
  left: 22px;
  bottom: 19px;
  width: 62px;
  height: 42px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 150px -36px 0 -22px rgba(18, 201, 192, 0.8), 212px 24px 0 -18px rgba(16, 18, 20, 0.9);
}

.case-copy {
  padding: 0;
}

.case-copy dl {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
}

.case-copy div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
}

.case-copy dt {
  color: #ffffff;
  font-weight: 900;
}

.case-copy dd {
  margin: 0;
  color: rgba(247, 248, 245, 0.58);
  font-size: clamp(0.64rem, 0.58vw, 0.78rem);
  line-height: 1.65;
}

.case-copy dt {
  font-size: clamp(0.64rem, 0.58vw, 0.78rem);
}

.case-copy h3 {
  color: #ffffff;
  font-size: clamp(0.7rem, 0.68vw, 0.94rem);
  line-height: 1.45;
  white-space: nowrap;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.45fr);
  gap: clamp(32px, 7vw, 90px);
  padding: clamp(70px, 8vw, 108px) clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line-dark);
}

.about-panel {
  max-width: 820px;
  padding-top: 8px;
  font-size: 1.03rem;
}

.about-panel p {
  margin: 0;
}

.about-panel ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.insights {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.7fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section-title.compact {
  border-right: 1px solid var(--line-dark);
}

.insight-list {
  display: grid;
}

.insight-list a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line-dark);
  transition: background 180ms ease;
}

.insight-list a:last-child {
  border-bottom: 0;
}

.insight-list a:hover {
  background: #ffffff;
}

.insight-list span {
  color: var(--teal-dark);
  font-weight: 900;
}

.insight-list strong {
  color: var(--text-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 28px;
  align-items: center;
  width: var(--page-width);
  margin: 0 auto;
  padding: 24px 24px;
  color: #ffffff;
  background: #050607;
  border-bottom: 1px solid var(--line);
}

.contact h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Noto Serif TC", "PMingLiU", "Microsoft JhengHei", serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.25;
}

.contact p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(247, 248, 245, 0.72);
}

.contact-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: var(--page-width);
  margin: 0 auto;
  padding: 12px 24px 16px;
  color: rgba(247, 248, 245, 0.7);
  background: #050607;
}

.footer-brand {
  color: #ffffff;
  font-family: "Noto Serif TC", "PMingLiU", "Microsoft JhengHei", serif;
  font-size: 0.9rem;
  font-weight: 900;
}

.footer-brand span {
  margin-left: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
}

.site-footer nav {
  gap: 20px;
  font-size: 0.82rem;
}

.motion-ready .service-card,
.motion-ready .case-card,
.motion-ready .process-list li,
.motion-ready .about,
.motion-ready .contact {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready .service-card.is-visible,
.motion-ready .case-card.is-visible,
.motion-ready .process-list li.is-visible,
.motion-ready .about.is-visible,
.motion-ready .contact.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .service-card.is-visible:hover,
.motion-ready .process-list li.is-visible:hover {
  transform: translate3d(0, -3px, 0);
}

.motion-ready .case-card.is-visible:hover {
  transform: translate3d(0, -5px, 0);
}

.motion-ready .service-card:nth-child(2),
.motion-ready .case-card:nth-child(2),
.motion-ready .process-list li:nth-child(2) {
  transition-delay: 70ms;
}

.motion-ready .service-card:nth-child(3),
.motion-ready .case-card:nth-child(3),
.motion-ready .process-list li:nth-child(3) {
  transition-delay: 140ms;
}

.motion-ready .service-card:nth-child(4),
.motion-ready .process-list li:nth-child(4) {
  transition-delay: 210ms;
}

.motion-ready .service-card:nth-child(5),
.motion-ready .process-list li:nth-child(5) {
  transition-delay: 280ms;
}

.motion-ready .service-card:nth-child(6) {
  transition-delay: 350ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes model-arrive {
  from {
    opacity: 0;
    filter: blur(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes tech-visual-arrive {
  from {
    opacity: 0;
    transform: translate3d(120px, 18px, 0) scale(0.96);
    filter: blur(10px);
  }

  to {
    opacity: var(--hero-scroll-opacity);
    transform:
      translate3d(var(--hero-model-x), var(--hero-model-y), 0)
      scale(calc(var(--hero-model-scale) * var(--hero-hover-scale)))
      rotateX(var(--hero-tilt-x))
      rotateY(var(--hero-tilt-y))
      rotate(var(--hero-model-rotate));
    filter: blur(0);
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.62;
    filter: blur(6px);
  }

  50% {
    opacity: 0.92;
    filter: blur(10px);
  }
}

@keyframes tech-scan {
  0%,
  38% {
    opacity: 0;
    transform: translate3d(-42%, 0, 0);
  }

  50% {
    opacity: 0.32;
  }

  100% {
    opacity: 0;
    transform: translate3d(36%, 0, 0);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0, center;
  }

  to {
    background-position: 68px 34px, 68px 34px, center;
  }
}

@keyframes data-flow {
  0%,
  24% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  46% {
    opacity: 0.68;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes scene-scan {
  0%,
  34% {
    opacity: 0;
    transform: translate3d(-44%, 0, 0);
  }

  48% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translate3d(42%, 0, 0);
  }
}

@keyframes scene-breathe {
  0%,
  100% {
    opacity: 0.54;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.86;
    transform: scale(1.03);
  }
}

@keyframes beam-flow {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }

  38% {
    opacity: 0.9;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes beam-flow-y {
  0% {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }

  42% {
    opacity: 0.82;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
}

@keyframes cube-scan {
  from {
    transform: translate3d(-48px, 0, 52px);
    opacity: 0;
  }

  42% {
    opacity: 0.88;
  }

  to {
    transform: translate3d(48px, 0, 52px);
    opacity: 0;
  }
}

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

@keyframes panel-float {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -12px;
  }
}

@keyframes light-flow {
  from {
    clip-path: inset(0 100% 0 0);
  }

  45% {
    clip-path: inset(0 0 0 0);
  }

  to {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes particle-float {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

@keyframes scan-line {
  0%,
  42% {
    opacity: 0;
    transform: translate3d(calc(var(--hero-model-x) * -0.5 - 22%), calc(var(--hero-model-y) * -0.15), 0);
  }

  58% {
    opacity: calc(var(--hero-veil-opacity) + 0.2);
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(var(--hero-model-x) * -0.5 + 34%), calc(var(--hero-model-y) * -0.15), 0);
  }
}

@keyframes card-scan {
  from {
    transform: translateX(0) skewX(-14deg);
  }

  to {
    transform: translateX(420%) skewX(-14deg);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(18, 201, 192, 0.72);
  }

  50% {
    box-shadow: 0 0 28px rgba(18, 201, 192, 1), 0 0 46px rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 920px) {
  .site-header {
    gap: 18px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-object {
    position: absolute;
    right: -8%;
    bottom: 4%;
    width: 52%;
    min-height: 360px;
    opacity: 0.58;
  }

  .hero-tech-visual {
    right: -4%;
    bottom: 2%;
    width: 62%;
    min-height: 390px;
    opacity: var(--hero-scroll-opacity);
  }

  .hero-reference-stage {
    width: min(108%, 720px);
    transform: translate3d(0, var(--scene-entry-y), 0);
  }

  .hero-cube-parallax {
    opacity: 0.42;
    transform: translateZ(18px);
  }

  .hero-panel-depth {
    opacity: 0.34;
  }

  .hero-particle {
    width: 4px;
    height: 4px;
  }

  .service-index,
  .process-band,
  .insights {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .process-band {
    padding: 0;
  }

  .process-heading {
    padding: 44px clamp(22px, 5vw, 76px) 26px;
  }

  .process-list {
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    overflow-x: auto;
    border-left: 0;
  }

  .cases .section-title {
    padding-right: 18px;
  }

  .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 18px 0 0;
  }

  .case-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    border-right: 0;
    border-bottom: 0;
  }

  .case-card:last-child {
    border-bottom: 0;
  }

  .case-visual {
    min-height: 136px;
    margin: 0;
  }

  .section-title.compact {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .site-header {
    height: 74px;
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: clamp(78px, 22vw, 116px);
  }

  .brand-subtitle,
  .brand-divider {
    display: none;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .nav-open .mobile-nav {
    display: block;
  }

  .mobile-nav {
    inset-block-start: 74px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
    background:
      radial-gradient(circle at 50% 58%, rgba(18, 201, 192, 0.16), transparent 18rem),
      linear-gradient(90deg, rgba(5, 6, 7, 1) 0%, rgba(5, 6, 7, 0.9) 100%);
  }

  .hero-grid {
    min-height: calc(88svh - 186px);
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 18vw, 7.4rem);
  }

  .hero-logo {
    width: min(100%, 76vw);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: min(300px, 100%);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-object {
    position: absolute;
    display: block;
    right: -36%;
    top: 19%;
    width: 86%;
    min-height: 300px;
    opacity: 0.34;
    pointer-events: none;
  }

  .hero-tech-visual {
    position: relative;
    order: 2;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: clamp(260px, 58vw, 430px);
    margin-top: 6px;
    opacity: var(--hero-scroll-opacity);
    pointer-events: none;
    transform: translate3d(0, var(--hero-model-y), 0) scale(var(--hero-model-scale));
    animation: rise-in 900ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both, glow-breathe 6s ease-in-out infinite;
  }

  .hero-reference-stage {
    width: min(100%, 620px);
    margin: 0 auto;
    transform: translate3d(0, var(--scene-entry-y), 0);
  }

  .hero-reference-visual {
    overflow: hidden;
  }

  .hero-object .hero-reference-icon {
    filter: none;
  }

  .hero-grid-flow {
    opacity: 0.22;
  }

  .hero-particle,
  .hero-orbit-cube {
    display: none;
  }

  .hero-tech-visual[data-hero-scene] {
    min-height: clamp(300px, 66vw, 460px);
    overflow: hidden;
    transform: translate3d(0, var(--hero-model-y), 0) scale(var(--hero-model-scale));
    perspective: none;
  }

  .hero-tech-visual .tech-model {
    inset: -4% -7% -8%;
    width: 114%;
    height: 112%;
    transform: none;
    opacity: 0.82;
  }

  .tech-panel,
  .tech-module,
  .tech-data-flow,
  .tech-particle,
  .tech-light {
    display: none;
  }

  .scene-server,
  .scene-panel,
  .scene-data-panel,
  .scene-modules,
  .scene-particle,
  .beam-vertical {
    display: none;
  }

  .scene-core {
    left: 50%;
    top: 13%;
    width: min(78vw, 360px);
    height: min(76vw, 350px);
    transform: translate3d(-50%, 0, 0);
  }

  .core-cube-3d {
    left: 31%;
    top: 7%;
    width: 40%;
    height: 52%;
  }

  .scene-grid.grid-back {
    display: none;
  }

  .scene-grid.grid-floor {
    left: 5%;
    right: 5%;
    bottom: 1%;
    height: 62%;
    opacity: 0.36;
  }

  .scene-beam.beam-horizontal {
    left: 14%;
    right: 14%;
    top: 62%;
    opacity: 0.48;
  }

  .tech-grid-plane {
    opacity: 0.28;
  }

  .core-cube {
    width: clamp(68px, 18vw, 118px);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 210px;
    padding: 34px 20px 28px;
  }

  .case-card,
  .about {
    grid-template-columns: 1fr;
  }

  .case-visual {
    margin: 18px 18px 0;
  }

  .insight-list a {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 90svh;
    padding: 104px 18px 46px;
  }

  .hero-grid {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 24vw, 5.4rem);
  }

  .hero-line {
    font-size: 1.45rem;
  }

  .hero-summary {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .hero-tech-visual {
    min-height: clamp(250px, 74vw, 350px);
  }

  .hero-tech-visual[data-hero-scene] {
    min-height: clamp(250px, 78vw, 350px);
  }

  .hero-reference-stage {
    width: 100%;
    max-width: 420px;
    transform: translate3d(0, var(--scene-entry-y), 0);
  }

  .hero-reference-visual,
  .hero-tech-visual[data-hero-scene] {
    overflow: hidden;
  }

  .hero-cube-parallax,
  .hero-panel-depth,
  .hero-grid-flow,
  .hero-particle {
    display: none;
  }

  .hero-idle-particle {
    display: none;
  }

  .section-title,
  .process-heading,
  .about,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-list {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .process-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li::after {
    display: none;
  }

  .case-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .case-visual {
    min-height: 220px;
  }

  .case-copy div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .case-copy h3 {
    white-space: normal;
  }

  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reference-stage,
  .hero-reference-stage.is-idle .hero-idle-grid,
  .hero-idle-particle {
    animation: none !important;
  }

  .hero-reference-stage.is-idle .hero-reference-icon,
  .hero-object .hero-reference-icon {
    filter: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
