/* ========================================
   main.html 專用樣式 - 確保完美置中
   ======================================== */

/* 移除 loading 狀態的特殊處理 */
.main-page {
  min-height: 100vh;
  background-color: var(--color-bg);
  background: linear-gradient(180deg, rgba(217, 217, 217, 1) 0%, rgba(230, 230, 230, 1) 50%, rgba(217, 217, 217, 1) 100%);
  position: relative;
  z-index: 1;
  transition: background 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
}

/* loading 狀態時隱藏主頁面 */
body.loading .main-page {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

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

/* SERVICE 區域背景變色特效 */
body.is-service-mode .main-page {
  background: #1E1E1E;
}

body.is-service-mode .services-main {
  background: transparent;
}

/* 深色模式下 SERVICE 標題變白色 */
body.is-service-mode .services-main-header .section-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Section - 滿版主視覺 */
.hero-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(120px, 15vh, 160px) clamp(24px, 6vw, 64px) clamp(64px, 8vw, 120px);
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-main-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero-main-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;
}

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

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

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

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

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

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

/* Thinking 跑馬燈 */
.thinking-marquee-main {
  margin-top: clamp(48px, 8vw, 108px);
  padding: clamp(48px, 8vw, 96px) 0;
  overflow: hidden;
  position: relative;
  background: rgba(217, 217, 217, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ABOUT US Section - 參考 monomode 超大尺寸風格 */
.about-section {
  padding: clamp(120px, 12vw, 180px) clamp(40px, 8vw, 120px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(217, 217, 217, 1) 0%, rgba(230, 230, 230, 1) 50%, rgba(217, 217, 217, 1) 100%);
}

.about-section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48% 52%;
  gap: clamp(60px, 8vw, 100px);
  padding: 0;
  align-items: center;
}

.about-section-media {
  margin: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  min-height: clamp(650px, 85vh, 950px);
  border-radius: clamp(20px, 3vw, 32px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 19, 87, 0.2);
  background: transparent;
}

.about-section-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-section-body {
  display: grid;
  gap: clamp(20px, 3.5vw, 36px);
  padding-right: clamp(20px, 5vw, 60px);
  margin-left: 0;
  max-width: 100%;
}

.about-section-kicker {
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: rgba(17, 19, 87, 0.68);
}

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

.about-section-divider {
  width: clamp(100px, 15vw, 180px);
  border: none;
  height: 2px;
  background: rgba(17, 19, 87, 0.24);
  margin: 0;
}

.about-section-text {
  margin: 0;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.8;
  color: rgba(13, 13, 13, 0.68);
  letter-spacing: 0.02em;
}

.about-section-actions {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(4px, 1.5vw, 8px);
}

/* OUR BUSINESS Section */
.business-section {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 6vw, 72px);
  background: linear-gradient(180deg, rgba(217, 217, 217, 1) 0%, rgba(230, 230, 230, 1) 50%, rgba(217, 217, 217, 1) 100%);
}

.business-section-container {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

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

.business-section-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);
}

.business-section-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;
}

.business-section-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.business-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding: clamp(28px, 3.5vw, 40px) 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-item 在 reveal 動畫完成後沒有 transform 偏移 */
.business-item.reveal-up.is-visible {
  transform: translateY(0) !important;
}

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

.business-item::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-item:hover {
  background: rgba(255, 255, 255, 0.25);
  padding-left: clamp(32px, 4vw, 44px);
}

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

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

.business-item-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.4;
  flex-shrink: 0;
  min-width: clamp(80px, 10vw, 120px);
  margin-top: 0;
}

.business-item-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: 0;
}

/* SERVICES Section */
.services-main {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 6vw, 72px);
  background: linear-gradient(180deg, rgba(217, 217, 217, 1) 0%, rgba(230, 230, 230, 1) 50%, rgba(217, 217, 217, 1) 100%);
  position: relative;
  overflow: visible;
}

/* 動態背景效果容器 */
.service-background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease-out;
  overflow: hidden;
}

body.is-service-mode .service-background-animation {
  opacity: 1;
}

/* 模糊球形動態元素 */
.service-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  mix-blend-mode: multiply;
  will-change: transform;
  transition: transform 0.3s ease-out;
}

.service-blob-1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(255, 150, 150, 0.8) 0%, rgba(255, 180, 100, 0.5) 40%, transparent 70%);
  left: -10%;
  top: 20%;
  animation: float-blob-1 15s ease-in-out infinite;
}

