 /* ==========================================

   Gold Sun Tech - 最終整合修正版

   ========================================== */


:root {

    --primary: #8f1ffc;        

    --accent: #d4af37;        

    --dark-bg: #0a0e14;         /* 基礎極深色 */

    --light-bg: #161b22;        /* 交替背景色 */

    --card-bg: #21262d;         /* 卡片背景 */

    --text-white: #f0f6fc;

    --text-muted: #8b949e;

    --border: #30363d;

   --grad: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);

}


* { box-sizing: border-box; }


html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

body {

    margin: 0;

    font-family: 'Inter', 'Segoe UI', "Microsoft JhengHei", sans-serif;

    background-color: var(--dark-bg);

    color: var(--text-white);

    line-height: 1.6;

    overflow-x: hidden;

}


/* --- 導航列 --- */

/* --- 導航列：完全對接 header.html 版 --- */
/* --- 導航列初始狀態 (透明) --- */
nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 8%; 
    height: 80px; 
    position: fixed; /* 確保在最上方 */
    top: 0; 
    width: 100%;
    z-index: 9999;
    /* 關鍵修改：初始背景透明，移除邊框 */
    background: transparent; 
    border-bottom: 1px solid transparent; 
    backdrop-filter: none; /* 一開始不需要模糊 */
    transition: all 0.4s ease;
}

/* --- 下滑後變紫色 + 金色邊框 (這部分保持不變) --- */
nav.scrolled {
    background: #1a0b2e !important; /* 紫色底 */
    height: 70px;
    border-bottom: 1.5px solid var(--accent) !important; /* 金色邊 */
    backdrop-filter: blur(12px); /* 下滑後才開啟模糊增加質感 */
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}
.nav-menu li {
    position: relative;
}

.nav-menu a:hover { color: var(--accent); }

/* 只有當 body 有 .inner-page 這個類別時，nav 才鎖死深灰 */
.inner-page nav {
    position: fixed !important;
    background-color: #1a0b2e !important; /* 你要的深灰 */
    transition: none !important;
}

/* 同理，只有內頁的內容需要推開高度 */
.inner-page main, 
.inner-page section:first-of-type {
    margin-top: 0px; 
}

/* 下拉選單處理 */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #11141a;
    /* 1. 修正：寬度設為 auto 並配合 white-space，讓框框隨文字撐開 */
    min-width: 220px; 
    width: max-content; 
    padding: 10px 0;
    border: 1px solid var(--accent);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 100;
    /* 2. 確保超出部分不顯示（預防萬一） */
    overflow: hidden; 
}

.submenu li a {
    /* 3. 修正：確保文字不會換行，且左右留有足夠內距 */
    display: block;
    padding: 12px 25px; 
    white-space: nowrap; 
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
}

.submenu li a:hover {
    background: rgba(214, 175, 55, 0.1); /* 滑過時有淡淡金光背景 */
    color: var(--accent);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 漢堡選單 CSS */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span { width: 25px; height: 3px; background: var(--accent); }

/* --- 強制修正手機版選單滑出 --- */
@media screen and (max-width: 992px) {
    /* 1. 初始狀態：藏在右邊螢幕外 */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* 絕對隱藏 */
        width: 280px !important;
        height: 100vh !important;
        background: #161b22 !important; /* 確保背景是不透明的深色 */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding-top: 100px !important;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 99999 !important; /* 確保在最上層 */
        margin: 0 !important;
        list-style: none !important;
    }

    /* 2. 啟動狀態：當有了 active 這個 class，強行推回螢幕 0 的位置 */
    .nav-menu.active {
        right: 0 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* 3. 選單內的文字顏色 */
    .nav-menu li a {
        color: white !important;
        font-size: 1.2rem !important;
        padding: 15px 0 !important;
        display: block !important;
    }

    /* 4. 漢堡按鈕要顯示出來 */
    .menu-toggle {
        display: flex !important;
        z-index: 100000 !important;
    }
}
/* --- 區塊 1：英雄區 (Hero) 修正版 --- */

.hero {

    /* 1. 佈局回歸置中 */

    height: 100vh; 

    display: flex; 

    flex-direction: column;

    align-items: center;      /* 水平置中 */

    justify-content: center;   /* 垂直置中 */

    text-align: center;       /* 文字置中 */

    padding: 0 10%;

    

    /* 2. 核心：三段式漸層遮罩 (重點在於不蓋死底圖) */

   background: 
        linear-gradient(
            to bottom, 
            rgba(5, 7, 10, 0.85) 0%,    /* 頂部深色，保護導航列 */
            rgba(5, 7, 10, 0.3) 35%,    /* 中間變亮，露出未來科技圖細節 */
            rgba(5, 7, 10, 0.3) 65%,    /* 維持亮度 */
            rgba(5, 7, 10, 0.8) 90%,    /* 底部開始轉深 */
            #05070a 100%                /* 完全融入背景色 */
        ),
        url('./images/hero-bg.jpg') center/cover no-repeat;

    

    background-attachment: fixed;

}


/* 確保標題與段落沒有被之前的 margin: 0 0 影響，回歸 auto */

.hero h1 {

    font-size: clamp(2.5rem, 5vw, 4rem);

    margin-bottom: 0.5rem;

    background: var(--grad);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    

    /* 核心修改：白色光圈效果 (水平 垂直 模糊半徑 顏色) */

    /* 這裡用了兩層，一層強光一層柔光，讓字體更閃耀 */

    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) 

            drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));

    

    font-weight: 800; /* 加粗一點點讓效果更明顯 */

}

