--- 全局設定與字體 ---
        /* body {
            font-family: 'Inter', 'PingFang SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f0f4f9;
            color: #374151;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 50px 20px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        } */

        /* --- 主容器 --- */
        .container-wrapper {
            width: 100%;
            max-width: 1200px;
        }

        .pricing-container {
            background-color: #E8F1FD;
            padding: 80px;
        }

        /* --- 語言切換按鈕 --- */
        .language-toggle {
            display: flex;
            justify-content: center;
            background-color: #ECF4FD;
            border-radius: 12px;
            padding: 6px;
            margin: 0 auto 40px auto;
            width: fit-content;
        }

        .toggle-btn {
            border: none;
            width: 290px;
            height: 48px;
            background-color: transparent;
            padding: 10px 35px;
            border-radius: 9px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: PingFangSC, PingFang SC;
            font-weight: 500;
            font-size: 20px;
            color: #20242B;
            line-height: 26px;
            text-align: center;
            font-style: normal;
        }

        .toggle-btn.active {
            background-color: #FBFCFF;
            color: #20242B;
            /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
        }
        
        /* --- 內容視圖切換 --- */
        .lang-view {
            display: none;
        }
        .lang-view.active {
            display: block;
        }

        /* --- 頂部標題區域 --- */
        .pricing-header {
            text-align: center;
            margin-bottom: 35px;
        }
        .pricing-header .subtitle {
            font-size: 14px;
            font-weight: 600;
            color: #6b7280;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .pricing-header h1 {
            font-size: 36px;
            font-weight: 700;
            color: #1f2937;
            margin: 0;
            line-height: 1.3;
        }
        .pricing-header h1 .highlight {
            color: #3b82f6;
        }
        .pricing-header .description {
            font-size: 16px;
            color: #6b7280;
            margin-top: 12px;
        }

        /* --- 主要內容區塊 --- */
        .main-content {
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            /* overflow: hidden; */
        }
        .sponsor-banner {
            background-color: #ebf3ff;
            color: #3b82f6;
            text-align: center;
            padding: 14px;
            font-weight: 500;
            font-size: 14px;
        }

        /* --- 方案網格佈局 --- */
        .plans-grid {
            display: grid;
            background-color: #EFF2F9;
            gap: 1px;
        }
        #lang-en-view .plans-grid {
             grid-template-columns: minmax(220px, 1fr) repeat(4, 1fr);
        }
        #lang-zh-view .plans-grid {
            grid-template-columns: minmax(120px, 0.6fr) repeat(2, 1fr);
        }

        /* --- 方案標題卡片 --- */
        .plan-card {
            grid-column: span 1;
            background-color: #f9faff;
            padding: 24px 20px;
            text-align: center;
   
        }
        .plan-card h3 {
            margin: 0 0 12px 0;
            font-size: 18px;
            font-weight: 600;
            color: #1f2937;
        }
        .plan-card .price {
            font-size: 28px;
            font-weight: 700;
            color: #1f2937;
            margin: 0 0 18px 0;
        }
        #lang-zh-view .plan-card .price {
            font-size: 32px;
        }
        .plan-card .period {
            font-size: 14px;
            font-weight: 400;
            color: #6b7280;
        }
        .choose-plan-btn {
            background-color: #0C65FD;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 12px 24px;
            font-size: 20px;
            font-weight: 600;
            width: 100%;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        .choose-plan-btn:hover {
            background-color: #2563eb;
            transform: translateY(-2px);
        }

        /* --- 功能特性行 --- */
        .feature-label, .feature-value {
            background-color: #ffffff;
            padding: 20px;
            display: flex;
            align-items: center;
            font-size: 18px;
            min-height: 60px;
        }
        .feature-value {
           text-align: center;
        }
       

        .feature-label {
            justify-content: left;
            color: #1E222F;
            font-weight: 500;
            text-align: start;
        }
        .feature-label strong {
            font-weight: 700;
            margin: 0 4px;
            display: contents;
        }
          /* --- 功能特性行 --- */
        .feature-label-zh, .feature-value {
            background-color: #ffffff;
            padding: 20px;
            display: flex;
            align-items: center;
            font-size: 18px;
            min-height: 60px;
        }
               .feature-value {
           text-align: center;
        }

        /* --- 表格橫向滾動容器 --- */
        .table-scroll-wrapper {
            overflow-x: visible;
            -webkit-overflow-scrolling: touch; /* 為了在 iOS 上有更好的滾動體驗 */
            /* margin: 0 -20px; */ /* 抵消父容器的 padding */
            /* padding: 0 20px; */
        }
      @media screen and (max-width: 1080px) {
         .pricing-container {
                padding: 20px !important;
            }
        .choose-plan-btn{
            font-size: 12px;
        }
      .plan-card {
            padding: 12px;
        }
        .choose-plan-btn{
            padding: 12px 18px;
        }
     }

      

        .feature-label-zh {
            justify-content: left;
            color: #1E222F;
            font-weight: 500;
        }
        .feature-label-zh strong {
            font-weight: 700;
            margin: 0 4px;
        }
        .feature-value {
            justify-content: center;
            color: #1f2937;
            font-weight: 500;
        }

        /* --- 圖標與符號 --- */
        .icon { font-size: 22px; font-weight: bold; }
        .icon-blue { color: #3b82f6; font-size: 30px; font-weight: normal; }
        .icon-red-box {
            display: inline-block;
            font-family: monospace;
            font-size: 12px;
            font-weight: bold;
            color: #ef4444;
            border: 2px solid #fecaca;
            background-color: #fee2e2;
            border-radius: 4px;
            padding: 3px 7px;
            line-height: 1;
        }
        .icon-close {
            display: inline-block;
            width: 24px;
            height: 24px;
            vertical-align: middle;
        }
        .icon-umlimited {
            display: inline-block;
            width: 20px;
            height: 9px;
            vertical-align: middle;
        }

        /* --- 底部註釋 --- */
        .pricing-footer {
            grid-column: 2 / -1; /* 跨越所有列 */
            background-color: #ffffff; /* 白色背景 */
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center; /* 文本居中 */
            min-height: 60px; 
            font-family: PingFangSC, PingFang SC;
            font-weight: 400;
            font-size: 24px;
            color: #1E222F;
            line-height: 36px;
            border-radius: 0 0 16px 0;
        }
        .pricing-footer span { font-size: 16px; color: #1E222F; margin: 0 4px; }

/* 赞助商横幅在英文视图下的位置 */
#lang-en-view .sponsor-banner {
  grid-column: 2 / span 3;
  background-color: #ebf3ff;
  color: #0C65FD;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  font-size: 16px;
}

/* 占位符样式 */
.grid-placeholder {
  grid-column: span 1;
  background-color: #f9faff;
}
/* 占位符样式 */
.grid-last-placeholder {
  grid-column: span 1;
  background-color: #ffffff;
  border-radius: 0 0 0 16px;
}

  /* 新增的覆盖规则：
      这是解决吸顶问题的关键。我们必须将 .main-content 的 overflow 属性
      设置为 visible，以允许其内部的 sticky 元素相对于整个页面窗口定位。
    */
    .main-content {
      overflow: visible;
    }

    /* 让作为标题行的 .plan-card 元素在其滚动容器内顶部吸顶。
      当用户在表格内部垂直滚动时，标题行会固定在顶部。
    */
    #lang-zh-view .plans-grid .plan-card {
      position: -webkit-sticky; /* 兼容 Safari 浏览器 */
      position: sticky;
      top: 0;
      z-index: 2;
    }
    
    /* 让作为第一列的功能标签 (.feature-label) 在水平滚动时固定在左侧。
      这是一个体验优化，方便用户在查看不同套餐时对照功能。
    */
    .plans-grid .feature-label, 
    .plans-grid .feature-label-zh {
      position: -webkit-sticky;
      position: sticky;
      left: 0;
      z-index: 1; /* z-index 设置为 1，层级低于标题行 */
      background-color: #ffffff; /* 必须设置背景色，否则在水平滚动时，后面的内容会透过来 */
    }

    /* 处理左上角的单元格。
      在你的表格中，数据部分的左上角是一个空的 .plan-card。
      它需要同时在顶部和左侧吸顶，并且需要最高的 z-index 
      以确保它显示在固定的行和列的交汇处。
    */
    .plans-grid > .plan-card:first-of-type {
        position: -webkit-sticky;
        position: sticky;
        left: 0; /* 固定在左侧 */
        /* top: 0 的效果会从上面的 .plan-card 规则继承 */
        z-index: 3; /* 最高的 z-index，确保它在最上层 */
    }






 /* --- 方案標題 --- */
        .plans-header {
            display: grid;
            background-color: #EFF2F9;
            gap: 1px;
            position: -webkit-sticky; /* 兼容 Safari */
            position: sticky;
            top: 0; /* 吸顶到顶部 */
            z-index: 10; /* 确保在其他内容之上 */
            overflow-x: auto;
             scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE和Edge */
    border-radius: 16px 16px 0 0;

        }

        #lang-en-view .plans-header {
            grid-template-columns: minmax(220px, 1fr) repeat(4, 1fr);
        }

  /* --- 響應式設計：手機端 --- */
        @media screen and (max-width: 767px) {
            .table-scroll-wrapper {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch; /* 为了在iOS设备上实现更平滑的滚动效果 */
            }

            .pricing-container {
                padding: 20px;
            }
            .language-toggle {
                width: 100%;
            }
            .toggle-btn {
                width: auto;
                flex-grow: 1;
                font-size: 16px;
            }
              .plan-card {
                padding: 12px 8px;
                font-size: 16px;
            }

            .plan-title {
                font-size: 13px;
            }

            .plan-price {
                font-size: 16px;
            }

            .plan-card .price {
                font-size: 18px;
            }
        #lang-zh-view .plan-card .price {
            font-size: 18px;
        }

            .plan-price-unit {
                font-size: 13px;
            }

            #lang-en-view .plans-grid {
                grid-template-columns: minmax(80px, 1fr) repeat(4, minmax(80px, 1fr));
                min-width: 480px; /* 80 + 100 * 4 */
            }

            #lang-zh-view .plans-grid {
                grid-template-columns: minmax(80px, 0.6fr) repeat(2, minmax(80px, 1fr));
                min-width: 300px; /* 60 + 120 * 2 */
            }

            .feature-label,
            .feature-label-zh,
            .feature-value {
                font-size: 12px;
                padding: 10px 6px;
                min-height: 40px;
            }

            .choose-plan-btn {
                padding: 2px 12px;
                font-size: 11px;
            }
             .sponsor-banner {
                padding: 10px;
                font-size: 13px;
            }

            .language-toggle {
                width: 100%;
            }
             .icon-umlimited {
                vertical-align: middle;
                display: inline-block;
                width: 16px;
                height: 7px;
             }
             .icon-close {
                width: 18px;
                height: 18px;
             }
            .pricing-footer span { font-size: 12px }
            .choose-plan-btn{
            font-size: 12px;
        }
        .plan-card {
            padding: 12px;
        }
        }
