@charset "UTF-8";
/* ==========================================================================
   ai_chatbot：服務項目「AI智能客服」客製內頁（service/ai-chatbot）
   原始稿：舊愛貝斯策略 ai-chatbot，全部樣式包在 .aiChatbotPage 底下，避免影響全站
   header / menu / footer / floatBox / loading 改用本站共用版，不載入原稿樣式
   ========================================================================== */
/* ==========================================================================
   _setting：全域 CSS 變數（僅此處定義，禁止於各單元 CSS 重新定義同名變數）
   色票取樣自 Figma 設計稿 2607_Piny_Ai客服機器人_設計稿
   ========================================================================== */
.aiChatbotPage {
  /* 顏色 ------------------------------------------------------------ */
  --mainColor: #C4252B; /* 主視覺紅（CTA、header 按鈕） */
  --secondColor: #E53935; /* 次要亮紅（大面積色塊、漸層） */
  --phoneColor: #D42742; /* 聯絡電話／信箱 icon 紅 */
  --thirdColor: #FDF3F3; /* 輔助背景（淡紅） */
  --mainLightColor: #F04A43; /* 標題漸層起始 */
  --mainDarkColor: #9C1419; /* 標題漸層結尾 */
  --titleGradient: linear-gradient(90deg,
      var(--mainLightColor) 0%, var(--mainColor) 60%, var(--mainDarkColor) 100%);
  --titleColor: #1E2022;
  --textColor: #535354;
  --lightTextColor: #8B8B8B;
  --footerNavColor: #555555; /* footer 連結欄文字 */
  --linkColor: var(--titleColor);
  --linkHoverColor: var(--mainColor);
  --chatBtnColor: #2B6CF6; /* 浮動按鈕：線上諮詢藍 */
  --lineBtnColor: #00C300; /* 浮動按鈕：LINE 綠 */
  --btnColor: #fff;
  --btnBgColor: var(--mainColor);
  --bgColor: #fff;
  --grayBgColor: #F5F5F5;
  --lineColor: #E5E0E0;
  --maskColor: rgba(30, 32, 34, .7);
  /* 字體 ------------------------------------------------------------ */
  --mainFont: 'Noto Sans TC', 'Microsoft JhengHei', Arial, sans-serif;
  --enFont: 'Roboto', 'Noto Sans TC', Arial, sans-serif;
  --secondFont: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  /* 字級：一律 --{用途}Size / SizeMedium / SizeSmall（iBest 規範）---- */
  /* 主視覺標題 */
  --kvTitleSize: 56px;
  --kvTitleSizeMedium: 44px;
  --kvTitleSizeSmall: 32px;
  /* 單元主標題 */
  --titleSize: 50px;
  --titleSizeMedium: 40px;
  --titleSizeSmall: 28px;
  /* 副標題 */
  --subtitleSize: 28px;
  --subtitleSizeMedium: 24px;
  --subtitleSizeSmall: 20px;
  /* 卡片標題（方案卡、流程卡） */
  --cardTitleSize: 36px;
  --cardTitleSizeMedium: 32px;
  --cardTitleSizeSmall: 26px;
  /* 流程序號 */
  --stepNumSize: 36px;
  --stepNumSizeMedium: 30px;
  --stepNumSizeSmall: 26px;
  /* 流程項目標題 */
  --stepTitleSize: 28px;
  --stepTitleSizeMedium: 24px;
  --stepTitleSizeSmall: 20px;
  /* 方案價格 */
  --priceSize: 44px;
  --priceSizeSmall: 32px;
  --priceUnitSize: 20px;
  --priceUnitSizeSmall: 16px;
  /* 比較表欄標題 */
  --tableHeadSize: 20px;
  /* 痛點三角標號 */
  --badgeNumSize: 20px;
  --badgeNumSizeSmall: 15px;
  --badgeTextSize: 8px;
  --badgeTextSizeSmall: 7px;
  /* 聯絡電話 */
  --phoneSize: 28px;
  --phoneSizeSmall: 24px;
  /* 裝飾標題／卡片文字 */
  --decoTitleSize: 15px;
  --textTitleSize: 22px;
  --textTitleSizeSmall: 18px;
  /* 內文 */
  --textSize: 16px;
  --textSizeSmall: 15px;
  --smallSize: 14px;
  --noteSize: 13px;
  /* 版面 ------------------------------------------------------------ */
  --wrapWidth: 1400px;
  --wrapPadding: clamp(16px, 4vw, 60px);
  --sectionSpace: clamp(60px, 8vw, 140px);
  --headerHeight: 80px; /* 比照官網 header 高度 */
  --radiusLarge: 30px;
  --radiusMedium: 20px;
  --radiusSmall: 10px;
  --shadowLight: 0 4px 20px rgba(30, 32, 34, .06);
  --shadowFloat: 0 20px 50px rgba(30, 32, 34, .12);
  --shadowMain: 0 18px 40px rgba(229, 57, 53, .25);
}

/* ==========================================================================
   _keyframes：全域共用動畫
   註：入場／滾動觸發動畫交由 GSAP 處理，此處僅放持續性、狀態性動畫
   ========================================================================== */
