/* --- Source: css\aveva-cta-banner.css --- */
/* ==========================================================================
   頁尾行動呼籲底盤 (Top U-Curve CTA Banner)
   ========================================================================== */

/* 1. 主容器與頂部圓角設定 */
.aveva-cta-u-curve-top {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    padding: 100px 20px 80px;
    
    /* 修正品牌色彩：採用 aveva 的工業科技深藍，取代死黑 */
    background: linear-gradient(270deg, #363D42, #738294, #363D42);
    background-size: 400% 400%;
    animation: aveva-bg-pan 15s ease infinite;
    
    /* 核心：頂部倒Ｕ型圓角 */
    border-top-left-radius: 12vw;
    border-top-right-radius: 12vw;
    overflow: hidden;
    
    /* 開啟硬體加速，解決圓角邊緣渲染鋸齒 */
    transform: translateZ(0); 
    /* 標準屬性以提升非 WebKit 瀏覽器相容性 */
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    
    /* 負空間向上提，強勢切入上一個區塊的底色中 */
    margin-top: -60px;
    z-index: 10;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.08); 
}

/* 2. 頂部氛圍光暈 (Top Ambient Glow) - 與 Hero Banner 形成對稱 */
.aveva-cta-u-curve-top::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 70%;
    /* aveva 強調色系的光暈向下漸變 */
    background: radial-gradient(ellipse at top, rgba(61, 17, 82, 0.7) 0%, rgba(54, 61, 66, 0) 70%);
    pointer-events: none;
    z-index: 3;
}

/* 3. 背景圖片層 (純 CSS 實作 Hover 緩慢放大) */
.aveva-cta-bg-image {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; /* 留出空間給縮放動畫 */
    max-width: 1400px;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.aveva-cta-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6) contrast(1.1);
    transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 當滑鼠進入整個 Section 時，背景圖緩慢放大，創造頂級沈浸感 */
.aveva-cta-u-curve-top:hover .aveva-cta-bg-image img {
    transform: scale(1.08);
}

/* 4. 漸層遮罩層 */
.aveva-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(107, 4, 168, 0.15) 0%, rgba(54, 61, 66, 0.4) 50%, rgba(197, 48, 255, 0.05) 100%);
    z-index: 2;
}

/* 5. 內容佈局與毛玻璃卡片 */
.aveva-cta-content-wrapper {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: center;
}

.aveva-cta-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.8) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 48px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    
    /* 預設偏右，創造不對稱的現代感 */
    transform: translateX(80px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aveva-cta-card:hover {
    transform: translateX(80px) translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

/* 6. 內部元素排版 */
.aveva-cta-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #6B04A8, #C530FF);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(107, 4, 168, 0.3);
}

.aveva-pulse-dot {
    width: 8px; height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-right: 8px;
    animation: aveva-pulse 2s infinite;
}

.aveva-cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.aveva-cta-desc {
    color: #94A3B8; /* 現代高對比淺灰 */
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.aveva-cta-desc:last-of-type {
    margin-bottom: 32px;
}

/* 7. CTA 終極轉化按鈕 */
.aveva-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: linear-gradient(90deg, #6B04A8, #C530FF); /* 科勝主題色 */
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(107, 4, 168, 0.3);
}

.aveva-cta-button:hover,
.aveva-cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(107, 4, 168, 0.4);
    background: linear-gradient(90deg, #3D1152, #6B04A8);
    color: #ffffff;
    text-decoration: none;
}

/* 8. 動畫定義 */
@keyframes aveva-bg-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes aveva-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ==========================================================================
   行動裝置優雅降級 (Mobile-First Constraints)
   ========================================================================== */
@media (min-width: 1600px) {
    .aveva-cta-u-curve-top {
        border-top-left-radius: 192px;
        border-top-right-radius: 192px;
    }
}

@media (max-width: 1024px) {
    .aveva-cta-u-curve-top {
        border-top-left-radius: 64px;
        border-top-right-radius: 64px;
        padding: 80px 5% 60px;
    }
    .aveva-cta-card {
        transform: translateX(0); /* 平板取消右偏，強制置中 */
        padding: 32px;
    }
    .aveva-cta-card:hover {
        transform: translateY(-4px); /* Hover 只保留上浮 */
    }
}

@media (max-width: 768px) {
    .aveva-cta-u-curve-top {
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        min-height: auto;
        padding: 60px 20px 40px;
    }
    .aveva-cta-title {
        font-size: 1.75rem;
    }
    .aveva-cta-desc {
        font-size: 0.95rem;
    }
    .aveva-cta-button {
        width: 100%; /* 手機版按鈕滿幅，增加觸控熱區 */
        justify-content: center;
    }
}

/* --- Source: css\aveva-introduction.css --- */
:root {
            /* aveva 品牌色調 */
            --aveva-primary: #3D1152;
            --aveva-accent: #C530FF;
            
            /* MongoDB 風格的主題色 */
            --bg-dark-surface: #363D42; 
            --bg-dark-card: #738294;
            --border-dark: #BECCD6;
            
            --bg-light: #ffffff;
            --bg-light-alt: #F8FAFC;
            --bg-warm-white: #fcfcfc;
            
            --border-light: #E2E8F0;
            
            /* 文字顏色 */
            --text-heading-light: #ffffff;
            --text-body-light: #94A3B8;
            --text-heading-dark: #0F172A;
            --text-body-dark: #475569;

            /* 結構化設計參數 */
            --radius-card: 12px; 
            --radius-pill: 9999px;
            --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
            --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }


        /* --- 現代化餅乾屑導航 (Hero 頂部置中漏斗版) --- */
.aveva-breadcrumb-centered {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 28px; /* 與下方的 Category Label 拉開舒適間距 */
    z-index: 20;
}

.aveva-breadcrumb-list {
    display: inline-flex; /* 關鍵：讓容器自動貼齊文字寬度，以利外部完美置中 */
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
    
    /* 手機版：隱藏式優雅橫向滾動，防範 CLS 破版 */
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

/* 隱藏捲軸，保持視覺純淨 (Chrome/Safari) */
.aveva-breadcrumb-list::-webkit-scrollbar {
    display: none;
}

.aveva-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* 針對深色 Hero Banner 的超連結狀態 */
.aveva-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aveva-breadcrumb-item a:hover {
    color: #ffffff;
}

/* 無連結的文字 (如「代理產品」) 保持更深的透明度 */
.aveva-breadcrumb-item .text-muted {
    color: rgba(255, 255, 255, 0.4);
    cursor: default;
}

/* 當前頁面：最高亮度與微發光，宣告定位 */
.aveva-breadcrumb-item.current-page {
    color: var(--aveva-accent); /* 替換為 aveva 橘色，強化視覺終點的認知 */
    font-weight: 700;
}

/* 精緻的 SVG 分隔符號 */
.aveva-breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* --- 行動端適配 (Mobile First) --- */
@media (max-width: 768px) {
    .aveva-breadcrumb-centered {
        margin-bottom: 20px;
        justify-content: flex-start; /* 手機端長度易超過螢幕，改為靠左以利橫向滑動 */
    }
    .aveva-breadcrumb-item {
        font-size: 12px;
    }
    /* 確保手機端橫向滑動到底時，最右側仍有安全留白 */
    .aveva-breadcrumb-list::after {
        content: "";
        padding-right: 20px;
    }
}

        .aveva-section {
            padding: 120px 5%;
            position: relative;
            z-index: 10;
        }

        .aveva-container {
            max-width: 1280px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .aveva-grid-layout {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 64px;
            align-items: start;
        }

        .aveva-sticky-sidebar {
            position: sticky;
            top: 100px;
        }

        .aveva-category-label {
            display: inline-flex;
            align-items: center;
            font-family: 'Fira Code', monospace;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            padding: 6px 12px;
            border-radius: var(--radius-pill);
            margin-bottom: 24px;
        }

        /* 深淺主題文字與標籤對比 */
        .theme-dark .aveva-category-label { background-color: rgba(197, 48, 255, 0.1); color: var(--aveva-accent); border: 1px solid rgba(197, 48, 255, 0.3); }
        .theme-light .aveva-category-label { background-color: rgba(61, 17, 82, 0.05); color: var(--aveva-primary); border: 1px solid rgba(61, 17, 82, 0.15); }
        
        .aveva-category-title { font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin-bottom: 24px; letter-spacing: -0.02em; }
        .theme-dark .aveva-category-title { color: var(--text-heading-light); }
        .theme-light .aveva-category-title { color: var(--text-heading-dark); }

        .aveva-category-en { display: block; font-size: 1rem; font-weight: 500; margin-top: 8px; font-family: 'Fira Code', monospace; color: var(--aveva-accent); }
        .aveva-category-subtitle { font-size: 1rem; line-height: 1.7; margin-bottom: 40px; }
        .theme-dark .aveva-category-subtitle { color: var(--text-body-light); }
        .theme-light .aveva-category-subtitle { color: var(--text-body-dark); }

        /* --- 視覺主題與 MongoDB 非對稱弧線 --- */
        .theme-dark { background-color: var(--bg-dark-surface); color: var(--text-body-light); }
        .theme-light-gray { background-color: var(--bg-light-alt); }
        .theme-warm-white { background-color: var(--bg-warm-white); }
        
        /* MongoDB 風格：右下角巨型圓弧切割 */
        .mongo-curve-bottom-right {
            border-bottom-right-radius: 15vw;
            /* 為了讓弧線下方透出下一個區塊的顏色，確保沒有 margin */
            position: relative;
            z-index: 2;
        }
        
        /* MongoDB 風格：左下角巨型圓弧切割 */
        .mongo-curve-bottom-left {
            border-bottom-left-radius: 15vw;
            position: relative;
            z-index: 2;
        }

        /* 網格底紋 (僅限深色區塊) */
        .grid-pattern::before {
            content: ''; position: absolute; inset: 0;
            background-image: linear-gradient(var(--border-dark) 1px, transparent 1px), linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
            background-size: 40px 40px; opacity: 0.15; pointer-events: none; border-radius: inherit;
        }

   /* ==========================================================================
   Hero Banner 模組
   ========================================================================== */

/* 1. 滿版底座與排版 */
.aveva-prod-hero {
    position: relative;
    min-height: 85vh; 
    display: flex;
    
    /* 核心修正：讓內部的文案容器主動撐滿整個 Banner 的上下全高 */
    align-items: stretch; 
    
    padding: 180px 5% 140px;
    background-color: var(--bg-dark-surface); 
}

.aveva-prod-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0; 
}

/* 確保文字易讀性的遮罩層 */
.aveva-prod-hero-overlay {
    position: absolute;
    inset: 0;
    /* 漸層黑遮罩，下方更深以襯托探索按鈕 */
    background: linear-gradient(180deg, rgba(54, 61, 66, 0.4) 0%, rgba(54, 61, 66, 0.9) 100%);
    z-index: 1;
}

/* 2. 置中內容容器 */
.aveva-prod-hero-content {
    position: relative;
    z-index: 5;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    
    /* 核心修正：讓內部的標題與描述文字，在全高的空間裡維持「垂直居中」*/
    justify-content: center; 
    align-items: center;
}

.aveva-prod-hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem); /* RWD 流體排版 */
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.aveva-prod-hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body-light); 
    max-width: 760px;
    margin-bottom: 48px;
}

/* 3. U型切角底盤光暈 (維持全站品牌視覺) */
.aveva-hero-u-curve {
    border-bottom-left-radius: 12vw;
    border-bottom-right-radius: 12vw;
    overflow: hidden; 
    transform: translateZ(0); 
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    z-index: 10;
    margin-bottom: 48px !important;
}

.aveva-hero-u-curve::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70%; 
    background: radial-gradient(ellipse at bottom, rgba(61, 17, 82, 0.85) 0%, rgba(54, 61, 66, 0) 70%);
    pointer-events: none; 
    z-index: 1; 
}

/* ==========================================================================
   主視覺底部滾動探索按鈕 (Hero Scroll Indicator Capsule)
   ========================================================================== */
.aveva-scroll-indicator {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-fast); 
}

.aveva-scroll-indicator:hover,
.aveva-scroll-indicator:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-4px);
}

/* 5. 內部小箭頭的獨立微幅上下律動 */
.aveva-scroll-indicator .scroll-arrow {
    animation: aveva-bounce 2s infinite ease-in-out;
}

@keyframes aveva-bounce {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(4px); }
}

