/* ==========================================================================
   Utitech Atlas Tab Module & Lightbox Styles
   ========================================================================== */

/* 基礎佈局與美學設定 */
.connect-atlas-module {
    background-color: #ffffff;
    padding: 80px 0;
    border-radius: 0;
    /* 捨棄生硬陰影，改用國際級 SaaS 常用的極柔和廣域陰影 */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.connect-atlas-module .atlas-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
    text-align: center;
}

.connect-atlas-module .atlas-subtitle {
    max-width: 800px;
    color: #4b5563;
    /* 使用更舒適的深灰色代替純黑 */
    font-size: 1.15rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* 網格與排版 */
.connect-atlas-module .atlas-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.connect-atlas-module .atlas-menu {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e7eb;
    /* 現代化的極淡邊界線 */
    padding-right: 1.5rem;
    width: 280px;
    flex-shrink: 0;
}

/* 現代化按鈕微互動 (Micro-interactions) */
.connect-atlas-module .tab-btn {
    background: transparent;
    border: none;
    color: #6b7280;
    text-align: left;
    padding: 1rem 1.2rem;
    cursor: pointer;
    /* 加入頂尖平滑曲線 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    font-weight: 600;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    margin-bottom: 4px;
}

/* 結合 CONNECT 品牌色 #ffdc19 */
.connect-atlas-module .tab-btn.active {
    color: #111827;
    /* 文字用極深灰，確保在黃色系旁的閱讀對比度 */
    font-weight: 700;
    border-left: 4px solid #ffdc19;
    background-color: rgba(255, 220, 25, 0.15);
    /* 極淡的黃色背景 */
}

.connect-atlas-module .tab-btn:hover:not(.active) {
    color: #111827;
    background-color: #f3f4f6;
    transform: translateX(4px);
    /* 滑鼠懸停時微微向右浮動，增加指向性 */
}

/* 內容區塊動畫機制 */
.connect-atlas-module .atlas-detail {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.connect-atlas-module .tab-content {
    display: none;
    /* ⚠️ 將這裡原本的 opacity: 0; 刪除，讓透明度控制完全交給內部的文字與圖片 */
    align-items: center;
    gap: 2rem;
}

.connect-atlas-module .tab-content.active {
    display: flex;
    opacity: 1;
    /* 確保父層是 100% 可見的 */
}

/* 科技感標題黃色飾條 */
.connect-atlas-module .tab-content h3 {
    color: #111827;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.2rem;
    border-left: 5px solid #ffdc19;
    padding-left: 14px;
    line-height: 1.3;
}

.connect-atlas-module .tab-content p {
    line-height: 1.8;
    color: #4b5563;
    font-size: 1.05rem;
}

/* 進場動畫設定 (左右交錯滑入) */
.connect-atlas-module .content-text {
    flex-basis: 55%;
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease-out;
}

.connect-atlas-module .content-image {
    flex-basis: 45%;
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease-out;
    transition-delay: 0.1s;
    /* 圖片稍微延遲進場，創造層次感 */
}

.connect-atlas-module .tab-content.is-animated .content-text,
.connect-atlas-module .tab-content.is-animated .content-image {
    transform: translateX(0);
    opacity: 1;
}

/* 圖片與影片容器 */
.connect-atlas-module .content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 可放大圖片的提示游標 */
.connect-atlas-module .zoomable-img {
    cursor: zoom-in;
}

.connect-atlas-module .zoomable-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 123, 138, 0.15);
    /* 融入科勝主色調的陰影 */
}

/* 完美的影片 16:9 比例 */
.connect-atlas-module .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.connect-atlas-module .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ==========================================================================
   全域動態 Lightbox (毛玻璃特效)
   ========================================================================== */
.utitech-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.85);
    /* 頂尖企業常用的深灰色背景 */
    backdrop-filter: blur(8px);
    /* 現代化毛玻璃 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.utitech-lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   全域動態 Lightbox (毛玻璃特效) - 修正手機版塌陷問題
   ========================================================================== */