.hero h2 {

    font-size: 1.8rem;

    margin-bottom: 1rem;

    color: #ffffff;

    font-weight: 600;

    

    /* 深色陰影：讓白字立體 */

    text-shadow: 2px 2px 15px rgba(0, 0, 0, 1), 

                 0 0 10px rgba(0, 0, 0, 0.5);

}


.hero p {

    color: #ffffff; /* 確保是純白 */

    font-size: 1.2rem;

    max-width: 750px;

    margin: 0 auto 1.5rem;

    

    /* 同樣加強黑影讀取度 */

    text-shadow: 1px 1px 8px rgba(0, 0, 0, 1);

}


/* --- 區塊 2：核心優勢 (背景較亮) --- */

.section-advantages {

    background-color: var(--light-bg);

    padding: 100px 8%;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}


.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; position: relative; }

.section-title::after { content: ""; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 50px; height: 4px; background: var(--grad); }


.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }


.feature-card {

    background: var(--card-bg); padding: 40px; border-radius: 15px; text-align: center;

    border: 1px solid var(--border); transition: 0.3s ease;

}


.feature-card:hover { transform: translateY(-10px); border-color: var(--accent); background: #2d333b; }


.feature-icon { width: 60px; height: 60px; margin-bottom: 20px; filter: drop-shadow(0 0 8px var(--accent)); }

/* 針對 Why Choose Us 這一區的區塊容器 */
.features-section {
    background: 
        /* 左上角與右下角的微弱深紫光暈，打破純黑 */
        radial-gradient(circle at 10% 20%, rgba(45, 0, 94, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(75, 0, 130, 0.3) 0%, transparent 40%),
        #0a0a0c; /* 底色維持極深的暗色，但不再是死黑 */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 修改 Hover 狀態，讓紫與金產生層次 */
.feature-card:hover {
    /* 背景轉為深紫色微光 */
    background: linear-gradient(145deg, rgba(143, 31, 252, 0.15) 0%, rgba(10, 10, 12, 0.4) 100%);
    
    /* 邊框轉為金色光芒 */
    border-color: #D4AF37; /* 經典金 */
    
    /* 加入多重陰影：紫色環境光 + 金色核心光 */
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(143, 31, 252, 0.3),  /* 紫色暈染 */
        0 0 5px rgba(212, 175, 55, 0.5);   /* 金色光邊 */
    
    transform: translateY(-12px) scale(1.02);
}

/* 讓卡片內的標題與圖示在 Hover 時同步發光 */
.feature-card:hover h3 {
    color: #D4AF37; /* 標題變金色 */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    filter: drop-shadow(0 0 8px rgba(143, 31, 252, 0.8)); /* 圖示發紫光 */
    transform: scale(1.1);
    transition: all 0.3s ease;
}
.product-matrix {
    background: linear-gradient(135deg, #2a2210 0%, #1a150a 100%); /* 濃郁的暗金/古銅底色 */
    padding: 100px 0;
    color: #f1f1f1;
	overflow: hidden;
}

/* 標題與小標：改用亮紫色來「跳」出來 */
.product-matrix .section-title {
    color: #fff;
    text-shadow: 0 0 15px rgba(143, 31, 252, 0.4); /* 亮紫霓虹感 */
}

.product-matrix .eyebrow {
    color: #bc6ff1; /* 亮紫色 */
    font-weight: 800;
    text-transform: uppercase;
}
/* 矩陣網格：加入 wrap 確保手機版自動換行 */
.product-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px;
    margin-top: 50px;
}
/* 產品卡片：在暗金底上使用深紫色的半透明感 */
.product-card {
	flex: 1;
    min-width: 300px; /* 關鍵：當空間小於 300px 就自動換行 */
    background: rgba(143, 31, 252, 0.05); 
    border: 1px solid rgba(143, 31, 252, 0.3); /* 紫色邊框 */
    border-radius: 12px;
    transition: all 0.4s ease;
	box-sizing: border-box; /* 確保內距不撐開寬度 */
	
}
/* 圖片防護：確保圖片永遠不會超出卡片 */
.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 30px;
}

/* Hover 效果：紫金撞色的最高點 */
.product-card:hover {
    background: rgba(143, 31, 252, 0.15);
    border-color: #f2d479; /* 移入時邊框變回亮金 */
    box-shadow: 0 15px 40px rgba(143, 31, 252, 0.3);
    transform: translateY(-10px);
}

/* 按鈕改為亮紫色 */
.btn-purple {
    background: #8f1ffc;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-purple:hover {
    background: #bc6ff1;
    box-shadow: 0 0 20px rgba(143, 31, 252, 0.6);
}
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }


.entry-card {

    height: 350px; border-radius: 25px; display: flex; align-items: flex-end; padding: 40px;

    background-size: cover; background-position: center; position: relative;

    overflow: hidden; border: 1px solid var(--border); transition: 0.5s ease;

}


.entry-card:hover { transform: scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }


.series-tag { background: var(--accent); font-size: 0.75rem; color: #fff; padding: 5px 15px; border-radius: 20px; margin-bottom: 15px; display: inline-block; font-weight: bold; }


/* --- 區塊 4：頁尾 --- */

.footer-cta {

    background: linear-gradient(180deg, var(--dark-bg) 0%, #000 100%);

    padding: 100px 8% 50px; text-align: center; border-top: 1px solid var(--border);

}


.footer-contact-box { display: flex; justify-content: center; gap: 80px; margin: 50px 0; }

.contact-item .label { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }

.contact-item .value { font-size: 1.4rem; font-weight: 700; color: var(--text-white); }


/* --- 按鈕容器與樣式 --- */

.cta-group {

    display: flex; gap: 20px; justify-content: center; margin-top: 30px; flex-wrap: wrap;

}


.btn {

    padding: 14px 32px; border-radius: 8px; font-size: 1rem; font-weight: 600;

    text-decoration: none; transition: all 0.3s ease; display: inline-flex;

    align-items: center; cursor: pointer; letter-spacing: 0.5px;

}


.btn-primary {

    background: var(--grad); color: #fff; border: none;

    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);

}


.btn-primary:hover {

    transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 168, 255, 0.5);

}


.btn-secondary {

    background: transparent; color: var(--accent); border: 1px solid var(--accent);

}


.btn-secondary:hover {

    background: rgba(0, 168, 255, 0.1); transform: translateY(-3px);

}


/* ==========================================

   按鈕詳細設定 - 修正版

   ========================================== */


/* 基礎按鈕樣式 */

/* --- 按鈕組區域 --- */

.cta-group {

    display: flex;

    gap: 20px;

    justify-content: center;

    margin-top: 2rem;

}


/* 共同基礎樣式 */

.cta-btn {

    padding: 12px 35px;

    font-size: 1.1rem;

    font-weight: 700;

    text-decoration: none;

    border-radius: 50px; /* 圓角膠囊型，更現代 */

    transition: all 0.3s ease;

    text-transform: uppercase;

    letter-spacing: 1px;

}


/* 主按鈕：深紫金邊 */

.main-btn {

    background: #1a0b2e; /* 極深紫色 */

    color: #d4af37;     /* 金色文字 */

    border: 1px solid #d4af37;

    box-shadow: 0 0 15px rgba(26, 11, 46, 0.5);

}


.main-btn:hover {

    background: #d4af37; /* 懸停變金色 */

    color: #1a0b2e;      /* 變紫色文字 */

    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);

    transform: translateY(-3px);

}