.service-blob-2 {
  width: clamp(400px, 50vw, 700px);
  height: clamp(400px, 50vw, 700px);
  background: radial-gradient(circle, rgba(220, 120, 200, 0.7) 0%, rgba(180, 130, 220, 0.5) 40%, transparent 70%);
  left: 5%;
  top: 50%;
  animation: float-blob-2 18s ease-in-out infinite;
  animation-delay: -3s;
}

.service-blob-3 {
  width: clamp(350px, 45vw, 650px);
  height: clamp(350px, 45vw, 650px);
  background: radial-gradient(circle, rgba(255, 200, 150, 0.75) 0%, rgba(255, 160, 120, 0.5) 40%, transparent 70%);
  left: 2%;
  top: 70%;
  animation: float-blob-3 20s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes float-blob-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 40px) scale(0.95);
  }
}

@keyframes float-blob-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-40px, 60px) scale(1.15);
  }
  66% {
    transform: translate(35px, -30px) scale(0.9);
  }
}

@keyframes float-blob-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(25px, 45px) scale(0.95);
  }
  66% {
    transform: translate(-30px, -35px) scale(1.1);
  }
}

.services-main-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-main-header .section-label {
  margin: clamp(-220px, -18vw, -140px) 0 0;
  text-align: left;
  color: rgba(13, 13, 13, 0.9);
}

/* CLIENTS Section - 6格網格佈局 */
.clients-main {
  padding: clamp(120px, 12vw, 180px) clamp(60px, 10vw, 140px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(217, 217, 217, 1) 0%, rgba(230, 230, 230, 1) 50%, rgba(217, 217, 217, 1) 100%);
}

.clients-main-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(120px, 18vw, 280px);
  align-items: center;
}

.clients-main-left {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.clients-main-header {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
}

.clients-main-title {
  margin: 0;
}

.clients-main-underline {
  width: 100%;
  max-width: clamp(240px, 35vw, 320px);
  height: 2px;
  background: rgba(17, 19, 87, 0.24);
}

.clients-main-content {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.clients-main-box {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
}

.clients-main-subtitle {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  color: rgba(17, 19, 87, 0.9);
  letter-spacing: 0.02em;
}

.clients-main-description {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.8;
  color: rgba(13, 13, 13, 0.68);
  letter-spacing: 0.01em;
}

.clients-main-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
}

.clients-main-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: clamp(24px, 3.2vw, 32px);
}

/* CONTACT Section - 使用 INDEX 樣式但保留架構 */
/* CONTACT Section - 新架構 */
.contact-section {
  position: relative;
  background: #d9d9d9;
  padding: clamp(80px, 12vw, 140px) 0 clamp(100px, 15vw, 180px);
  margin: 0;
}

.contact-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  justify-items: center;
}

.contact-section .section-label {
  justify-self: start;
  text-align: left;
  width: 100%;
}

.contact-title {
  text-align: center;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin: 0;
  color: #0d0d0d;
}

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

.contact-form {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  background: rgba(255, 255, 255, 0.85);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

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

.contact-form label {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d0d0d;
}

.contact-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;
}

.contact-form input,
.contact-form textarea,
.contact-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.95);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.contact-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;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-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);
}

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