/* 1. 修正內容容器 */
.utitech-lightbox-content {
    position: relative;
    width: 100%;
    /* 💡關鍵修復：強制賦予 100% 寬度，防止手機版寬高計算為 0 */
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    /* 確保內容置中對齊 */
    justify-content: center;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.utitech-lightbox-overlay.is-active .utitech-lightbox-content {
    transform: scale(1);
}

/* 2. 修正圖片本身 */
.utitech-lightbox-content img {
    display: block;
    /* 💡關鍵修復：取消 img 預設的 inline 屬性，防止異常縮放 */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    /* 稍微縮小至 85vh，避免被 iOS Safari 底部的虛擬網址列裁切 */
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.utitech-lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 44px;
    height: 44px;
    background: #007b8a;
    /* 科勝主品牌色 */
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

.utitech-lightbox-close:hover {
    background: #0089A7;
    transform: rotate(90deg);
    /* 關閉按鈕旋轉微互動 */
}

/* ==========================================================================
   響應式設計 (RWD)
   ========================================================================== */
@media (max-width: 991px) {
    .connect-atlas-module .atlas-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .connect-atlas-module .atlas-menu {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .connect-atlas-module .tab-btn {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px 8px 0 0;
        padding: 0.6rem 1rem;
    }

    .connect-atlas-module .tab-btn.active {
        border-left: none;
        border-bottom: 4px solid #ffdc19;
    }

    .connect-atlas-module .tab-btn:hover:not(.active) {
        transform: translateY(-2px);
        /* 手機版改為向上浮動 */
    }

    .connect-atlas-module .tab-content.active {
        flex-direction: column;
    }

    .connect-atlas-module .content-text,
    .connect-atlas-module .content-image {
        flex-basis: 100%;
        transform: translateY(20px);
        /* 手機版改為由下往上滑入 */
    }

    .connect-atlas-module .content-image {
        order: -1;
        /* 將圖片/影片移至文字上方，符合行動裝置閱讀動線 */
    }
}

/* ==========================================================================
   內容區塊 CTA 按鈕 (Call to Action)
   ========================================================================== */
.connect-atlas-module .cta-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 10px 24px;
    background-color: #007b8a;
    /* 科勝主品牌色 */
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    /* 現代感的精緻圓角 */
    /* 頂尖科技業常用的平滑過渡曲線 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 123, 138, 0.2);
    /* 融入品牌色的柔和陰影 */
}

.connect-atlas-module .cta-btn:hover {
    background-color: #005f6b;
    /* Hover 時適度加深以增加點擊回饋 */
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    /* 懸停時微微上浮，強化可點擊暗示 */
    box-shadow: 0 6px 16px rgba(0, 123, 138, 0.35);
    /* 陰影隨上浮加深 */
}

/* 確保按鈕在手機版 (RWD) 也有完美的間距 */
@media (max-width: 991px) {
    .connect-atlas-module .cta-btn {
        margin-top: 1rem;
        width: 100%;
        /* 手機版建議讓按鈕滿版，增加手指點擊範圍 (Touch Target) */
        justify-content: center;
    }
}

/* ==========================================================================
   產品簡介與影音模組 (CWV 零 CLS 偏移優化)
   ========================================================================== */
.connect-intro-module {
    background-color: var(--bg-color, #ffffff);
    padding: 80px 0;
    overflow: hidden;
}

.connect-intro-module .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    /* 讓文字與影片垂直置中對齊 */
}

/* 影片容器：防禦 CLS 與高級立體感陰影 */
.connect-intro-module .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 強制鎖定完美 16:9 比例 */
    border-radius: 16px;
    /* 現代感圓角 */
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    background: #f8f9fa;
    /* 載入前的骨架佔位色 */
    transform: translateZ(0);
    /* 啟用 GPU 硬體加速，確保邊緣平滑 */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.connect-intro-module .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* RWD 手機版自動流暢堆疊 */
@media (max-width: 991px) {
    .connect-intro-module .intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   全域共用：CONNECT 主力行為呼籲按鈕 (Primary CTA)
   ========================================================================== */
.connect-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 1.5rem;
}

.connect-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: #ffdc19;
    /* CONNECT 品牌主色調 */
    color: #111827;
    /* 嚴格遵守 WCAG：高明度黃底必須搭配極深灰，確保絕佳易讀性 */
    border-radius: 8px;
    /* 現代化的微圓角 */
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid transparent;
    cursor: pointer;

    /* 頂尖科技業愛用的硬體加速平滑過渡曲線 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 220, 25, 0.25);
    /* 帶有品牌色溫度的環境光陰影 */
}

/* Hover 微互動：上浮與陰影加深 */
.connect-primary-btn:hover {
    background-color: #e6c616;
    /* 滑鼠懸停時適度調暗 */
    color: #111827;
    transform: translateY(-3px);
    /* 微微上浮，強化可點擊暗示 */
    box-shadow: 0 8px 24px rgba(255, 220, 25, 0.4);
    /* 陰影隨上浮而擴散 */
}

/* Active 點擊回饋：按壓下沉 */
.connect-primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 220, 25, 0.2);
}

