﻿
/* === 推廣計畫 === */

/* Header 區 */
.proposal-header {
    background: linear-gradient(135deg, #007BFF 0%, #00C6FF 100%);
    color: #fff;
    padding: 100px 20px;
}

.proposal-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.proposal-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section 標題 */
.section-title {
    font-weight: 700;
    color: #007BFF;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* 功能卡片區 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #17A2B8;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

/* 價格表格 */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

    .pricing-table th {
        background-color: #007BFF;
        color: #fff;
        padding: 12px;
        text-align: center;
    }

    .pricing-table td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: center;
    }

    .pricing-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .pricing-table tr:hover {
        background-color: #eef7ff;
    }

/* 圖表預留區 */
.chart-placeholder {
    background: linear-gradient(145deg, #f0f4f8, #ffffff);
    border: 2px dashed #17A2B8;
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}


.chart-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    height: 400px; /* 桌面高度 */
}

@media (max-width: 768px) {
    .chart-container {
        height: 350px; /* 平板高度 */
    }
}

@media (max-width: 480px) {
    .chart-container {
        height: 300px; /* 手機高度 */
        padding: 0 10px;
    }
}

/* 備註區 */
.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #444;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 8px;
}

/* 按鈕樣式 */
.btn-primary {
    background-color: #007BFF;
    border-color: #007BFF;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }
/*推廣計畫*/

/*輪播圖片*/

/* === IPD 系統投影片樣式 === */
.ipd-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000; /* 預防圖片載入前閃白 */
}

    .ipd-carousel img {
        object-fit: cover;
        width: 100%;
        height: 480px;
        transition: transform 1.2s ease;
    }

    .ipd-carousel .carousel-item.active img {
        transform: scale(1.02);
    }

    /* 圓角陰影 + 漸層覆蓋 */
    .ipd-carousel .carousel-inner {
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }

    .ipd-carousel::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.4));
        pointer-events: none;
        z-index: 2;
        border-radius: 12px;
    }

    /* 左右箭頭按鈕 */
    .ipd-carousel .carousel-control-prev-icon,
    .ipd-carousel .carousel-control-next-icon {
        background-size: 80%;
        filter: invert(100%);
        opacity: 0.8;
        transition: opacity 0.3s;
    }

        .ipd-carousel .carousel-control-prev-icon:hover,
        .ipd-carousel .carousel-control-next-icon:hover {
            opacity: 1;
        }

    .ipd-carousel .carousel-control-prev,
    .ipd-carousel .carousel-control-next {
        width: 8%;
    }

    /* 圓點指示 */
    .ipd-carousel .carousel-indicators {
        bottom: 10px;
    }

        .ipd-carousel .carousel-indicators [data-bs-target] {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.6);
            border: none;
            margin: 0 4px;
            transition: background-color 0.3s;
        }

        .ipd-carousel .carousel-indicators .active {
            background-color: #0d6efd;
            box-shadow: 0 0 5px #0d6efd;
        }


    /*輪播圖片*/







/* === 智慧製造整合方案專用樣式 === */
/* 主題色沿用：#007BFF (主藍), #17A2B8 (輔藍綠) */

body {
    font-family: "微軟正黑體", "Segoe UI", sans-serif;
    background: linear-gradient(to bottom right, #f8fbff, #eef3ff);
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

/* 容器框架 */
.ai-container {
    max-width: 1000px;
    margin: auto;
    padding: 50px 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    /* 標題 */
    .ai-container h1,
    .ai-container h2,
    .ai-container h3 {
        color: #007BFF;
        font-weight: 700;
    }

    .ai-container h1 {
        border-bottom: 4px solid #007BFF;
        padding-bottom: 10px;
        text-align: center;
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }

    .ai-container section {
        margin-bottom: 60px;
        animation: ai-fadeInUp 1s ease-out both;
    }

/* 動畫效果 */
@keyframes ai-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 對比區塊 */
.ai-compare-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}

.ai-compare-card {
    flex: 1 1 45%;
    background: #f0f8ff;
    border-left: 6px solid #17A2B8;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.4s ease, background 0.4s ease;
}

    .ai-compare-card:hover {
        transform: translateY(-5px);
        background: #eaf3ff;
    }

    .ai-compare-card h3 {
        color: #17A2B8;
        margin-top: 0;
    }

/* 成本區塊 */
.ai-cost-list {
    background: #fafcff;
    border: 1px solid #dce6f8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

    .ai-cost-list li {
        margin: 8px 0;
    }

/* 表格 */
.ai-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

    .ai-table th,
    .ai-table td {
        border: 1px solid #ddd;
        padding: 12px;
        vertical-align: top;
    }

    .ai-table th {
        background: #e6f0ff;
        text-align: left;
        width: 30%;
        color: #004080;
    }

    .ai-table tr:hover {
        background: #f0f8ff;
        transition: 0.3s;
    }

/* 強調區塊 */
.ai-highlight {
    background: linear-gradient(120deg, #e3f2ff, #f8fbff);
    padding: 25px;
    border-left: 6px solid #007BFF;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 40px;
    color: #004080;
}

/* 列表 */
.ai-container ul {
    padding-left: 20px;
}

/* 按鈕 (與主站一致) */
.ai-btn-primary {
    background-color: #007BFF;
    border: none;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

    .ai-btn-primary:hover {
        background-color: #0056b3;
    }

/* 響應式 */
@media (max-width: 768px) {
    .ai-compare-card {
        flex: 1 1 100%;
    }

    .ai-container {
        padding: 30px 15px;
    }
}