/* 響應式設計 */
@media (max-width: 900px) {
  .hero-main-content {
    align-items: center;
    text-align: center;
  }

  .about-section {
    min-height: auto;
    padding: clamp(80px, 12vw, 120px) clamp(32px, 6vw, 60px);
  }

  .about-section-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0;
    gap: clamp(48px, 10vw, 80px);
  }

  .about-section-media {
    justify-self: center;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    min-height: clamp(500px, 70vh, 700px);
  }

  .about-section-body {
    justify-items: center;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    max-width: 100%;
    padding: 0 clamp(20px, 5vw, 40px);
  }

  .about-section-divider {
    margin: 0 auto;
  }

  .about-section-headline {
    white-space: normal;
  }

  .clients-main-container {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 64px);
  }

  .clients-main-right {
    flex-direction: column;
    align-items: stretch;
  }

  .clients-main-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-next {
    align-self: center;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 32px);
    min-height: auto;
  }

  .about-section-container {
    padding: 0;
    gap: clamp(40px, 8vw, 60px);
  }

  .about-section-media {
    max-width: 100%;
    aspect-ratio: 4 / 5;
    min-height: clamp(400px, 55vh, 550px);
  }

  .about-section-body {
    margin-left: 0;
    padding: 0 clamp(16px, 5vw, 28px);
    max-width: 100%;
    gap: clamp(14px, 3.5vw, 24px);
  }

  .about-section-headline {
    font-size: clamp(32px, 9vw, 56px);
  }

  .about-section-kicker {
    font-size: clamp(14px, 3.8vw, 18px);
  }

  .about-section-text {
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .business-section {
    padding: clamp(48px, 12vw, 72px) clamp(16px, 4vw, 24px);
  }

  .business-section-header {
    margin-bottom: clamp(32px, 8vw, 48px);
  }

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

  .business-section-subtitle {
    font-size: clamp(16px, 4.5vw, 22px);
  }

  .business-section-grid {
    gap: 0;
  }

  .business-item {
    padding: clamp(16px, 4vw, 24px) clamp(16px, 3vw, 20px);
  }

  .business-item:hover {
    padding-left: clamp(16px, 3vw, 20px);
  }

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

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

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

  .clients-main-cards {
    grid-template-columns: 1fr;
  }

  .clients-main-box {
    padding: clamp(20px, 5vw, 28px);
  }

  .clients-main-subtitle {
    font-size: clamp(18px, 4.5vw, 24px);
  }

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

  .contact-section {
    padding: clamp(60px, 10vw, 100px) 0 clamp(80px, 12vw, 120px);
  }

  .contact-container {
    padding: 0 clamp(20px, 4vw, 40px);
    gap: clamp(24px, 3.5vw, 32px);
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: clamp(24px, 4vw, 32px);
    gap: 18px;
  }

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

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

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

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

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

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

/* ========================================
   SERVICE / SOLUTION 大字展示區
   ======================================== */
.service-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(217, 217, 217, 1) 0%, rgba(230, 230, 230, 1) 50%, rgba(217, 217, 217, 1) 100%);
}

.service-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  padding: clamp(40px, 8vw, 80px);
}

.service-hero-text {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 40px);
}

.service-hero-line {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.service-hero-line--center {
  justify-content: center;
  text-align: center;
}

.service-hero-line--right {
  justify-content: flex-end;
  text-align: right;
}

.service-hero-small {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: rgba(13, 13, 13, 0.75);
  letter-spacing: 0.02em;
}

.service-hero-large {
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(13, 13, 13, 0.95);
  line-height: 1;
  text-transform: uppercase;
}

.service-hero-x {
  font-family: 'Krona One', 'Noto Sans TC', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(17, 19, 87, 0.6);
  line-height: 1;
}

/* 響應式調整 */
@media (max-width: 900px) {
  .service-hero {
    min-height: 80vh;
  }

  .service-hero-content {
    padding: clamp(32px, 6vw, 60px);
  }

  .service-hero-line {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(12px, 2vw, 20px);
  }

  .service-hero-line--right {
    align-items: center;
    text-align: center;
  }

  .service-hero-small {
    font-size: clamp(20px, 4vw, 32px);
  }

  .service-hero-large {
    font-size: clamp(48px, 10vw, 88px);
  }
}

@media (max-width: 600px) {
  .service-hero {
    min-height: 70vh;
  }

  .service-hero-content {
    padding: clamp(24px, 5vw, 40px);
  }

  .service-hero-small {
    font-size: clamp(18px, 3.5vw, 24px);
  }

  .service-hero-large {
    font-size: clamp(40px, 9vw, 64px);
  }
}

/* ========================================
   SERVICE STEP CARD 粒子特效
   ======================================== */
.service-step-card {
  position: relative;
  overflow: hidden;
}

.service-step-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  clip-path: circle(0 at 50% 70%);
  transition: opacity 0.8s ease-in-out, clip-path 0.1s ease-in-out;
  transition-delay: 0s, 0.4s;
  mask: linear-gradient(to top, transparent 10%, #000 100%);
  z-index: 0;
  mix-blend-mode: screen; /* 添加混合模式讓粒子更亮 */
}

.service-step-card:hover .service-step-canvas {
  opacity: 1;
  clip-path: circle(100% at 50% 50%);
  transition-duration: 0.1s, 0.4s;
  transition-delay: 0s, 0s;
}

.service-step-card .service-step-number,
.service-step-card .service-step-title,
.service-step-card .service-step-text {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.service-step-card:hover .service-step-number,
.service-step-card:hover .service-step-title,
.service-step-card:hover .service-step-text {
  transform: translateY(-4px);
}