/* 副按鈕：金邊透明 */

.sub-btn {

    background: transparent;

    color: #d4af37;

    border: 2px solid rgba(212, 175, 55, 0.6);

}


.sub-btn:hover {

    border-color: #d4af37;

    background: rgba(212, 175, 55, 0.1); /* 淡淡的金光 */

    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);

    transform: translateY(-3px);

}



/* 針對移動端的微調 */

@media (max-width: 480px) {

    .cta-btn {

        display: block;

        width: 100%;

        margin: 10px 0;

    }

}


/* 響應式微調 */

@media (max-width: 768px) {

    .entry-grid { grid-template-columns: 1fr; }

    .footer-contact-box { flex-direction: column; gap: 40px; }

    .cta-group { flex-direction: column; width: 100%; max-width: 300px; margin: 30px auto; }

}


.learn-more {

color: var(--accent); 

    text-decoration: none; /* 移除底線 */

    font-weight: bold; 

    margin-top: 20px; 

    display: inline-flex; 

    align-items: center;

    transition: 0.3s ease;    }


/* --- GPU 規格頁專屬樣式 --- */

.specs-hero {

    padding: 80px 8% 40px;

    text-align: center;

}


/* 產品系列區塊 */

.series-block {

    padding: 60px 8%;

    border-bottom: 1px solid var(--border);

}


.series-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 40px;

}


.series-info h2 {

    font-size: 2.5rem;

    margin: 0;

    color: var(--accent);

}


/* 快速規格卡片 */

.spec-summary-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 20px;

    margin-bottom: 40px;

}


.spec-item {

    background: rgba(255, 255, 255, 0.03);

    padding: 20px;

    border-radius: 12px;

    border: 1px solid var(--border);

}


.spec-label {

    display: block;

    color: var(--text-muted);

    font-size: 0.8rem;

    margin-bottom: 5px;

    text-transform: uppercase;

}


.spec-value {

    font-size: 1.25rem;

    font-weight: 800;

    color: var(--text-white);

}


/* 行動版優化 */

@media (max-width: 768px) {

    .series-header { flex-direction: column; align-items: flex-start; gap: 20px; }

}