/* --- RWD 手機版防呆 --- */
@media (max-width: 768px) {
    .aveva-scroll-indicator {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .aveva-prod-hero {
        padding: 140px 5% 100px;
        min-height: auto;
    }
    .aveva-hero-u-curve {
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
        margin-bottom: 24px !important;
    }
    .aveva-hero-u-curve::after {
        background: radial-gradient(ellipse at bottom, rgba(61, 17, 82, 0.6) 0%, rgba(54, 61, 66, 0) 60%);
    }
    .aveva-scroll-indicator {
        bottom: 24px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

        /* --- 品牌簡介區塊 (交錯幾何敘事 Z-Pattern) --- */
        .brand-features-section {
            background-color: var(--bg-light); /* 背景純白，接收上方深色的切角 */
            padding: 80px 5% 120px;
            /* 負 margin 讓白色區塊貼緊上方，避免切角露出底色 */
            margin-top: -2px; 
            position: relative;
            z-index: 1;
        }

        .about-narrative-container {
            display: flex;
            flex-direction: column;
            gap: 120px; /* 創造極大的呼吸空間 */
            max-width: 1000px;
            margin: 0 auto;
        }

        .about-step {
            display: flex;
            align-items: center;
            gap: 80px;
            opacity: 0;
            transform: translateY(30px);
            transition: var(--transition-smooth);
        }

        .about-step.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* 交錯反轉 */
        .about-step:nth-child(even) {
            flex-direction: row-reverse;
        }

        .about-step-content { flex: 1; }
        .about-step-graphic {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .about-step-num {
            font-family: 'Fira Code', monospace;
            font-size: 5rem;
            font-weight: 800;
            color: rgba(61, 17, 82, 0.05); /* 極淡的水印感 */
            line-height: 1;
            position: absolute;
            top: -40px;
            left: -20px;
            z-index: 0;
        }

        .about-step:nth-child(even) .about-step-num { left: auto; right: -20px; }

        .about-step-content h2 {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-heading-dark);
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .about-step-content p {
            font-size: 1.1rem;
            color: var(--text-body-dark);
            line-height: 1.8;
            position: relative;
            z-index: 1;
        }

        /* 幾何圖形裝飾 */
        .geometric-svg { width: 100%; max-width: 320px; height: auto; position: relative; z-index: 2; }
        .geometric-circle { fill: rgba(61, 17, 82, 0.08); }
        .geometric-accent { fill: var(--aveva-accent); }
        .geometric-primary { stroke: var(--aveva-primary); stroke-width: 2; fill: none; }

        /* --- 產品卡片網格 (維持不對稱便當盒) --- */
        .aveva-bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .bento-3-items .aveva-product-card:nth-child(3) { grid-column: 1 / -1; }

        .aveva-product-card {
            border-radius: var(--radius-card); padding: 36px; text-decoration: none; display: flex; flex-direction: column;
            transition: var(--transition-fast); position: relative; opacity: 0; transform: translateY(15px); will-change: transform, opacity;
            border: 1px solid transparent;
        }
        .aveva-product-card.is-visible { opacity: 1; transform: translateY(0); }

        .theme-dark .aveva-product-card { background-color: var(--bg-dark-card); border-color: var(--border-dark); }
        .theme-dark .aveva-product-card:hover { border-color: var(--aveva-accent); background-color: #738294; box-shadow: 0 12px 30px rgba(0,0,0,0.2); transform: translateY(-4px); }
        
        /* 補齊 .theme-light：確保所有淺色區塊擁有純白背景與一致邊框 */
        .theme-light .aveva-product-card, .theme-light-gray .aveva-product-card, .theme-warm-white .aveva-product-card { background-color: #ffffff; border-color: var(--border-light); }
        /* 補齊 .theme-light：確保 Hover 動畫 (translateY) 能夠全局觸發，維持 0 CLS 微互動 */
        .theme-light .aveva-product-card:hover, .theme-light-gray .aveva-product-card:hover, .theme-warm-white .aveva-product-card:hover { border-color: var(--aveva-primary); box-shadow: 0 12px 30px rgba(61, 17, 82, 0.08); transform: translateY(-4px); }

        .aveva-card-icon { margin-bottom: 24px; transition: var(--transition-fast); }
        .theme-dark .aveva-card-icon { color: var(--aveva-accent); }
        /* 補齊圖示顏色 */
        .theme-light .aveva-card-icon, .theme-light-gray .aveva-card-icon, .theme-warm-white .aveva-card-icon { color: var(--aveva-primary); }

        .aveva-card-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
        .theme-dark .aveva-card-title { color: #ffffff; }
        /* 補齊標題：強制使用極深灰，確保 WCAG 對比度 */
        .theme-light .aveva-card-title, .theme-light-gray .aveva-card-title, .theme-warm-white .aveva-card-title { color: var(--text-heading-dark); }

        .aveva-card-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 32px; flex-grow: 1; }
        .theme-dark .aveva-card-desc { color: var(--text-body-light); }
        /* 補齊段落：強制使用舒適深灰，消除卡片文字遺失或變透明的 Bug */
        .theme-light .aveva-card-desc, .theme-light-gray .aveva-card-desc, .theme-warm-white .aveva-card-desc { color: var(--text-body-dark); }

        .aveva-card-cta { display: inline-flex; align-items: center; font-family: 'Fira Code', monospace; font-weight: 600; font-size: 0.85rem; margin-top: auto; transition: var(--transition-fast); }
        .theme-dark .aveva-card-cta { color: var(--aveva-accent); }
        /* 補齊按鈕文字顏色 */
        .theme-light .aveva-card-cta, .theme-light-gray .aveva-card-cta, .theme-warm-white .aveva-card-cta { color: var(--aveva-primary); }

        /* --- 產業解決方案：動態手風琴畫廊 (Dynamic Flex Accordion) --- */
        #solutions {
            background-color: var(--bg-dark-surface);
            padding-bottom: 160px; /* 為切角留出空間 */
            /* 注意：不在這裡加切角，而是加在內部的容器或用獨立樣式 */
        }

        .industry-flex-accordion {
            display: flex;
            gap: 16px;
            height: 480px; /* 固定高度，創造畫廊感 */
            max-width: 1280px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .industry-panel {
            flex: 1; /* 預設均分寬度 */
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            transition: var(--transition-smooth);
            cursor: pointer;
            background-color: var(--bg-dark-card);
            border: 1px solid var(--border-dark);
            display: flex;
            align-items: flex-end; /* 內容對齊底部 */
        }

        /* 幾何背景裝飾 */
        .industry-panel::before {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(180deg, rgba(115, 130, 148,0) 0%, rgba(61, 17, 82,0.9) 100%);
            opacity: 0; transition: var(--transition-smooth);
        }

        .industry-panel:hover {
            flex: 3; /* Hover 時水平伸展為 3 倍 */
            background-color: var(--aveva-primary);
            border-color: var(--aveva-accent);
        }
        .industry-panel:hover::before { opacity: 1; }

        .industry-panel-content {
            padding: 40px;
            position: relative;
            z-index: 2;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .industry-icon-wrapper {
            width: 56px; height: 56px; border-radius: 12px;
            background-color: rgba(255,255,255,0.1);
            color: var(--aveva-accent);
            display: flex; align-items: center; justify-content: center;
            border: 1px solid rgba(255,255,255,0.2);
            transition: var(--transition-smooth);
        }

        .industry-panel:hover .industry-icon-wrapper {
            background-color: var(--aveva-accent);
            color: #ffffff;
            transform: scale(0.9);
        }

        .industry-panel h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff; /* 標題純白 */
            margin: 0;
            white-space: nowrap; /* 防止折行 */
            transition: var(--transition-smooth);
        }

        .industry-panel p {
            font-size: 1rem;
            line-height: 1.7;
            /* 強制要求：絕對不用灰色！使用極致純白 */
            color: #ffffff; 
            margin: 0;
            opacity: 0;
            max-height: 0; /* 隱藏時收合高度 */
            transform: translateY(20px);
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            /* 防止縮小時文字擠壓破版 */
            width: 400px; 
            max-width: 100%;
        }

        .industry-panel:hover p {
            opacity: 1;
            max-height: 200px;
            transform: translateY(0);
            transition-delay: 0.1s; /* 讓版面先展開，文字再浮現 */
        }

        /* --- FAQ 區塊 (原生無 JS 手風琴) --- */
        .aveva-faq-container { max-width: 860px; margin: 0 auto; position: relative; z-index: 10; }
        .aveva-faq-list { display: flex; flex-direction: column; gap: 16px; }
        
        .aveva-faq-item {
            background: var(--bg-light); border: 1px solid var(--border-light); border-radius: var(--radius-card);
            overflow: hidden; transition: var(--transition-fast);
        }
        .aveva-faq-item:hover { border-color: var(--aveva-primary); }
        
        .aveva-faq-item summary {
            padding: 24px 32px; font-weight: 700; font-size: 1.125rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none;
            color: var(--text-heading-dark); transition: background-color 0.2s ease;
        }
        .aveva-faq-item summary::-webkit-details-marker { display: none; }
        
        .faq-icon { color: var(--aveva-primary); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; margin-left: 16px; }
        .aveva-faq-item[open] { border-color: var(--aveva-primary); box-shadow: 0 4px 12px rgba(61, 17, 82, 0.05); }
        .aveva-faq-item[open] summary .faq-icon { transform: rotate(45deg); color: var(--aveva-accent); }
        .aveva-faq-content { padding: 0 32px 32px; color: var(--text-body-dark); line-height: 1.7; font-size: 0.95rem; }

        /* RWD 響應式微調 */
        @media (max-width: 1024px) {
            .aveva-grid-layout { grid-template-columns: 1fr; gap: 40px; }
            .aveva-sticky-sidebar { position: relative; top: 0; }
            .about-step { flex-direction: column !important; gap: 40px; text-align: center; }
            .about-step-num { left: 50% !important; transform: translateX(-50%); top: -30px; }
            .industry-flex-accordion { flex-direction: column; height: 800px; }
            .industry-panel p { width: auto; }
            .mongo-curve-bottom-right, .mongo-curve-bottom-left { border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; }
        }
        @media (max-width: 768px) {
            .aveva-section { padding: 80px 5%; }
            .hero-section { padding: 120px 5% 80px; }
            .hero-title { font-size: 2.25rem; }
            .hero-title span { font-size: 1.5rem; }
            .aveva-bento-grid { grid-template-columns: 1fr; }
            .bento-3-items .aveva-product-card:nth-child(3) { grid-column: auto; }
        }

        /* === 1. 橢圓曲線過渡 (Elliptical Curve Flow) === */
/* 移除原有的 .mongo-curve-bottom-left 與 right，改用以下更嚴謹的重疊架構 */
.aveva-curve-br {
    border-bottom-right-radius: 12vw;
    position: relative;
    z-index: 3;
    padding-bottom: 120px; /* 確保內容不會貼齊曲線 */
}
.aveva-curve-bl {
    border-bottom-left-radius: 12vw;
    position: relative;
    z-index: 3;
    padding-bottom: 120px;
}
.aveva-overlap-next {
    margin-top: -80px;  /* 讓下方區塊往上提，藏入曲線下方 */
    padding-top: 160px; /* 補足被往上推的空間，確保內部文字不被遮擋 */
    position: relative;
    z-index: 2;
}

/* ✅ 確保保留這段：統一全站淺色卡片的圖示與 CTA 為品牌深藍色 (#3D1152) */
.theme-light .aveva-card-icon, 
.theme-light-gray .aveva-card-icon, 
.theme-warm-white .aveva-card-icon { 
    color: var(--aveva-primary); 
}

.theme-light .aveva-card-cta, 
.theme-light-gray .aveva-card-cta, 
.theme-warm-white .aveva-card-cta { 
    color: var(--aveva-primary); 
}

.theme-light .aveva-product-card:hover, 
.theme-light-gray .aveva-product-card:hover, 
.theme-warm-white .aveva-product-card:hover { 
    border-color: var(--aveva-primary); 
    box-shadow: 0 12px 30px rgba(61, 17, 82, 0.08); /* 這裡就是您要保留的藍色光暈 */
    transform: translateY(-4px); 
}

/* ==========================================================================
   產業解決方案 RWD 終極修復：優雅降級為標準堆疊卡片 (Flatten & Reveal)
   ========================================================================== */
@media (max-width: 1024px) {
    /* 1. 解除父層高度封印，讓內容自然延展 (解決擠壓破版) */
    .industry-flex-accordion {
        flex-direction: column;
        height: auto; 
        min-height: unset;
        gap: 24px; /* 增加卡片間距，讓視覺有呼吸感 */
    }

    /* 2. 關閉手機版/平板版的伸縮特效，改為堅固的標準卡片 */
    .industry-panel {
        flex: none !important; /* 強制關閉 flex: 3 的伸展行為 */
        height: auto;
        min-height: 240px; 
        align-items: flex-end; /* 維持內容靠下對齊 */
    }

    /* 取消手機版點擊放大的生硬感 */
    .industry-panel:hover {
        flex: none !important;
    }

    .industry-panel-content {
        padding: 32px 24px;
        gap: 12px;
    }

    .industry-panel p {
        width: 100% !important;
        max-height: 500px !important; /* 解除高度 0 的限制 */
        opacity: 1 !important;        /* 強制顯示 */
        transform: translateY(0) !important; /* 解除下方浮現的位移 */
        color: #ffffff !important;
        font-size: 0.95rem;
    }

    /* 4. 確保卡片背景漸層永遠存在，維持文字與背景的高對比易讀性 */
    .industry-panel::before {
        opacity: 1;
        background: linear-gradient(180deg, rgba(115, 130, 148,0.2) 0%, rgba(61, 17, 82,0.95) 100%);
    }
}

/* 為品牌 Logo 加上國際級 SaaS 常用的柔和立體陰影與自適應縮放 */
.aveva-hero-logo {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    /* 這裡使用 drop-shadow 而非 box-shadow，能完美貼合 Logo 的透明 PNG 邊緣 */
    filter: drop-shadow(0 8px 24px rgba(61, 17, 82, 0.15));
}

/* ==========================================================================
   全局 Reveal-Up 進場動畫系統 (Global Staggered Reveal System)
   ========================================================================== */
:root {
    /* 預設延遲為 0，可透過 inline style 覆寫 */
    --reveal-delay: 0ms; 
    /* 使用國際級質感的貝茲曲線，創造帶有呼吸感的平滑減速效果 */
    --reveal-easing: cubic-bezier(0.16, 1, 0.3, 1); 
}

/* 準備進場的初始狀態 */
.aveva-reveal {
    opacity: 0;
    /* 統一設定 40px 的優雅上浮距離 */
    transform: translateY(40px);
    /* 提前告知瀏覽器即將發生變化的屬性，優化 INP 體驗 */
    will-change: transform, opacity;
    /* 綁定過渡效果，並套用 CSS 變數作為延遲 */
    transition: opacity 0.8s var(--reveal-easing) var(--reveal-delay),
                transform 0.8s var(--reveal-easing) var(--reveal-delay);
}

/* 進入可視範圍後的觸發狀態 */
.aveva-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 針對行動裝置防呆：減少位移距離與延遲，避免滑動過快時畫面空白 */
@media (max-width: 768px) {
    .aveva-reveal {
        transform: translateY(20px);
        /* 強制將所有延遲減半，適應手機端快速滾動的習慣 */
        transition-delay: calc(var(--reveal-delay) * 0.5);
    }
}

/* ==========================================================================
   全局 Reveal-Up 進場動畫系統 (Global Staggered Reveal System)
   ========================================================================== */
:root {
    /* 預設延遲為 0，可透過 inline style 覆寫 */
    --reveal-delay: 0ms; 
    /* 使用國際級質感的貝茲曲線，創造帶有呼吸感的平滑減速效果 */
    --reveal-easing: cubic-bezier(0.16, 1, 0.3, 1); 
}

/* 準備進場的初始狀態 */
.aveva-reveal {
    opacity: 0;
    /* 統一設定 40px 的優雅上浮距離 */
    transform: translateY(40px);
    /* 提前告知瀏覽器即將發生變化的屬性，優化 INP 體驗 */
    will-change: transform, opacity;
    /* 綁定過渡效果，並套用 CSS 變數作為延遲 */
    transition: opacity 0.8s var(--reveal-easing) var(--reveal-delay),
                transform 0.8s var(--reveal-easing) var(--reveal-delay);
}

/* 進入可視範圍後的觸發狀態 */
.aveva-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 針對行動裝置防呆：減少位移距離與延遲，避免滑動過快時畫面空白 */
@media (max-width: 768px) {
    .aveva-reveal {
        transform: translateY(20px);
        /* 強制將所有延遲減半，適應手機端快速滾動的習慣 */
        transition-delay: calc(var(--reveal-delay) * 0.5);
    }
}

/* ==========================================================================
   高級交錯拼接與切角系統 (Advanced Interlocking Curve System)
   ========================================================================== */

/* --- A. 底部切角 (Bottom Curves) --- */
/* 特性：維持較高的 z-index (3)，讓下一個區塊潛入其下方 */
.aveva-curve-bottom-right {
    border-bottom-right-radius: 12vw;
    position: relative;
    z-index: 3; 
    padding-bottom: 140px !important; /* 強制預留空間給下方重疊，避免內容被裁切 */
}
.aveva-curve-bottom-left {
    border-bottom-left-radius: 12vw;
    position: relative;
    z-index: 3;
    padding-bottom: 140px !important;
}

/* 搭配底部切角使用：如果前一個區塊有底部切角，當前區塊請加上此 class 以潛入下方 */
.aveva-slide-under {
    margin-top: -80px;  
    padding-top: 160px !important; /* 補足被拉上去的空間 */
    position: relative;
    z-index: 2; /* 層級低於上方區塊，實現潛入效果 */
}


/* --- B. 頂部切角 (Top Curves) --- */
/* 特性：主動往上提 (-80px) 並賦予最高 z-index (4)，強勢覆蓋上一個區塊 */
.aveva-curve-top-right {
    border-top-right-radius: 12vw;
    margin-top: -80px; 
    padding-top: 160px !important;
    position: relative;
    z-index: 4; 
}
.aveva-curve-top-left {
    border-top-left-radius: 12vw;
    margin-top: -80px;
    padding-top: 160px !important;
    position: relative;
    z-index: 4;
}

/* --- 行動裝置防呆與優雅降級 (Graceful Degradation) --- */
/* 在平板與手機螢幕下，過大的 vw 會導致破版，改用柔和的絕對數值 */
@media (max-width: 1024px) {
    .aveva-curve-bottom-right { border-bottom-right-radius: 48px; padding-bottom: 100px !important; }
    .aveva-curve-bottom-left { border-bottom-left-radius: 48px; padding-bottom: 100px !important; }
    .aveva-curve-top-right { border-top-right-radius: 48px; margin-top: -60px; padding-top: 120px !important; }
    .aveva-curve-top-left { border-top-left-radius: 48px; margin-top: -60px; padding-top: 120px !important; }
    .aveva-slide-under { margin-top: -60px; padding-top: 120px !important; }
}

/* ==========================================================================
   橫向滑動模組 (Horizontal Scrollytelling & Bleeding Edge)
   ========================================================================== */

/* 1. 滑動軌道本體：利用 margin 負值達成向右無盡延伸 (Bleeding Edge) */
.aveva-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* 隱藏預設醜陋的滾動條，提升 UI 質感 */
    scrollbar-width: none; 
    -ms-overflow-style: none;
    
    /* 打破右側限制，延伸至螢幕邊緣 */
    margin-right: calc(-50vw + 50%);
    padding-right: calc(50vw - 50% + 24px);
    
    /* 確保卡片 Hover 時的陰影不被裁切 */
    padding-top: 16px;
    padding-bottom: 32px;
}

.aveva-slider-track::-webkit-scrollbar {
    display: none;
}

/* 2. 獨立白色卡片樣式 */
.aveva-slider-card {
    flex: 0 0 340px; 
    scroll-snap-align: start;
    
    background-color: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.aveva-slider-card:hover {
    transform: translateY(-6px);
    border-color: var(--aveva-accent); 
    box-shadow: 0 0 0 1.5px var(--aveva-accent), 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* 內部字體與 Icon 顏色維持不變，確保對比度 */
.aveva-slider-card .aveva-card-icon {
    color: var(--aveva-primary); 
    margin-bottom: 24px;
}

/* 3. WCAG 校正：在白底上強制使用深藍主色調，拒絕低對比度的橘色 */
.aveva-slider-card .aveva-card-icon {
    color: var(--aveva-primary); /* 高對比品牌深藍 */
    margin-bottom: 24px;
}

.aveva-slider-card .aveva-card-title {
    color: #1f2937; /* 俐落極深灰，取代死白卡片上的純黑 */
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.aveva-slider-card .aveva-card-desc {
    color: #4b5563; /* 舒適閱讀的深灰 */
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
    flex-grow: 1;
}

.aveva-slider-card .aveva-card-cta {
    color: var(--aveva-primary);
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

/* 4. 左側導航按鈕樣式 (MongoDB 現代化圓形按鈕) */
.aveva-slider-controls {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.aveva-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aveva-icon-btn:hover {
    background-color: var(--aveva-accent);
    border-color: var(--aveva-accent);
    transform: scale(1.05);
}

/* 行動裝置優雅降級 */
@media (max-width: 1024px) {
    .aveva-slider-card {
        flex: 0 0 280px; /* 手機版略為縮小卡片 */
        padding: 24px;
    }
    .aveva-slider-controls {
        display: none; /* 手機用戶習慣直接觸控滑動，隱藏按鈕防干擾 */
    }
}

/* ==========================================================================
   控制面板與膠囊指示器 (Controls & Capsule Indicators)
   ========================================================================== */
.aveva-slider-nav-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.aveva-slider-controls {
    display: flex;
    gap: 12px;
}

/* 膠囊外框底座 */
.aveva-slider-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    /* 極致的毛玻璃與內陰影質感 */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px; /* 完美膠囊圓角 */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 預設小圓點狀態 */
.aveva-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    /* 物理級彈性過渡 */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: width, background-color;
}

.aveva-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* 作用中狀態：延展為藥丸形並點亮品牌強調色 */
.aveva-dot.is-active {
    width: 24px; /* 拉長為藥丸形狀 */
    background-color: var(--aveva-accent); /* aveva 橘色 (#C530FF) */
    /* 霓虹發光特效 */
    box-shadow: 0 0 12px rgba(197, 48, 255, 0.5); 
}

/* 行動裝置優雅降級 */
@media (max-width: 1024px) {
    .aveva-slider-nav-group {
        display: none; /* 手機端用戶習慣直覺的滑動，隱藏控制器避免干擾 */
    }
}

/* ==========================================================================
   巨型 Ｕ 型主視覺底盤 (U-Shaped Hero Curve & Ambient Glow)
   ========================================================================== */

.aveva-hero-u-curve {
    position: relative;
    /* 動態視窗寬度圓角，創造極致平滑的 U 型曲線 */
    border-bottom-left-radius: 12vw;
    border-bottom-right-radius: 12vw;
    overflow: hidden; /* 強制裁切內部的輪播背景圖 */
    
    /* 開啟硬體加速，解決 Safari 上 overflow:hidden 圓角產生鋸齒的 Bug */
    transform: translateZ(0); 
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    
    /* 賦予輕微的廣域陰影，讓主視覺從下方白色背景中浮現出來 */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    z-index: 10;
    
    /* 預留與下方 Breadcrumbs 或內容區塊的呼吸空間 */
    margin-bottom: 48px !important;
}

/* 確保容器內容層級高於光暈 */
.aveva-hero-u-curve .carousel-inner,
.aveva-hero-u-curve .container {
    position: relative;
    z-index: 2;
}

/* 
 * 頂級工藝：底部氛圍光暈 (Ambient Glow)
 * 模擬 MongoDB 截圖中的漸層效果，但使用 aveva 的品牌主色 (#3D1152)
 */
.aveva-hero-u-curve::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%; /* 光暈佔據下方 70% 的高度 */
    
    /* 從底部的品牌深藍，向上漸變至透明，完美融入原有的暗色背景圖 */
    background: radial-gradient(ellipse at bottom, rgba(61, 17, 82, 0.85) 0%, rgba(54, 61, 66, 0) 70%);
    
    pointer-events: none; /* 穿透點擊，確保不阻擋輪播控制按鈕 */
    z-index: 1; /* 蓋在背景圖之上，壓在文字之下 */
}

/* --- RWD 優雅降級 (Graceful Degradation) --- */
@media (min-width: 1600px) {
    /* 避免 4K 超寬螢幕下 vw 圓角過大導致畫面變形，設定封頂絕對值 */
    .aveva-hero-u-curve {
        border-bottom-left-radius: 192px;
        border-bottom-right-radius: 192px;
    }
}

@media (max-width: 1024px) {
    /* 平板適應 */
    .aveva-hero-u-curve {
        border-bottom-left-radius: 64px;
        border-bottom-right-radius: 64px;
        margin-bottom: 32px !important;
    }
}

@media (max-width: 768px) {
    /* 手機版：圓角大幅縮小，保留寶貴的垂直螢幕空間 */
    .aveva-hero-u-curve {
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
        margin-bottom: 24px !important;
    }
    
    /* 手機版降低光暈強度，避免搶走文案焦點 */
    .aveva-hero-u-curve::after {
        background: radial-gradient(ellipse at bottom, rgba(61, 17, 82, 0.6) 0%, rgba(54, 61, 66, 0) 60%);
    }
}

/* ==========================================================================
   產品總覽引言區塊 (Portfolio Header)
   ========================================================================== */
.aveva-portfolio-intro {
    text-align: center;
    max-width: 860px;
    /* 上方 0，左右自動置中，下方保留 80px 的充足呼吸空間 */
    margin: 0 auto 80px auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aveva-portfolio-title {
    font-size: 3rem; /* 具備國際級張力的巨型 H2 標題 */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #ffffff; /* 在暗色主題上強制使用純白，確保對比度 */
}

/* 局部高光，建立強烈的視覺記憶點 */
.aveva-portfolio-title .text-accent {
    color: var(--aveva-accent); /* 點亮 aveva 品牌強調色 */
}

.aveva-portfolio-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-light); /* 調用既有變數，維持舒適的次要文字灰階 */
}

/* --- 行動裝置優雅降級與防呆 (Graceful Degradation) --- */
@media (max-width: 768px) {
    .aveva-portfolio-intro {
        margin-bottom: 48px;
        text-align: left; /* 手機端恢復靠左對齊，符合 F 型閱讀動線，降低眼球負擔 */
        align-items: flex-start;
    }
    .aveva-portfolio-title {
        font-size: 2.25rem; /* 避免手機版標題過大導致破版或單字換行斷裂 */
    }
}

/* ==========================================================================
   全域平滑滾動與錨點偏移校正 (Smooth Scroll & Offset Fix)
   ========================================================================== */
html {
    scroll-behavior: smooth; /* 原生層級的平滑滾動，取代老舊的 jQuery 滾動插件 */
}

/* 針對目標區塊加入偏移保護，確保滾動到達時，不會被頂部的 Sticky Header 遮住 */
#category-iiot {
    /* 假設 Header 高度約為 70px，我們預留 100px 創造完美呼吸感 */
    scroll-margin-top: 100px; 
}

/* ==========================================================================
   aveva 互動式標籤分流中樞 (Segmented Tab Hub) - Zero CLS
   ========================================================================== */
.aveva-solutions-hub {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- 1. Apple 風格的毛玻璃導航列 --- */
.hub-nav-wrapper {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 99px; /* 完美膠囊造型 */
  margin-bottom: 48px;
  position: relative;
  z-index: 10;
  /* 手機版橫向滾動防呆 */
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hub-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.hub-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-tab-btn:hover {
  color: #ffffff;
}

/* 啟動狀態：aveva 橘色強調 */
.hub-tab-btn.is-active {
  background: var(--aveva-accent, #C530FF);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(197, 48, 255, 0.3);
}

/* --- 2. CSS Grid 重疊面板區 (防護 CLS 的關鍵) --- */
.hub-content-wrapper {
  width: 100%;
  display: grid; /* 開啟 Grid 空間 */
}

.hub-panel {
  /* 讓所有 Panel 強制佔據 Grid 的同一個儲存格 (1行1列) */
  grid-area: 1 / 1; 
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* 僅使用 transform 進行微浮動，避免 margin/top 引發 Reflow */
  transform: translateY(16px); 
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s;
}

.hub-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s;
  z-index: 2;
}

/* --- 3. 內部卡片排版 (玻璃擬態質感) --- */
.hub-panel-inner {
  background: rgba(115, 130, 148, 0.4); /* 深藍透明底 */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  gap: 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.visual-icon-box {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: rgba(61, 17, 82, 0.3); /* aveva 深藍色微光 */
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--aveva-accent, #C530FF);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.hub-panel-text {
  flex: 1;
}

.hub-panel-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hub-panel-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #a0a0ab; /* 拒絕純白，減少深色模式下的對比疲勞 */
  margin: 0;
}

/* --- RWD 行動裝置防呆 --- */
@media (max-width: 768px) {
  .hub-panel-inner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 24px;
  }
  .visual-icon-box {
    width: 80px;
    height: 80px;
  }
  .hub-panel-text h3 {
    font-size: 1.5rem;
  }
  .hub-panel-text p {
    font-size: 1rem;
  }
  /* 手機版按鈕緊湊處理 */
  .hub-tab-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}


/* --- Source: css\aveva-product-page.css --- */
html body .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn) {
    text-decoration: none !important;
    /* 強制擊碎母站的 text-decoration: underline */
    font-weight: 700 !important;

    /* 國際級 0-CLS 動態底線實作 */
    background-image: linear-gradient(currentColor, currentColor) !important;
    background-position: 0% 100% !important;
    background-repeat: no-repeat !important;
    background-size: 0% 2px !important;
    transition: background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease !important;
    /* 確保底線與文字有一點點舒適的距離 */
    padding-bottom: 2px !important;
}

/* Hover 時底線平滑展開 */
html body .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):focus {
    background-size: 100% 2px !important;
    text-decoration: none !important;
}

/* --- 2. 淺色區塊情境 (Light Theme Context) --- */
html body .theme-light .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn),
html body .theme-light-gray .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn),
html body .theme-warm-white .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn),
html body .aveva-section.theme-light a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn),
html body .aveva-section.theme-light-gray a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn),
html body .aveva-section.theme-warm-white a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn) {
    color: var(--aveva-primary) !important;
    /* 淺色底使用 aveva 品牌深藍 (#3D1152) */
}