/* 手機版 (RWD) 防呆微調 */
@media (max-width: 768px) {
    .connect-primary-btn {
        width: 100%;
        /* 手機版讓主力 CTA 滿版，極大化手指觸控區域 (Touch Target) */
        padding: 14px 24px;
    }
}

/* ==========================================================================
   無縫整合與數據架構模組 (Architecture Module) - CWV Optimized
   ========================================================================== */
.connect-architecture-module {
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 220, 25, 0.08) 100%);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.connect-architecture-module .arch-header {
    max-width: 950px;
    margin: 0 auto 4rem auto;
}

/* --- 科技感玻璃容器與光暈特效 --- */
.connect-architecture-module .arch-image-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
}

/* 底部環境光暈 (Ambient Glow) - 利用 GPU 加速渲染，零效能負擔 */
.connect-architecture-module .arch-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    /* 移除原本的藍綠色，改用純粹的 CONNECT 黃色高光漸層 (RGB: 255, 220, 25) */
    background: radial-gradient(circle, rgba(255, 220, 25, 0.25) 0%, rgba(255, 220, 25, 0.05) 50%, transparent 80%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

/* 玻璃容器基礎狀態 */
.connect-architecture-module .arch-glass-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    /* 💡 陰影與邊框也染上極淡的 CONNECT 黃色，呼應光暈 */
    box-shadow: 0 20px 50px rgba(255, 220, 25, 0.08), 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 220, 25, 0.2);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: zoom-in;
}

/* 玻璃容器懸停狀態 (Hover) */
.connect-architecture-module .arch-glass-container:hover {
    transform: translateY(-6px);
    /* 💡 懸停時，讓 CONNECT 黃色的發光感強烈擴散 */
    box-shadow: 0 30px 60px rgba(255, 220, 25, 0.15), 0 8px 25px rgba(255, 220, 25, 0.25);
    border-color: rgba(255, 220, 25, 0.5);
    /* 邊框高光提亮 */
}

/* 圖片防塌陷設定 (Zero CLS) */
.connect-architecture-module .arch-glass-container img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    /* 強制預留高度，防止 SVG 載入較慢時引發版面跳動 */
    object-fit: contain;
}

/* 點擊放大提示標籤 */
.connect-architecture-module .arch-zoom-hint {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    /* 確保不阻擋圖片點擊 */
}

.connect-architecture-module .arch-glass-container:hover .arch-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

/* --- RWD 手機版優化 --- */
@media (max-width: 991px) {
    .connect-architecture-module .arch-glass-container {
        padding: 1.5rem;
        /* 手機版縮減內距，把空間還給架構圖 */
        border-radius: 12px;
    }

    .connect-architecture-module .arch-glass-container img {
        min-height: 250px;
        /* 手機版相應縮小基礎高度 */
    }

    .connect-architecture-module .arch-zoom-hint {
        display: none;
        /* 手機版空間寶貴，且使用者習慣直接點擊，隱藏文字提示 */
    }
}

/* ==========================================================================
   企業級資安與合規模組 (Trust & Security)
   ========================================================================== */