/* --- Masthead 視覺設計 --- */

.masthead {

    height: 350px;

    background: linear-gradient(rgba(10, 14, 20, 0.7), rgba(10, 14, 20, 0.9)), 

url('../../../Users/boss/Documents/網站建置/高盛/高盛網站打包/gpu-specs-bg.jpg'); /* 這裡建議放一張科技感晶片或線條背景 */

    background-size: cover;

    background-position: center;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    border-bottom: 1px solid var(--border);

}


.masthead h1 {

    font-size: 3rem;

    margin: 0;

    letter-spacing: 2px;

    text-transform: uppercase;

    background: var(--grad);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}


.breadcrumb {

    margin-top: 15px;

    font-size: 0.9rem;

    color: var(--text-muted);

}


.breadcrumb a {

    color: var(--text-muted);

    text-decoration: none;

    transition: 0.3s;

}


.breadcrumb a:hover {

    color: var(--accent);

}


.breadcrumb span {

    margin: 0 10px;

    opacity: 0.5;

}




/* --- 規格頁強化設計 --- */

.specs-container {

    padding: 60px 8%;

    max-width: 1400px;

    margin: 0 auto;

}


/* 產品系列卡片化 */

.product-showcase {

    display: flex;

    gap: 60px;

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid var(--border);

    border-radius: 30px;

    padding: 60px;

    margin-bottom: 80px;

    align-items: center;

    backdrop-filter: blur(20px);

    transition: 0.5s;

}


.product-showcase:hover {

    border-color: var(--accent);

    box-shadow: 0 0 50px rgba(0, 168, 255, 0.1);

}


/* 左側：產品視覺圖 */

.product-visual {

    flex: 1;

    position: relative;

}


.product-visual img {

    width: 100%;

    filter: drop-shadow(0 0 30px rgba(0, 168, 255, 0.3));

}


/* 右側：規格資訊 */

.product-info {
   padding: 0px 30px 40px 30px;
}

.product-info h2 {

    font-size: 3rem;

    margin: 0 0 20px;

    font-weight: 800;

}


/* 參數小標籤 */

.spec-highlights {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin: 30px 0;

}


.h-item {

    border-left: 3px solid var(--accent);

    padding-left: 15px;

}


.h-label { color: var(--text-muted); font-size: 0.8rem; display: block; }

.h-value { font-size: 1.2rem; font-weight: 700; color: #fff; }


/* 響應式：手機版變垂直 */

@media (max-width: 1024px) {

    .product-showcase { flex-direction: column; padding: 40px; text-align: center; }

    .h-item { border-left: none; border-top: 2px solid var(--accent); padding: 10px 0; }

}


/* 規格頁標題 */

.category-title {

    font-size: 2rem;

    color: var(--text-white);

    margin: 60px 0 30px;

    padding-left: 20px;

    border-left: 5px solid var(--accent);

}


/* 產品網格 */

.product-grid {

    display: grid;

    grid-template-columns: 1fr 1fr; /* 兩欄佈局 */

    gap: 30px;

}


/* 調整 Showcase 寬度以適應網格 */

.product-grid .product-showcase {

    flex-direction: column; /* 改為垂直排列 */

    padding: 40px;

    margin-bottom: 0;
	width: 100%;

}


.product-grid .product-visual img {

    max-width: 300px; /* 縮小圖片以符合網格 */

    margin-bottom: 20px;

}


@media (max-width: 900px) {

    .product-grid { grid-template-columns: 1fr; } /* 手機版改回一欄 */

}


/* style.css 裡的這一段會抓取這張圖 */

.masthead {

    height: 350px;

    background: linear-gradient(rgba(10, 14, 20, 0.75), rgba(10, 14, 20, 0.95)), 

url('../../../Users/boss/Documents/網站建置/高盛/高盛網站打包/images/gpu-specs-bg.jpg'); /* 確保路徑正確 */

    background-size: cover;

    background-position: center;

    /* ...其餘樣式... */

}

/* 規格對比條設計 */

.data-bar-container {

    margin-top: 15px;

    background: rgba(255, 255, 255, 0.05);

    height: 6px;

    border-radius: 3px;

    overflow: hidden;

}


.data-bar-fill {

    height: 100%;

    background: var(--grad);

    border-radius: 3px;

}


/* 統一參數列表樣式 */

.spec-comparison-list {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin: 25px 0;

}


.compare-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid rgba(255,255,255,0.05);

    padding-bottom: 8px;

}


/* --- 產業應用頁樣式 --- */

.container { padding: 80px 8%; max-width: 1400px; margin: 0 auto; }


.solution-grid {

    display: flex;

    flex-direction: column;

    gap: 100px;

}


.solution-card {
    display: flex;
    gap: 60px;
    align-items: center;
	margin: 40px 0;
}


/* 讓偶數張卡片反過來排列 (圖在右，文在左) */

.solution-card:nth-child(even) {

    flex-direction: row-reverse;

}


.sol-image {

    flex: 1.2;

    width: 100%;       /* 確保容器寬度填滿 */

    height: 500px;     /* 設定一個固定的高度，讓卡片整齊 */

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid var(--border);

    background-color: #000; /* 預防圖還沒跑出來時的底色 */

}