/* 淺色區塊 Hover 時的互動變化 */
html body .theme-light .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .theme-light-gray .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .theme-warm-white .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .aveva-section.theme-light a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .aveva-section.theme-light-gray a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .aveva-section.theme-warm-white a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover {
    color: var(--aveva-accent) !important;
    /* Hover 時轉為品牌橘色 (#C530FF) */
}

/* --- 3. 深色區塊情境 (Dark Theme Context) --- */
html body .theme-dark .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn),
html body .aveva-section.theme-dark a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn) {
    color: var(--aveva-accent) !important;
    /* 深色底強制使用品牌橘色，低對比 */
}

html body .theme-dark .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .theme-dark .aveva-section a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):focus,
html body .aveva-section.theme-dark a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):hover,
html body .aveva-section.theme-dark a:not(.aveva-prod-btn-primary):not(.aveva-prod-btn-secondary):not(.aveva-text-cta):not(.explorer-tab):not(.case-tab-btn):focus {
    color: #ffffff !important;
    /* Hover 時轉為純白 */
}

/* --- 現代化餅乾屑導航 (Hero 頂部置中漏斗版) --- */
.aveva-breadcrumb-centered {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 28px;
    /* 與下方的 Category Label 拉開舒適間距 */
    z-index: 20;
}

.aveva-breadcrumb-list {
    display: inline-flex;
    /* 關鍵：讓容器自動貼齊文字寬度，以利外部完美置中 */
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;

    /* 手機版：隱藏式優雅橫向滾動，防範 CLS 破版 */
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

/* 隱藏捲軸，保持視覺純淨 (Chrome/Safari) */
.aveva-breadcrumb-list::-webkit-scrollbar {
    display: none;
}

.aveva-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* 針對深色 Hero Banner 的超連結狀態 */
.aveva-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aveva-breadcrumb-item a:hover {
    color: #ffffff;
}

/* 無連結的文字 (如「代理產品」) 保持更深的透明度 */
.aveva-breadcrumb-item .text-muted {
    color: rgba(255, 255, 255, 0.4);
    cursor: default;
}

/* 當前頁面：最高亮度與微發光，宣告定位 */
.aveva-breadcrumb-item.current-page {
    color: var(--aveva-accent);
    /* 替換為 aveva 橘色，強化視覺終點的認知 */
    font-weight: 700;
}

/* 精緻的 SVG 分隔符號 */
.aveva-breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* --- 行動端適配 (Mobile First) --- */
@media (max-width: 768px) {
    .aveva-breadcrumb-centered {
        margin-bottom: 20px;
        justify-content: flex-start;
        /* 手機端長度易超過螢幕，改為靠左以利橫向滑動 */
    }

    .aveva-breadcrumb-item {
        font-size: 12px;
    }

    /* 確保手機端橫向滑動到底時，最右側仍有安全留白 */
    .aveva-breadcrumb-list::after {
        content: "";
        padding-right: 20px;
    }
}

.aveva-prod-hero {
    position: relative;
    min-height: 85vh;
    /* 依照您的要求，維持 65vh 不動 */
    display: flex;
    align-items: center;
    padding: 180px 5% 140px;
    background-color: var(--bg-dark-surface);
}


.aveva-prod-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}


.aveva-prod-intro-desc {
    max-width: 840px;
    /* 強制縮緊寬度，控制單行字數以降低閱讀疲勞 */
    margin: 0 auto;
    /* 絕對置中，取代舊版 Bootstrap 失效的 mx-auto */
    text-align: center;
    /* 內部文字置中 */
    font-size: 1.125rem;
    line-height: 1.85;
    /* 拉開行高，消滅擁擠感 */
    letter-spacing: 0.02em;
    /* 微調字距，提升中文字體的高級感 */
    color: var(--text-body-dark);
    padding: 0 20px;
    /* 行動裝置安全邊距防呆 */
}

.aveva-prod-hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.aveva-prod-hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* RWD 流體排版 */
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.aveva-prod-hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body-light);
    /* */
    max-width: 760px;
    margin-bottom: 48px;
}

/* --- 2. 現代化 CTA 按鈕設計 --- */
.aveva-prod-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.aveva-prod-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background-color: var(--aveva-accent);
    /* 橘色 #C530FF[cite: 2] */
    color: #ffffff;
    border-radius: var(--radius-pill);
    /* 膠囊圓角[cite: 2] */
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    /*[cite: 2] */
    box-shadow: 0 8px 24px rgba(197, 48, 255, 0.3);
}

.aveva-prod-btn-primary:hover {
    transform: translateY(-4px);
    /* 硬體加速上浮 */
    box-shadow: 0 12px 32px rgba(197, 48, 255, 0.4);
    background-color: #6B04A8;
    color: #ffffff;
}

.aveva-prod-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    /* Glassmorphism 特效 */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    /*[cite: 2] */
}

.aveva-prod-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-4px);
}

/* --- 3. 痛點區塊 (Bento Grid) --- */
.aveva-prod-intro-header {
    margin-bottom: 64px;
}

.aveva-prod-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* 確保卡片高度一致，避免文字多寡造成的參差不齊 */
.aveva-prod-bento-grid .aveva-product-card {
    height: 100%;
    min-height: 280px;
    /* 防範 iOS 尺寸塌陷 */
    justify-content: flex-start;
}

/* --- RWD 行動裝置防呆 --- */
@media (max-width: 1024px) {
    .aveva-prod-bento-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        /* 平板自適應佈局 */
    }
}

@media (max-width: 768px) {
    .aveva-prod-hero {
        padding: 140px 5% 100px;
        min-height: auto;
    }

    .aveva-prod-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .aveva-prod-btn-primary,
    .aveva-prod-btn-secondary {
        width: 100%;
        /* 手機版按鈕滿幅，提升觸控熱區 */
        justify-content: center;
    }
}


/* --- 2. 黏性滾動視差佈局 (Sticky Scrollytelling Layout) --- */
.aveva-prod-pipeline-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    /* 讓 Sticky 能夠生效的關鍵 */
    position: relative;
}

/* 左側：黏性定錨區 */
.aveva-prod-pipeline-sticky {
    flex: 0 0 45%;
    /* 佔據 45% 寬度 */
    position: sticky;
    top: 120px;
    /* 距離頂部導航列的緩衝空間 */
    /* 這裡不需要給 height，讓它自然貼齊視窗 */
}

/* 動態進度指示器 UI */
.aveva-pipeline-tracker {
    margin-top: 48px;
    display: flex;
    align-items: center;
    position: relative;
    height: 32px;
}