.connect-security-module {
    /* 使用炭黑藍色漸層，營造深不可測的防禦感 */
    background: linear-gradient(135deg, #0b1120 0%, #111827 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 頂部主視覺盾牌 Icon 樣式 */
.connect-security-module .header-shield-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffdc19;
    /* CONNECT 黃色 */
    margin-bottom: 1.5rem;
    /* 強烈的科技發光感 */
    filter: drop-shadow(0 0 20px rgba(255, 220, 25, 0.4));
    animation: float-shield 4s ease-in-out infinite;
}

@keyframes float-shield {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* --- 三欄位網格佈局 --- */
.connect-security-module .security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* --- 資安特點卡片 (Dark Glassmorphism) --- */
.connect-security-module .security-card {
    background: rgba(255, 255, 255, 0.03);
    /* 極透的毛玻璃底色 */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* 微微的白邊勾勒輪廓 */
    border-radius: 16px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   企業級資安與合規模組 - 卡片互動 (純化為 CONNECT 品牌黃)
   ========================================================================== */

/* 卡片頂部的微光裝飾線 (預設為極淡的 CONNECT 黃色) */
.connect-security-module .security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 220, 25, 0.3), transparent);
    transition: background 0.4s ease;
}

/* 懸停互動 (Hover State)：防禦能量場啟動 */
.connect-security-module .security-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 220, 25, 0.4);
    /* 💡 邊框轉為 CONNECT 黃色 */
    /* 💡 內部與外部陰影皆改為 CONNECT 黃色光暈 */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 220, 25, 0.15) inset;
    background: rgba(255, 255, 255, 0.05);
}

.connect-security-module .security-card:hover::before {
    /* 懸停時，頂部線條亮起高強度的黃光 */
    background: linear-gradient(90deg, transparent, #ffdc19, transparent);
}

/* 卡片內元素排版 (Icon 顏色) */
.connect-security-module .card-icon-wrapper {
    color: rgba(255, 220, 25, 0.6);
    /* 💡 預設使用較內斂的 CONNECT 黃色，保持低調 */
    margin-bottom: 1.5rem;
    transition: color 0.4s ease, filter 0.4s ease;
}

.connect-security-module .security-card:hover .card-icon-wrapper {
    color: #ffdc19;
    /* 💡 懸停時瞬間點亮為純黃色 */
    filter: drop-shadow(0 0 12px rgba(255, 220, 25, 0.5));
    /* 加上科技發光特效 */
}

.connect-security-module .card-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.connect-security-module .security-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.connect-security-module .security-card p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* --- RWD 手機版自動堆疊 --- */
@media (max-width: 991px) {
    .connect-security-module .security-grid {
        grid-template-columns: 1fr;
        /* 手機版自動轉為垂直排列 */
        gap: 1.5rem;
    }

    .connect-security-module .security-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   系統架構區塊：核心亮點技術規格卡 (Tech-spec Cards)
   ========================================================================== */
.connect-architecture-module .arch-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    /* 確保與上方架構圖保持絕佳的呼吸空間 */
}

/* 乾淨、俐落的科技感卡片 */
.connect-architecture-module .arch-tech-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(0, 123, 138, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* 頂部裝飾線 (改為 CONNECT 黃色) */
.connect-architecture-module .arch-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ffdc19;
    /* 💡 換成 CONNECT 黃色 */
    transform: scaleX(0);
    /* 預設收起 */
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* 懸停互動 (Hover) - 啟動科技感浮起與線條展開 */
.connect-architecture-module .arch-tech-card:hover {
    transform: translateY(-6px);
    /* 💡 陰影改為柔和黑影搭配黃色微光暈 */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06), 0 5px 15px rgba(255, 220, 25, 0.15);
    border-color: rgba(255, 220, 25, 0.6);
    /* 💡 邊框轉為黃色 */
}

.connect-architecture-module .arch-tech-card:hover::before {
    transform: scaleX(1);
    /* 頂部線條向右展開 */
}

.connect-architecture-module .arch-tech-card:hover::before {
    transform: scaleX(1);
    /* 頂部線條向右展開 */
}

/* 圖示與標題排版 (預設狀態) */
.connect-architecture-module .tech-icon {
    color: #d4a000;
    /* 💡 在白底上使用稍微深一點的金黃色確保易讀性 */
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 220, 25, 0.15);
    /* 💡 極淡的黃色背景圈 */
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* 懸停互動 (Hover) - 圖示高光反轉 */
.connect-architecture-module .arch-tech-card:hover .tech-icon {
    background: #ffdc19;
    /* 💡 懸停時填滿純黃色 */
    color: #111827;
    /* 💡 圖示轉為深黑色以維持高對比 */
    transform: scale(1.1) rotate(-5deg);
    /* 俏皮的微縮放與傾斜 */
    box-shadow: 0 8px 20px rgba(255, 220, 25, 0.4);
    /* 💡 加上黃色光暈 */
}

.connect-architecture-module .arch-tech-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.connect-architecture-module .arch-tech-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* RWD 手機版防呆 */
@media (max-width: 991px) {
    .connect-architecture-module .arch-highlights-grid {
        grid-template-columns: 1fr;
        /* 手機版改為上下堆疊 */
        gap: 1.5rem;
    }
}

/* ==========================================================================
   架構區塊：移植的 GIF展示樣式 (白底專用 + CONNECT 黃色光暈)
   ========================================================================= */
.connect-architecture-module .gif-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    /* 防止 GIF 載入前的空白 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* 預設淡淡的黑影 */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.connect-architecture-module .zoomable-gif {
    width: 100%;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

/* 💡 懸停互動：上浮 + CONNECT 品牌黃色科技光暈 */
.connect-architecture-module .gif-container:hover {
    transform: translateY(-8px);
    /* 將陰影改為 CONNECT 黃色 (rgba: 255, 220, 25) */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 5px 25px rgba(255, 220, 25, 0.35);
}

.connect-architecture-module .gif-container:hover .zoomable-gif {
    transform: scale(1.02);
    /* 影片微微放大 */
}

/* 點擊放大提示遮罩 (針對白底調暗) */
.connect-architecture-module .gif-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.5);
    /* 使用深色玻璃擬物化遮罩 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.connect-architecture-module .gif-container:hover .gif-overlay {
    opacity: 1;
}

.connect-architecture-module .gif-overlay i {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

/* ==========================================================================
   架構區塊：雙 GIF 並排網格排版 (RWD)
   ========================================================================== */
.connect-architecture-module .gif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 💡 電腦版強制切分為兩欄等寬 */
    gap: 2rem;
    margin: 0 auto;
    max-width: 1100px;
    /* 稍微放寬總寬度，讓兩張圖有舒適的展示空間 */
}