.sol-image img {

    width: 100%;       /* 寬度填滿 */

    height: 100%;      /* 高度填滿 */

    object-fit: cover; /* 關鍵：圖片會自動填滿並裁切，不會變形 */

    object-position: center; /* 裁切時保持中間對齊 */

    display: block;

    transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

}


.solution-card:hover .sol-image img {

    transform: scale(1.08); /* 滑鼠滑過時微放大的精緻效果 */

}


.sol-content {

    flex: 1;
	text-align: left;

}


.sol-tag {

    color: var(--accent);

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 0.8rem;

}


.sol-content h2 {

    font-size: 2.5rem;

    margin: 15px 0;
	text-align: left;

}


.sol-features {

    list-style: none;

    padding: 0;

    margin: 25px 0;
text-align: left;
}


.sol-features li {

    padding-left: 25px;

    position: relative;

    margin-bottom: 10px;

    color: var(--text-muted);

}


.sol-features li::before {

    content: '→';

    position: absolute;

    left: 0;

    color: var(--accent);

}


@media (max-width: 1024px) {

    .solution-card, .solution-card:nth-child(even) { flex-direction: column; text-align: center; }

    .sol-features li { display: inline-block; margin: 5px 15px; }

}


/* --- 聯繫頁佈局 --- */

.contact-layout {

    display: flex;

    gap: 60px;

    margin-top: 50px;

}


.contact-details {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 30px;

}


.detail-card {

    background: rgba(255, 255, 255, 0.03);

    padding: 30px;

    border-radius: 15px;

    border: 1px solid var(--border);

}


.detail-card h3 {

    color: var(--accent);

    margin-bottom: 10px;

    font-size: 1.4rem;

}


.detail-card p {

    color: var(--text-muted);

    margin-bottom: 15px;

    font-size: 0.95rem;

}


.contact-link {

    color: var(--text-white);

    text-decoration: none;

    font-weight: 600;

    border-bottom: 1px solid var(--accent);

    padding-bottom: 2px;

}


/* --- 表單樣式 --- */

.contact-form-wrapper {

    flex: 1.5;

    background: #111;

    padding: 50px;

    border-radius: 20px;

    border: 1px solid var(--border);

}