.tracker-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.tracker-progress {
    height: 100%;
    width: 0%;
    /* 由 JS 動態控制 */
    background-color: var(--aveva-accent);
    /* #C530FF 橘色 */
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(197, 48, 255, 0.6);
    /* 霓虹發光感 */
}

.tracker-steps {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-dark-surface);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.step-dot.active {
    border-color: var(--aveva-accent);
    background-color: var(--aveva-accent);
    transform: scale(1.3);
}

/* 右側：滾動區塊 */
.aveva-prod-pipeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* 建立極大的呼吸空間，讓每次滾動焦點都只有一個區塊 */
    gap: 20vh;
    padding-bottom: 20vh;
    /* 確保最後一個區塊能滾到畫面中央 */
}

/* 純文字無卡片排版 (Typography-First) */
.aveva-pipeline-block {
    position: relative;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    /* 預設些微透明與縮小，聚焦時再放大點亮 */
    opacity: 0.3;
    transform: scale(0.98) translateX(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* 進入可視焦點的狀態 */
.aveva-pipeline-block.is-focused {
    opacity: 1;
    transform: scale(1) translateX(0);
    border-left-color: var(--aveva-accent);
}

.block-watermark {
    position: absolute;
    top: -40px;
    left: -20px;
    font-family: 'Fira Code', monospace;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    /* 極淡的浮水印序號 */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.block-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.block-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body-light);
    position: relative;
    z-index: 1;
}

.block-desc strong {
    color: #ffffff;
    /* 讓重要技術字眼在暗色背景中跳出來 */
    font-weight: 600;
}

/* --- 行動裝置優雅降級 (Mobile Fallback) --- */
@media (max-width: 1024px) {
    .aveva-prod-pipeline-layout {
        flex-direction: column;
        gap: 64px;
    }

    /* 解除手機版的 Sticky，改為垂直堆疊 */
    .aveva-prod-pipeline-sticky {
        position: relative;
        top: 0;
        flex: none;
        width: 100%;
    }

    /* 隱藏手機版橫向進度條，避免過度雜亂 */
    .aveva-pipeline-tracker {
        display: none;
    }

    .aveva-prod-pipeline-content {
        gap: 64px;
        /* 縮小手機版區塊間距 */
        padding-bottom: 0;
    }

    /* 手機版取消透明度聚焦特效，強制全部顯示，確保快速滑動時的閱讀性 */
    .aveva-pipeline-block {
        opacity: 1;
        transform: none;
        border-left-color: var(--aveva-primary);
    }
}

/* ==========================================================================
   2. 雜誌風排版：非卡片式痛點網格 (Cardless Editorial Grid)
   ========================================================================== */
.aveva-prod-intro-header {
    margin-bottom: 48px;
}

.aveva-prod-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    /* 放大間距，利用留白取代邊框 */
    margin-top: 40px;
}

/* 捨棄卡片陰影與背景，改用極簡飾條 */
.aveva-editorial-item {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid rgba(197, 48, 255, 0.2);
    /* aveva 橘色的淡化邊界 */
    transition: var(--transition-fast);
}

.aveva-editorial-item:hover {
    border-left-color: var(--aveva-accent);
    /* Hover 時點亮左側飾條 */
}

/* 讓 Icon 與文字融合，不使用圓框包裝 */
.aveva-editorial-item .editorial-icon {
    color: var(--aveva-primary);
    /* 深藍色 */
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aveva-editorial-item:hover .editorial-icon {
    transform: translateX(4px);
    /* 微幅右移互動 */
}

.aveva-editorial-item .editorial-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.aveva-editorial-item .editorial-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    margin: 0;
}

/* --- RWD 行動裝置防呆 --- */
@media (max-width: 1024px) {
    .aveva-prod-editorial-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .aveva-prod-editorial-grid {
        gap: 40px;
    }

    .aveva-editorial-item {
        padding-left: 16px;
        /* 手機版略縮排版，爭取閱讀空間 */
    }
}

/* ==========================================================================
   產品定義區塊：雙欄佈局 (Split Layout 終極防護版)
   ========================================================================== */
.aveva-prod-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 精準的 50% / 50% 切割 */
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

/* 🚨 效能與防呆關鍵：防止 Grid Blowout (網格爆裂) */
.aveva-prod-split-layout .split-content,
.aveva-prod-split-layout .split-graphic {
    min-width: 0;
    /* 強制子元素遵守 Grid 限制，不被巨大圖片撐破 */
    width: 100%;
}

/* 左側文字區塊 */
.aveva-prod-split-layout .split-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-heading-dark);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.aveva-prod-split-layout .split-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    margin-bottom: 40px;
}

.aveva-prod-split-layout .split-desc strong {
    color: var(--aveva-primary);
    font-weight: 700;
}

/* 右側圖片容器防呆 */
.aveva-prod-split-layout .split-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.aveva-prod-split-layout .split-hero-image {
    width: 100%;
    max-width: 540px;
    /* 嚴格限制最大寬度，確保任何尺寸下都不會佔據過大版面 */
    height: auto;
    display: block;
    object-fit: contain;
    /* 移除生硬邊框，改用頂級 SaaS 網站的柔和投影 */
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.08));
}

/* ==========================================================================
   國際級 SaaS 質感文字 CTA (Text-link with Arrow)
   ========================================================================== */
.aveva-text-cta {
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--aveva-primary);
    text-decoration: none;
    padding-bottom: 4px;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.aveva-text-cta .cta-arrow {
    margin-left: 8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aveva-text-cta:hover,
.aveva-text-cta:focus {
    color: var(--aveva-accent);
    background-size: 100% 2px;
    text-decoration: none;
}

.aveva-text-cta:hover .cta-arrow {
    transform: translateX(6px);
}


@media (max-width: 1024px) {
    .aveva-prod-split-layout {
        grid-template-columns: 1fr;
        /* 平板與手機強制改為單欄垂直堆疊 */
        gap: 64px;
        margin-bottom: 80px;
    }

    .aveva-prod-split-layout .split-title {
        font-size: 2rem;
    }

    /* 平板/手機版讓圖片縮放比例更為合理，並居中顯示 */
    .aveva-prod-split-layout .split-hero-image {
        max-width: 100%;
        margin: 0 auto;
    }

    /* 在平板螢幕上，稍微縮小痛點標題的上方留白，避免滑動距離過長 */
    .aveva-prod-painpoints-header {
        margin-top: 80px;
        margin-bottom: 60px;
    }
}

/* ==========================================================================
   痛點區塊標題排版 (Typography & Whitespace)
   ========================================================================== */
.aveva-prod-painpoints-header {
    text-align: center;
    /* 創造宏觀留白 (Macro Whitespace)，讓上下區塊有足夠的呼吸空間 */
    margin-top: 140px;
    margin-bottom: 80px;
}

.aveva-prod-painpoints-header .painpoints-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    /* 流體字體大小 */
    font-weight: 800;
    color: var(--text-heading-dark);
    margin-bottom: 16px;
    /* 與下方段落拉開微距 */
    letter-spacing: -0.02em;
}

.aveva-prod-painpoints-header .painpoints-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    /* 使用深灰色而非純黑，降低視覺壓迫感 */
    color: var(--text-body-dark);
    margin: 0;
}

/* ==========================================================================
   便當盒區塊標題排版 (Bento Header Typography)
   ========================================================================== */
.aveva-prod-bento-header {
    text-align: center;
    margin-bottom: 64px;
    /* 與下方卡片拉開呼吸空間 */
}

/* 確保標題本身置中且無多餘邊距 */
.aveva-prod-bento-header .aveva-category-title {
    margin-bottom: 16px;
    text-align: center;
}

/* 🚨 終極防禦與置中對齊 */
.aveva-prod-bento-header .bento-header-desc {
    max-width: 800px;
    margin: 0 auto;
    /* 絕對置中區塊，完美取代無效的 mx-auto */
    text-align: center !important;
    /* 強制內部文字置中，無視任何全域干擾 */
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    padding: 0 20px;
    /* 行動裝置安全邊距 */
}

/* ==========================================================================
   3. 核心價值區塊：Bento Box (Light Theme & Interlocking Grid)
   ========================================================================== */
.aveva-prod-bento-core {
    display: grid;
    /* 嚴格的 3 欄網格 */
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 淺色科技感卡片 */
.prod-bento-card {
    background-color: #ffffff;
    /* 純白底色 */
    border: 1px solid var(--border-light);
    /* 精緻的淺灰邊框 */
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-width: 0;
    /* 效能防呆：防止網格爆裂 */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

/* 懸浮微互動：上浮且陰影加深，0 CLS 偏移 */
.prod-bento-card:hover {
    transform: translateY(-6px);
    border-color: var(--aveva-primary);
    /* Hover 點亮品牌深藍邊框 */
    box-shadow: 0 20px 40px rgba(61, 17, 82, 0.08);
    /* 柔和的藍色廣域光暈 */
}

/* 讓重點卡片跨越 2 欄 */
.prod-card-wide {
    grid-column: span 2;
}

.prod-bento-card .bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(61, 17, 82, 0.06);
    /* 淺藍色 Icon 底色 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aveva-primary);
    /* 深藍色 Icon */
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.prod-bento-card:hover .bento-icon {
    transform: scale(1.1);
    background: var(--aveva-primary);
    color: #ffffff;
}

.prod-bento-card .bento-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.prod-bento-card h4 {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--aveva-accent);
    /* 橘色小標 */
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.prod-bento-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading-dark);
    /* 深灰標題 */
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.prod-bento-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body-dark);
    /* 舒適的灰階內文 */
    margin: 0;
}

/* AI 數位轉型卡片的發光特效 (針對淺色底優化) */
.prod-card-highlight .bento-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 48, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* --- RWD：平板與手機的 Bento Box 降級處理 --- */
@media (max-width: 1024px) {
    .aveva-prod-bento-core {
        grid-template-columns: repeat(2, 1fr);
        /* 平板改為 2 欄 */
    }

    .prod-card-wide {
        grid-column: span 2;
        /* 依然跨 2 欄，維持重點地位 */
    }
}

@media (max-width: 768px) {
    .aveva-prod-bento-core {
        grid-template-columns: 1fr;
        /* 手機強制單欄堆疊 */
    }

    .prod-card-wide {
        grid-column: span 1;
    }

    .prod-bento-card {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   4. 深度功能區塊：交錯圖文視差 (Z-Pattern Layout)
   ========================================================================== */
.aveva-prod-z-pattern {
    display: flex;
    flex-direction: column;
    gap: 120px;
    /* 每一個功能列之間的極大呼吸空間 */
}

.z-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50/50 分割 */
    gap: 80px;
    align-items: center;
}

.z-row-reverse .z-content {
    order: 1;
    /* 將文案移至左側 */
}

.z-row-reverse .z-visual {
    order: 2;
    /* 將視覺移至右側 */
}

.z-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(61, 17, 82, 0.08);
    /* 品牌藍色的淡底 */
    color: var(--aveva-primary);
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.z-row .z-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-heading-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.z-row .z-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    margin-bottom: 16px;
}

/* 高質感軟體介面佔位圖 (UI Mockup Box) */
.prod-ui-mockup {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    /* 國際級柔和陰影 */
    overflow: hidden;
    position: relative;
    /* 創造懸浮感 */
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.prod-ui-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-alt {
    transform: perspective(1000px) rotateY(2deg) rotateX(2deg);
}

/* 模擬 MacOS 視窗控制列 */
.mockup-header {
    background: var(--bg-light-alt);
    padding: 12px 16px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-light);
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E2E8F0;
}

.mockup-header .dot:nth-child(1) {
    background-color: #FF5F56;
}

/* Close */
.mockup-header .dot:nth-child(2) {
    background-color: #FFBD2E;
}

/* Min */
.mockup-header .dot:nth-child(3) {
    background-color: #27C93F;
}

/* Max */

.mockup-body {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
}

.mockup-body p {
    margin-top: 16px;
    font-family: 'Fira Code', monospace;
    color: var(--text-body-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

/* --- RWD：平板與手機交錯視差降級處理 --- */
@media (max-width: 1024px) {
    .aveva-prod-z-pattern {
        gap: 80px;
        /* 縮小區塊間距 */
    }

    .z-row {
        grid-template-columns: 1fr;
        /* 強制單欄堆疊 */
        gap: 40px;
    }

    /* 解除交錯排版，統一改為：視覺圖在上，文案在下 (符合手機閱讀邏輯) */
    .z-row-reverse .z-content {
        order: 2;
    }

    .z-row-reverse .z-visual {
        order: 1;
    }

    /* 移除佔位圖的 3D 傾斜特效，避免手機端被截斷 */
    .prod-ui-mockup,
    .mockup-alt {
        transform: none !important;
    }

    .z-row .z-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   5. 互動式通訊協定探索面板 (Namespace: .aveva-prod-explorer)
   ========================================================================== */
.aveva-prod-explorer {
    display: grid;
    grid-template-columns: 360px 1fr;
    /* 左側固定導航，右側自適應內容 */
    gap: 80px;
    align-items: stretch;
}

/* --- 左側：垂直導航 (Vertical Tabs) --- */
.explorer-sidebar {
    display: flex;
    flex-direction: column;
}

.explorer-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.explorer-subtitle {
    font-size: 1.05rem;
    color: var(--text-body-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.explorer-tab-list {
    display: flex;
    flex-direction: column;
    /* 左側加上一條淡淡的引導線 */
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.explorer-tab {
    background: transparent;
    border: none;
    text-align: left;
    padding: 24px 20px 24px 32px;
    cursor: pointer;
    position: relative;
    /* 修正底層邊框位置，創造覆蓋特效 */
    margin-left: -2px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

/* 標籤 Hover 與 Active 狀態 */
.explorer-tab:hover {
    background: rgba(255, 255, 255, 0.03);
}

.explorer-tab.is-active {
    border-left-color: var(--aveva-accent);
    /* 點亮橘色飾條 */
    background: linear-gradient(90deg, rgba(197, 48, 255, 0.08) 0%, transparent 100%);
}

.explorer-tab h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-body-light);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.explorer-tab.is-active h4 {
    color: #ffffff;
    /* Active 時標題高光 */
}

.explorer-tab p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.explorer-tab.is-active p {
    color: var(--text-body-light);
}

/* --- 右側：終端機卡片面板 (Terminal Card) --- */
.explorer-display {
    display: flex;
    flex-direction: column;
}

.explorer-card {
    background: var(--bg-dark-card);
    /* #738294 科勝深藍卡片 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 24px;
}

.explorer-card-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.explorer-card-header .dots {
    display: flex;
    gap: 8px;
}

.explorer-card-header .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.explorer-card-header .dots span:nth-child(1) {
    background: #FF5F56;
}

.explorer-card-header .dots span:nth-child(2) {
    background: #FFBD2E;
}

.explorer-card-header .dots span:nth-child(3) {
    background: #27C93F;
}

.explorer-card-header .header-title {
    flex: 1;
    text-align: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: -48px;
    /* 扣除左側 dots 的寬度達成視覺置中 */
}

/* 🚨 CWV 效能核心：Grid 堆疊避免重排 (Zero CLS) */
.explorer-panes-container {
    padding: 40px;
    display: grid;
    /* 使用 Grid 將所有 Pane 疊在一起 */
}

.explorer-pane {
    grid-area: 1 / 1;
    /* 強制所有 Pane 放在同一個 Grid Cell */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.explorer-pane.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* --- 標籤樣式 (Protocol Tags) --- */
.protocol-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.protocol-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    /* 使用程式碼字體增添科技感 */
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.protocol-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 標籤前方的打勾 Icon */
.protocol-tag::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327C93F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
}

.highlight-tag {
    border-color: rgba(197, 48, 255, 0.3);
    /* 橘色強調邊框 */
}

/* IPv4 / IPv6 徽章 */
.protocol-tag .badge {
    background: var(--aveva-accent);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 8px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* 免責聲明 */
.explorer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 16px;
    color: var(--text-body-light);
}

.explorer-disclaimer svg {
    color: var(--aveva-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.explorer-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.explorer-disclaimer a {
    color: var(--aveva-accent);
    text-decoration: none;
    font-weight: 600;
}

.explorer-disclaimer a:hover {
    text-decoration: underline;
}

/* --- RWD：平板與手機優雅降級 --- */
@media (max-width: 1024px) {
    .aveva-prod-explorer {
        grid-template-columns: 1fr;
        /* 平板改為上下堆疊 */
        gap: 40px;
    }

    .explorer-tab-list {
        flex-direction: row;
        border-left: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        overflow-x: auto;
        /* 允許橫向滑動 */
        /* 隱藏原生卷軸 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .explorer-tab-list::-webkit-scrollbar {
        display: none;
    }

    .explorer-tab {
        flex: 1 0 auto;
        /* 防止標籤被過度擠壓 */
        margin-left: 0;
        margin-bottom: -2px;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 16px 24px;
        text-align: center;
    }

    .explorer-tab.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--aveva-accent);
        background: linear-gradient(180deg, transparent 0%, rgba(197, 48, 255, 0.08) 100%);
    }

    .explorer-tab p {
        display: none;
    }

    /* 手機版隱藏描述，保持介面簡潔 */

    .explorer-panes-container {
        padding: 24px;
    }

    .protocol-tag {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* ==========================================================================
   6. 客戶導入實績區塊 - Tab 版 (Namespace: .aveva-prod-case-)
   ========================================================================== */

/* 頂部 Header 對齊設定 */
.aveva-prod-case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 24px;
}

/* 雙欄主架構 (對標 MongoDB 左小右大分割) */
.aveva-prod-case-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    /* 左側固定寬度，右側延展 */
    gap: 80px;
    align-items: flex-start;
}

/* --- 左側：數據錨點 (Metric Sidebar) --- */
.case-sidebar {
    position: sticky;
    top: 120px;
}

.case-industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--aveva-primary);
    background: rgba(61, 17, 82, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.case-metric-group .metric-number {
    font-family: 'Fira Code', monospace;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.case-metric-group .text-primary {
    color: var(--aveva-primary);
}

.case-metric-group .text-accent {
    color: var(--aveva-accent);
}

.case-metric-group .unit {
    font-size: 1.5rem;
    margin-left: 4px;
}

.case-metric-group .to {
    font-size: 2rem;
    color: var(--border-light);
    /* 淺灰色破折號 */
    margin: 0 4px;
}

.case-metric-group .metric-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body-dark);
    line-height: 1.5;
}

/* --- 右側：實績文案內容 (Case Narrative) --- */
.case-content {
    min-width: 0;
    /* 效能防呆，防爆裂 */
    display: flex;
    flex-direction: column;
}

.case-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-heading-dark);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

/* --- 全新：橫向 Tab 控制列 (Horizontal Tab Nav) --- */
.case-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
    /* 允許手機端橫向滑動 */
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-tab-nav::-webkit-scrollbar {
    display: none;
}

.case-tab-btn {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-body-dark);
    /* 預設深灰 */
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* 防止按鈕文字折行 */
}

.case-tab-btn:hover {
    color: var(--aveva-primary);
}

.case-tab-btn.is-active {
    color: var(--aveva-primary);
    border-bottom-color: var(--aveva-primary);
    /* 點亮底部品牌色飾條 */
}

/* --- 全新：動態內容展示區 (Tab Panes) --- */
.case-panes-container {
    display: grid;
    /* 使用 Grid 疊加技術，確保切換時 0 CLS */
}

.case-pane {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.case-pane.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* 內容排版細節 (沿用) */
.case-sub-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading-dark);
    margin-bottom: 16px;
}

.case-text-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    margin-bottom: 16px;
}

.case-list-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-list-ul li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.case-list-ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--aveva-accent);
}