@keyframes slideUpAnimation {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes marqueeAnimation {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes pulseAnimation {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(229, 57, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}
@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    /* 浮動幅度可由使用端以 --floatDistance 覆寫；未指定時維持原本的 -12px */
    transform: translateY(var(--floatDistance, -12px));
  }
}
@keyframes zoomAnimation {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}
/* 弱化版光波：擴散範圍較小、透明度較低（跑馬燈機器人 icon 用） */
@keyframes rippleSoftAnimation {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}
@keyframes rippleAnimation {
  0% {
    opacity: 0.35;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}
/* 滑動提示箭頭：往右推出後淡出、再從左側淡入，兩個 chevron 錯拍形成前進感
   （compareArea 手機版；第一個 chevron 另以 60% 透明度呈現，故此處只動 transform
   與相對透明度，實際透明度由 .chev.isFirst 的 opacity 乘算後的視覺結果決定） */
@keyframes swipeHintAnimation {
  0% {
    transform: translateX(-4px);
    opacity: 0.3;
  }
  40% {
    transform: translateX(2px);
    opacity: 1;
  }
  70% {
    transform: translateX(6px);
    opacity: 0.6;
  }
  100% {
    transform: translateX(8px);
    opacity: 0;
  }
}
.aiChatbotPage {
  background: var(--bgColor);
  color: var(--textColor);
  font-family: var(--mainFont);
  font-size: var(--textSize);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* ==========================================================================
     _base：Reset、共用容器（wrap）、共用元件（titleBox / btn / Img / Txt）
     ========================================================================== */
}
.aiChatbotPage * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.aiChatbotPage {
  /* html / body 樣式改由入口檔 .aiChatbotPage 承接（本站共用 layout，不可覆寫全站 body） */
}
.aiChatbotPage img {
  display: block;
  max-width: 100%;
  height: auto;
}
.aiChatbotPage a {
  color: var(--linkColor);
  text-decoration: none;
  transition: color 0.5s ease-in-out;
}
.aiChatbotPage ul, .aiChatbotPage ol {
  list-style: none;
}
.aiChatbotPage button {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.aiChatbotPage {
  /* 內容寬度容器 ---------------------------------------------------------- */
}
.aiChatbotPage .wrap {
  width: 100%;
  max-width: calc(var(--wrapWidth) + var(--wrapPadding) * 2);
  margin: 0 auto;
  padding-inline: var(--wrapPadding);
}
.aiChatbotPage {
  /* 單元區塊共用間距 ------------------------------------------------------ */
}
.aiChatbotPage section[class$=Area] {
  position: relative;
  padding-block: var(--sectionSpace);
}
.aiChatbotPage {
  /* 標題群組 -------------------------------------------------------------- */
}
.aiChatbotPage .titleBox .decoTitle {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid var(--lineColor);
  border-radius: 999px;
  background: #fff;
  color: var(--titleColor);
  font-size: var(--decoTitleSize);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.aiChatbotPage .titleBox .title {
  color: var(--titleColor);
  font-size: var(--titleSize);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  /* 逐字裁切進場（由 JS initTitleReveal 拆字後加上 .isSplit）
     .ch 是 overflow:hidden 的遮罩，內層 i 才是實際往上位移的字 */
}
.aiChatbotPage .titleBox .title.isSplit .ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.aiChatbotPage .titleBox .title.isSplit {
  /* 拆字後每個字都成了獨立的 inline-block，英文單字會被逐字斷行；
     連續英數字由 JS 包進 .word，整組不換行 */
}
.aiChatbotPage .titleBox .title.isSplit .word {
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
}
.aiChatbotPage .titleBox .title.isSplit .ch > i {
  display: inline-block;
  font-style: normal;
  white-space: pre; /* 保留半形空白的寬度 */
  will-change: transform;
}
.aiChatbotPage .titleBox .title.isSplit {
  /* 漸層改掛在每個字上（見 initTitleReveal 註解），
     em 自身不再負責 background-clip，否則會與子層 transform 打架 */
}
.aiChatbotPage .titleBox .title.isSplit em {
  background: none;
  -webkit-text-fill-color: currentColor;
}
.aiChatbotPage .titleBox .title.isSplit em .ch > i {
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aiChatbotPage .titleBox .title {
  /* 紅字一律使用品牌漸層（設計稿 #F04A43 → #C4252B → #9C1419） */
}
.aiChatbotPage .titleBox .title em {
  background: var(--titleGradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--mainColor);
  font-style: normal;
}
.aiChatbotPage .titleBox .subtitle {
  margin-top: 10px;
  color: var(--titleColor);
  font-size: var(--subtitleSize);
  font-weight: 700;
}
.aiChatbotPage .titleBox .text {
  margin-top: 20px;
  font-size: var(--textSize);
}
.aiChatbotPage .titleBox .btnBox {
  margin-top: 40px;
}
.aiChatbotPage {
  /* 按鈕 ------------------------------------------------------------------ */
}
.aiChatbotPage .btnBox {
  display: flex;
  align-items: center;
  gap: 16px;
}
.aiChatbotPage .btnBox.single {
  margin-top: 24px;
}
.aiChatbotPage .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 50px;
  padding: 10px 30px;
  border: 1px solid transparent;
  border-radius: var(--radiusSmall);
  font-size: var(--textSize);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}
.aiChatbotPage .btn.animation {
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
.aiChatbotPage .btn.bgMain {
  border-color: var(--mainColor);
  background: var(--btnBgColor);
  color: var(--btnColor);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.16);
}
.aiChatbotPage .btn.lineMain {
  border-color: var(--mainColor);
  background: #fff;
  color: var(--mainColor);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.1);
}
.aiChatbotPage .btn.colorMain {
  min-width: auto;
  min-height: auto;
  padding: 0;
  color: var(--mainColor);
}
.aiChatbotPage .btn {
  /* 圓形箭頭按鈕（方案卡） */
}
.aiChatbotPage .btn.iconArrow {
  position: relative;
  min-width: 56px;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--mainColor);
}
.aiChatbotPage .btn.iconArrow::after {
  content: "";
  width: 18px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-4px) rotate(-45deg);
}
.aiChatbotPage {
  /* 圖片容器 -------------------------------------------------------------- */
}
.aiChatbotPage .Img {
  overflow: hidden;
  border-radius: var(--radiusMedium);
}
.aiChatbotPage .Img img {
  width: 100%;
}
.aiChatbotPage {
  /* 文字區塊 -------------------------------------------------------------- */
}
.aiChatbotPage .Txt .title {
  color: var(--titleColor);
  font-size: var(--textTitleSize);
  font-weight: 700;
  line-height: 1.5;
}
.aiChatbotPage .Txt .subtitle {
  margin-top: 6px;
  color: var(--textColor);
  font-size: var(--textSizeSmall);
}
.aiChatbotPage .Txt .text {
  margin-top: 10px;
  font-size: var(--textSizeSmall);
}
.aiChatbotPage {
  /* 富文字編輯器 ---------------------------------------------------------- */
}
.aiChatbotPage .textEditor {
  font-size: var(--textSizeSmall);
  line-height: 1.9;
}
.aiChatbotPage .textEditor h3 {
  margin-top: 16px;
  color: var(--mainColor);
  font-size: var(--textSizeSmall);
}
.aiChatbotPage .textEditor h3:first-child {
  margin-top: 0;
}
.aiChatbotPage .textEditor p + p {
  margin-top: 8px;
}
.aiChatbotPage .textEditor ul {
  margin-top: 8px;
  padding-left: 1.2em;
  list-style: disc;
}
.aiChatbotPage .textEditor li + li {
  margin-top: 4px;
}
.aiChatbotPage {
  /* hover 僅限非觸控裝置 --------------------------------------------------- */
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage a:hover {
    color: var(--linkHoverColor);
  }
  .aiChatbotPage .btn.bgMain:hover {
    border-color: var(--titleColor);
    background: var(--titleColor);
    box-shadow: 0 4px 20px rgba(30, 32, 34, 0.25);
  }
  .aiChatbotPage .btn.lineMain:hover {
    background: var(--mainColor);
    color: #fff;
  }
  .aiChatbotPage .btn.iconArrow:hover {
    background: var(--mainDarkColor);
  }
}
.aiChatbotPage {
  /* 僅手機版顯示的斷行（<br class="brSp">），桌機／平板隱藏 */
}
.aiChatbotPage .brSp {
  display: none;
}
.aiChatbotPage {
  /* RWD：max-width 由大而小覆寫 -------------------------------------------- */
}
@media (max-width: 1180px) {
  .aiChatbotPage .titleBox .title {
    font-size: var(--titleSizeMedium);
  }
  .aiChatbotPage .titleBox .subtitle {
    font-size: var(--subtitleSizeMedium);
  }
}
@media (max-width: 768px) {
  .aiChatbotPage .brSp {
    display: inline;
  }
  .aiChatbotPage .titleBox .title {
    font-size: var(--titleSizeSmall);
  }
  .aiChatbotPage .titleBox .subtitle {
    font-size: var(--subtitleSizeSmall);
  }
  .aiChatbotPage .titleBox .btnBox {
    margin-top: 28px;
  }
  .aiChatbotPage .Txt .title {
    font-size: var(--textTitleSizeSmall);
  }
  .aiChatbotPage .btn {
    min-width: 140px;
    min-height: 46px;
    padding: 8px 22px;
    font-size: var(--textSizeSmall);
  }
}
.aiChatbotPage {
  /* ==========================================================================
     _form：表單共用樣式
     ========================================================================== */
}
.aiChatbotPage .formBox .formTitle {
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mainColor);
  color: var(--textColor);
  font-size: var(--textSizeSmall);
}
.aiChatbotPage .formList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 44px;
}
.aiChatbotPage {
  /* 第一列：聯絡人姓名滿版（底線橫跨整列），先生／女士以絕對定位靠右，
     壓在同一條底線的上方（設計稿的排法） */
}
.aiChatbotPage .formRow {
  position: relative;
  grid-column: 1/-1;
}
.aiChatbotPage .formItem {
  position: relative;
}
.aiChatbotPage .formItem.isFull {
  grid-column: 1/-1;
}
.aiChatbotPage .formLabel {
  display: block;
  margin-bottom: 6px;
  color: var(--textColor);
  font-size: var(--smallSize);
}
.aiChatbotPage .formLabel em {
  color: var(--mainColor);
  font-style: normal;
}
.aiChatbotPage .formInput {
  width: 100%;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--lineColor);
  background: transparent;
  color: var(--titleColor);
  font-family: var(--mainFont);
  font-size: var(--textSize);
  transition: border-color 0.5s ease-in-out;
}
.aiChatbotPage .formInput:focus {
  outline: 0;
  border-bottom-color: var(--mainColor);
}
.aiChatbotPage .formInput.error {
  border-bottom: 2px solid #d0021b;
  background: rgba(208, 2, 27, 0.05);
}
.aiChatbotPage .menuFormBox .focusItem.error {
  border-bottom: 2px solid #d0021b;
  background: rgba(208, 2, 27, 0.05);
}
.aiChatbotPage textarea.formInput {
  resize: vertical;
}
.aiChatbotPage {
  /* 性別 radio ------------------------------------------------------------ */
}
.aiChatbotPage .radioBox {
  position: absolute;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 16px;
}
.aiChatbotPage .radioItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--textColor);
  font-size: var(--smallSize);
  cursor: pointer;
}
.aiChatbotPage .radioItem input {
  accent-color: var(--mainColor);
}
.aiChatbotPage {
  /* 送出區：滑動解鎖 + 確認送出，同列靠左 ----------------------------------- */
}
.aiChatbotPage .formFoot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 56px;
}
.aiChatbotPage {
  /* 滑動解鎖 -------------------------------------------------------------- */
}
.aiChatbotPage .slideLock {
  position: relative;
  display: flex;
  align-items: center;
  width: 260px;
  height: 50px;
  border-radius: var(--radiusSmall);
  background: #EFEFEF;
  overflow: hidden;
  /* 觸控裝置：整條解鎖區不接手瀏覽器捲動手勢，避免拖曳被中斷（手機一次只動一小步的卡頓） */
  touch-action: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .slideLock.isUnlocked .slideLockText {
  color: var(--mainColor);
}
.aiChatbotPage .slideLockBtn {
  position: relative;
  z-index: 2;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radiusSmall);
  background: var(--mainColor);
  cursor: grab;
  touch-action: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .slideLockBtn:active {
  cursor: grabbing;
}
.aiChatbotPage .slideLockBtn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-70%, -50%) rotate(-45deg);
}
.aiChatbotPage .slideLockText {
  flex: 1;
  color: var(--lightTextColor);
  font-size: var(--smallSize);
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
}
@media (max-width: 991px) {
  .aiChatbotPage .formList {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .aiChatbotPage .formList {
    grid-template-columns: 1fr;
  }
  .aiChatbotPage .formFoot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 36px;
  }
  .aiChatbotPage .slideLock {
    width: 100%;
  }
  .aiChatbotPage .formFoot .btnBox .btn {
    width: 100%;
  }
}
.aiChatbotPage {
  /* ==========================================================================
     kvArea：主視覺（影片背景 + 機器人 + 標題群組）
     對位依據 Figma 設計稿 1920 版面：
     影片 0,54~970 全寬／機器人 x1028 y330 w462／內容起點 x263（=wrap 左緣）
     ========================================================================== */
}
.aiChatbotPage section.kvArea {
  /* 寬螢幕補償量：超過 1920px 後機器人的 top / width（min() 上限）會鎖住，
     但影片是滿寬 cover 會繼續放大，機器人相對影片會偏左上且偏小。
     依超出 1920px 的量往右下移動並放大（≤1920px 為 0，2560px 以上封頂 55px）。
     section 高度同步加上補償量，避免放大＋下移的機器人被 overflow 切到底部光暈 */
  --kvWideOffset: clamp(0px, (100vw - 1920px) / 12, 55px);
  /* 影片下緣的白色收白漸層（.kvMask 最後一層）起訖點。抽成變數是因為
     CSS 無法單獨覆寫多層 background 中的某一層，斷點要調整只能整組重寫 */
  --kvMaskFadeStart: 50%;
  --kvMaskFadeEnd: 92%;
  position: relative;
  height: calc(clamp(600px, 42vw, 806px) + var(--kvWideOffset) * 2.2);
  padding-block: 0;
  background: #fff;
  overflow: hidden;
  /* 影片背景：全寬滿版，object-fit 裁切 */
}
.aiChatbotPage section.kvArea .kvVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  /* 縮小並右靠，避免面板場景貼近標題 */
  transform: translateX(-1%) scale(0.92);
  transform-origin: 100% 55%;
}
.aiChatbotPage section.kvArea {
  /* 遮罩：左側／上緣白色漸層 + 下緣收白 + 左上粉色光暈（影片邊界不露餡） */
}
.aiChatbotPage section.kvArea .kvMask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(28vw 36vw at 0% 0%, rgba(255, 81, 87, 0.2) 0%, rgba(255, 207, 209, 0.06) 55%, rgba(255, 207, 209, 0) 75%), linear-gradient(90deg, #fff 12%, rgba(255, 255, 255, 0.9) 32%, rgba(255, 255, 255, 0) 58%), linear-gradient(270deg, #fff 0%, #fff 1%, rgba(255, 255, 255, 0.75) 2.2%, rgba(255, 255, 255, 0) 4.5%), linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) var(--kvMaskFadeStart), #fff var(--kvMaskFadeEnd));
}
.aiChatbotPage section.kvArea .wrap {
  position: relative;
  height: 100%;
  padding-top: clamp(90px, var(--headerHeight) + 6.15vw, 196px);
}
.aiChatbotPage section.kvArea .titleBox {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.aiChatbotPage section.kvArea .titleBox .decoTitle {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin-bottom: 34px;
  padding: 0 24px;
  line-height: 1;
  border: 0;
  box-shadow: 0 0 5px rgba(208, 16, 16, 0.13);
  color: #343434;
  font-size: var(--decoTitleSize);
}
.aiChatbotPage section.kvArea .titleBox .title {
  font-size: var(--kvTitleSize);
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
}
.aiChatbotPage section.kvArea .titleBox .text {
  margin-top: 40px;
  max-width: 430px;
  line-height: 2;
  letter-spacing: 0.5px;
}
.aiChatbotPage section.kvArea .titleBox .btnBox {
  margin-top: 82px;
  gap: 33px;
}
.aiChatbotPage {
  /* 機器人：疊在影片的玻璃面板場景前方 */
}
.aiChatbotPage .kvRobot {
  /* --kvWideOffset 定義於 section.kvArea（2560px 時約 53px，2580px 以上封頂 55px）。
     2560px 換算：往下約 96px／往右約 53px／寬度 +48px（585 → 633px，約放大 8%） */
  position: absolute;
  z-index: 1;
  top: calc(min(15.9vw, 305px) + var(--kvWideOffset) * 1.8);
  left: calc(51.2% + var(--kvWideOffset));
  width: calc(min(30.5vw, 585px) + var(--kvWideOffset) * 0.9);
  margin: 0;
}
.aiChatbotPage .kvRobot img {
  width: 100%;
  height: auto;
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
}
@media (max-width: 1180px) {
  .aiChatbotPage {
    /* 992~1180px：影片場景的高度由視窗高度決定、不會隨寬度縮小，但機器人原本的
       top 是 min(15.9vw, 305px)（隨寬度線性），於是視窗越窄機器人越往上、與場景
       脫節——實測機器人在場景中的垂直位置 1440px 為 36.3%、1180px 剩 29.3%、
       1024px 只剩 24.8%。這裡改用「相對 section 高度的百分比」定位（桌機 1440
       實測為 37.8%），讓此區間與桌機的相對位置一致（等同往下移，1024 約 +63px、
       1180 約 +38px），並把寬度由 30.5vw 放大為 35vw（約 +15%）。
       註：1181px 以上仍是桌機公式，斷點處寬度會有一次跳階，屬預期行為 */
  }
  .aiChatbotPage section.kvArea {
    /* 影片下緣的收白漸層往上拉：50%/92% → 44%/86%（section 高 600px 時
       約等於白色起點由 300px 提前到 264px、全白由 552px 提前到 516px） */
    --kvMaskFadeStart: 44%;
    --kvMaskFadeEnd: 86%;
  }
  .aiChatbotPage .kvRobot {
    top: 41%;
    width: 38vw;
  }
  .aiChatbotPage section.kvArea .titleBox .title {
    font-size: var(--kvTitleSizeMedium);
  }
  .aiChatbotPage section.kvArea .titleBox .text {
    margin-top: 28px;
  }
  .aiChatbotPage section.kvArea .titleBox .btnBox {
    margin-top: 48px;
  }
}
@media (max-width: 991px) {
  .aiChatbotPage {
    /* 影片改為一般流排在文案（按鈕）下方，機器人以絕對定位疊在影片上 */
  }
  .aiChatbotPage section.kvArea {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding-bottom: 20px;
    /* 影片區塊尺寸（.kvVideo 與其上方的白色漸層共用，避免兩處各寫一份）。
       7/5 裁切框：讓偏右的面板群能水平置中（換算見下方 .kvVideo 註解） */
    --kvVideoH: calc(100vw * 5 / 7);
    --kvVideoBottom: 20px; /* = section 的 padding-bottom */
    /* 桌機版的滿版背景遮罩改為：只蓋在影片上的白色漸層，
       讓影片下緣自然淡出到白色底，不出現硬邊 */
  }
  .aiChatbotPage section.kvArea .kvMask {
    top: auto;
    right: 0;
    bottom: var(--kvVideoBottom);
    left: 0;
    z-index: 2; /* 蓋在影片之上、機器人（z-index 3）之下 */
    height: var(--kvVideoH);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.45) 66%, rgba(255, 255, 255, 0.85) 86%, #fff 100%);
  }
  .aiChatbotPage section.kvArea .kvVideo {
    position: relative;
    order: 2;
    width: 100%;
    /* 影片原始比例約 2.5:1，面板群偏右（約佔畫面 47%~98%，中心約在 72.5%）。
       裁切框比例需 ≦ 1.38 才有足夠的左右裁切量把面板群拉到正中央，
       因此固定 7/5（1.4）滿寬裁切框 + 靠右對齊：影片放大、面板群水平置中 */
    height: auto;
    aspect-ratio: 7/5;
    margin-top: 28px;
    -o-object-position: 100% center;
       object-position: 100% center;
    transform: none;
    /* 上下緣柔化收白，避免影片邊界出現硬線 */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 76%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 76%, transparent 100%);
  }
  .aiChatbotPage section.kvArea {
    /* position: static → 讓 .kvRobot 以 section 為定位基準 */
  }
  .aiChatbotPage section.kvArea .wrap {
    order: 1;
    position: static;
  }
  .aiChatbotPage section.kvArea {
    /* 影片與機器人本來就是滿寬置中，文案群組同步改為水平置中 */
  }
  .aiChatbotPage section.kvArea .titleBox {
    max-width: 100%;
    text-align: center;
  }
  .aiChatbotPage section.kvArea .titleBox .title {
    white-space: normal;
  }
  .aiChatbotPage section.kvArea .titleBox .text {
    /* 置中後限制行寬，避免整段拉滿造成閱讀斷行過長 */
    max-width: 560px;
    margin-inline: auto;
  }
  .aiChatbotPage section.kvArea .titleBox .btnBox {
    justify-content: center;
  }
  .aiChatbotPage {
    /* 機器人：置中疊在影片上（不使用 transform，避免與 GSAP 進場位移衝突） */
  }
  .aiChatbotPage .kvRobot {
    position: absolute;
    z-index: 3;
    top: auto;
    right: 0;
    bottom: 10px;
    left: 0;
    width: min(52vw, 404px);
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .aiChatbotPage section.kvArea .wrap {
    padding-top: calc(var(--headerHeight) + 44px);
  }
  .aiChatbotPage section.kvArea .titleBox {
    /* 手機版標題群組置中（與 769~991px 一致） */
    text-align: center;
    /* text-wrap: balance：各行長度自動平均，避免大標題／內文末行只剩
       一兩個字的孤字（此屬性可繼承，故寫在 titleBox 一次套用標題與內文；
       舊瀏覽器不支援時自動退回一般折行，無副作用） */
    text-wrap: balance;
  }
  .aiChatbotPage section.kvArea .titleBox .decoTitle {
    margin-bottom: 22px;
  }
  .aiChatbotPage section.kvArea .titleBox .title {
    /* 手機版與各單元主標題（painPointArea 等）同級 */
    font-size: var(--titleSizeSmall);
  }
  .aiChatbotPage section.kvArea .titleBox .text {
    margin-top: 18px;
    max-width: none;
    margin-inline: 0;
    /* 手機版標題下內文統一行距（桌機 2 → 手機 1.8，與 painPointArea 一致） */
    line-height: 1.8;
    /* 字距由桌機的 .5px 收到 .2px：置中後行尾容易只剩一個字，
       縮字距讓每行多容納一點字元、改善折行（七區塊同步） */
    letter-spacing: 0.2px;
  }
  .aiChatbotPage section.kvArea .titleBox .text br {
    display: none;
  }
  .aiChatbotPage section.kvArea .titleBox .btnBox {
    margin-top: 32px;
    gap: 14px;
  }
  .aiChatbotPage section.kvArea .titleBox .btnBox .btn {
    flex: 1;
    min-width: 0;
  }
  .aiChatbotPage section.kvArea .kvVideo {
    /* 7/5 裁切框與靠右對齊已於 ≤991px 設定，此處僅收上方間距 */
    margin-top: 22px;
  }
  .aiChatbotPage .kvRobot {
    bottom: 2px;
    width: min(78vw, 404px);
  }
}
.aiChatbotPage {
  /* ==========================================================================
     painPointArea：導入痛點
     左側清單 + 右側 HTML 動畫（iframe 嵌入），由 JS 自動輪播切換
     ========================================================================== */
}
.aiChatbotPage section.painPointArea {
  padding-top: clamp(16px, 1.6vw, 30px);
  background: linear-gradient(180deg, #fff 0%, #FDF3F3 100%);
}
.aiChatbotPage section.painPointArea .titleBox {
  text-align: center;
}
.aiChatbotPage section.painPointArea .titleBox .text {
  margin-inline: auto;
}
.aiChatbotPage .painPointBox {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
  margin-top: 60px;
  padding: 50px;
  border-radius: var(--radiusLarge);
  background: linear-gradient(135deg, var(--secondColor) 0%, var(--mainColor) 100%);
  box-shadow: var(--shadowFloat);
}
.aiChatbotPage .painPointList {
  display: flex;
  flex-direction: column;
  padding-inline: clamp(16px, 1.8vw, 30px);
  border-radius: var(--radiusMedium);
  background: rgba(0, 0, 0, 0.08);
}
.aiChatbotPage .painPointItem {
  cursor: pointer;
}
.aiChatbotPage .painPointItem + .painPointItem {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.aiChatbotPage .painPointItem .item {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 28px);
  padding: 22px 0;
  opacity: 0.4;
  transition: opacity 0.5s;
}
.aiChatbotPage .painPointItem .numBox {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.aiChatbotPage .painPointItem {
  /* 白色圓角三角形 + 內部紅字標號 */
}
.aiChatbotPage .painPointItem .num {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 58px;
  padding-top: 18px;
}
.aiChatbotPage .painPointItem .num svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #fff;
}
.aiChatbotPage .painPointItem .num b {
  position: relative;
  color: var(--mainColor);
  font-size: var(--badgeNumSize);
  font-weight: 900;
  line-height: 1;
}
.aiChatbotPage .painPointItem .num small {
  position: relative;
  color: var(--mainColor);
  font-size: var(--badgeTextSize);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-transform: capitalize;
}
.aiChatbotPage .painPointItem .label {
  font-size: var(--smallSize);
  font-weight: 700;
}
.aiChatbotPage .painPointItem .Txt {
  flex: 1;
  min-width: 0;
  color: #fff;
}
.aiChatbotPage .painPointItem .Txt .title {
  color: #fff;
}
.aiChatbotPage .painPointItem .Txt .text {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
}
.aiChatbotPage .painPointItem {
  /* 目前輪播中的痛點（由 JS 切換 isActive）：標號與文案亮起 */
}
.aiChatbotPage .painPointItem.isActive {
  cursor: default;
}
.aiChatbotPage .painPointItem.isActive .item {
  opacity: 1;
}
.aiChatbotPage .painPointItem.isActive .Txt .text {
  -webkit-line-clamp: 10;
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage .painPointItem:not(.isActive):hover .item {
    opacity: 0.7;
  }
  .aiChatbotPage .painPointNav .arrow:hover {
    color: #fff;
  }
  .aiChatbotPage .painPointDots .dot:not(.isActive):hover::before {
    background: rgba(255, 255, 255, 0.7);
  }
}
.aiChatbotPage {
  /* 右側動畫：iframe 以 1180 設計寬度渲染，再由 JS 等比縮放至容器 */
}
.aiChatbotPage .painPointFigure {
  min-width: 0;
}
.aiChatbotPage .painPointFigure .figureList {
  position: relative;
  aspect-ratio: 1180/660;
}
.aiChatbotPage {
  /* .figureItem／.figureFrame 寫在最外層（不巢狀在 .painPointFigure 內），
     因為行動版輪播時 JS 會把 .figureItem 搬進各 .painPointItem 內 */
}
.aiChatbotPage .figureItem {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s, visibility 0.6s;
}
.aiChatbotPage .figureItem.isActive {
  opacity: 1;
  visibility: visible;
}
.aiChatbotPage .figureFrame {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
}
.aiChatbotPage {
  /* 輪播控制列：左右箭頭 + 導覽點（僅行動版輪播模式顯示） */
}
.aiChatbotPage .painPointNav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 12px;
}
.aiChatbotPage .painPointNav .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .painPointNav .arrow svg {
  width: 20px;
  height: 20px;
}
.aiChatbotPage .painPointNav .arrow:active {
  color: #fff;
}
.aiChatbotPage .painPointDots {
  display: flex;
  justify-content: center;
  align-items: center;
}
.aiChatbotPage .painPointDots .dot {
  position: relative;
  width: 20px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .painPointDots .dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.35s, background-color 0.35s;
}
.aiChatbotPage .painPointDots .dot.isActive::before {
  width: 20px;
  background: #fff;
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
}
@media (max-width: 1180px) {
  .aiChatbotPage .painPointBox {
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    padding: 36px;
  }
}
.aiChatbotPage {
  /* 平板直式以下：改為「一張卡＝一個痛點＋自己的動畫」的左右滑動輪播 */
}
@media (max-width: 991px) {
  .aiChatbotPage {
    /* KV 影片下緣與痛點區之間留出較充裕的呼吸空間 */
  }
  .aiChatbotPage section.painPointArea {
    padding-top: 56px;
  }
  .aiChatbotPage .painPointBox {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .aiChatbotPage .painPointList {
    flex-direction: row;
    gap: 12px;
    padding-inline: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: none;
  }
  .aiChatbotPage .painPointList::-webkit-scrollbar {
    display: none;
  }
  .aiChatbotPage .painPointItem {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-inline: clamp(16px, 3vw, 24px);
    /* 不加圓角：下方滿版動畫貼齊卡片下緣，圓角會讓動畫下緣有削角感；
       不另加深色底（原本的 rgba(0,0,0,.08) 疊在紅色漸層上會形成一層深紅面板），
       讓卡片內容直接坐在 painPointBox 的紅色漸層上 */
    background: none;
    cursor: default;
  }
  .aiChatbotPage .painPointItem + .painPointItem {
    border-top: 0;
  }
  .aiChatbotPage .painPointItem .item {
    opacity: 1;
  }
  .aiChatbotPage .painPointItem {
    /* 卡片各自獨立，文案一律完整顯示；標題與內文間距放寬（_base 全域為 10px） */
  }
  .aiChatbotPage .painPointItem .Txt .text {
    display: block;
    overflow: visible;
    margin-top: 18px;
  }
  .aiChatbotPage .painPointItem {
    /* 對應動畫由 JS 在行動版搬進卡片內，接在文案下方 */
    /* 動畫齊卡片左右下三邊滿版，畫面可放到最大 */
  }
  .aiChatbotPage .painPointItem .figureItem {
    position: relative;
    inset: auto;
    aspect-ratio: 1180/660;
    overflow: hidden;
    margin-top: auto;
    margin-inline: calc(clamp(16px, 3vw, 24px) * -1);
    opacity: 1;
    visibility: visible;
  }
  .aiChatbotPage .painPointItem {
    /* 痛點一、二的動畫面板本身帶圓角（card-storm 的 .desk、handoff-alert 的
       console 皆有圓角＋邊框），貼齊卡片下緣時圓角會壓在裁切邊界上、看起來
       像被切掉；往上提一點讓下緣圓角完整離開邊界。
       痛點三（data-overload）手機版實測下緣仍被卡片邊界裁到，提得比一、二再多一些。
       痛點四維持滿版貼齊，不受影響。
       註：此規則的對象隨動畫對調而變動，日後若再調換動畫順序須一併檢查。 */
  }
  .aiChatbotPage .painPointItem:nth-child(1) .figureItem, .aiChatbotPage .painPointItem:nth-child(2) .figureItem {
    margin-bottom: 10px;
  }
  .aiChatbotPage .painPointItem:nth-child(3) .figureItem {
    margin-bottom: 24px;
  }
  .aiChatbotPage {
    /* 桌機用的右側動畫容器停用（動畫已搬進各卡片） */
  }
  .aiChatbotPage .painPointFigure {
    display: none;
  }
  .aiChatbotPage .painPointNav {
    display: flex;
  }
}
@media (max-width: 768px) {
  .aiChatbotPage section.painPointArea {
    padding-top: 48px;
    /* 手機版標題群組置中（大標題＋膠囊小標＋灰色內文） */
  }
  .aiChatbotPage section.painPointArea .titleBox {
    text-align: center;
    /* text-wrap: balance：各行長度自動平均，避免大標題／內文末行只剩
       一兩個字的孤字（此屬性可繼承，故寫在 titleBox 一次套用標題與內文；
       舊瀏覽器不支援時自動退回一般折行，無副作用） */
    text-wrap: balance;
  }
  .aiChatbotPage section.painPointArea {
    /* 手機版說明文案：與 kvArea 主視覺內文同樣式——不硬斷行、一整段自然折行、
       置中對齊、letter-spacing .2px、行距 1.8（比 kvArea 桌機的 2 略小）；
       桌機用的 <br> 在手機隱藏 */
  }
  .aiChatbotPage section.painPointArea .titleBox .text {
    margin-top: 18px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.2px;
  }
  .aiChatbotPage section.painPointArea .titleBox .text br {
    display: none;
  }
  .aiChatbotPage .painPointBox {
    margin-top: 40px;
    padding: 24px;
    border-radius: var(--radiusMedium);
  }
  .aiChatbotPage .painPointItem .item {
    gap: 14px;
    padding: 16px 0;
  }
  .aiChatbotPage .painPointItem .num {
    width: 52px;
    height: 47px;
    padding-top: 12px;
  }
  .aiChatbotPage .painPointItem .num b {
    font-size: var(--badgeNumSizeSmall);
  }
  .aiChatbotPage .painPointItem .num small {
    font-size: var(--badgeTextSizeSmall);
  }
}
.aiChatbotPage {
  /* ==========================================================================
     valueArea：核心價值（中央標題 + 周邊懸浮卡片群）
     對位依據 Figma 設計稿 1920 版面（區塊參考原點 y1880、高 1090）
     ========================================================================== */
}
.aiChatbotPage section.valueArea {
  position: relative;
  height: clamp(760px, 56.8vw, 1090px);
  padding-block: 0;
  background: #fff;
  overflow: hidden;
}
.aiChatbotPage section.valueArea .wrap {
  position: relative;
  z-index: 2;
  padding-top: clamp(120px, 14.7vw, 282px);
}
.aiChatbotPage section.valueArea .titleBox {
  text-align: center;
  /* 標題與內文縮成「貼齊文字」的寬度並置中：視覺不變，
     但左右兩側不再形成透明的攔截區，讓底下的懸浮卡片能被 hover 到 */
}
.aiChatbotPage section.valueArea .titleBox .title,
.aiChatbotPage section.valueArea .titleBox .text {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.aiChatbotPage section.valueArea .titleBox .btnBox {
  justify-content: center;
  margin-top: 48px;
}
.aiChatbotPage section.valueArea {
  /* 磁吸 hover 用：.wrap 整塊不攔截滑鼠，只有實際要互動的文字與按鈕保留
     （.wrap z-index 2 蓋在 .valueBox 之上，不放行的話卡片完全 hover 不到） */
}
.aiChatbotPage section.valueArea .wrap {
  pointer-events: none;
}
.aiChatbotPage section.valueArea .titleBox .title,
.aiChatbotPage section.valueArea .titleBox .text,
.aiChatbotPage section.valueArea .titleBox .btn {
  pointer-events: auto;
}
.aiChatbotPage {
  /* 同心圓背景 -------------------------------------------------------------- */
}
.aiChatbotPage .valueBg {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 100%;
  min-width: 1100px;
  margin: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.aiChatbotPage .valueBg img {
  width: 100%;
  height: auto;
}
.aiChatbotPage {
  /* 周邊懸浮元素畫布 --------------------------------------------------------- */
}
.aiChatbotPage .valueBox {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.aiChatbotPage .valueItem {
  position: absolute;
  margin: 0;
  /* 行動版無限循環輪播用的複製卡（由 JS initValueSlider 在 ≤991px 產生），
     桌機（含 JS 尚未移除時）一律不顯示，避免疊在懸浮卡牌版面上 */
}
.aiChatbotPage .valueItem.isClone {
  display: none;
}
.aiChatbotPage .valueItem {
  /* 平常的懸浮幅度（未 hover 時）：預設 -12px 太不明顯，卡片加大到 -22px，
     下方小方塊裝飾另外再加大，讓整體漂浮感更清楚 */
  --floatDistance: -22px;
  /* 磁吸 hover：由 JS（initValueMagnetic）在非觸控桌機為 .valueBox 加上
     .isMagnetic 後才開啟，.valueBox 本身維持穿透，不擋標題與 CTA 按鈕 */
}
.aiChatbotPage .valueBox.isMagnetic .valueItem {
  pointer-events: auto;
}
.aiChatbotPage .valueItem img {
  width: 100%;
  height: auto;
  /* 持續懸浮（進場動畫由 GSAP 控制外層 figure，互不衝突） */
  animation: floatAnimation var(--floatDuration, 6s) ease-in-out var(--floatDelay, 0s) infinite;
}
.aiChatbotPage .valueItem {
  /* 卡片 —————————————————————————— */
}
.aiChatbotPage .valueItem.isEfficiency {
  top: 6.7%;
  left: 14%;
  width: min(21vw, 404px);
  --floatDuration: 5.6s;
}
.aiChatbotPage .valueItem.isHandover {
  top: 8.4%;
  left: 67.3%;
  width: min(19.2vw, 368px);
  --floatDuration: 6.4s;
  --floatDelay: -2.2s;
}
.aiChatbotPage .valueItem.isHelper {
  top: 38.3%;
  left: 2%;
  width: min(19.2vw, 368px);
  --floatDuration: 7s;
  --floatDelay: -1.4s;
}
.aiChatbotPage .valueItem.isChannels {
  top: 37%;
  left: 75.2%;
  width: min(19.4vw, 373px);
  --floatDuration: 6.8s;
  --floatDelay: -3.6s;
}
.aiChatbotPage .valueItem.isRecords {
  top: 61.2%;
  left: 50.3%;
  width: min(20.9vw, 401px);
  --floatDuration: 6.2s;
  --floatDelay: -4.4s;
}
.aiChatbotPage .valueItem.isData {
  top: 62.2%;
  left: 11.2%;
  width: min(34.8vw, 669px);
  --floatDuration: 7.4s;
  --floatDelay: -2.8s;
}
.aiChatbotPage .valueItem {
  /* 方塊裝飾 ————————————————————— */
}
.aiChatbotPage .valueItem.isCubeLeft {
  top: 26.8%;
  left: 2.4%;
  width: min(10.6vw, 203px);
  --floatDuration: 8s;
  --floatDelay: -1s;
}
.aiChatbotPage .valueItem.isCubeRight {
  top: 34.4%;
  left: 94.6%;
  width: min(8vw, 153px);
  --floatDuration: 7.6s;
  --floatDelay: -5s;
}
.aiChatbotPage .valueItem.isCubeRed {
  top: 40.1%;
  left: 17%;
  width: min(3.8vw, 73px);
  --floatDuration: 5s;
  --floatDelay: -.8s;
}
.aiChatbotPage .valueItem {
  /* 紅方塊光暈（設計稿的同心光環） */
}
.aiChatbotPage .valueItem.isCubeRed::before, .aiChatbotPage .valueItem.isCubeRisk::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.28) 0%, rgba(229, 57, 53, 0.1) 45%, rgba(229, 57, 53, 0) 70%);
  transform: translate(-50%, -50%);
}
.aiChatbotPage .valueItem.isCubeRisk {
  top: 35.4%;
  left: 72%;
  width: min(4.4vw, 84px);
  --floatDuration: 5.4s;
  --floatDelay: -3s;
}
.aiChatbotPage .valueItem.isCubeGlass {
  top: 58.5%;
  left: 66.8%;
  width: min(5.8vw, 112px);
  --floatDuration: 8.4s;
  --floatDelay: -6s;
}
.aiChatbotPage .valueItem {
  /* 小尺寸方塊裝飾：同樣位移量看起來會比大卡片不明顯，因此再加大 */
}
.aiChatbotPage .valueItem.isCubeLeft, .aiChatbotPage .valueItem.isCubeRight, .aiChatbotPage .valueItem.isCubeRed, .aiChatbotPage .valueItem.isCubeRisk, .aiChatbotPage .valueItem.isCubeGlass {
  --floatDistance: -30px;
}
.aiChatbotPage {
  /* 手機版輪播控制：左右箭頭＋點點（桌機不顯示） ----------------------------- */
}
.aiChatbotPage .valueNav {
  /* 必須 position + z-index：.valueBg（絕對定位、z-index:0）會蓋在靜態流內容之上，
     箭頭若維持 static 會被同心圓背景圖整個蓋掉（點點看得到是因為 .dot 本身
     position:relative，剛好被推到上層），實際排查時箭頭連紅色都畫不出來 */
  position: relative;
  z-index: 2;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  /* 結構與尺寸比照 .painPointNav 的箭頭；valueArea 是白底，配色改為深色 */
}
.aiChatbotPage .valueNav .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .valueNav .arrow svg {
  width: 20px;
  height: 20px;
}
.aiChatbotPage .valueNav .arrow:active {
  color: var(--mainColor);
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage .valueNav .arrow:hover {
    color: var(--mainColor);
  }
}
.aiChatbotPage .valueDots {
  display: flex;
  justify-content: center;
  align-items: center;
}
.aiChatbotPage .valueDots .dot {
  position: relative;
  width: 20px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .valueDots .dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  /* valueArea 為白底，點點改深色（painPointArea 是紅底用白點） */
  background: rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  transition: width 0.35s, background-color 0.35s;
}
.aiChatbotPage .valueDots .dot.isActive::before {
  width: 20px;
  background: var(--mainColor);
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
}
@media (max-width: 991px) {
  .aiChatbotPage section.valueArea {
    height: auto;
    padding-block: clamp(60px, 8vw, 100px) 60px;
  }
  .aiChatbotPage section.valueArea .wrap {
    padding-top: 0;
  }
  .aiChatbotPage {
    /* 卡片改為左右滑動輪播（scroll-snap，一次一張）；裝飾方塊隱藏。
       作法與 painPointArea 行動版一致：軌道橫向捲動 + 下方點點（.valueNav），
       索引同步與點擊切換由 JS 的 initValueSlider() 處理 */
  }
  .aiChatbotPage .valueBox {
    position: relative;
    inset: auto;
    /* 桌機為了不擋標題與 CTA 設了 pointer-events:none；此斷點改成橫向捲動
       軌道，必須還原成 auto，否則觸控會整個穿透過去、手指滑不動 */
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 820px;
    margin: 32px auto 0;
    padding-inline: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .aiChatbotPage .valueBox::-webkit-scrollbar {
    display: none;
  }
  .aiChatbotPage .valueItem {
    position: static;
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    /* 複製卡在此斷點要參與排列（前後各一組，用來做無限循環） */
  }
  .aiChatbotPage .valueItem.isClone {
    display: flex;
  }
  .aiChatbotPage .valueItem {
    align-items: center;
    justify-content: center;
    width: 100% !important;
    /* 各張卡片原始比例差異大（404×132 ~ 401×402），統一給一個高度區間，
       讓輪播每一頁高度一致、切換時版面不跳動 */
    min-height: clamp(210px, 46vw, 300px);
    padding-inline: var(--wrapPadding);
    text-align: center;
  }
  .aiChatbotPage .valueItem img {
    width: auto;
    max-width: 100%;
    height: auto;
    /* --cardScale：各張卡的個別倍率（預設 1）。六張卡的原始比例差異大，
       統一 max-height 後有幾張視覺上偏小／偏大，故逐張微調。
       max-width 維持 100%，放大後也不會超出卡片寬度 */
    max-height: calc(clamp(190px, 42vw, 280px) * var(--cardScale, 1));
  }
  .aiChatbotPage .valueItem {
    /* 第 2 張：RAG 精準檢索回答 */
  }
  .aiChatbotPage .valueItem.isHandover {
    --cardScale: 1.15;
  }
  .aiChatbotPage .valueItem {
    /* 第 3 張：自訂處理守則 */
  }
  .aiChatbotPage .valueItem.isHelper {
    --cardScale: .88;
  }
  .aiChatbotPage .valueItem {
    /* 第 4 張：熱點主題分析 */
  }
  .aiChatbotPage .valueItem.isChannels {
    --cardScale: 1.15;
  }
  .aiChatbotPage .valueItem {
    /* 第 5 張：對話摘要與風險辨識——指定為 320×320（圖片原始 401×402，
       限高 320 時寬約 319，視覺上即 320 見方）。不用 --cardScale 倍率是因為
       倍率的基準值會隨 42vw 浮動，要固定尺寸就直接寫死上限；
       螢幕窄於 320 + 左右留白時仍由 max-width:100% 自動縮 */
  }
  .aiChatbotPage .valueItem.isRecords img {
    /* min(320px, 100%)：這條會覆寫上面的 max-width:100%，
       不夾住 100% 的話 320px 寬的螢幕會撐破卡片左右留白 */
    max-width: min(320px, 100%);
    max-height: 320px;
  }
  .aiChatbotPage .valueItem.isData img {
    max-width: 560px;
  }
  .aiChatbotPage .valueItem.isCubeLeft, .aiChatbotPage .valueItem.isCubeRight, .aiChatbotPage .valueItem.isCubeRed, .aiChatbotPage .valueItem.isCubeRisk, .aiChatbotPage .valueItem.isCubeGlass {
    display: none;
  }
  .aiChatbotPage .valueNav {
    display: flex;
  }
  .aiChatbotPage {
    /* CTA 按鈕由 JS 搬到 .valueNav 之後（與卡牌交換位置後成為 section 的直接子層），
       原本 .titleBox .btnBox 的置中與 margin 選不到，這裡重新給 */
  }
  .aiChatbotPage section.valueArea > .btnBox {
    justify-content: center;
    margin-top: 44px;
    padding-inline: var(--wrapPadding);
  }
}
@media (max-width: 768px) {
  .aiChatbotPage {
    /* 手機版標題群組置中（大標題＋膠囊小標＋灰色內文） */
  }
  .aiChatbotPage section.valueArea .titleBox {
    text-align: center;
    /* text-wrap: balance：各行長度自動平均，避免大標題／內文末行只剩一兩個字
       的孤字（此屬性可繼承，寫在 titleBox 一次套用標題與內文；舊瀏覽器不支援
       時自動退回一般折行，無副作用） */
    text-wrap: balance;
  }
  .aiChatbotPage {
    /* 手機版標題下內文統一樣式（同 kvArea／painPointArea）：
       置中、一整段不斷行、行距 1.8。width 還原 100%（桌機為 fit-content 置中） */
  }
  .aiChatbotPage section.valueArea .titleBox .text {
    width: 100%;
    margin-top: 18px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.2px;
  }
  .aiChatbotPage section.valueArea .titleBox .text br {
    display: none;
  }
}
.aiChatbotPage {
  /* ==========================================================================
     compareArea：與傳統 SaaS AI 客服比較
     ========================================================================== */
}
.aiChatbotPage section.compareArea {
  /* 下方留白取全站 --sectionSpace 的一半（與下方 processArea 銜接較緊） */
  padding-bottom: calc(var(--sectionSpace) / 2);
  /* 區塊內部專用色（_setting.scss 無對應變數，僅於此區塊使用） */
  --compareRed: #D12542; /* 區塊漸層底 / 欄3 邊框主紅 */
  --compareDarkBg: #3C3C3C; /* 欄2 header 底色 */
  --compareGrayHead: #D0D0D0; /* 欄1 header 底色 */
  --compareDarkText: #202020; /* 欄1 文字 */
  --compareGrayText: #595959; /* 欄2 資料列文字 */
  background: linear-gradient(180deg, var(--compareRed) 0%, rgba(209, 37, 66, 0.4) 46%, transparent 100%);
  /* 白色漸淡大標 -------------------------------------------------------- */
}
.aiChatbotPage section.compareArea .compareDeco {
  margin-bottom: clamp(50px, 5vw, 96px);
  background: linear-gradient(90deg, #fff 60%, rgba(255, 255, 255, 0) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: var(--titleSize);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  /* JS 逐字拆解後：漸層色改由各字元 color 承接（transform 會破壞 background-clip） */
}
.aiChatbotPage section.compareArea .compareDeco.isSplit {
  background: none;
  -webkit-text-fill-color: currentColor;
}
.aiChatbotPage section.compareArea .compareDeco .ch {
  display: inline-block;
  will-change: opacity, transform;
}
.aiChatbotPage section.compareArea {
  /* 白色圓角大卡片 ------------------------------------------------------ */
}
.aiChatbotPage section.compareArea .compareCard {
  padding: clamp(40px, 4vw, 64px) clamp(20px, 3.5vw, 49px) clamp(48px, 5vw, 76px);
  border-radius: 50px;
  background: var(--bgColor);
  box-shadow: var(--shadowFloat);
}
.aiChatbotPage section.compareArea .titleBox {
  text-align: center;
}
.aiChatbotPage section.compareArea .titleBox .text {
  margin-inline: auto;
}
.aiChatbotPage section.compareArea {
  /* 比較表：三張獨立圓角卡 ---------------------------------------------- */
}
.aiChatbotPage section.compareArea .compareBox {
  margin-top: 50px;
}
.aiChatbotPage section.compareArea .compareTable {
  display: grid;
  grid-template-columns: 199fr 494fr 574fr;
  gap: 18px;
  align-items: center;
  min-width: 1000px;
}
.aiChatbotPage section.compareArea .compareCol {
  overflow: hidden;
  border-radius: var(--radiusSmall);
}
.aiChatbotPage section.compareArea .compareCol .colHead {
  display: flex;
  align-items: center;
  min-height: 59px;
  padding-inline: 32px;
  font-size: var(--textTitleSizeSmall);
  font-weight: 700;
}
.aiChatbotPage section.compareArea .compareCol .colList li {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding-inline: 32px;
  line-height: 1.6;
}
.aiChatbotPage section.compareArea .compareCol .colList li:last-child {
  min-height: 59px;
}
.aiChatbotPage section.compareArea {
  /* 欄1：比較項目 */
}
.aiChatbotPage section.compareArea .colLabel {
  background: var(--bgColor);
}
.aiChatbotPage section.compareArea .colLabel .colHead {
  background: var(--compareGrayHead);
  color: var(--compareDarkText);
}
.aiChatbotPage section.compareArea .colLabel .colList li {
  border-bottom: 1px solid var(--lineColor);
  color: var(--compareDarkText);
  font-size: var(--textTitleSizeSmall);
  font-weight: 500;
}
.aiChatbotPage section.compareArea .colLabel .colList li:last-child {
  border-bottom: 0;
}
.aiChatbotPage section.compareArea {
  /* 欄2：傳統 SaaS AI 專案 */
}
.aiChatbotPage section.compareArea .colOld .colHead {
  background: var(--compareDarkBg);
  color: #fff;
  padding-inline: 44px;
}
.aiChatbotPage section.compareArea .colOld .colList li {
  padding-inline: 44px;
  background: var(--grayBgColor);
  color: var(--compareGrayText);
  font-size: var(--textSize);
  transition: background-color 1s ease, color 1s ease;
}
.aiChatbotPage section.compareArea .colOld {
  /* hover 色彩反轉：灰底深字 → 深底白字（僅非觸控裝置，標題列不變化） */
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage section.compareArea .colOld .colList li:hover {
    background: var(--compareDarkBg);
    color: #fff;
  }
}
.aiChatbotPage section.compareArea {
  /* 欄3：愛貝斯 AI 機器人（上下突出、紅框光暈） */
}
.aiChatbotPage section.compareArea .colNew {
  position: relative;
  overflow: visible;
  border: 4px solid var(--compareRed);
  background: var(--bgColor);
  box-shadow: 0 0 44px rgba(255, 0, 0, 0.12);
}
.aiChatbotPage section.compareArea .colNew .colHead {
  min-height: 85px;
  padding-inline: 50px;
  border-radius: calc(var(--radiusSmall) - 4px) calc(var(--radiusSmall) - 4px) 0 0;
  background: linear-gradient(90deg, #F1636C 0%, var(--compareRed) 38%, #CF0325 100%);
  color: #fff;
  font-size: var(--tableHeadSize);
}
.aiChatbotPage section.compareArea .colNew .colList {
  position: relative;
  z-index: 2;
  /* 裁掉 li hover 底色超出圓角的部分 */
  overflow: hidden;
  background: var(--bgColor);
  border-radius: 0 0 calc(var(--radiusSmall) - 4px) calc(var(--radiusSmall) - 4px);
}
.aiChatbotPage section.compareArea .colNew .colList li {
  min-height: 84px;
  padding-inline: 50px;
  border-bottom: 1px solid var(--lineColor);
  color: var(--compareDarkText);
  font-size: var(--textSize);
  transition: background-color 1s ease, color 1s ease;
}
.aiChatbotPage section.compareArea .colNew .colList li:last-child {
  min-height: 60px;
  border-bottom: 0;
}
.aiChatbotPage section.compareArea .colNew {
  /* hover 色彩反轉：白底黑字 → 紅底白字（僅非觸控裝置，標題列不變化） */
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage section.compareArea .colNew .colList li:hover {
    background: var(--compareRed);
    color: #fff;
  }
}
.aiChatbotPage section.compareArea {
  /* 「勝」徽章 ----------------------------------------------------------- */
}
.aiChatbotPage section.compareArea .winBadge {
  position: absolute;
  top: -44px;
  right: 46px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  /* 半透明白同心圓光暈（兩層）：外側兩圈再收小，內圈維持原大小，貼近設計稿 */
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38) 0% 57%, rgba(255, 255, 255, 0.22) 58% 100%);
  animation: floatAnimation 5s ease-in-out infinite;
  /* 持續向外擴散的光波（同懸浮按鈕 rippleAnimation） */
}
.aiChatbotPage section.compareArea .winBadge::before, .aiChatbotPage section.compareArea .winBadge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: rippleAnimation 3s ease-out infinite;
}
.aiChatbotPage section.compareArea .winBadge::after {
  animation-delay: 1.5s;
}
.aiChatbotPage section.compareArea .winBadge .Img {
  position: relative;
  z-index: 3;
  width: 88px;
  /* 裝飾圖不需裁切：覆寫 _base 的 .Img overflow:hidden，
     避免 img 自身的 floatAnimation 位移時上緣被 figure 裁掉 */
  overflow: visible;
  border-radius: 0;
}
.aiChatbotPage section.compareArea .winBadge .Img img {
  width: 100%;
  height: auto;
  transform: rotate(8deg);
}
.aiChatbotPage section.compareArea .winBadge {
  /* 右上角迷你方塊：隨徽章一同懸浮，再帶一點自身的錯拍漂浮 */
}
.aiChatbotPage section.compareArea .winBadge .Img.isMini {
  position: absolute;
  top: 24%;
  right: 10%;
  width: 11%;
  transform: rotate(-12deg);
}
.aiChatbotPage section.compareArea .winBadge .Img.isMini img {
  transform: none;
  animation: floatAnimation 4.6s ease-in-out -2s infinite;
}
.aiChatbotPage section.compareArea .winBadge .winText {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--subtitleSize);
  font-weight: 700;
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
}
@media (max-width: 1180px) {
  .aiChatbotPage section.compareArea .compareDeco {
    font-size: var(--titleSizeMedium);
  }
  .aiChatbotPage section.compareArea .compareBox {
    /* overflow-x 捲動容器會一併裁掉垂直突出的內容（勝徽章 top 為負值、
       浮動時更往上）：與標題的間距改用 padding-top 吸收，
       讓徽章突出量落在捲動範圍內不被裁切；總間距維持 40px 不變 */
    margin-top: 0;
    padding-top: 40px;
    overflow-x: auto;
  }
  .aiChatbotPage section.compareArea .winBadge {
    top: -35px;
    right: 20px;
    width: 140px;
    height: 140px;
  }
  .aiChatbotPage section.compareArea .winBadge .Img {
    width: 72px;
  }
}
@media (max-width: 768px) {
  .aiChatbotPage {
    /* 手機版標題群組置中（大標題＋膠囊小標＋灰色內文） */
  }
  .aiChatbotPage section.compareArea .titleBox {
    text-align: center;
    /* text-wrap: balance：各行長度自動平均，避免大標題／內文末行只剩一兩個字
       的孤字（此屬性可繼承，寫在 titleBox 一次套用標題與內文；舊瀏覽器不支援
       時自動退回一般折行，無副作用） */
    text-wrap: balance;
  }
  .aiChatbotPage {
    /* 手機版標題下內文統一樣式（同 kvArea／painPointArea 等六區塊）：
       置中、一整段不斷行、行距 1.8 */
  }
  .aiChatbotPage section.compareArea .titleBox .text {
    margin-top: 18px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.2px;
  }
  .aiChatbotPage section.compareArea .titleBox .text br {
    display: none;
  }
  .aiChatbotPage section.compareArea .compareDeco {
    margin-bottom: 40px;
    /* 手機版一定要維持單行：JS initDecoReveal() 的白色漸淡是依「字元中心的
       x 座標 ÷ 元素寬度」逐字上色，換行後第二行的字座標回到最左、alpha 會
       跳回純白，看起來就像最後一個字特別深。字級改為隨視窗縮放（實測各
       寬度單行所需字級約 6.34~6.48vw，取 6.1vw 留約 4% 安全邊距），
       並以 nowrap 鎖住不折行 */
    font-size: min(var(--titleSizeSmall), 6.1vw);
    white-space: nowrap;
  }
  .aiChatbotPage section.compareArea .compareCard {
    border-radius: var(--radiusLarge);
  }
  .aiChatbotPage section.compareArea .compareBox {
    /* 1180 斷點已有 padding-top: 40px（防徽章被裁），負 margin 收回 10px
       → 淨間距 30px，與原設定相同 */
    margin-top: -10px;
  }
  .aiChatbotPage section.compareArea .compareTable {
    min-width: 860px;
    gap: 12px;
  }
  .aiChatbotPage section.compareArea .compareCol .colHead,
  .aiChatbotPage section.compareArea .compareCol .colList li {
    padding-inline: 20px;
  }
  .aiChatbotPage section.compareArea .colLabel .colList li {
    font-size: var(--textSize);
  }
  .aiChatbotPage section.compareArea .colOld .colHead,
  .aiChatbotPage section.compareArea .colOld .colList li {
    padding-inline: 24px;
  }
  .aiChatbotPage section.compareArea .colOld .colList li {
    font-size: var(--textSizeSmall);
  }
  .aiChatbotPage section.compareArea .colNew .colHead,
  .aiChatbotPage section.compareArea .colNew .colList li {
    padding-inline: 28px;
  }
  .aiChatbotPage section.compareArea .colNew .colHead {
    font-size: var(--textTitleSizeSmall);
  }
  .aiChatbotPage section.compareArea .colNew .colList li {
    font-size: var(--textSizeSmall);
  }
  .aiChatbotPage section.compareArea {
    /* 手機版整體放大 1.3 倍（100→130、52→68、字級 ×1.3），
       top/right 各外移 15px 讓圓心視覺位置不變；
       不能用 transform:scale——.winBadge 的 floatAnimation 會覆蓋 transform */
  }
  .aiChatbotPage section.compareArea .winBadge {
    /* 2026-09-03 再往下微調：-40px → -25px */
    top: -25px;
    right: -3px;
    width: 130px;
    height: 130px;
  }
  .aiChatbotPage section.compareArea .winBadge .Img {
    width: 68px;
  }
  .aiChatbotPage section.compareArea .winBadge .winText {
    font-size: calc(var(--tableHeadSize) * 1.3);
  }
}
.aiChatbotPage {
  /* 手機版滑動提示 -----------------------------------------------------------
     遮罩只壓暗 .compareCard 這張白色大卡（不是整個畫面），膠囊在卡片範圍內置中。
     兩者都是 .compareCard 的絕對定位子層，因此 .compareCard 需要 position:relative。
     皆 pointer-events:none，不擋使用者操作；桌機表格完整顯示故不需要，直接隱藏。 */
}
.aiChatbotPage .compareCard {
  position: relative;
}
.aiChatbotPage .compareMask {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  /* 跟著卡片的圓角，避免四角露出直角的暗塊 */
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.aiChatbotPage .compareMask.isShow {
  opacity: 1;
}
.aiChatbotPage .compareHint {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  /* 疊在遮罩（z-index 4）之上 */
  z-index: 5;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 15px 24px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.88);
  color: #fff;
  font-size: var(--textSize);
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  /* 收起狀態略低 10px，淡入時往上帶一點位移 */
  transform: translate(-50%, calc(-50% + 10px));
  transition: opacity 0.45s, transform 0.45s;
  pointer-events: none;
}
.aiChatbotPage .compareHint.isShow {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.aiChatbotPage .compareHint {
  /* 雙箭頭「>>」：兩個 chevron 錯拍往右推出再從左邊補進來，做出前進感 */
}
.aiChatbotPage .compareHint .hintIcon {
  display: flex;
  align-items: center;
  gap: 1px;
}
.aiChatbotPage .compareHint .chev {
  width: 15px;
  height: 15px;
  animation: swipeHintAnimation 1.3s ease-out infinite;
}
.aiChatbotPage .compareHint {
  /* 第一個箭頭固定 60% 透明度（動畫的 opacity 會再乘上這層的 opacity） */
}
.aiChatbotPage .compareHint .chev.isFirst {
  opacity: 0.6;
  animation-delay: -0.18s;
}
@media (max-width: 1180px) {
  .aiChatbotPage .compareMask {
    display: block;
  }
  .aiChatbotPage .compareHint {
    display: flex;
  }
}
.aiChatbotPage {
  /* ==========================================================================
     planArea：兩種導入方案
     ========================================================================== */
}
.aiChatbotPage .planArea {
  /* 白 → 下方漸入淺灰，結尾色對齊 processArea 的起始色 #F5F5F5，消除交界線 */
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #F5F5F5 100%);
}
.aiChatbotPage .planArea .titleBox {
  text-align: center;
}
.aiChatbotPage .planArea .titleBox .text {
  margin-inline: auto;
}
.aiChatbotPage .planBox {
  margin-top: 60px;
}
.aiChatbotPage .planList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}
.aiChatbotPage .planItem .item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 50px;
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--shadowFloat);
  transition: background 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
