:root {
    --brand-violet: #7B2CBF;
    --brand-gold: #D4AF37;
    --soft-bg: #FBFBFE;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: var(--soft-bg);
    color: #333;
}

.img_logo_only {
    height: 40px;
    margin-right: 10px;
}

.img_logo_Word {
    height: 30px;
    margin-right: 10px;
}
/*手機板*/
@media (max-width: 768px) {
    .img_logo_only {
        height: 20px;
        margin-right: 10px;
    }

    .img_logo_Word {
        height: 20px;
        margin-right: 10px;
    }
}

/* Navbar 客製化 */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-link:hover {
    color: var(--brand-violet) !important;
}

.dropdown-item:active {
    background-color: var(--brand-violet);
}

/* Hero 區塊 */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f3e8ff 100%);
}

.btn-brand {
    background-color: var(--brand-violet);
    color: white;
    border: none;
}

    .btn-brand:hover {
        background-color: #5a189a;
        color: white;
    }

.text-gold {
    color: var(--brand-gold);
}

.text-round {
    text-shadow: -1px -1px 0 #efe4d1, 1px -1px 0 #efe4d1, -1px 1px 0 #efe4d1, 1px 1px 0 #efe4d1;
}

.hero-bg-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    /* RWD 高度設定 */
    min-height: 350px; /* 手機版小一點 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: min-height 0.3s ease;
}

/* 當螢幕寬度大於 768px (平板/電腦) */
@media (min-width: 768px) {
    .hero-bg-container {
        min-height: 500px; /* 電腦版高一點，比較大氣 */
    }
}

/* 這是背景圖層 */
.hero-bg-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

/* 確保文字內容在背景之上 */
.hero-content {
    position: relative;
    z-index: 2;
    /* 手機版縮小內距，讓空間給圖片 */
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 4rem; /* 電腦版內距放大 */
    }
}

/* 讓文字稍微深色一點或加陰影，確保在背景上清晰 */
.hero-content h1 {
    word-break: keep-all;
    line-height: 1.2;
}

/* 產品卡片 */
.card-product {
    border: none;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .card-product:hover {
        transform: translateY(-10px);
    }

.icon-box {
    color: var(--brand-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-product img {
    width: 100%;
    height: 200px; /* 固定高度 */
    object-fit: cover; /* 自動裁剪，保持比例且填滿框框 */
}
/* 設定卡片圖片的固定高度與縮放 */
.card-img-wrapper {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

    .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 關鍵：圖片會填滿容器且不變形 */
        transition: transform 0.5s ease;
    }

.card-product:hover .card-img-wrapper img {
    transform: scale(1.1); /* 懸停時圖片微放大，增加互動感 */
}

/* 圖示圓圈 */
.icon-circle {
    width: 30px;
    height: 30px;
    background: var(--brand-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

/* 接案流程卡片樣式 */
.process-card {
    background: white;
    border-radius: 16px;
    border-bottom: 5px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

    .process-card:hover {
        transform: translateY(-10px);
        border-bottom: 5px solid var(--brand-gold);
        box-shadow: 0 15px 40px rgba(123, 44, 191, 0.1);
    }

/* 步驟數字美化 */
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(123, 44, 191, 0.1); /* 極淡紫羅蘭色作為背景數字 */
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.process-card h5 {
    color: var(--brand-violet);
    position: relative;
}

/* 響應式調整：小螢幕時數字稍微縮小 */
@media (max-width: 768px) {
    .step-number {
        font-size: 2.5rem;
    }
}

/* 自定義按鈕顏色 */
.btn-outline-brand {
    border-color: var(--brand-violet);
    color: var(--brand-violet);
}

    .btn-outline-brand:hover {
        background-color: var(--brand-violet);
        color: white;
    }

/* 聯絡我們 */
.contact-section {
    background-color: white;
    padding: 80px 0;
}

.slogan-banner {
    background: linear-gradient(90deg, #2b1d42 0%, #3c2a5a 100%);
    color: white;
    border-top: 2px solid var(--brand-gold);
    border-bottom: 2px solid var(--brand-gold);
    /* 讓它稍微有一點傾斜感或律動感 */
}

.slogan-item {
    padding: 1rem;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
}

/* RWD 調整：手機版時隱止左邊框，改為上下間距 */
@media (max-width: 991px) {
    .slogan-item {
        border-left: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding: 1.5rem 0;
    }

        .slogan-item:last-child {
            border-bottom: none;
        }
}

/* 加一個發光的小動畫 */
.slogan-item p {
    transition: color 0.3s ease;
}

.slogan-item:hover p {
    color: var(--brand-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}


/* --- 新增樣式: 無圖系統卡片 --- */
.service-card-no-img {
    transition: all 0.3s ease;
    border-left: 5px solid transparent !important; /* 預設透明左邊框 */
}

    .service-card-no-img:hover {
        transform: translateY(-5px);
        border-left: 5px solid var(--brand-violet) !important; /* 懸停時出現品牌色邊框 */
    }

.text-brand-violet {
    color: var(--brand-violet);
}

/* --- 新增樣式: FAQ 手風琴美化 --- */
.custom-accordion .accordion-button {
    background-color: white;
    box-shadow: none; /* 移除預設藍色光暈 */
    color: #333;
}

    .custom-accordion .accordion-button:not(.collapsed) {
        color: var(--brand-violet);
        background-color: rgba(123, 44, 191, 0.05); /* 展開時的淡紫色背景 */
        box-shadow: inset 0 -1px 0 rgba(0,0,0,.125); /* 輕微內陰影 */
    }

    .custom-accordion .accordion-button:focus {
        border-color: rgba(123, 44, 191, 0.5);
        box-shadow: 0 0 0 0.25rem rgba(123, 44, 191, 0.25);
    }

    .custom-accordion .accordion-button::after {
        /* 如果想要換箭頭顏色，可以在這裡設定 SVG */
        filter: grayscale(100%); /* 讓箭頭變灰 */
    }

    .custom-accordion .accordion-button:not(.collapsed)::after {
        filter: invert(24%) sepia(61%) saturate(2366%) hue-rotate(256deg) brightness(91%) contrast(93%); /* 轉為紫色 */
    }



    /* --- 新增：資費方案表格美化 --- */
.pricing-section {
    background-color: #fff;
    padding: 80px 0;
}

.table-pricing {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 15px;
    overflow: hidden; /* 讓圓角生效 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-pricing th, .table-pricing td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* 表頭樣式 */
.table-pricing thead th {
    background-color: var(--brand-violet);
    color: white;
    font-size: 1.2rem;
    border: none;
}

/* 第一欄 (功能名稱) 靠左 */
.table-pricing tbody th {
    text-align: left;
    background-color: #f9f9f9;
    color: #333;
    font-weight: 600;
}

/* 推薦方案的高亮效果 */
.table-pricing .recommend-col {
    background-color: rgba(212, 175, 55, 0.1); /* 金色淡背景 */
    position: relative;
}

.table-pricing .recommend-badge {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 打勾與打叉 */
.check-icon { color: var(--brand-violet); font-size: 1.2rem; font-weight: bold; }
.cross-icon { color: #ccc; font-size: 1.2rem; }

/* 架構圖區塊 */
.architecture-section {
    background: linear-gradient(180deg, #fff 0%, var(--soft-bg) 100%);
    padding: 80px 0;
}
.arch-img-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(123, 44, 191, 0.1);
}