.case-list-ul li strong {
    color: var(--text-heading-dark);
}

/* 解決方案：開發者大括號視覺 */
.case-solution-block {
    display: flex;
    gap: 32px;
    /* 這裡刻意不給邊框，利用大括號創造視覺邊界 */
}

.solution-brace {
    flex: 0 0 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 200' preserveAspectRatio='none'%3E%3Cpath d='M35,0 C15,0 15,10 15,50 C15,90 0,95 0,100 C0,105 15,110 15,150 C15,190 15,200 35,200' fill='none' stroke='%23E2E8F0' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-top: 10px;
}

.solution-content {
    flex: 1;
}

.solution-tag {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--aveva-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.solution-steps {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.step-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-item h5 span {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    background: var(--bg-dark-surface);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
}

.step-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    color: var(--text-body-dark);
}

/* 最終效益成果列表 */
.case-results-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(61, 17, 82, 0.03);
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--aveva-primary);
}

.result-item svg {
    width: 24px;
    height: 24px;
    color: #27C93F;
    /* 成功綠色 */
    flex-shrink: 0;
    margin-top: 2px;
}

.result-item span {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-body-dark);
}

.result-item strong {
    color: var(--text-heading-dark);
}

/* --- RWD 行動裝置優雅降級 --- */
@media (max-width: 1024px) {
    .aveva-prod-case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .aveva-prod-case-layout {
        grid-template-columns: 1fr;
        /* 平板與手機轉為單欄 */
        gap: 48px;
    }

    .case-sidebar {
        position: relative;
        top: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        align-items: center;
    }

    .case-industry-badge {
        margin-bottom: 0;
    }

    .case-metric-group {
        margin-top: 0 !important;
    }

    .case-main-title {
        font-size: 1.75rem;
    }

    /* 手機版隱藏大括號，改用簡單的左側線條，節省寶貴的橫向空間 */
    .solution-brace {
        flex: 0 0 4px;
        background-image: none;
        background-color: var(--border-light);
        border-radius: 4px;
    }
}

/* ==========================================================================
   黏性媒體展演 (Sticky Media Screen) 專屬樣式
   ========================================================================== */

/* 雙軌切換機制 (Desktop vs Mobile) */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* --- 左側固定電視機 --- */
.pipeline-visual-screen {
    margin-top: 48px;
    background: #738294;
    /* 科勝深藍 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.pipeline-visual-screen .mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pipeline-visual-screen .mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.pipeline-visual-screen .mockup-header .dot:nth-child(1) {
    background-color: #FF5F56;
}

.pipeline-visual-screen .mockup-header .dot:nth-child(2) {
    background-color: #FFBD2E;
}

.pipeline-visual-screen .mockup-header .dot:nth-child(3) {
    background-color: #27C93F;
}

/* 🚨 核心：Grid 疊加防破版 */
.pipeline-visual-screen .screen-container {
    display: grid;
    aspect-ratio: 16 / 10;
    /* 維持完美的寬高比 */
    background: #363D42;
    /* 圖片載入前的底色 */
}

.pipeline-visual-screen .screen-img {
    grid-area: 1 / 1;
    /* 全部疊在同一格 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.pipeline-visual-screen .screen-img.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    /* 浮現至最上層 */
}

/* --- 手機端專屬行內圖片 (Mobile Inline Visual) --- */
.mobile-inline-visual {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.mobile-inline-visual img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* --- RWD：平板與手機優雅降級 --- */
@media (max-width: 1024px) {
    .aveva-prod-explorer {
        grid-template-columns: 1fr;
        /* 平板改為上下堆疊 */
        gap: 32px;
    }

    /* 🚨 UX 終極修復：自動折行膠囊網格 (Wrap-around Pill Grid) */
    .explorer-tab-list {
        flex-direction: row;
        flex-wrap: wrap;
        /* 允許自動折行，徹底消滅左右滑動的需求 */
        gap: 12px;
        border-left: none;
        border-bottom: none;
        /* 移除原生底線，改為獨立實體按鈕 */
        overflow: visible;
        /* 解除滑動限制 */
    }

    .explorer-tab {
        flex: 1 1 calc(50% - 12px);
        /* 預設佔 50% 寬度並排 */
        min-width: 150px;
        /* 確保文字不被過度擠壓 */
        margin: 0;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.05);
        /* 賦予未點擊時的實體按鈕感 */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* 智慧佈局：讓第三個標籤 (PLC) 在單數時自動延展填滿整行 */
    .explorer-tab:nth-child(3) {
        flex: 1 1 100%;
    }

    /* 手機版 Active 狀態強化 */
    .explorer-tab.is-active {
        background: var(--aveva-primary);
        /* 點亮科勝藍底色 */
        border-color: var(--aveva-accent);
        /* 點亮橘色邊框 */
        box-shadow: 0 8px 24px rgba(61, 17, 82, 0.4);
        transform: translateY(-2px);
        /* 點擊後微幅上浮，給予物理回饋 */
    }

    .explorer-tab.is-active h4 {
        color: #ffffff;
    }

    .explorer-tab p {
        display: none;
    }

    /* 手機版隱藏描述，保持介面簡潔 */

    .explorer-panes-container {
        padding: 24px;
    }

    .protocol-tag {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* ==========================================================================
   全局沉浸式燈箱模組 (Global Lightbox Module)
   ========================================================================== */

/* 賦予可點擊圖片明確的 UX 提示 */
img.aveva-zoomable {
    cursor: zoom-in;
    transition: filter 0.3s ease;
}

img.aveva-zoomable:hover {
    filter: brightness(0.9);
    /* Hover 時微微變暗，暗示可互動 */
}

/* 燈箱主容器 (預設隱藏) */
.aveva-lightbox {
    position: fixed;
    inset: 0;
    /* top:0, left:0, right:0, bottom:0 */
    z-index: 99999;
    /* 確保蓋過所有導航列與 Sticky 元素 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

/* 燈箱開啟狀態 */
.aveva-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 頂級 SaaS 毛玻璃遮罩 (Glassmorphism Backdrop) */
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(115, 130, 148, 0.85);
    /* 採用科勝深藍色的半透明版 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: zoom-out;
    /* 提示點擊背景可關閉 */
}

/* 關閉按鈕 */
.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.lightbox-close-btn:hover {
    background: var(--aveva-accent);
    /* Hover 點亮品牌橘色 */
    border-color: var(--aveva-accent);
    transform: scale(1.1);
}

/* 圖片與圖說容器 */
.lightbox-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 90vw;
    max-height: 90vh;
    /* 預設縮小，開啟時彈出，創造物理級的打擊感 */
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    transition-delay: 0.1s;
    /* 稍微延遲，等背景先變暗再彈出圖片 */
}

.aveva-lightbox.is-open .lightbox-content-wrapper {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 核心圖片限制：確保 RWD 絕對不破版 */
.lightbox-content-wrapper img {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    /* 預留下方圖說的空間 */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

/* 圖片說明文字 */
.lightbox-caption {
    margin-top: 16px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- 行動裝置防呆 --- */
@media (max-width: 768px) {
    .lightbox-close-btn {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .lightbox-content-wrapper {
        max-width: 95vw;
    }

    .lightbox-content-wrapper img {
        border-radius: 8px;
    }

    .lightbox-caption {
        font-size: 1rem;
    }
}

/* ==========================================================================
   7. 系統規格區塊 (Namespace: .aveva-prod-specs-)
   ========================================================================== */
.aveva-prod-specs-header {
    margin-bottom: 64px;
}

/* 雙欄卡片佈局，Server 內容較多，給予較大寬度比 (1.5 : 1) */
.aveva-prod-specs-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.specs-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.specs-card:hover {
    border-color: rgba(61, 17, 82, 0.2);
    box-shadow: 0 20px 40px rgba(61, 17, 82, 0.06);
}

.aveva-prod-specs-header {
    margin-bottom: 64px;
    text-align: center;
}

.aveva-prod-specs-header .aveva-category-title {
    margin-bottom: 16px;
    text-align: center;
}

/* 🚨 終極防禦與置中對齊：排除 Bootstrap 干擾 */
.aveva-prod-specs-desc {
    max-width: 800px;
    margin: 0 auto;
    /* 絕對置中，完美取代無效的 mx-auto */
    text-align: center !important;
    /* 強制內部文字置中，無視全域干擾 */
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    padding: 0 20px;
    /* 行動裝置安全邊距 */
}

/* 🚨 核心排版：Definition List 網格化 */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    /* 左側鍵名固定寬度，右側自適應 */
    gap: 24px;
    align-items: baseline;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-light);
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 左側屬性名 (Key)：工程師質感的 Monospace */
.spec-row dt {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--aveva-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* 右側屬性值 (Value) */
.spec-row dd {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body-dark);
    margin: 0;
}

/* 推薦規格的高光徽章設計 */
.spec-recommend {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--aveva-primary);
    background: rgba(61, 17, 82, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--aveva-accent);
}


/* 底部免責聲明 */
.aveva-prod-specs-note {
    margin-top: 32px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(197, 48, 255, 0.05);
    /* 淡淡的橘色警告底 */
    border-radius: 8px;
    color: var(--text-body-dark);
}

.aveva-prod-specs-note svg {
    color: var(--aveva-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.aveva-prod-specs-note p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   規格矩陣欄數控制 (Matrix Column Count Control)

   舊版做法：用 #aveva-specs-config 這個「區塊 ID」去覆寫欄數，只為了讓
   Modbus Gateway 的雙欄版型正常顯示。但三個產品頁 (Modbus Gateway / ComShare /
   CGW) 的規格區塊都共用同一組 id="aveva-specs-config"，導致這條原本只想套用在
   單一頁面的規則，其實會套用到所有沿用此 ID 的頁面 —— 這正是 4 欄頁面跑版的根本原因。

   新做法：欄數改由 CSS 變數 --matrix-cols 控制 (定義在下方 .matrix-row)，
   並提供 .matrix-cols-2 / .matrix-cols-3 / .matrix-cols-4 三組現成的 modifier
   class，直接加在 .aveva-matrix-grid 上即可切換，桌機版與手機版會自動套用
   對應寬度，不需要再另外為每個欄數寫一次 @media 覆寫。

   若未來要用到 2/3/4 以外的欄數，不需要新增 class，直接在該頁面的
   .aveva-matrix-grid 上用 inline style 蓋掉變數即可，例如 5 欄：
   <div class="aveva-matrix-grid" style="--matrix-cols:5; --matrix-label-w:200px;
   --matrix-col-min:150px; --matrix-label-w-mobile:100px; --matrix-col-min-mobile:130px;">
   ========================================================================== */

.matrix-cols-2 {
    --matrix-cols: 2;
    --matrix-label-w: 240px;
    --matrix-col-min: 240px;
    --matrix-label-w-mobile: 120px;
    --matrix-col-min-mobile: 180px;
}

.matrix-cols-3 {
    /* 與預設值相同，寫出來只是讓頁面明確標示「這是 3 欄」，不加這個 class 效果一樣 */
    --matrix-cols: 3;
    --matrix-label-w: 280px;
    --matrix-col-min: 200px;
    --matrix-label-w-mobile: 140px;
    --matrix-col-min-mobile: 160px;
}

.matrix-cols-4 {
    --matrix-cols: 4;
    --matrix-label-w: 220px;
    --matrix-col-min: 170px;
    --matrix-label-w-mobile: 110px;
    --matrix-col-min-mobile: 140px;
}

/* --- RWD 行動裝置優雅降級 --- */
@media (max-width: 1024px) {
    .aveva-prod-specs-layout {
        grid-template-columns: 1fr;
        /* 平板與手機轉為單欄上下堆疊 */
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .specs-card {
        padding: 24px;
    }

    .spec-row {
        grid-template-columns: 1fr;
        /* 手機版：鍵與值上下堆疊 */
        gap: 8px;
    }

    .spec-row dt {
        color: var(--aveva-accent);
        /* 在手機上用更亮的顏色區隔階層 */
    }
}

/* ==========================================================================
   FAQ 區塊 (原生無 JS 手風琴 Native HTML5 Accordion)
   ========================================================================== */
.aveva-faq-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.aveva-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 面板預設狀態 */
.aveva-faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    /* 12px */
    overflow: hidden;
    transition: var(--transition-fast);
}

.aveva-faq-item:hover {
    border-color: var(--aveva-primary);
}

/* 點擊標題區塊 */
.aveva-faq-item summary {
    padding: 24px 32px;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* 隱藏原生箭頭 */
    color: var(--text-heading-dark);
    transition: background-color 0.2s ease;
}

/* 隱藏 Safari/Chrome 原生箭頭 */
.aveva-faq-item summary::-webkit-details-marker {
    display: none;
}

/* 自訂十字 Icon */
.aveva-faq-item .faq-icon {
    color: var(--aveva-primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

/* 展開狀態 (Open) */
.aveva-faq-item[open] {
    border-color: var(--aveva-primary);
    box-shadow: 0 4px 20px rgba(61, 17, 82, 0.08);
    /* 柔和品牌藍光暈 */
}

/* 展開時十字轉為 X 且變為強調色 */
.aveva-faq-item[open] summary .faq-icon {
    transform: rotate(45deg);
    color: var(--aveva-accent);
}

/* 內文區塊 */
.aveva-faq-item .aveva-faq-content {
    padding: 0 32px 32px;
    color: var(--text-body-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.aveva-faq-item .aveva-faq-content strong {
    color: var(--text-heading-dark);
}

/* 行動裝置防呆 */
@media (max-width: 768px) {
    .aveva-faq-item summary {
        padding: 20px;
        font-size: 1.05rem;
    }

    .aveva-faq-item .aveva-faq-content {
        padding: 0 20px 24px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   8. 關聯解決方案推薦 - 最終優化版 (Namespace: .aveva-related-)
   ========================================================================== */

/* 🚨 1. 全新漸層底色：完美融合上方 CTA Banner，並與下方白色 Footer 俐落切割 */
html body .theme-dark-gradient {
    /* 由科勝品牌深藍色，向下平滑過渡到深黑藍色 */
    background: linear-gradient(180deg, var(--bg-dark-surface) 0%, #030a14 100%) !important;
}

/* 🚨 2. 核武級置中防禦網 (阻絕 Bootstrap 與 main.css 干擾) */
html body .aveva-prod-related-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 56px !important;
    width: 100% !important;
}

html body .aveva-prod-related-header .aveva-category-title {
    text-align: center !important;
    margin-bottom: 16px !important;
    color: #ffffff !important;
    /* 強制純白標題 */
}

/* 徹底鎖死副標題寬度與對齊 */
html body .aveva-prod-related-header .aveva-prod-related-desc {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: var(--text-body-light) !important;
    padding: 0 20px !important;
}

/* 3. 關聯卡片網格 */
.aveva-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* 🚨 4. 全域可點擊卡片 (物理留白防禦版) */
html body .aveva-related-card {
    display: flex !important;
    flex-direction: column !important;
    /* 啟用 border-box 確保 padding 絕對不會被吃掉 */
    box-sizing: border-box !important;
    /* 🚨 終極物理留白：強制要求 Icon、內容、CTA 之間必須有 32px 的間距 */
    gap: 32px !important;
    /* 🚨 四周創造 48px 的宏大留白，解決擁擠感 */
    padding: 48px 40px !important;
    min-height: 400px !important;
    /* 給予基本高度，撐開空間 */

    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease !important;
    will-change: box-shadow;
}

/* Hover 微互動：原地發光、邊框變色，消除暈眩跳動 */
html body .aveva-related-card:hover,
html body .aveva-related-card:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--aveva-accent) !important;
    box-shadow: 0 24px 50px rgba(197, 48, 255, 0.12) !important;
    outline: none !important;
}

/* 暗色 Icon 裝飾 */
html body .aveva-related-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--aveva-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    /* 移除 margin-bottom，完全交由外層的 gap: 32px 控制間距 */
    margin: 0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, color 0.4s ease;
}

html body .aveva-related-card:hover .card-icon {
    transform: scale(1.05);
    background: var(--aveva-accent);
    color: #ffffff;
}

html body .aveva-related-card .card-content {
    /* flex: 1 !important;  <-- 【刪除這行】不再硬把空間撐滿 */
    flex: 0 0 auto !important;
    /* 改為自然高度 */
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding-bottom: 0 !important;
    /* 【修改】因為不貼底了，不需要底部防禦牆 */
}

/* 英文小標、標題、內文維持原樣... */
html body .aveva-related-card .card-en-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body-light);
    letter-spacing: 0.05em;
    margin: 0 !important;
}

html body .aveva-related-card .card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 !important;
    transition: color 0.3s ease;
}

html body .aveva-related-card:hover .card-title {
    color: var(--aveva-accent) !important;
}

html body .aveva-related-card .card-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body-light);
    margin: 0 !important;
}

/* 🚨 內部行內 CTA 按鈕 (絕對貼底) */
html body .aveva-related-card .card-cta {
    /* margin-top: auto !important; <-- 【刪除這行彈簧設定】 */
    margin-top: 32px !important;
    /* 【新增】與上方文案保持完美的 32px 呼吸距離 */
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    font-family: 'Fira Code', monospace;
    transition: color 0.3s ease;
}

html body .aveva-related-card .cta-arrow {
    margin-left: 8px;
    color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Hover 特效維持不變... */
html body .aveva-related-card:hover .card-cta,
html body .aveva-related-card:hover .cta-arrow {
    color: var(--aveva-accent) !important;
}

html body .aveva-related-card:hover .cta-arrow {
    transform: translateX(6px);
}

/* --- RWD 響應式優雅降級 --- */
@media (max-width: 1024px) {
    .aveva-related-grid {
        gap: 20px;
    }

    /* 平板稍微縮小內邊距，但依然保持 gap 物理距離 */
    html body .aveva-related-card {
        padding: 32px 24px !important;
        gap: 24px !important;
        min-height: 320px !important;
    }
}

@media (max-width: 768px) {
    .aveva-related-grid {
        grid-template-columns: 1fr;
        /* 手機端轉為單欄垂直堆疊 */
    }
}

/* ==========================================================================
   意圖導向模組 (Intent-driven Related Solutions)
   ========================================================================== */

/* 1. Header 區域絕對置中防禦 */
.aveva-intent-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 56px;
    width: 100%;
}

.aveva-intent-header .aveva-category-title {
    color: #ffffff;
    margin-bottom: 16px;
}

.aveva-intent-header .aveva-intent-desc {
    max-width: 720px;
    /* 縮窄行寬，提升閱讀專注度 */
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-light);
}

/* 2. 意圖網格佈局 (Bento Grid) */
.aveva-intent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* 3. SaaS 質感卡片本體 */
.aveva-intent-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    min-height: 320px;

    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none !important;

    /* 零 CLS 效能：僅針對 GPU 可硬體加速的屬性作動畫 */
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    will-change: transform, box-shadow, border-color;
}

/* Hover 微互動：邊框發光與輕微上浮 */
.aveva-intent-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--aveva-accent);
    /* 點亮 aveva 橘色 */
    box-shadow: 0 16px 40px rgba(197, 48, 255, 0.12);
    /* 柔和橘色光暈 */
    transform: translateY(-4px);
    outline: none;
}

/* 4. 卡片頂部 (Icon + Arrow) */
.intent-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.intent-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--aveva-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.aveva-intent-card:hover .intent-icon {
    background: var(--aveva-accent);
    color: #ffffff;
    transform: scale(1.05);
}

/* 頂角導航箭頭 (MongoDB Style) */
.intent-arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.aveva-intent-card:hover .intent-arrow {
    color: var(--aveva-accent);
    /* 往右上角彈射的微動畫 */
    transform: translate(4px, -4px);
}

/* 5. 內容區塊 */
.intent-content {
    flex: 1 1 auto;
    /* 允許自然推擠，不強制填滿 */
    display: flex;
    flex-direction: column;
}

.intent-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.aveva-intent-card:hover .intent-title {
    color: var(--aveva-accent);
}

.intent-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body-light);
    margin: 0;
}