/* 確保 GIF 圖檔在雙欄位中能完美填滿容器，不變形 */
.connect-architecture-module .gif-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* 確保影片比例一致 */
}

/* 📱 手機版與平板版防呆 (轉為上下疊排) */
@media (max-width: 991px) {
    .connect-architecture-module .gif-grid {
        grid-template-columns: 1fr;
        /* 手機版自動改為單欄 */
        gap: 1.5rem;
        max-width: 600px;
    }
}

/* ==========================================================================
   CONNECT 核心優勢區塊：CTA 按鈕 (進一步探索) 品牌黃色優化
   ========================================================================== */
.connect-atlas-module .cta-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 28px;
    background-color: #ffdc19;
    /* CONNECT 品牌黃 */
    color: #111827 !important;
    /* 深黑色文字，確保高對比易讀性 */
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* 預設微陰影 */
}

/* 懸停互動 (Hover) - 微微上浮與黃色光暈 */
.connect-atlas-module .cta-btn:hover {
    background-color: #e6c616;
    /* 懸停時稍微加深的黃色 */
    color: #000000 !important;
    transform: translateY(-3px);
    /* 微微上浮增加點擊手感 */
    box-shadow: 0 8px 20px rgba(255, 220, 25, 0.35), 0 4px 10px rgba(0, 0, 0, 0.1);
    /* 黃色科技光暈 + 底部實體陰影 */
    text-decoration: none;
}

/* 點擊時的微縮放效果 (Active) */
.connect-atlas-module .cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 220, 25, 0.3);
}