.simple-form {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.form-row {

    display: flex;

    gap: 20px;

}


.simple-form input, 

.simple-form select, 

.simple-form textarea {

    width: 100%;

    padding: 15px;

    background: #000;

    border: 1px solid var(--border);

    color: white;

    border-radius: 8px;

    font-size: 1rem;

    font-family: inherit;

}


.simple-form input:focus, 

.simple-form textarea:focus {

    outline: none;

    border-color: var(--accent);

}


.simple-form button {

    margin-top: 10px;

    cursor: pointer;

    font-weight: 700;

}


@media (max-width: 900px) {

    .contact-layout { flex-direction: column; }

    .form-row { flex-direction: column; }

}


nav .logo {

    display: flex;

    align-items: center;

    text-decoration: none;

}


nav .logo img {

    height: 48px;      /* 這是導航列 Logo 的標準建議高度 */

    width: auto;       /* 寬度隨比例自動縮放，防止變形 */

    display: block;

    transition: opacity 0.3s ease;

}


nav .logo img:hover {

    opacity: 0.8;      /* 滑鼠經過時稍微變淡，增加互動感 */

}


/* 為了確保在手機上也能看清楚，可以適度調整 */

@media (max-width: 768px) {

    nav .logo img {

        height: 28px;  /* 手機版稍微小一點點 */

    }

}

/* 標題容器：確保居中且有呼吸空間 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* 頂部小標 (Eyebrow Text)：增加專業感 */
.eyebrow {
    color: var(--accent); /* 金色或紫色 */
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.eyebrow2 {
    color: var(--accent); /* 金色或紫色 */
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
	text-align: left;
}

/* 主標題：Why Choose Us? */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

/* 副標題：補足中文說明 */
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 主標題：Why Choose Us? */
.section-title2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
	text-align: left;
}

/* 副標題：補足中文說明 */
.section-subtitle2 {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
	text-align: left;
}

/* 基礎 Reset 確保寬度計算正確 */
.about-section *, .about-section *::before, .about-section *::after {
    box-sizing: border-box;
}

.about-section {
    background: #2f133f;
    padding: 100px 0;
}

/* Row 容器 */
.about-section .row {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; /* 清除浮動 */
}

/* 左側：45% */
.about-section .col-left {
    width: 45%;
    float: left;
    padding-right: 30px;
}

/* 右側：55% */
.about-section .col-right {
    width: 55%;
    float: left;
    padding-left: 30px;
    text-align: left; /* 確保內容靠左 */
}

/* 圖片處理 */
.img-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文字細節 (全靠左) */
.text-content {
    display: block;
}

.values {
    margin: 30px 0;
}

.val-tag {
    display: inline-block;
    margin-right: 15px;
    padding: 5px 15px;
    border: 1px solid #bc6ff1;
    color: #bc6ff1;
}

/* --- 響應式調整：百分比佔比切換 --- */
@media (max-width: 992px) {
    .about-section .col-left, 
    .about-section .col-right {
        width: 100%; /* 手機版切換為 100% */
        float: none;
        padding: 0;
    }
    
    .about-section .col-left {
        margin-bottom: 40px;
    }
    
    .img-container {
        height: 300px;
    }
}


.cta-banner {
    position: relative;
    padding: 120px 0;

    background-image: 
        linear-gradient(rgba(26, 11, 46, 0.5), rgba(26, 11, 46, 0.5)),
        url('images/tech-lines-pattern.jpg'); 
    background-size: cover;
    background-attachment: fixed; /* 建立視差效果，更有質感 */
    text-align: center;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.cta-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.cta-title .highlight {
    color: #d4af37; /* 金色重點字 */
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* 帶有發光效果的金色按鈕 */
.btn-gold-glow {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #d4af37 0%, #f9e272 100%);
    color: #1a0b2e;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-gold-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* 響應式：手機端縮小字體 */
@media (max-width: 768px) {
    .cta-title { font-size: 1.8rem; }
    .cta-subtitle { font-size: 1rem; }
    .cta-banner { padding: 80px 20px; }
}
.main-footer {
    background-color: #08030d; /* 比背景更深 */
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* 頂部金線 */
    color: rgba(255, 255, 255, 0.7);
}

.footer-row {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* 比例設定 */
.footer-col-35 { width: 35%; float: left; padding-right: 30px; box-sizing: border-box; }
.footer-col-25 { width: 25%; float: left; padding: 0 15px; box-sizing: border-box; }
.footer-col-40 { width: 40%; float: left; padding-left: 30px; box-sizing: border-box; }

.footer-logo {
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover { color: #d4af37; } /* 金色懸停 */

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* 響應式 */
@media (max-width: 992px) {
    .footer-col-35, .footer-col-25, .footer-col-40 {
        width: 100%;
        float: none;
        margin-bottom: 40px;
        padding: 0 20px;
    }
}


/* About Hero */
.about-hero {
    height: 40vh;
    background: linear-gradient(rgba(26, 11, 46, 0.4), rgba(26, 11, 46, 0.4)), url('images/head.jpg');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-hero h1 { font-size: 3rem; color: #d4af37; margin-bottom: 10px; }

.about-hero span { color: var(--text-muted);  }

/* Intro Section */
.about-intro { padding: 100px 0; background-color: #2f133f; color: #fff; }

.col-40 { width: 40%; float: left; padding-right: 40px; box-sizing: border-box; }
.col-60 { width: 60%; float: left; padding-left: 20px; box-sizing: border-box; }

.intro-image img {
    width: 100%;
    border: 1px solid #d4af37;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.section-title { color: #d4af37; font-size: 2.2rem; margin-bottom: 30px; }

.intro-text p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* 響應式 */
@media (max-width: 992px) {
    .col-40, .col-60 { width: 100%; float: none; padding: 0 20px; }
    .intro-image { margin-bottom: 40px; }
}

.about-values {
    padding: 80px 0;
    background-color: #08030d; /* 稍深的背景 */
}

.section-center-title {
    text-align: center;
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 50px;
}

/* 三欄式佔比 */
/* 容器改為 Flex 模式 */
.row {
    display: flex;
    flex-wrap: wrap; 
    margin: 0 -15px; /* 抵消 col 的 padding */
}

/* 2. 欄位：不再使用 float，改用 flex 控制寬度 */
.col-33 {
    width: 33.333%;
    padding: 15px;
    box-sizing: border-box;
    display: flex; /* 讓子元素 .value-card 能夠撐滿父層高度 */
}

/* 3. 卡片：移除 height: 420px，改用 flex: 1 */
.value-card {
    background: #252525;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px 25px;
    
    flex: 1; /* 重要：讓卡片自動撐開到跟同排最高的一樣高 */
    display: flex;
    flex-direction: column;
    align-items: center;
    
    border-radius: 4px;
    text-align: center;
    transition: all 0.4s ease;
}

/* Icon 圖片尺寸控制 */
.value-icon {
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    max-height: 100%;
    width: auto;
}

/* 文字樣式維持你的設定 */
.value-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

/* 響應式：平板改兩欄，手機改一欄 */
@media (max-width: 992px) {
    .col-33 { width: 50%; }
}
@media (max-width: 768px) {
    .col-33 { width: 100%; }
}

.about-vision {
    padding: 100px 0;
    background: linear-gradient(rgba(13, 5, 20, 0.5), rgba(13, 5, 20, 0.5)), url('images/tech-lines-pattern.jpg');
    background-size: cover;
    background-attachment: fixed; /* 視差捲動質感 */
    text-align: center;
}

.vision-content {
    max-width: 700px;
    margin: 0 auto;
}

.vision-content h2 { color: #d4af37; font-size: 3rem; margin-bottom: 25px; }
.vision-content p { color: #fff; font-size: 1.1rem; line-height: 2; opacity: 0.9; }


/* 內頁通用：確保內容不被固定 Header 遮住 */
body.inner-page {
    padding-top: 80px; 
    background-color: #1a1a1a;
}

/* 服務介紹區塊 */
.service-features {
    padding: 100px 0;
}

.service-features .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-list li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

/* 金色小勾勾 */
.feature-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.service-image img {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* 通用區塊間距 */
section { padding: 80px 0; }

/* 第一區塊：產品介紹 */
.gpu-hero { background-color: #2f133f;; }

.leftcontent  { padding-right: 40px;}

.gpu-chip-visual img {
    width: 100%;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
	margin-top: 60px;
}

/* 第二區塊：適用場景 (5欄式) */
.gpu-scenarios { background-color: #151515; }
.sub-title-center { text-align: center; color: #d4af37; margin-bottom: 40px; font-size: 1.8rem; }

.col-20 { width: 20%; padding: 10px; box-sizing: border-box; display: flex; }
.scenario-card {
    background: #222;
    border-bottom: 3px solid #d4af37;
    padding: 30px 15px;
    text-align: center;
    flex: 1;
    transition: 0.3s;
}
.scenario-card:hover { background: #2a2a2a; transform: translateY(-5px); }
.s-icon { color: #d4af37; font-weight: bold; margin-bottom: 15px; font-size: 1.2rem; }
.scenario-card p { font-size: 0.9rem; color: #fff; line-height: 1.4; }

/* 第三區塊：選擇理由 (左圖/左標+右文) */
.gpu-benefits { background-color: #1a1a1a; }
.benefits-inner {
    border-left: 2px solid #d4af37;
    padding-left: 40px;
}
.benefit-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.b-item h4 { color: #d4af37; margin-bottom: 10px; font-size: 1.1rem; }
.b-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.6; }

/* 響應式 */
@media (max-width: 992px) {
    .col-20 { width: 33.33%; }
    .benefit-items { grid-template-columns: 1fr; }
}

.why-choose-rental {
    background-color: #2f133f; /* 稍微深一點的背景做區隔 */
    padding: 100px 0;
}

.benefit-tile {
    background: #222;
    border-left: 4px solid #d4af37; /* 左側金條設計，展現品牌質感 */
    padding: 40px;
    margin-bottom: 30px;
    display: flex; /* 讓圖示與文字左右排列 */
    align-items: flex-start;
    height: calc(100% - 30px); /* 扣掉 margin 確保等高 */
    transition: 0.3s;
}

.benefit-tile:hover {
    /* 使用 rgba 設定 0.8 的透明度 */
    background: rgba(40, 40, 40, 0.2); 
    
    /* 既有的位移效果 */
    transform: translateX(10px);
    
    /* 建議加上一點邊框亮光，增加層次感 */
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tile-icon {
    width: 60px;
    flex-shrink: 0;
    margin-right: 25px;
}

.tile-icon img {
    width: 100%;
    filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(969%) hue-rotate(3deg) brightness(91%) contrast(89%); /* 將 PNG 轉成金色的濾鏡 */
}

.tile-content h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.tile-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* 兩欄佈局修正 */
.col-50 {
    width: 50%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .col-50 { width: 100%; }
}

.scenario-img {
    width: 100%;       /* 容器寬度滿版 */
    margin-bottom: 20px;
    display: flex;     /* 方便置中 */
    justify-content: center;
}

.scenario-img img {
    width: 100%;       /* 寬度隨父容器縮放 */
    max-width: 100px;  /* 關鍵：絕對不超過 100px */
    height: auto;      /* 高度依比例縮放，不變形 */
    display: block;    /* 移除圖片下方空白間隙 */
}
.tile-icon-fa {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-icon-fa i {
    font-size: 2.5rem; /* 控制 Icon 大小 */
    color: #d4af37;    /* 高盛金 */
    transition: transform 0.3s ease;
}

/* Hover 效果：箭頭往上飄，靶心縮放 */
.benefit-tile:hover .fa-arrow-trend-up {
    transform: translateY(-8px) translateX(5px);
}

.benefit-tile:hover .fa-bullseye {
    transform: scale(1.2);
    color: #fff; /* 滑過時變白色點亮感 */
}
/* 顧問服務頁面風格 */
.consulting-hero {
    background: linear-gradient(rgba(20,20,20,0.85), rgba(20,20,20,0.85)), url('images/consulting-bg.jpg');
    background-size: cover;
    padding: 120px 0 80px;
    text-align: center;
}

.highlight-text {
    font-size: 1.3rem;
    color: #d4af37;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 服務項目排列 */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 30px;
    transition: 0.3s;
}

.service-item:hover {
    background: rgba(32, 10, 64, 0.8);
    transform: translateX(10px);
    border-left: 5px solid #d4af37;
}

.s-num {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(212, 175, 55, 0.3); /* 裝飾性的大數字 */
    margin-right: 40px;
    font-family: 'Arial', sans-serif;
    line-height: 1;
}

.s-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.s-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .service-item { flex-direction: column; }
    .s-num { margin-bottom: 20px; }
}

/* 產品卡片網格佈局 */
.product-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.product-showcase {
    flex: 1;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.compare-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.compare-item span { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.compare-item strong { color: #d4af37; }

/* 針對小螢幕卡片變垂直 */
@media (max-width: 992px) {
    .product-grid { flex-direction: column; }
}
/* 表格容器美化 */
.specs-table-wrapper {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden; /* 確保圓角不被切掉 */
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.goldman-table {
    width: 100%;
    border-collapse: collapse;
    background: #1e1e1e;
    color: #fff;
}

/* 表頭美編：加入漸層與金屬質感 */
.goldman-table thead tr {
    background: linear-gradient(90deg, #252525 0%, #333 100%);
}

.goldman-table th {
    padding: 25px 20px;
    color: #d4af37;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #d4af37;
}

.goldman-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

/* 第一欄（項目名）美化 */
.goldman-table td:first-child {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    width: 20%;
}

/* 強調 B200 這一直欄（最新型號） */
.goldman-table td:last-child {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.02);
}

/* --- 響應式：手機版轉向 --- */
@media (max-width: 768px) {
    .goldman-table, .goldman-table thead, .goldman-table tbody, .goldman-table th, .goldman-table td, .goldman-table tr {
        display: block; /* 強制所有元素變成區塊，垂直排列 */
    }

    .goldman-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px; /* 手機版隱藏原始表頭 */
    }

    .goldman-table tr {
        border: 1px solid #d4af37;
        margin-bottom: 20px;
        border-radius: 8px;
        background: #252525;
    }

    .goldman-table td {
        border: none;
        position: relative;
        padding-left: 50% !important; /* 為標題留空間 */
        text-align: right;
    }

    /* 使用偽元素把標題塞進去 */
    .goldman-table td:before {
        content: attr(data-label); /* 從 HTML 的 data-label 抓文字 */
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        color: #d4af37;
        font-weight: bold;
    }

    .goldman-table td:first-child {
        width: 100%;
        background: #d4af37;
        color: #000;
        text-align: center;
        padding-left: 20px !important;
    }
    .goldman-table td:first-child:before { content: ""; } /* 第一行不需要標籤 */
}

/* 手機抽屜選單基礎樣式 */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* 藏在右邊 */
    width: 280px;
    height: 100vh;
    background: #161b22;
    z-index: 10000;
    transition: 0.4s ease-in-out;
    padding: 60px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

/* 啟動狀態 */
.mobile-drawer.active {
    right: 0;
}

.mobile-links {
    list-style: none;
    padding: 0;
}

.mobile-links li {
    margin-bottom: 25px;
}

.mobile-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #d4af37;
    cursor: pointer;
}
/* --- 獨立手機選單視覺修正 --- */
@media screen and (max-width: 992px) {
    /* 選單容器：背景改深色，內距重新調整 */
    .nav-menu {
        align-items: flex-start !important; /* 改為靠左對齊 */
        width: 260px !important; /* 縮小寬度 */
        background: #111418 !important; /* 更深的背景色 *
		padding: 60px 20px !important; /* 縮小內距 */
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* 從頭排起 */
        height: 100vh !important;
        gap: 0 !important; /* 移除 flex 的間隙 */
		
    }

    /* 列表項目：間隔縮小 */
.nav-menu li {
        width: 100% !important;
        height: auto !important; /* 關鍵：取消桌機版可能有的固定高度 */
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important; /* 縮小行高 */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* 增加極細分割線 */
    }
	
	

    /* 字體大小與顏色 */
    .nav-menu li a {
        font-size: 1rem !important; /* 縮小字體 */
        font-weight: 400 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 12px 0px 0px 20px !important;
        display: block !important;
        transition: 0.3s;
    }

    /* 懸停效果：變金色 */
    .nav-menu li a:hover {
        color: #d4af37 !important;
        padding-left: 5px !important;
    }
.nav-menu .submenu {
        display: block !important;    /* 強制顯示，不隱藏 */
        position: static !important;  /* 回歸一般流程，不懸浮 */
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.03) !important; /* 給子選單一點點底色區隔 */
        padding: 5px 0 5px 20px !important; /* 向右縮進，做出層級感 */
        box-shadow: none !important;
        width: 100% !important;
        margin: 0 !important;
	border: 0px;
    }
   
    
    .submenu li a {
        font-size: 0.9rem !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }

    /* 產品咨詢按鈕：取消大按鈕樣式，回歸文字清爽感 */
    .nav-cta {
        background: transparent !important;
        border: none !important;
        color: #d4af37 !important; /* 只有文字變金 */
        padding: 12px 0 !important;
    }
}
.item {
    width: 100%;
    display: flex;           /* 啟動 Flexbox */
    align-items: center;     /* 垂直置中關鍵 */
    justify-content: center; /* 水平置中 */
    overflow: hidden;        /* 確保絕對不溢出 */
}

.item img {
    max-width: 100%;         /* 自動縮放關鍵：最大只到容器寬 */
    height: auto;            /* 保持比例不變形 */
    display: block;          /* 移除圖片底部空隙 */
}