/* 6. 底部產品標籤 (Product Tag) */
.intent-product-tag {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    /* 讓標籤寬度隨內容收縮，不要佔滿整行 */
    transition: border-color 0.3s ease;
}

.intent-product-tag .tag-label {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aveva-intent-card:hover .intent-product-tag {
    border-color: rgba(197, 48, 255, 0.4);
}

/* 7. RWD 響應式優雅降級 */
@media (max-width: 1024px) {
    .aveva-intent-grid {
        gap: 20px;
    }

    .aveva-intent-card {
        padding: 32px 24px;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .aveva-intent-grid {
        grid-template-columns: 1fr;
        /* 手機端轉為單欄垂直堆疊 */
    }

    .intent-title {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   意圖導向生態系模組 (Intent-driven Ecosystem & Slider)
   ========================================================================== */

/* --- 1. Header 與 Pills (Tab) --- */
.aveva-intent-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
}

.aveva-intent-header .aveva-category-title {
    color: #ffffff;
    margin-bottom: 24px;
}

.aveva-intent-header .aveva-intent-desc {
    max-width: 720px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-light);
}

/* 現代化 Pill Tabs 容器 */
.aveva-intent-tabs {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

/* 獨立 Pill 按鈕 */
.intent-tab-pill {
    background: transparent;
    border: none;
    color: var(--text-body-light);
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 99px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.intent-tab-pill:hover {
    color: #ffffff;
}

.intent-tab-pill.is-active {
    background: var(--aveva-accent);
    /* 點亮 aveva 橘色 */
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(197, 48, 255, 0.4);
}

/* --- 2. 內容展示區與 Slider Track --- */
.aveva-intent-panes {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    /* 🚨 解決 RWD 炸版的關鍵：防止 Grid 子元素無限制擴展 */
}

.intent-pane {
    grid-area: 1 / 1;
    width: 100%;
    min-width: 0;
    /* 🚨 解決 RWD 炸版的關鍵 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.intent-pane.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* 滑動容器 Wrapper */
.aveva-intent-slider-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
    /* 🚨 解決 RWD 炸版的關鍵 */
}

/* 橫向滑動軌道 (Safe Bleed) */
.aveva-intent-slider-track {
    display: flex;
    width: 100%;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 24px;
    /* 預留卡片陰影空間 */
}

.aveva-intent-slider-track::-webkit-scrollbar {
    display: none;
}

/* --- 3. 電腦版專屬：底部導航按鈕 (Bottom Navigation) --- */
.aveva-intent-slider-wrapper .intent-slider-controls.desktop-only {
    display: flex !important;
    justify-content: center !important;
    /* 完美水平置中 */
    align-items: center !important;
    flex-wrap: nowrap !important;
    /* 強制不折行，杜絕上下交疊 */
    gap: 24px !important;
    /* 適當加大間距，符合費茲定律，降低誤觸率 */
    margin-top: 40px !important;
    /* 與上方卡片拉開舒適的呼吸空間 */
    padding: 0 !important;
    /* 移除原本偏右的 padding-right，確保絕對對稱 */
    width: 100% !important;
}

.intent-slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(115, 130, 148, 0.85);
    /* 深藍色毛玻璃 */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.intent-slider-btn:hover {
    background: var(--aveva-accent);
    border-color: var(--aveva-accent);
    transform: translateY(-4px);
    /* Hover 時微幅上浮 */
    box-shadow: 0 8px 24px rgba(197, 48, 255, 0.4);
}

/* ==========================================================================
   意圖導向模組：SaaS 質感卡片 (徹底移除跳動版)
   ========================================================================== */

/* 1. 卡片本體：移除 transform 屬性的監聽，釋放瀏覽器渲染效能 */
.aveva-intent-card {
    flex: 0 0 350px;
    scroll-snap-align: start;

    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    min-height: 350px;

    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none !important;

    /* 🚨 效能優化：不再對 transform 進行動畫運算，僅監聽光影與顏色的改變 */
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
    will-change: box-shadow, border-color !important;
}

/* 2. Hover 微互動：原地發光、邊框點亮，徹底消滅上下跳動 */
.aveva-intent-card:hover,
.aveva-intent-card:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--aveva-accent) !important;
    /* 點亮 aveva 橘色 */
    box-shadow: 0 16px 40px rgba(197, 48, 255, 0.12) !important;
    /* 柔和橘色光暈 */
    transform: none !important;
    /* 🚨 終極防禦：強制擊碎所有潛在的 translateY 污染 */
    outline: none !important;
}

/* （備註：卡片內部的 .intent-icon 微放大與 .intent-arrow 箭頭射出動畫請保持原樣，
   這是非常高質感的局部互動，能有效提升點擊慾望而不破壞排版穩定性。） */

/* 卡片頂部 (Icon + Arrow) */
.intent-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.intent-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--aveva-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.aveva-intent-card:hover .intent-icon {
    background: var(--aveva-accent);
    color: #ffffff;
    transform: scale(1.05);
}

.intent-arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.aveva-intent-card:hover .intent-arrow {
    color: var(--aveva-accent);
    transform: translate(4px, -4px);
}

/* 內容區塊 */
.intent-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.intent-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.aveva-intent-card:hover .intent-title {
    color: var(--aveva-accent);
}

.intent-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body-light);
    margin: 0;
}

/* 底部產品標籤 (Product Tag) */
.intent-product-tag {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    transition: border-color 0.3s ease;
}

.intent-product-tag .tag-label {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aveva-intent-card:hover .intent-product-tag {
    border-color: rgba(197, 48, 255, 0.4);
}

/* --- 5. RWD 響應式優雅降級 --- */
@media (max-width: 1024px) {

    /* 平板端隱藏左右實體按鈕，依賴原生滑動 */
    .desktop-only {
        display: none !important;
    }

    .aveva-intent-card {
        flex: 0 0 300px;
        /* 稍微縮小卡片 */
        padding: 28px 24px;
        min-height: 300px;
    }
}

@media (max-width: 768px) {

    /* 🎯 關鍵修復：手機端 Tab 強制轉為 2x2 對稱網格，徹底消滅滑動！ */
    .aveva-intent-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border-radius: 16px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.05);
    }

    .intent-tab-pill {
        width: 100%;
        text-align: center;
        white-space: normal;
        /* 允許文字折行 */
        font-size: 0.95rem;
        padding: 10px 8px;
        border-radius: 12px;
        line-height: 1.3;
    }

    .aveva-intent-card {
        flex: 0 0 280px;
        /* 手機端再縮小卡片，確保能完整暗示右側還有東西 */
    }

    .intent-title {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   全域顯示控制 (Global Display Utilities & RWD Fix)
   ========================================================================== */

/* 預設狀態 (Desktop First)：顯示桌機版，隱藏手機版結構 */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

/* 斷點觸發 (Tablet & Mobile)：隱藏桌機版，喚醒手機版結構 */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }

    /* 🚨 修正關鍵：喚醒被隱藏的行內圖片與手機專屬佈局 */
    .mobile-only {
        display: block !important;
    }
}

/* 確保手機版圖片容器的間距與圓角質感 */
.mobile-inline-visual {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background-color: var(--bg-dark-surface);
    /* 預防載入前的空洞感 */
}

.mobile-inline-visual img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   aveva Plan Selection Cards Module (方案比較卡片模組)
   ========================================================================== */

/* 網格容器 */
.aveva-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
    margin-top: 3rem;
}

/* 卡片基礎樣式 */
.aveva-plan-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aveva-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* 卡片頭部 */
.aveva-plan-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.aveva-plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.aveva-plan-badge {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 500;
}

/* 卡片描述 */
.aveva-plan-desc {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* 特點列表區域 */
.aveva-feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aveva-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aveva-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #444444;
}

.aveva-feature-item:last-child {
    margin-bottom: 0;
}

.aveva-feature-icon {
    margin-right: 10px;
    flex-shrink: 0;
    color: #28a745;
}

/* ==========================================================================
   Highlight / Recommended Card (熱門/推薦方案高光樣式)
   ========================================================================== */