.aiChatbotPage .planItem {
  /* 主推狀態切換時，文字／線條同步變色（.title 另用漸層洗色，見下方） */
}
.aiChatbotPage .planItem .Txt .subtitle,
.aiChatbotPage .planItem .featureItem,
.aiChatbotPage .planItem .infoTitle,
.aiChatbotPage .planItem .infoTitle::after,
.aiChatbotPage .planItem .infoText,
.aiChatbotPage .planItem .price {
  transition: color 0.4s ease-in-out;
}
.aiChatbotPage .planItem .featureList {
  transition: border-color 0.4s ease-in-out;
}
.aiChatbotPage .planItem .featureItem::before,
.aiChatbotPage .planItem .btn.iconArrow .circle::before {
  transition: background 0.4s ease-in-out;
}
.aiChatbotPage .planItem .btn.iconArrow {
  transition: border-color 0.4s ease-in-out;
}
.aiChatbotPage .planItem .btn.iconArrow::before {
  transition: border-color 0.4s ease-in-out;
}
.aiChatbotPage .planItem .btn.iconArrow .circle {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s ease-in-out;
}
.aiChatbotPage .planItem .btn.iconArrow .circle::after {
  transition: border-color 0.4s ease-in-out;
}
.aiChatbotPage .planItem {
  /* 頂部媒體：影片 580×343 */
}
.aiChatbotPage .planItem .videoBox {
  overflow: hidden;
  border-radius: var(--radiusMedium);
}
.aiChatbotPage .planItem .videoBox video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 580/343;
  -o-object-fit: cover;
     object-fit: cover;
}
.aiChatbotPage .planItem .Txt {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 40px;
  /* 主推切換時由左至右「洗」成白色，取代整段瞬間變色：
     畫一條左白右深的漸層裁進文字，靠 background-position 位移決定
     目前露出哪一段（100% = 深色端，0 = 白色端）。
     畫布刻意設為元素的三倍寬：靜止時可見範圍只會落在 0~33%（純白）
     或 67~100%（純深），45%~55% 的柔邊完全在可見範圍外，
     才不會讓首字或末字在靜止狀態下透出灰邊；柔邊只在掃過時出現。 */
}
.aiChatbotPage .planItem .Txt .title {
  background-image: linear-gradient(90deg, #fff 0 45%, var(--titleColor) 55% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: var(--cardTitleSize);
  font-weight: 700;
  line-height: 1.4;
  transition: background-position 0.7s ease-in-out;
}
.aiChatbotPage .planItem .Txt .subtitle {
  margin-top: 12px;
  color: var(--textColor);
  font-size: var(--textSize);
}
.aiChatbotPage .planItem {
  /* 主推方案（左卡：純色紅底、白字） */
}
.aiChatbotPage .planItem.isMain .item {
  background: #D12542;
  box-shadow: none;
  color: #fff;
}
.aiChatbotPage .planItem.isMain .item .Txt .subtitle,
.aiChatbotPage .planItem.isMain .item .featureItem,
.aiChatbotPage .planItem.isMain .item .infoTitle,
.aiChatbotPage .planItem.isMain .item .infoText,
.aiChatbotPage .planItem.isMain .item .price {
  color: #fff;
}
.aiChatbotPage .planItem.isMain .item {
  /* 標題不直接改 color，改讓漸層往左位移，白色那半掃過文字 */
}
.aiChatbotPage .planItem.isMain .item .Txt .title {
  background-position: 0 0;
}
.aiChatbotPage .planItem.isMain .item .infoTitle::after {
  color: #fff;
}
.aiChatbotPage .planItem.isMain .item .featureList {
  border-color: rgba(255, 255, 255, 0.6);
}
.aiChatbotPage .planItem.isMain .item .featureItem::before {
  background: #fff;
}
.aiChatbotPage .planItem.isMain .item .btn.iconArrow {
  border-color: rgba(255, 255, 255, 0.35);
}
.aiChatbotPage .planItem.isMain .item .btn.iconArrow::before {
  border-color: rgba(255, 255, 255, 0.6);
}
.aiChatbotPage .planItem.isMain .item .btn.iconArrow .circle {
  background: #fff;
}
.aiChatbotPage .planItem.isMain .item .btn.iconArrow .circle::before {
  background: var(--mainColor);
}
.aiChatbotPage .planItem.isMain .item .btn.iconArrow .circle::after {
  border-color: var(--mainColor);
}
.aiChatbotPage {
  /* 特點列表（分隔線：左卡白線、右卡紅線） */
}
.aiChatbotPage .featureList {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--mainColor);
}
.aiChatbotPage .featureItem {
  position: relative;
  padding-left: 18px;
  font-size: var(--textSize);
  line-height: 30px;
}
.aiChatbotPage .featureItem::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mainColor);
}
.aiChatbotPage {
  /* 適合對象／核心價值 */
}
.aiChatbotPage .infoList {
  margin-top: 32px;
}
.aiChatbotPage .infoItem {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.aiChatbotPage .infoItem + .infoItem {
  margin-top: 14px;
}
.aiChatbotPage .infoTitle {
  flex: none;
  color: var(--titleColor);
  font-size: var(--textSize);
  font-weight: 700;
}
.aiChatbotPage .infoTitle::after {
  content: "→";
  margin-left: 12px;
  color: var(--mainColor);
  font-weight: 400;
}
.aiChatbotPage .infoText {
  flex: 1;
  font-size: var(--textSize);
  line-height: 1.8;
}
.aiChatbotPage {
  /* 底部價格列 */
}
.aiChatbotPage .priceBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 44px;
}
.aiChatbotPage .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--titleColor);
}
.aiChatbotPage .price b {
  display: inline-flex;
  font-size: var(--priceSize);
  font-weight: 700;
  line-height: 1;
}
.aiChatbotPage .price {
  /* 數字由 JS 拆成「每字元一個遮罩格」，格內上下疊兩份相同字元；
     hover 時整欄上滾一格，形成翻牌般的滾動替換（高度多留 .16em 給逗號下伸） */
}
.aiChatbotPage .price .priceChar {
  display: block;
  overflow: hidden;
  height: 1.16em;
}
.aiChatbotPage .price .priceRoll {
  display: block;
  will-change: transform;
}
.aiChatbotPage .price .priceRoll i {
  display: block;
  height: 1.16em;
  font-style: normal;
  line-height: 1.16;
}
.aiChatbotPage .price {
  /* 單位文字（元起／月）：限直接子層，避免選到上面的內層 span */
}
.aiChatbotPage .price > span {
  font-size: var(--priceUnitSize);
}
.aiChatbotPage {
  /* 圓形箭頭按鈕：雙層圓環（外 83 / 內 71 / 實心 50） */
}
.aiChatbotPage .planItem .btn.iconArrow {
  min-width: 83px;
  width: 83px;
  height: 83px;
  border: 1px solid rgba(196, 37, 43, 0.2);
  background: none;
  /* 內圈 71px */
}
.aiChatbotPage .planItem .btn.iconArrow::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(196, 37, 43, 0.4);
  border-radius: 50%;
}
.aiChatbotPage .planItem .btn.iconArrow {
  /* 覆蓋 base 的箭頭 ::after（箭頭改畫在 .circle 內） */
}
.aiChatbotPage .planItem .btn.iconArrow::after {
  content: none;
}
.aiChatbotPage .planItem .btn.iconArrow {
  /* 中心實心圓 50px */
}
.aiChatbotPage .planItem .btn.iconArrow .circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--mainColor);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s ease-in-out;
  /* 箭頭桿 */
}
.aiChatbotPage .planItem .btn.iconArrow .circle::before {
  content: "";
  width: 16px;
  height: 2px;
  background: #fff;
}
.aiChatbotPage .planItem .btn.iconArrow .circle {
  /* 箭頭頭 */
}
.aiChatbotPage .planItem .btn.iconArrow .circle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.aiChatbotPage {
  /* 方案頁籤（僅 ≤991px 輪播模式顯示）：兩個方案標題並排，
     目前選中的下方畫紅色底線，未選中的半透明 */
}
.aiChatbotPage .planTab {
  display: none;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(36px, 10vw, 72px);
  margin: 16px 0 40px;
  /* 未選中：色彩與字重比照內文（灰色、不加粗）；選中才是深色粗體＋紅底線 */
}
.aiChatbotPage .planTab .tab {
  position: relative;
  padding: 0 0 10px;
  border: 0;
  background: none;
  color: var(--textColor);
  font-size: var(--textTitleSizeSmall);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
  /* 底線：未選中時收在中央、寬度 0，選中時展開至滿寬 */
}
.aiChatbotPage .planTab .tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--mainColor);
  transform: translateX(-50%);
  transition: width 0.35s ease-in-out;
}
.aiChatbotPage .planTab .tab.isActive {
  color: var(--titleColor);
  font-weight: 700;
}
.aiChatbotPage .planTab .tab.isActive::after {
  width: 100%;
}
.aiChatbotPage {
  /* 輪播控制列：左右箭頭 + 導覽點（僅 ≤991px 輪播模式顯示）
     結構與尺寸比照 .painPointNav；planArea 為白底，配色沿用 valueArea 的深色版 */
}
.aiChatbotPage .planNav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}
.aiChatbotPage .planNav .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .planNav .arrow svg {
  width: 20px;
  height: 20px;
}
.aiChatbotPage .planNav .arrow:active {
  color: var(--mainColor);
}
.aiChatbotPage .planDots {
  display: flex;
  justify-content: center;
  align-items: center;
}
.aiChatbotPage .planDots .dot {
  position: relative;
  width: 20px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .planDots .dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  transition: width 0.35s, background-color 0.35s;
}
.aiChatbotPage .planDots .dot.isActive::before {
  width: 20px;
  background: var(--mainColor);
}
.aiChatbotPage {
  /* hover 僅限非觸控裝置 --------------------------------------------------- */
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage .planItem .btn.iconArrow:hover {
    background: none;
  }
  .aiChatbotPage .planItem .btn.iconArrow:hover .circle {
    transform: scale(1.12);
  }
  .aiChatbotPage .planNav .arrow:hover {
    color: var(--mainColor);
  }
  .aiChatbotPage .planDots .dot:not(.isActive):hover::before {
    background: rgba(0, 0, 0, 0.32);
  }
}
.aiChatbotPage {
  /* RWD：max-width 由大而小覆寫 -------------------------------------------- */
}
@media (max-width: 991px) {
  .aiChatbotPage {
    /* 兩張方案卡改為左右滑動輪播（scroll-snap，一次一張），不再上下堆疊。
       作法與 painPointArea／valueArea 行動版一致：橫向軌道 + 下方點點（.planNav），
       索引同步、箭頭／點點切換與目前卡片的 .isMain 主推樣式由 JS 的 initPlanSlider() 處理。
       上下 padding 是留給卡片 box-shadow 的空間（overflow-x:auto 會連帶裁切垂直方向） */
  }
  .aiChatbotPage .planList {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    padding-block: 10px 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .aiChatbotPage .planList::-webkit-scrollbar {
    display: none;
  }
  .aiChatbotPage .planItem {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .aiChatbotPage .planItem .item {
    max-width: 678px;
    margin-inline: auto;
    width: 100%;
  }
  .aiChatbotPage {
    /* 方案卡的標題群組置中（一次只看一張卡，置中重心較穩）。
       只置中 .title／.subtitle：下方的 .featureList 有項目符號、
       .infoList 是「標籤－說明」左右對照、.priceBox 是價格與按鈕分置兩端，
       這些置中反而不好讀，維持靠左 */
  }
  .aiChatbotPage .planItem .Txt > .title,
  .aiChatbotPage .planItem .Txt > .subtitle {
    text-align: center;
  }
  .aiChatbotPage .planTab,
  .aiChatbotPage .planNav {
    display: flex;
  }
}
@media (max-width: 768px) {
  .aiChatbotPage {
    /* 手機版標題群組置中（大標題＋膠囊小標＋灰色內文） */
  }
  .aiChatbotPage .planArea .titleBox {
    text-align: center;
    /* text-wrap: balance：各行長度自動平均，避免大標題／內文末行只剩一兩個字
       的孤字（此屬性可繼承，寫在 titleBox 一次套用標題與內文；舊瀏覽器不支援
       時自動退回一般折行，無副作用） */
    text-wrap: balance;
  }
  .aiChatbotPage {
    /* 手機版標題下內文統一樣式（同 kvArea／painPointArea）：置中、一整段不斷行、行距 1.8 */
  }
  .aiChatbotPage .planArea .titleBox .text {
    margin-top: 18px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.2px;
  }
  .aiChatbotPage .planArea .titleBox .text br {
    display: none;
  }
  .aiChatbotPage .planBox {
    margin-top: 40px;
  }
  .aiChatbotPage {
    /* 手機寬度：兩個標題並排總寬吃緊（共 17 字），字級由 18px 收到 17px、
       間距縮到 12px，才不會擠成兩行；仍比內文 16px 大一級 */
  }
  .aiChatbotPage .planTab {
    gap: 24px;
    margin: 8px 0 32px;
  }
  .aiChatbotPage .planTab .tab {
    padding-bottom: 8px;
    font-size: 17px;
  }
  .aiChatbotPage .planItem .item {
    padding: 28px;
    border-radius: var(--radiusLarge);
  }
  .aiChatbotPage .planItem .Txt {
    margin-top: 28px;
  }
  .aiChatbotPage .planItem .Txt .title {
    font-size: var(--cardTitleSizeSmall);
  }
  .aiChatbotPage .planItem .Txt .subtitle {
    margin-top: 8px;
    font-size: var(--textSize);
  }
  .aiChatbotPage .featureList {
    margin-top: 26px;
    padding-top: 26px;
  }
  .aiChatbotPage .infoList {
    margin-top: 24px;
  }
  .aiChatbotPage {
    /* 適合對象／核心價值：手機版標題與內文改為上下兩行、移除標題後的箭頭 */
  }
  .aiChatbotPage .infoItem {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .aiChatbotPage .infoTitle::after {
    content: none;
  }
  .aiChatbotPage .priceBox {
    padding-top: 32px;
  }
  .aiChatbotPage .price b {
    /* 手機版價格數字放大：原 --priceSizeSmall 32px → 36px（桌機卡牌標題級距） */
    font-size: var(--cardTitleSize);
  }
  .aiChatbotPage .price {
    /* 限直接子層（同桌機基準規則）：不加 > 會連 JS 拆字產生的
       .priceChar／.priceRoll span 一併選中，把數字蓋成單位小字級 */
  }
  .aiChatbotPage .price > span {
    font-size: var(--priceUnitSizeSmall);
  }
  .aiChatbotPage .planItem .btn.iconArrow {
    min-width: 66px;
    width: 66px;
    height: 66px;
  }
  .aiChatbotPage .planItem .btn.iconArrow::before {
    inset: 4px;
  }
  .aiChatbotPage .planItem .btn.iconArrow .circle {
    width: 42px;
    height: 42px;
  }
  .aiChatbotPage .planItem .btn.iconArrow .circle::before {
    width: 13px;
  }
  .aiChatbotPage .planItem .btn.iconArrow .circle::after {
    right: 13px;
    width: 7px;
    height: 7px;
  }
}
.aiChatbotPage {
  /* ==========================================================================
     processArea：導入流程
     設計稿：左欄標題 + 01–05 步驟手風琴（isActive 展開），右欄三層疊卡
     ========================================================================== */
}
.aiChatbotPage section.processArea {
  overflow: hidden;
  background: linear-gradient(180deg, #F5F5F5 0%, #EFEFEF 100%);
  /* 左欄標題群組：左對齊，膠囊加紅色光暈 */
}
.aiChatbotPage section.processArea .titleBox .decoTitle {
  border: 0;
  box-shadow: 0 4px 18px rgba(208, 16, 16, 0.15);
}
.aiChatbotPage section.processArea > .wrap > .btnBox {
  justify-content: center;
  margin-top: clamp(50px, 6vw, 90px);
}
.aiChatbotPage .processBox {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 120px);
  margin-top: 50px;
}
.aiChatbotPage {
  /* 左欄：步驟列表 --------------------------------------------------------- */
}
.aiChatbotPage .processList {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.aiChatbotPage .processItem {
  border-bottom: 1px solid var(--lineColor);
  cursor: pointer;
  transition: border-color 0.3s;
}
.aiChatbotPage .processItem .item {
  padding: 28px 0;
}
.aiChatbotPage .processItem .Txt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  -moz-column-gap: 26px;
       column-gap: 26px;
}
.aiChatbotPage .processItem .Txt .title {
  color: #B2B2B2;
  font-size: var(--stepTitleSize);
  font-weight: 700;
  transition: color 0.3s;
}
.aiChatbotPage .processItem .Txt .text {
  display: none;
  grid-column: 2;
  margin-top: 10px;
  color: var(--textColor);
  font-size: var(--textSize);
  font-weight: 700;
}
.aiChatbotPage .processItem .num {
  color: #B2B2B2;
  font-size: var(--stepNumSize);
  font-weight: 900;
  line-height: 1;
  transition: color 0.3s;
}
.aiChatbotPage .processItem {
  /* 目前步驟 */
}
.aiChatbotPage .processItem.isActive {
  border-bottom-color: var(--mainColor);
}
.aiChatbotPage .processItem.isActive .num {
  color: var(--titleColor);
}
.aiChatbotPage .processItem.isActive .Txt .title {
  color: var(--mainColor);
}
.aiChatbotPage .processItem.isActive .Txt .text {
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage .processItem:hover .Txt .title {
    color: var(--mainColor);
  }
}
.aiChatbotPage {
  /* 右欄：三層疊卡 --------------------------------------------------------- */
}
.aiChatbotPage .processCardBox {
  position: relative;
  left: clamp(10px, 2.2vw, 36px); /* 整體略往右上偏移 */
  top: -26px;
  justify-self: center;
  width: min(519px, 100%);
  animation: floatAnimation 6s ease-in-out infinite;
}
.aiChatbotPage .processCard {
  border-radius: var(--radiusLarge);
  background: #fff;
  /* 最底白卡：往左下扇形展開（依設計稿） */
}
.aiChatbotPage .processCard.cardBack {
  position: absolute;
  top: 6%;
  left: -22%;
  width: 97.5%; /* 506 / 519 */
  aspect-ratio: 506/605;
  transform: rotate(-14deg);
  box-shadow: var(--shadowLight);
}
.aiChatbotPage .processCard {
  /* 中層白卡：略微左傾、下移 */
}
.aiChatbotPage .processCard.cardMid {
  position: absolute;
  top: 3%;
  left: -11%;
  width: 100%;
  aspect-ratio: 519/616;
  transform: rotate(-7deg);
  box-shadow: var(--shadowLight);
}
.aiChatbotPage .processCard {
  /* 最上紅卡：輕微右傾 */
}
.aiChatbotPage .processCard.cardFront {
  position: relative;
  aspect-ratio: 519/616;
  background: none;
  transform: rotate(2.5deg);
}
.aiChatbotPage {
  /* 卡牌切換：點擊左側步驟顯示對應卡牌（由 JS 切換 isActive） */
}
.aiChatbotPage .processCardBox .cardList {
  position: absolute;
  inset: 0;
}
.aiChatbotPage .processCardBox .cardList .cardItem {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 8.3%, 43px);
  border-radius: var(--radiusLarge);
  background: #D12542;
  box-shadow: var(--shadowMain);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.aiChatbotPage .processCardBox .cardList .cardItem.isActive {
  opacity: 1;
  visibility: visible;
}
.aiChatbotPage .processCardBox .cardList .cardItem .Img {
  flex: none;
  overflow: hidden;
  aspect-ratio: 433/392;
  border-radius: var(--radiusMedium);
  background: #D9D9D9; /* 圖檔尚未提供時的灰色佔位 */
}
.aiChatbotPage .processCardBox .cardList .cardItem .Img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 圖片緩慢逐漸放大 */
  animation: zoomAnimation 9s ease-in-out infinite alternate;
}
.aiChatbotPage .processCardBox .cardList .cardItem .Txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  margin-top: 16px;
}
.aiChatbotPage .processCardBox .cardList .cardItem .Txt .title {
  color: #B51F38;
  font-size: var(--cardTitleSize);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.aiChatbotPage .processCardBox .cardList .cardItem .Txt .text {
  margin-top: 10px;
  color: #fff;
  font-size: var(--textSizeSmall);
  line-height: 1.8;
}
.aiChatbotPage {
  /* 輪播控制列：左右箭頭 + 導覽點（僅 ≤991px 顯示，對應 01~05 五個步驟）
     結構與尺寸比照 .painPointNav；processArea 為淺灰底，配色沿用 planNav 的深色版 */
}
.aiChatbotPage .processNav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
.aiChatbotPage .processNav .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .processNav .arrow svg {
  width: 20px;
  height: 20px;
}
.aiChatbotPage .processNav .arrow:active {
  color: var(--mainColor);
}
.aiChatbotPage .processDots {
  display: flex;
  justify-content: center;
  align-items: center;
}
.aiChatbotPage .processDots .dot {
  position: relative;
  width: 20px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.aiChatbotPage .processDots .dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  transition: width 0.35s, background-color 0.35s;
}
.aiChatbotPage .processDots .dot.isActive::before {
  width: 20px;
  background: var(--mainColor);
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage .processNav .arrow:hover {
    color: var(--mainColor);
  }
  .aiChatbotPage .processDots .dot:not(.isActive):hover::before {
    background: rgba(0, 0, 0, 0.32);
  }
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
  /* 桌機的 grid 左欄是固定 640px、右欄吃剩下的空間，視窗一窄右欄就被壓到遠小於
     卡牌設計寬 519px（1024px 寬時只剩約 241px），卡片會變成細長條、內容也裝不下。
     ≤1366px 改成「右欄＝卡牌設計寬、左欄吃剩下的」，卡牌就固定拿到 519px、
     維持 519/616 的原比例，被縮小的是步驟列表那一欄（1024px 時約 380px）。
     1366px 時左欄約 670px、與桌機的 640px 幾乎一樣，銜接不會跳動 */
}
@media (max-width: 1366px) {
  .aiChatbotPage .processBox {
    /* 右欄＝卡牌在此斷點的寬度（設計稿 519 → 430，避免卡牌在平板上過大），
       左欄吃剩下的空間（1024px 時約 471px） */
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
    gap: clamp(32px, 4vw, 60px);
  }
  .aiChatbotPage .processCardBox {
    /* 卡牌寬度已等於右欄寬，往右挪多少就會伸進 wrap 內距多少（1024px 時只有 41px），
       再加上紅卡 2.5deg 旋轉多出的約 11px，挪超過 30px 就會被
       section 的 overflow: hidden 切掉右緣。這裡只做小幅右移 */
    left: clamp(8px, 1.5vw, 20px);
    width: min(430px, 100%);
  }
  .aiChatbotPage {
    /* 疊卡扇形收斂：旋轉角度越大、水平佔幅越寬（底卡 -14deg 時左右各多出約 54px），
       在欄距只剩 40px 左右的平板寬度會直接蓋到左側步驟文字，
       因此同步縮小左移量與旋轉角度（層疊感保留） */
  }
  .aiChatbotPage .processCard.cardBack {
    /* 整組卡的右移量收小後，扇形也要再收一點才不會蓋到左欄文字：
       -6%（-26px）+ -7deg 旋轉多出的約 29px ≈ 55px，扣掉右移量後仍在欄距內 */
    left: -6%;
    transform: rotate(-7deg);
  }
  .aiChatbotPage .processCard.cardMid {
    left: -4%;
    transform: rotate(-5deg);
  }
  .aiChatbotPage .processCardBox .cardList .cardItem {
    /* 維持 519/616 原比例的關鍵：卡片縮到 430px 後，原本 433/392 的圖片
       會佔掉太多高度、文字放不下（就是先前爆版與被撐成細長條的原因）。
       這裡把圖片裁切框改扁一點（433/330，object-fit: cover 本來就會裁），
       讓出約 43px 給文字區塊：430px 寬時卡片高 510px、內距 36px、
       圖片 273px，文字區可用 149px，而最長的一張（第 3 步，3 行）需要 136px，
       仍有餘裕。圖片維持固定比例、切換步驟時高度不跳動 */
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Img {
    aspect-ratio: 433/330;
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Txt {
    /* 卡內字級重新配比：英文標題原 32px 過於搶眼、內文 15px 偏小，
       在縮小後的卡牌上更明顯。標題收為 26px、內文放大到一般內文 16px */
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Txt .title {
    font-size: var(--cardTitleSizeSmall);
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Txt .text {
    font-size: var(--textSize);
  }
}
@media (max-width: 1180px) {
  .aiChatbotPage .processItem .num {
    font-size: var(--stepNumSizeMedium);
  }
  .aiChatbotPage .processItem .Txt .title {
    font-size: var(--stepTitleSizeMedium);
  }
  .aiChatbotPage {
    /* 卡內英文標題字級改由 ≤1366px 統一設定為 26px，此處不再覆寫 */
  }
}
@media (max-width: 991px) {
  .aiChatbotPage {
    /* 由上而下：卡牌 → 步驟列點（保留紅色底線）→ 輪播圓點與箭頭；
       CTA 按鈕的 .btnBox 在 .processBox 之外、本來就接在最後 */
    /* 769~991px（折疊機／小平板）文案統一置中，比照 kvArea 的作法；
       ≤768px 手機版仍維持靠左（見下方 768 斷點） */
  }
  .aiChatbotPage section.processArea .titleBox {
    text-align: center;
  }
  .aiChatbotPage .processBox {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
  }
  .aiChatbotPage .processCardBox {
    order: 1;
    left: 0;
    top: 0;
    width: min(440px, 92%);
  }
  .aiChatbotPage {
    /* 步驟列點一次只出現一個（目前這一步），切換交給下方的輪播點點／箭頭；
       桌機仍維持完整 01~05 手風琴清單。
       五步改用 grid 疊在同一格（而非 display:none 只留一個）：容器高度固定
       取最高的那一步，切換時下方的輪播控制列才不會被長短不一的文案推上推下。
       為了讓每一步都以「完整高度」參與計算，此斷點的 .text 一律佔位顯示 */
  }
  .aiChatbotPage .processList {
    order: 2;
    display: grid;
    width: 100%;
    margin-top: 24px; /* 與上方卡牌再拉開一些（另有 .processBox 的 28px gap） */
  }
  .aiChatbotPage .processItem {
    grid-area: 1/1;
    border-bottom: 0;
    opacity: 0;
    visibility: hidden;
    /* 刻意不做交叉淡出：五步疊在同一格，若上一步也慢慢淡出，
       它的灰色標題（#B2B2B2）會與新的一步同時可見，看起來像淺灰殘影。
       非目前步驟 transition:none（瞬間隱藏），只有目前這步淡入 */
    transition: none;
  }
  .aiChatbotPage .processItem .item {
    padding: 12px 0 0;
  }
  .aiChatbotPage .processItem {
    /* 桌機是「序號 auto｜文字 1fr」左靠的兩欄 grid。此斷點改用 flex 換行：
       序號與標題並排在第一列且整列置中，說明文字 flex-basis 100% 自成一列。
       （不沿用 grid 是因為說明文字跨欄時，多出來的寬度會被分配到兩個 auto
       欄軌，導致上方「序號＋標題」那一列的視覺中心偏掉） */
  }
  .aiChatbotPage .processItem .Txt {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .aiChatbotPage .processItem .Txt .text {
    flex: 0 0 100%;
  }
  .aiChatbotPage .processItem .Txt .text {
    display: block;
    /* 行動版改一般內文樣式：字級／字重／字距／色彩皆同一般文案
       （桌機為 700 粗體強調） */
    color: var(--textColor);
    font-size: var(--textSize);
    font-weight: 400;
    letter-spacing: normal;
  }
  .aiChatbotPage .processItem.isActive {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease-out;
  }
  .aiChatbotPage .processNav {
    order: 3;
    display: flex;
    margin-top: -8px; /* 與上方列表的距離收回一些（.dot 本身有 44px 點擊區） */
  }
  .aiChatbotPage {
    /* 卡牌改為滿寬單欄後，寬度由視窗決定（min(440px, 92%)），已不再是設計稿的
       519px，固定的 519/616 比例會裝不下「圖片 + 英文標題 + 2~3 行內文」，
       文案會掉出卡片外。此斷點改由內容撐高：.cardList 用 grid 把五張卡疊在
       同一格（切換仍是 opacity 淡入淡出），容器取最高的那張；
       下層兩張裝飾白卡同樣取消比例、跟著前卡的高度。
       992~1366px 不走這條路——那裡是把左欄縮小、讓卡牌拿回 519px 維持原比例 */
  }
  .aiChatbotPage .processCard.cardFront {
    aspect-ratio: auto;
  }
  .aiChatbotPage .processCard.cardMid, .aiChatbotPage .processCard.cardBack {
    aspect-ratio: auto;
    height: 100%;
  }
  .aiChatbotPage .processCardBox .cardList .cardItem {
    /* 此斷點卡片高度改由內容決定，圖片不需要為了塞進固定比例而壓扁，
       還原為原始的 433/392 */
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Img {
    aspect-ratio: 433/392;
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Txt {
    text-align: center;
  }
  .aiChatbotPage .processCardBox .cardList {
    position: relative;
    inset: auto;
    display: grid;
  }
  .aiChatbotPage .processCardBox .cardList .cardItem {
    position: relative;
    inset: auto;
    grid-area: 1/1;
  }
}
@media (max-width: 768px) {
  .aiChatbotPage {
    /* 標題群組（大標題＋膠囊小標＋灰色內文）手機版同樣置中；
       卡牌內文才是還原為靠左（見下方）。
       步驟列（.processItem）沿用 ≤991px 的置中，此處不再還原 */
  }
  .aiChatbotPage section.processArea .titleBox {
    text-align: center;
    /* text-wrap: balance：各行長度自動平均，避免大標題／內文末行只剩一兩個字
       的孤字（此屬性可繼承，寫在 titleBox 一次套用標題與內文；舊瀏覽器不支援
       時自動退回一般折行，無副作用） */
    text-wrap: balance;
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Txt {
    text-align: left;
  }
  .aiChatbotPage {
    /* 手機版標題下內文統一樣式（同 kvArea／painPointArea）：置中、一整段不斷行、行距 1.8 */
  }
  .aiChatbotPage section.processArea .titleBox .text {
    margin-top: 18px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.2px;
  }
  .aiChatbotPage section.processArea .titleBox .text br {
    display: none;
  }
  .aiChatbotPage .processBox {
    margin-top: 30px;
  }
  .aiChatbotPage .processItem {
    /* .item 的內距在 ≤991px 已改為 12px 0 0（步驟列點移到卡牌下方、
       底線也移除），這裡不再另外覆寫 */
  }
  .aiChatbotPage .processItem .Txt {
    -moz-column-gap: 16px;
         column-gap: 16px;
  }
  .aiChatbotPage .processItem .Txt .title {
    font-size: var(--stepTitleSizeSmall);
  }
  .aiChatbotPage .processItem .num {
    font-size: var(--stepNumSizeSmall);
  }
  .aiChatbotPage {
    /* 縮小旋轉角度、隱藏最底白卡，避免超出畫面 */
  }
  .aiChatbotPage .processCard.cardBack {
    display: none;
  }
  .aiChatbotPage .processCard.cardMid {
    top: 3%;
    left: -6%;
    transform: rotate(-6deg);
  }
  .aiChatbotPage .processCard {
    /* 手機版紅卡擺正（後方裝飾白卡的傾斜保留，維持層疊感） */
  }
  .aiChatbotPage .processCard.cardFront {
    transform: rotate(0);
  }
  .aiChatbotPage .processCardBox .cardList .cardItem .Txt .title {
    font-size: var(--cardTitleSizeSmall);
  }
}
.aiChatbotPage {
  /* ==========================================================================
     faqArea：常見問題
     ========================================================================== */
}
.aiChatbotPage .faqArea {
  background: linear-gradient(180deg, #fff 0%, #FDF3F3 100%);
}
.aiChatbotPage .faqArea .titleBox {
  text-align: center;
}
.aiChatbotPage .faqBox {
  max-width: 1013px;
  margin: 50px auto 0;
}
.aiChatbotPage .faqList {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.aiChatbotPage .faqItem .item {
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--secondColor) 8%, transparent);
  overflow: hidden;
}
.aiChatbotPage .faqItem {
  /* 展開狀態由 JS 切換 isActive；高度動畫交給 GSAP */
}
.aiChatbotPage .faqItem.isActive .arrow {
  transform: rotate(225deg);
}
.aiChatbotPage .faqQuestion {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 88px;
  padding: 20px 40px;
  text-align: left;
}
.aiChatbotPage .faqQuestion .num {
  flex: none;
  min-width: 46px;
  color: var(--mainColor);
  font-size: var(--subtitleSize);
  font-weight: 700;
  line-height: 1.2;
}
.aiChatbotPage .faqQuestion .title {
  flex: 1;
  color: var(--titleColor);
  font-size: var(--textTitleSize);
  font-weight: 700;
  transition: color 0.3s;
}
.aiChatbotPage .faqQuestion .arrow {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--titleColor);
  border-bottom: 2px solid var(--titleColor);
  border-radius: 0 0 3px 0; /* 箭頭尖端微幅圓角 */
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.aiChatbotPage {
  /* 內距與分隔線放在內層 textEditor，讓 GSAP 將 faqAnswer 收合到 0 時完全隱藏 */
}
.aiChatbotPage .faqAnswer .textEditor {
  padding: 0 40px 36px;
  font-size: var(--textSize);
}
.aiChatbotPage .faqAnswer .textEditor h3 {
  font-size: var(--textTitleSizeSmall);
}
.aiChatbotPage .faqAnswer .textEditor::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 24px;
  background: var(--lineColor);
}
@media (hover: hover) and (pointer: fine) {
  .aiChatbotPage .faqQuestion:hover .title {
    color: var(--mainColor);
  }
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
}
@media (max-width: 991px) {
  .aiChatbotPage {
    /* 行動裝置問題標題用小標題層級（18px，比內文大一級）；769~991 區間一併涵蓋 */
  }
  .aiChatbotPage .faqQuestion .title {
    font-size: var(--textTitleSizeSmall);
  }
}
@media (max-width: 768px) {
  .aiChatbotPage .faqBox {
    margin-top: 36px;
  }
  .aiChatbotPage .faqList {
    gap: 16px;
  }
  .aiChatbotPage .faqQuestion {
    gap: 12px;
    min-height: 0;
    padding: 16px 20px;
  }
  .aiChatbotPage .faqQuestion .num {
    min-width: 34px;
    font-size: var(--subtitleSizeSmall);
  }
  .aiChatbotPage .faqQuestion .title {
    font-size: var(--textTitleSizeSmall);
  }
  .aiChatbotPage .faqAnswer .textEditor {
    padding: 0 20px 24px;
  }
  .aiChatbotPage .faqAnswer .textEditor h3 {
    font-size: var(--textSize);
  }
  .aiChatbotPage .faqAnswer .textEditor::before {
    margin-bottom: 16px;
  }
}
.aiChatbotPage {
  /* ==========================================================================
     contactArea：聯絡我們（含 Let's Connect 跑馬燈）
     ========================================================================== */
}
.aiChatbotPage section.contactArea {
  padding-top: 0;
  /* 右上與左下的大型淡紅光暈 + 上粉下白底。
     第一層（最上層）是與 faqArea 銜接用的「上緣淡出遮罩」：faqArea 底色收在
     #FDF3F3，但下面兩層光暈從本區塊上緣就已有強度，交界處會由 (253,243,243)
     直接跳到 (251,228,228)、看得到一條橫線。加上這層由 #FDF3F3 不透明淡出到
     透明（260px）的線性漸層後，上緣顏色與 faqArea 底部完全相同，光暈則由上而下
     慢慢浮現，兩區塊自然融合（桌機、手機皆適用，不需分斷點） */
  background: linear-gradient(180deg, #FDF3F3 0%, rgba(253, 243, 243, 0) 260px), radial-gradient(1000px 760px at 100% 6%, color-mix(in srgb, var(--secondColor) 9%, transparent) 0%, transparent 70%), radial-gradient(900px 700px at 0% 100%, color-mix(in srgb, var(--secondColor) 7%, transparent) 0%, transparent 70%), linear-gradient(180deg, #FDF3F3 0%, #fff 40%);
  overflow: hidden;
}
.aiChatbotPage section.contactArea .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  margin-top: var(--sectionSpace);
}
.aiChatbotPage section.contactArea .titleBox .text a {
  color: var(--mainColor);
  font-weight: 700;
}
.aiChatbotPage {
  /* 跑馬燈 ---------------------------------------------------------------- */
}
.aiChatbotPage .marqueeBox {
  padding-block: clamp(30px, 5vw, 70px);
  overflow: hidden;
}
.aiChatbotPage .marqueeList {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  /* 內容複製為 4 份後位移距離變長，等比放慢維持原本速度感 */
  animation: marqueeAnimation 80s linear infinite;
}
.aiChatbotPage .marqueeItem {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}
.aiChatbotPage .marqueeText {
  color: var(--secondColor);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.aiChatbotPage {
  /* 機器人圓形圖示：同心圓（外淡粉 / 中粉 / 內實心紅）+ 白色機器人臉 */
}
.aiChatbotPage .marqueeIcon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(72px, 9vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  /* 兩圈同心圓（略縮小）：外圈淡底、中心實心圓 */
}
.aiChatbotPage .marqueeIcon::before, .aiChatbotPage .marqueeIcon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.aiChatbotPage .marqueeIcon::before {
  inset: 6%;
  background: color-mix(in srgb, var(--secondColor) 15%, transparent);
}
.aiChatbotPage .marqueeIcon::after {
  inset: 24%;
  background: var(--secondColor);
}
.aiChatbotPage .marqueeIcon img {
  position: relative;
  z-index: 1;
  width: 52%;
  width: 36%;
  height: auto;
}
.aiChatbotPage .marqueeIcon {
  /* 持續向外擴散的光波（弱化版：範圍小、更淡，單一波紋） */
}
.aiChatbotPage .marqueeIcon .marqueeRipple {
  position: absolute;
  inset: 6%; /* 對齊縮小後的外圈 */
}
.aiChatbotPage .marqueeIcon .marqueeRipple::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--secondColor);
  opacity: 0;
  animation: rippleSoftAnimation 2.4s ease-out infinite;
}
.aiChatbotPage {
  /* RWD ------------------------------------------------------------------- */
}
@media (max-width: 991px) {
  .aiChatbotPage section.contactArea .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aiChatbotPage {
    /* 769~991px（折疊機／小平板）文案統一置中，比照 kvArea 的作法；
       右側 .contactBox 表單維持原樣（label／輸入框不置中），≤768px 手機版仍靠左 */
  }
  .aiChatbotPage section.contactArea .titleBox {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .aiChatbotPage {
    /* 標題群組（大標題＋灰色內文）手機版同樣置中；表單維持原樣 */
  }
  .aiChatbotPage section.contactArea .titleBox {
    text-align: center;
    /* text-wrap: balance：各行長度自動平均，避免大標題／內文末行只剩一兩個字
       的孤字（此屬性可繼承，寫在 titleBox 一次套用標題與內文；舊瀏覽器不支援
       時自動退回一般折行，無副作用） */
    text-wrap: balance;
  }
  .aiChatbotPage {
    /* 手機版標題下內文統一樣式（同 kvArea／painPointArea）：置中、一整段不斷行、行距 1.8
       （兩段 .text 皆套用，段落之間以 margin-top 18px 區隔） */
  }
  .aiChatbotPage section.contactArea .titleBox .text {
    margin-top: 18px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.2px;
    /* 標示 .isKeep 的斷行保留（手機版仍要在「與您聯繫！」後換行），其餘取消 */
  }
  .aiChatbotPage section.contactArea .titleBox .text br:not(.isKeep) {
    display: none;
  }
}