.aveva-plan-card.is-popular {
    border: 2px solid var(--aveva-primary, #0056b3);
    box-shadow: 0 12px 30px rgba(0, 86, 179, 0.12);
    transform: translateY(-10px);
}

.aveva-plan-card.is-popular:hover {
    transform: translateY(-15px);
    box-shadow: 0 16px 40px rgba(0, 86, 179, 0.18);
}

.aveva-plan-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--aveva-primary, #0056b3);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.aveva-plan-card.is-popular .aveva-plan-title {
    color: var(--aveva-primary, #0056b3);
}

.aveva-plan-card.is-popular .aveva-plan-desc {
    color: #333333;
    font-weight: 500;
}

.aveva-plan-card.is-popular .aveva-feature-item {
    color: #111111;
    font-weight: 500;
}

.aveva-plan-card.is-popular .aveva-feature-icon {
    color: var(--aveva-primary, #0056b3);
}

/* ==========================================================================
   Plan Disclaimer Pill (獨立的免責膠囊，相容深色/淺色)
   ========================================================================== */
.aveva-plan-disclaimer {
    display: inline-flex;
    align-items: center;
    background: rgba(128, 128, 128, 0.15);
    /* 採用中性透明灰，無論深淺背景都能自然融入 */
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: inherit;
    /* 繼承父層文字顏色 (深色區塊自動變白) */
    text-align: left;
}

.aveva-plan-disclaimer svg {
    margin-right: 10px;
    flex-shrink: 0;
    opacity: 0.8;
}

.aveva-plan-disclaimer a {
    font-weight: 600;
    color: var(--aveva-primary-light, #66b2ff);
    /* 使用你 CSS 既有的亮色變數或柔和藍色 */
    text-decoration: none;
    margin-left: 4px;
    margin-right: 4px;
}

.aveva-plan-disclaimer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 手機版適配 */
@media (max-width: 768px) {
    .aveva-plan-card.is-popular {
        transform: translateY(0);
    }

    .aveva-plan-card.is-popular:hover {
        transform: translateY(-5px);
    }

    .aveva-plan-grid {
        gap: 2.5rem;
    }
}

/* --- 現代化規格矩陣 (Unified Spec Matrix) --- */
:root {
    --matrix-border: #e2e8f0;
    --matrix-bg-hover: rgba(61, 17, 82, 0.03);
    /* aveva 品牌色的極淡透明度 */
    --matrix-text-main: #1e293b;
    /* 拒絕純黑，使用高質感深灰 */
    --matrix-text-muted: #64748b;
    --aveva-brand: #3D1152;
}

.aveva-matrix-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--matrix-border);
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

/* 手機版橫向滾動保護設定 */
.aveva-matrix-grid {
    /* 欄數與寬度預設值 (= 3 欄)，可用 .matrix-cols-2 / -3 / -4 class 覆寫，
       或直接用 inline style 蓋掉這幾個變數以支援任意欄數，詳見上方說明 */
    --matrix-cols: 3;
    --matrix-label-w: 280px;
    --matrix-col-min: 200px;
    --matrix-label-w-mobile: 140px;
    --matrix-col-min-mobile: 160px;

    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* iOS 順滑滾動 */
    position: relative;
}

.matrix-row {
    display: grid;
    /* 桌面版網格：左側標題欄固定寬，右側依 --matrix-cols 動態均分欄數 */
    grid-template-columns: var(--matrix-label-w) repeat(var(--matrix-cols), minmax(var(--matrix-col-min), 1fr));
    min-width: calc(var(--matrix-label-w) + var(--matrix-cols) * var(--matrix-col-min));
    /* 強制在窄螢幕啟動橫向滾動 */
    border-bottom: 1px solid var(--matrix-border);
    transition: background-color 0.3s ease;
}

/* 滑鼠懸停的微互動 (Micro-interaction) */
.matrix-row:not(.matrix-header-row):hover {
    background-color: var(--matrix-bg-hover);
}

.matrix-cell {
    padding: 20px 24px;
    color: var(--matrix-text-main);
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 凍結左側第一欄 (Frozen Column) 提升 UX */
.label-col {
    position: sticky;
    left: 0;
    background: #ffffff;
    /* 必須加上背景色防透視 */
    font-weight: 600;
    color: var(--aveva-brand);
    z-index: 10;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.03);
    /* 與右側區隔的極淡陰影 */
}

/* 當 Row 被 Hover 時，也要連帶改變凍結欄的背景 */
.matrix-row:not(.matrix-header-row):hover .label-col {
    background-color: #f8fafc;
}

/* 頂部凍結表頭 (Sticky Header) */
.matrix-header-row.sticky-top {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    /* 毛玻璃效果 */
    -webkit-backdrop-filter: blur(8px);
    z-index: 20;
    border-bottom: 2px solid var(--matrix-border);
}

.matrix-header-row .label-col {
    z-index: 21;
    /* 左上角交界處必須最高 */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    min-width: var(--matrix-label-w);
    /* 確保凍結欄寬度與 grid 欄寬精準對齊 */
}

.product-col {
    align-items: center;
    text-align: center;
    padding-top: 24px;
}

.product-thumb {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 圖片微互動 */
.product-col:hover .product-thumb {
    transform: translateY(-4px);
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #111827;
}

.port-badge {
    background: #f1f5f9;
    color: var(--matrix-text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* 區塊分類標題 */
.matrix-group-title {
    grid-column: 1 / -1;
    background: #f8fafc;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--matrix-text-muted);
    letter-spacing: 1px;
    border-bottom: 1px solid var(--matrix-border);
    position: sticky;
    left: 0;
}

/* 輔助文字與樣式 */
.spec-note {
    font-size: 13px;
    font-weight: 400;
    color: var(--matrix-text-muted);
    margin-top: 4px;
}

.text-muted {
    color: var(--matrix-text-muted);
}

.highlight-text {
    color: #059669;
    /* 翡翠綠，強調獨特優勢 */
    font-weight: 600;
}

.check-icon {
    color: #C530FF;
    /* aveva 輔助色 */
    font-weight: bold;
    margin-right: 4px;
}

/* 乾淨的列表樣式 */
.clean-list {
    margin: 0;
    padding-left: 20px;
}

.clean-list li {
    margin-bottom: 8px;
}

.clean-list li:last-child {
    margin-bottom: 0;
}

/* 底部 CTA 區塊 */
.matrix-footer-cta {
    position: sticky;
    left: 0;
    padding: 32px 24px;
    background: #ffffff;
    text-align: center;
    border-top: 1px solid var(--matrix-border);
}

.matrix-footer-cta p {
    color: var(--matrix-text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

/* 手機版適配 (RWD) */
@media (max-width: 991px) {
    .aveva-matrix-wrapper {
        border-radius: 12px;
        margin: 0 -15px;
        /* 在手機版打破 Container 限制，實現滿版橫向滑動 */
        border-left: none;
        border-right: none;
    }

    .matrix-row {
        /* 左側縮減，確保滑動手感；同樣依 --matrix-cols 動態均分右側欄數 */
        grid-template-columns: var(--matrix-label-w-mobile) repeat(var(--matrix-cols), minmax(var(--matrix-col-min-mobile), 1fr));
        min-width: calc(var(--matrix-label-w-mobile) + var(--matrix-cols) * var(--matrix-col-min-mobile));
    }

    .matrix-header-row .label-col {
        min-width: var(--matrix-label-w-mobile);
    }

    .matrix-cell {
        padding: 16px;
        font-size: 14px;
    }

    .product-thumb {
        width: 80px;
    }

    .product-name {
        font-size: 16px;
    }
}

/* ==========================================================================
   AI Assistant Layout (aveva-ai-assistant)
   ========================================================================== */

/* --- 依據 aveva 品牌色彩設定 --- */
.aveva-ai-assistant {
    --aveva-primary: #3D1152;
    /* 深藍色 */
    --aveva-accent: #C530FF;
    /* 橘色 */
    --text-heading-dark: #1f2937;
    --text-body-dark: #4b5563;
    --bg-hover: rgba(61, 17, 82, 0.03);
    --transition-fast: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    padding: 120px 5%;
    background-color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.aveva-ai-assistant.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.aveva-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* 標題區塊絕對置中防禦 */
.ai-assistant-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.ai-assistant-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-heading-dark);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ai-assistant-header p {
    font-size: 1.125rem;
    color: var(--text-body-dark);
    line-height: 1.8;
}

/* 佈局網格 */
.ai-assistant-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* 讓右側 GIF 舞台稍微寬一點 */
    gap: 80px;
    align-items: center;
}

/* 左側列表：捨棄卡片，改用隱形引導線 */
.ai-scenario-list {
    display: flex;
    flex-direction: column;
    border-left: 2px solid rgba(61, 17, 82, 0.1);
    /* 淡淡的 aveva 藍色引導線 */
}

.ai-scenario-item {
    all: unset;
    /* 重置 Button 預設樣式 */
    box-sizing: border-box;
    padding: 32px 24px 32px 32px;
    cursor: pointer;
    position: relative;
    margin-left: -2px;
    /* 覆蓋底層邊線 */
    border-left: 2px solid transparent;
    transition: var(--transition-fast);
}

.ai-scenario-item:hover {
    background-color: var(--bg-hover);
}

/* 啟用狀態：點亮橘色飾條 */
.ai-scenario-item.is-active {
    background: linear-gradient(90deg, rgba(197, 48, 255, 0.05) 0%, transparent 100%);
    border-left-color: var(--aveva-accent);
}

/* 內容排版 */
.scenario-title {
    font-size: 1.35rem;
    color: var(--text-heading-dark);
    margin: 0 0 12px 0;
    font-weight: 800;
    transition: color 0.3s ease;
}

.ai-scenario-item.is-active .scenario-title {
    color: var(--aveva-primary);
}

.scenario-painpoint {
    font-size: 1rem;
    color: var(--text-body-dark);
    margin-bottom: 16px;
    line-height: 1.6;
}

.scenario-painpoint strong {
    color: var(--text-heading-dark);
}

/* AI 對話框 UI (轉化率核心) */
.scenario-prompt {
    display: inline-flex;
    align-items: flex-start;
    background: rgba(61, 17, 82, 0.04);
    border: 1px solid rgba(61, 17, 82, 0.1);
    padding: 16px 20px;
    border-radius: 12px 12px 12px 4px;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.ai-scenario-item.is-active .scenario-prompt {
    background: #ffffff;
    border-color: var(--aveva-accent);
    box-shadow: 0 8px 24px rgba(197, 48, 255, 0.1);
}

.prompt-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    margin-top: 2px;
}

.prompt-text {
    font-family: 'Fira Code', monospace, sans-serif;
    font-size: 0.95rem;
    color: var(--aveva-primary);
    font-weight: 600;
    line-height: 1.5;
}

/* AI 優勢：預設收合，點擊後展開，避免認知超載 */
.scenario-advantage {
    font-size: 1.05rem;
    color: var(--text-body-dark);
    line-height: 1.7;
    display: none;
}

.ai-scenario-item.is-active .scenario-advantage {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.scenario-advantage strong {
    color: var(--aveva-accent);
}

/* 右側展示舞台 (Zero CLS 設計) */
.ai-visual-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    /* 鎖定比例防抖動 */
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 24px 50px rgba(61, 17, 82, 0.08);
    /* 柔和品牌藍光暈 */
}

.ai-stage-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.ai-stage-media.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RWD 行動裝置防呆 (Mobile-First) */
@media (max-width: 1024px) {
    .ai-assistant-layout {
        grid-template-columns: 1fr;
        /* 轉為垂直堆疊 */
        gap: 48px;
    }

    /* 手機版將舞台移至上方，符合由上而下的閱讀邏輯 */
    .ai-visual-stage {
        order: -1;
    }

    .ai-scenario-list {
        border-left: none;
    }

    .ai-scenario-item {
        margin-left: 0;
        border-left: none;
        border-top: 1px solid rgba(61, 17, 82, 0.1);
        padding: 24px 0;
    }

    .ai-scenario-item.is-active {
        background: transparent;
        border-left-color: transparent;
    }
}

/* ==========================================================================
   RGS Tabs Layout (Video Style)
   ========================================================================== */
.rgs-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rgs-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.rgs-tab-item {
    flex: 1;
    text-align: center;
    padding: 20px 10px;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    user-select: none;
}

.rgs-tab-item i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.rgs-tab-item:hover,
.rgs-tab-item.is-active {
    color: var(--aveva-accent);
}

.rgs-tab-item:hover i,
.rgs-tab-item.is-active i {
    color: var(--aveva-accent);
}

.rgs-tabs-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: var(--aveva-accent);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rgs-tabs-content-wrapper {
    padding: 40px;
    min-height: 400px;
}

.rgs-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.rgs-tab-pane.is-active {
    display: block;
}

.rgs-tab-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.rgs-tab-col-img {
    flex: 1 1 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rgs-tab-col-img img {
    width: 100%;
    height: auto;
    display: block;
}

.rgs-tab-col-text {
    flex: 1 1 300px;
}

.rgs-tab-title {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.rgs-tab-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .rgs-tabs-nav {
        flex-direction: column;
    }

    .rgs-tab-item {
        justify-content: flex-start;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .rgs-tab-item:last-child {
        border-bottom: none;
    }

    .rgs-tabs-indicator {
        display: none;
    }

    .rgs-tab-item.is-active {
        background-color: rgba(255, 255, 255, 0.1);
        border-left: 4px solid var(--aveva-accent);
    }

    .rgs-tabs-content-wrapper {
        padding: 20px;
    }

    .rgs-tab-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   RGS Architecture Showcase (Namespace: .aveva-arch-)
   ========================================================================== */
.aveva-arch-header {
    text-align: center;
    margin-bottom: 40px;
}

.aveva-arch-header .aveva-category-title {
    margin: 16px 0;
}

.aveva-arch-desc {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
}

/* 現代化 Pill Toggle 切換器 */
.aveva-arch-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.aveva-arch-toggle {
    display: inline-flex;
    background: #f1f5f9;
    /* 極淡的科技灰底 */
    padding: 6px;
    border-radius: 99px;
    border: 1px solid var(--border-light);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.arch-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 12px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-body-dark);
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-toggle-btn:hover {
    color: var(--aveva-primary);
    /* #3D1152 */
}

.arch-toggle-btn.is-active {
    background: #ffffff;
    color: var(--aveva-primary);
    box-shadow: 0 4px 16px rgba(61, 17, 82, 0.1);
}

.arch-toggle-btn.is-active svg {
    color: var(--aveva-accent);
    /* #C530FF 點綴 */
}

/* 🚨 效能核心：0-CLS Grid 疊加舞台 */
.aveva-arch-stage {
    display: grid;
    max-width: 1000px;
    margin: 0 auto;
}

.arch-pane {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px) scale(0.98);
    /* 僅對 opacity 與 transform 進行硬體加速轉場 */
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    will-change: opacity, transform;
}

.arch-pane.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    z-index: 2;
}

/* 覆寫 Mockup 內部設定，讓圖片完美貼合 */
.arch-pane .prod-ui-mockup {
    transform: none !important;
    /* 取消原本 Z-pattern 的 3D 傾斜 */
    background: #ffffff;
}

.arch-pane .mockup-body-image {
    padding: 0;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* 給予固定比例防呆，避免載入前的尺寸塌陷 */
    aspect-ratio: 16 / 9;
}

.arch-pane .mockup-body-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    cursor: zoom-in;
}

.arch-pane-caption {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-body-dark);
    font-weight: 500;
}

/* 行動裝置防呆 (Mobile-First) */
@media (max-width: 768px) {
    .aveva-arch-toggle {
        width: 100%;
        flex-direction: column;
        border-radius: 16px;
    }

    .arch-toggle-btn {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }

    .arch-pane .mockup-body-image {
        aspect-ratio: auto;
        min-height: 250px;
    }

    .arch-pane .mockup-body-image img {
        padding: 16px;
    }
}

/* ==========================================================================
   Feature Banner Layout (Light Card UI)
   ========================================================================== */
.aveva-feature-banner {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    /* Light aesthetic */
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-top: 40px;
}

.aveva-feature-banner .banner-header {
    margin-bottom: 40px;
}

.aveva-feature-banner .banner-body {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.aveva-feature-banner .banner-points {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.aveva-feature-banner .banner-visual {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aveva-feature-banner .banner-visual svg {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.05));
}

.aveva-feature-banner .banner-visual svg:hover {
    transform: translateY(-8px);
}

.aveva-feature-banner .banner-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 16px;
    line-height: 1.3;
}

.aveva-feature-banner .banner-subtitle {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 40px;
}

.aveva-feature-banner .banner-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.aveva-feature-banner .point-item {
    border-left: 3px solid rgba(0, 0, 0, 0.08);
    padding-left: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aveva-feature-banner .point-item:hover {
    transform: translateY(-4px);
    border-left-color: var(--aveva-accent);
}

.aveva-feature-banner .point-title {
    font-size: 1.125rem;
    color: #333333;
    font-weight: 600;
    margin-bottom: 8px;
}

.aveva-feature-banner .point-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .aveva-feature-banner {
        padding: 40px 24px;
    }

    .aveva-feature-banner .banner-body {
        flex-direction: column;
    }
}

/* ==========================================================================
   無界線字體排印流模組 (Zero-Box Typographic Flow)
   Namespace: .aveva-prod-list-
   ========================================================================== */

/* --- Header 排版防禦 --- */
.aveva-prod-list-header {
    text-align: center;
    margin-bottom: 56px;
}

.aveva-prod-list-header .aveva-category-title {
    margin-bottom: 16px;
    text-align: center;
}

.aveva-prod-list-header .list-header-desc {
    max-width: 800px;
    margin: 0 auto;
    text-align: center !important;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    padding: 0 20px;
}

/* --- 核心清單容器 --- */
.aveva-prod-list-core {
    display: flex;
    flex-direction: column;
    /* 頂部基準線 */
    border-top: 1px solid rgba(61, 17, 82, 0.15);
}

/* 🚨 核心微互動：純 CSS 智慧聚焦 (Focus Hover) */
/* 當游標進入母容器，把「沒有被懸停」的列變暗 */
.aveva-prod-list-core:hover .prod-list-row:not(:hover) {
    opacity: 0.3;
    transform: scale(0.99); /* 微縮以強化聚焦深度 */
}

/* --- 單一橫向列 (Grid) --- */
.prod-list-row {
    display: grid;
    /* 三欄比例：Icon (80px) | 標題區 (1fr) | 內文區 (1.8fr) */
    grid-template-columns: 80px 1fr 1.8fr;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(61, 17, 82, 0.15);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    will-change: opacity, transform;
}

/* --- 左側：圖示區塊 --- */
.prod-list-row .row-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(61, 17, 82, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aveva-primary); /* #3D1152 */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-list-row:hover .row-icon {
    background: var(--aveva-primary);
    color: #ffffff;
    transform: scale(1.1) rotate(-4deg); /* 懸浮時圖示微放大與俏皮傾斜 */
    box-shadow: 0 16px 32px rgba(61, 17, 82, 0.2);
}

/* --- 中間：標題與標籤區塊 --- */
.prod-list-row .row-title-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.prod-list-row .row-tag {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--aveva-accent); /* #C530FF */
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.prod-list-row .row-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading-dark); 
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.prod-list-row:hover .row-title {
    color: var(--aveva-primary);
}

/* --- 右側：內文區塊 --- */
.prod-list-row .row-desc p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark); 
    margin: 0;
    padding-left: 24px;
    border-left: 2px solid transparent; /* 預留左側飾條空間，保證零 CLS */
    transition: border-color 0.4s ease;
}

.prod-list-row:hover .row-desc p {
    border-left-color: var(--aveva-accent); /* 懸停時點亮橘色引導線 */
}

/* ==========================================================================
   RWD 行動裝置防呆 (Mobile-First Traps 防禦)
   ========================================================================== */
@media (max-width: 1024px) {
    .prod-list-row {
        /* 平板尺寸：將內文移到下方，維持兩欄結構 */
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
        gap: 24px;
        padding: 40px 0;
    }
    
    .prod-list-row .row-desc {
        grid-column: 1 / -1; /* 內文橫跨兩欄 */
    }
    .prod-list-row .row-desc p {
        padding-left: 0;
        border-left: none;
    }
}

@media (max-width: 768px) {
    /* 手機尺寸：徹底轉為單欄堆疊，並解除 Focus Hover 避免觸控誤判 */
    .aveva-prod-list-core:hover .prod-list-row:not(:hover) {
        opacity: 1; 
        transform: scale(1);
    }
    
    .prod-list-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 0;
    }
    
    .prod-list-row .row-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }
    
    .prod-list-row .row-title {
        font-size: 1.35rem;
    }
    
    .prod-list-row .row-desc p {
        font-size: 1.05rem;
    }
}
/* ==========================================================================
   架構圖與版面 (Architecture Pane Layout)
   ========================================================================== */
.arch-pane-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 24px;
}



.arch-pane-content {
    text-align: left;
}

.arch-pane-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body-dark);
    margin-bottom: 32px;
}

.arch-flow-box {
    background: #f8fafc;
    border-left: 4px solid var(--aveva-accent);
    padding: 24px;
    border-radius: 0 8px 8px 0;
}

.arch-flow-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-heading-dark);
    margin-bottom: 16px;
}

.arch-flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.arch-flow-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body-dark);
    position: relative;
    padding-left: 20px;
}

.arch-flow-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--aveva-accent);
    font-weight: bold;
}

.arch-flow-list li strong {
    color: var(--aveva-primary);
    font-weight: 700;
}

@media (max-width: 992px) {
    .arch-pane-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/* ==========================================================================
   Image Protection (Prevent drag & select)
   ========================================================================== */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}

/* --- Interactive Solution Container (Option C) --- */
.interactive-solution-container {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    align-items: flex-start;
}
.solution-steps.interactive {
    flex: 1;
    margin-top: 0;
}
.solution-steps.interactive .step-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.solution-steps.interactive .step-item:hover,
.solution-steps.interactive .step-item.is-active {
    border-color: var(--aveva-primary, #0056b3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateX(4px);
}
.solution-image-showcase {
    flex: 1.2;
    position: relative;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.showcase-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    max-width: 90%;
    max-height: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.showcase-img.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.mobile-step-img {
    margin-top: 16px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: #f8fafc;
    display: none;
}
@media (max-width: 768px) {
    .mobile-step-img {
        display: block;
    }
    .interactive-solution-container {
        flex-direction: column;
    }
    .solution-image-showcase {
        display: none !important;
    }
    .solution-steps.interactive .step-item {
        transform: none !important;
        cursor: default;
    }
}

/* ==========================================================================
   InTouch HDC 行星旋轉轉盤與沉浸閱讀艙 (HDC Wheel Showcase - 絕對隔離不受干擾)
   ========================================================================== */
.aveva-wheel-showcase-wrapper {
    margin-top: 48px;
    margin-bottom: 24px;
}
.aveva-wheel-container {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 56px;
    align-items: center;
    min-height: 480px;
}
/* 左側轉盤主區 */
.aveva-wheel-visual {
    position: relative;
    width: 440px;
    height: 440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aveva-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    margin-top: -170px;
    margin-left: -170px;
    border-radius: 50%;
    border: 2px dashed #cbd5e1;
    transition: transform 0.65s cubic-bezier(0.34, 1.3, 0.64, 1);
    transform-origin: center center;
}
/* 外圈行星按鈕 */
.aveva-wheel-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 94px;
    height: 94px;
    margin-top: -47px;
    margin-left: -47px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transition: all 0.35s ease;
    transform-origin: 47px 47px;
    transform: rotate(var(--angle)) translate(170px);
    padding: 0;
}
.aveva-wheel-node:hover {
    border-color: #38bdf8;
    box-shadow: 0 10px 24px rgba(61, 17, 82, 0.16);
}
.aveva-wheel-node.active {
    background: linear-gradient(135deg, #3D1152 0%, #011b47 100%);
    border: 3px solid #38bdf8;
    box-shadow: 0 10px 28px rgba(61, 17, 82, 0.4);
    z-index: 10;
}
.node-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: transform 0.65s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: color 0.3s;
}
.aveva-wheel-node.active .node-icon {
    color: #38bdf8;
}
.node-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 5px;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s;
}
.aveva-wheel-node.active .node-label {
    color: #ffffff;
    font-weight: 800;
}

/* 中央數據大腦中樞 */
.aveva-wheel-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 154px;
    height: 154px;
    margin-top: -77px;
    margin-left: -77px;
    background: radial-gradient(circle, #3D1152 0%, #021638 100%);
    border: 3px solid #10b981;
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(61, 17, 82, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}
.hub-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hub-radar {
    animation: avevaRadarSpin 12s linear infinite;
}
@keyframes avevaRadarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hub-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    margin-top: 6px;
    letter-spacing: 0.5px;
}
.hub-title span {
    color: #10b981;
    font-size: 11px;
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

/* 右側沉浸式焦點閱讀艙 */
.aveva-wheel-stage {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
    padding: 44px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.aveva-wheel-stage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3D1152, #10b981, #38bdf8);
}
.aveva-stage-panel {
    display: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.aveva-stage-panel.active {
    display: block;
    animation: avevaPanelFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes avevaPanelFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.panel-tag {
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 800;
    font-size: 13.5px;
    padding: 5px 15px;
    border-radius: 100px;
    border: 1px solid #bae6fd;
    letter-spacing: 0.5px;
}
.panel-num {
    color: #94a3b8;
    font-weight: 800;
    font-size: 14px;
    font-family: monospace;
}
.panel-title {
    font-size: 23px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 22px;
}
.panel-desc p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}
.panel-highlight {
    background: #f8fafc;
    border-left: 4px solid #10b981;
    padding: 16px 22px;
    border-radius: 0 12px 12px 0;
    font-size: 15.5px;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* 底部控制列 */
.aveva-stage-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.aveva-stage-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}
.stage-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stage-dot.active {
    width: 28px;
    background: #3D1152;
}
.aveva-stage-arrows {
    display: flex;
    gap: 12px;
}
.stage-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.stage-arrow:hover {
    background: #f0f9ff;
    color: #3D1152;
    border-color: #38bdf8;
    transform: translateY(-2px);
}

/* 響應式配置 (平板與行動端自動完美優化) */
@media (max-width: 991px) {
    .aveva-wheel-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .aveva-wheel-visual {
        width: 320px;
        height: 320px;
    }
    .aveva-orbit-ring {
        width: 250px;
        height: 250px;
        margin-top: -125px;
        margin-left: -125px;
    }
    .aveva-wheel-hub {
        width: 114px;
        height: 114px;
        margin-top: -57px;
        margin-left: -57px;
    }
    .hub-title {
        font-size: 13px;
    }
    .aveva-wheel-node {
        width: 76px;
        height: 76px;
        margin-top: -38px;
        margin-left: -38px;
        border-radius: 20px;
        transform-origin: 38px 38px;
        transform: rotate(var(--angle)) translate(125px);
    }
    .node-label {
        font-size: 11px;
        margin-top: 3px;
    }
    .node-icon svg {
        width: 22px;
        height: 22px;
    }
    .aveva-wheel-stage {
        padding: 30px;
        min-height: auto;
    }
    .panel-title {
        font-size: 20px;
    }
}
@media (max-width: 480px) {
    /* 手機窄頻時自動切換為高體驗觸控對齊面板，避免圓輪在小螢幕指尖打架 */
    .aveva-wheel-visual {
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-bottom: 4px;
    }
    .aveva-orbit-ring, .aveva-wheel-hub {
        display: none !important;
    }
    .aveva-wheel-node {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        width: calc(50% - 6px);
        height: 64px;
        border-radius: 14px;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
    }
    .aveva-wheel-node .node-content {
        flex-direction: row;
        gap: 8px;
        transform: none !important;
    }
    .node-label {
        margin-top: 0;
        font-size: 13px;
    }
}

/* ==========================================================================
   AVEVA 通用頁面模組體系 (AVEVA Universal Page Components)
   適用於所有 AVEVA 產品、解決方案與技術支援頁面
   ========================================================================== */

/* 1. 通用品牌變數與通用按鈕系統 */
:root {
    --aveva-brand-teal: #007b8a;
    --aveva-brand-teal-dark: #005f6b;
    --aveva-brand-teal-light: #0891b2;
    --aveva-bg-gray: #f9f9f9;
}

.aveva-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.aveva-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--aveva-brand-teal, #007b8a);
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--aveva-brand-teal, #007b8a);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.aveva-btn-primary:hover,
.aveva-btn-primary:focus {
    background-color: var(--aveva-brand-teal-dark, #005f6b);
    border-color: var(--aveva-brand-teal-dark, #005f6b);
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.aveva-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #ffffff;
    color: var(--aveva-brand-teal, #007b8a) !important;
    border: 2px solid var(--aveva-brand-teal, #007b8a);
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aveva-btn-outline:hover,
.aveva-btn-outline:focus {
    background-color: #f0f0f0;
    color: var(--aveva-brand-teal-dark, #005f6b) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* 2. 通用內容區塊、標題、排版與媒體模組 */
.aveva-content-section {
    padding: 60px 0;
}

.aveva-content-section.bg-alt {
    background-color: var(--aveva-bg-gray, #f9f9f9);
}

.aveva-section-header {
    margin-bottom: 24px;
}

.aveva-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222222;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.aveva-section-desc {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* 響應式嵌入影片容器 (16:9) */
.aveva-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.aveva-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 形象特色圖與向量圖容器 */
.aveva-feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.aveva-feature-image object,
.aveva-feature-image .aveva-success-svg {
    max-width: 360px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
}

.aveva-feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aveva-feature-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 3. 通用卡片模組系統 (Cards Grid Module) */
.aveva-cards-section {
    padding: 40px 0 60px;
}

.aveva-cards-header {
    margin-bottom: 40px;
    text-align: left;
}

.aveva-cards-row {
    margin-top: 40px;
}

.aveva-card-col {
    margin-bottom: 24px;
    display: flex;
}

.aveva-modern-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    overflow: hidden;
}

.aveva-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.aveva-card-img {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.aveva-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.aveva-modern-card .aveva-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222222;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.aveva-modern-card .aveva-card-desc {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* 4. 通用頁尾行動呼籲 CTA Banner 模組 */
.aveva-cta-banner-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 60px 20px;
    background: linear-gradient(270deg, #111111, #333333, #111111);
    background-size: 400% 400%;
    animation: aveva-gradient-move 12s ease infinite;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.aveva-cta-banner-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 135%;
    max-width: 1300px;
    height: 90%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.aveva-cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) contrast(1.1);
    transition: transform 8s ease;
    border-radius: 20px;
}

.aveva-cta-banner-section:hover .aveva-cta-banner-bg img {
    transform: scale(1.05);
}

.aveva-cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 123, 138, 0.15) 0%,
        transparent 30%,
        transparent 70%,
        rgba(251, 191, 36, 0.1) 100%
    );
    z-index: 2;
}

.aveva-cta-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.aveva-cta-banner-card {
    background: linear-gradient(135deg, rgba(45, 50, 55, 0.95) 0%, rgba(30, 35, 40, 0.92) 50%, rgba(25, 30, 35, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 36px 32px;
    max-width: 520px;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(60px);
}

.aveva-cta-banner-card:hover {
    transform: translateX(60px) translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.aveva-cta-banner-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #007b8a, #0891b2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 123, 138, 0.3);
}

.aveva-cta-banner-title {
    font-size: 28px;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aveva-cta-banner-desc {
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
    color: #d1d5db;
    opacity: 0.9;
}

.aveva-cta-banner-desc:last-of-type {
    margin-bottom: 24px;
}

.aveva-cta-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(90deg, #007b8a, #0891b2);
    color: #ffffff !important;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 123, 138, 0.3);
    border: none;
}

.aveva-cta-banner-btn:hover,
.aveva-cta-banner-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 123, 138, 0.45);
    background: linear-gradient(90deg, #005f6b, #0e7490);
    color: #ffffff !important;
    text-decoration: none !important;
}

@keyframes aveva-gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* RWD 響應式調整 */
@media (max-width: 991px) {
    .aveva-cta-banner-card {
        transform: none;
    }
    .aveva-cta-banner-card:hover {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .aveva-content-section {
        padding: 40px 0;
    }
    .aveva-cta-banner-section {
        min-height: 320px;
        padding: 40px 15px;
    }
    .aveva-cta-banner-title {
        font-size: 22px;
    }
    .aveva-cta-banner-bg {
        width: 95%;
        height: 85%;
    }
    .aveva-cta-banner-btn {
        width: 100%;
    }
}






/* 5. 通用服務方案比較表格模組 (Comparison Table Module) */
.aveva-table-wrapper {
    margin-top: 48px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.aveva-table-header-block {
    padding: 24px 24px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.aveva-table-header-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.aveva-table-header-desc {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
}

.aveva-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.aveva-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #334155;
    min-width: 700px;
}

.aveva-comparison-table thead th {
    padding: 18px 16px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    background-color: #ffffff;
}

.aveva-comparison-table thead th:first-child {
    text-align: left;
    padding-left: 24px;
    width: 46%;
}

.aveva-comparison-table thead th.th-standard {
    color: #007b8a;
    width: 18%;
    background-color: rgba(0, 123, 138, 0.04);
}

.aveva-comparison-table thead th.th-premium {
    color: #005f6b;
    width: 18%;
    background-color: rgba(0, 123, 138, 0.08);
}

.aveva-comparison-table thead th.th-elite {
    color: #3d1152;
    width: 18%;
    background-color: rgba(61, 17, 82, 0.06);
}

.aveva-comparison-table tbody tr.table-section-row td {
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.98rem;
    color: #0f172a;
    letter-spacing: 0.3px;
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.aveva-comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.aveva-comparison-table tbody tr:not(.table-section-row):hover {
    background-color: #f8fafc;
}

.aveva-comparison-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #edf2f7;
    text-align: center;
    vertical-align: middle;
}

.aveva-comparison-table tbody td:first-child {
    text-align: left;
    padding-left: 24px;
    color: #1e293b;
    font-weight: 500;
}

.aveva-comparison-table .feature-subtext {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
    font-weight: 400;
}

.aveva-comparison-table .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #dcfce7;
    color: #16a34a;
    font-weight: 800;
    font-size: 0.85rem;
}

.aveva-comparison-table .dash-icon {
    color: #94a3b8;
    font-weight: 600;
    font-size: 1.1rem;
}

.aveva-comparison-table .badge-value {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.85rem;
}

.aveva-comparison-table .badge-teal {
    background-color: #e0f2fe;
    color: #0369a1;
}

.aveva-comparison-table .badge-purple {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.aveva-table-footnotes {
    padding: 16px 24px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
}

.aveva-table-footnotes ol {
    margin: 0;
    padding-left: 18px;
}

.aveva-table-footnotes li {
    margin-bottom: 4px;
}
