/* Custom Styles for SaaS Look */
        body {
            font-family: 'Noto Sans TC', sans-serif;
            background-color: #FFFFFF;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        .font-serif {
            font-family: 'Noto Serif TC', serif;
        }

        /* Organic Mask */
        .organic-mask {
            mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FF0066' d='M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-46.3C87.4,-33.5,90.1,-18,89,-2.9C87.9,12.2,83,26.9,74.4,39.6C65.8,52.3,53.5,63,40.3,69.5C27.1,76,12.9,78.3,-0.6,79.3C-14.1,80.3,-29.3,80,-41.8,73.1C-54.3,66.2,-64.1,52.7,-71.4,38.5C-78.7,24.3,-83.5,9.4,-82.1,-4.9C-80.7,-19.2,-73.1,-32.9,-62.7,-43.3C-52.3,-53.7,-39.1,-60.8,-26.1,-68.8C-13.1,-76.8,-0.3,-85.7,13.2,-87.3C26.7,-88.9,30.5,-73.6,44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E");
            mask-size: contain;
            mask-repeat: no-repeat;
            mask-position: center;
            -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FF0066' d='M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-46.3C87.4,-33.5,90.1,-18,89,-2.9C87.9,12.2,83,26.9,74.4,39.6C65.8,52.3,53.5,63,40.3,69.5C27.1,76,12.9,78.3,-0.6,79.3C-14.1,80.3,-29.3,80,-41.8,73.1C-54.3,66.2,-64.1,52.7,-71.4,38.5C-78.7,24.3,-83.5,9.4,-82.1,-4.9C-80.7,-19.2,-73.1,-32.9,-62.7,-43.3C-52.3,-53.7,-39.1,-60.8,-26.1,-68.8C-13.1,-76.8,-0.3,-85.7,13.2,-87.3C26.7,-88.9,30.5,-73.6,44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E");
            -webkit-mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-position: center;
        }

        /* Card Hover Effects */
        .card-rookie {
            border: 1px solid rgba(74, 222, 128, 0.2);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .card-rookie:hover {
            border-color: #4ADE80;
            box-shadow: 0 0 30px rgba(74, 222, 128, 0.15);
            transform: translateY(-5px);
        }

        .card-elite {
            border: 1px solid rgba(212, 175, 55, 0.2);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .card-elite:hover {
            border-color: #D4AF37;
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
            transform: scale(1.02);
        }

        /* Modal Blur */
        .modal-active #main-content {
            filter: blur(8px);
            transition: filter 0.3s ease;
        }

        .glass-panel {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        /* --- 下滑指引容器 --- */
        .scroll-indicator-container {
            position: absolute;
            bottom: 30px;
            /* 距離底部的距離，可自行調整 */
            left: 50%;
            transform: translateX(-50%);
            /* 水平置中 */
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #006D5B;
            /* Updated to brand color for visibility on light bg */
            z-index: 10;
            /* 加入上下漂浮動畫 */
            animation: bobbing 2s infinite ease-in-out;
            transition: opacity 0.5s ease;
            /* Smooth fade out */
        }

        /* 垂直線條 */
        .scroll-line {
            width: 2px;
            height: 40px;
            /* 線條長度 */
            background-color: currentColor;
            /* 跟隨容器顏色 */
            margin-bottom: 5px;
        }

        /* 下方的圓圈 */
        .scroll-circle {
            width: 10px;
            height: 10px;
            border: 2px solid currentColor;
            /* 實心圓圈可改成 background-color: currentColor; */
            border-radius: 50%;
        }

        /* 文字 (選項) */
        .scroll-text {
            font-size: 0.8rem;
            letter-spacing: 1px;
            margin-top: 10px;
            text-transform: uppercase;
            opacity: 0.8;
            font-weight: 600;
        }

        /* 上下漂浮動畫關鍵影格 */
        @keyframes bobbing {

            0%,
            100% {
                transform: translate(-50%, 0);
            }

            50% {
                transform: translate(-50%, 15px);
                /* 往下移動 15px */
            }
        }

        /* --- 下方內容滑入效果設定 --- */

        /* 初始狀態：隱藏且位置偏下 */
        .main-content-reveal {
            opacity: 0;
            transform: translateY(100px) scale(0.95);
            /* 更強烈的初始位移 (100px) 和 縮放 */
            transition: all 1.6s cubic-bezier(0.16, 1, 0.3, 1);
            /* 更長、更優雅的轉場時間 */
        }

        /* 當加上這個 class 時的狀態：顯示且回到原位 */
        .main-content-reveal.is-visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* Download Overlay Hover Effect */
        .banner-hover-wrapper:hover .download-overlay {
            opacity: 1 !important;
        }

/* ============================================
           Banner + Info Card 佈局樣式
           ============================================ */

        .banner-course-container {
            display: flex;
            flex-direction: column;
            gap: 40px;
            padding: 60px 40px 100px;
            max-width: 1300px;
            margin: 0 auto;
            width: 100%;
        }

        .course-row {
            display: flex;
            gap: 0;
            background: #FFFFFF;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .course-row:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 109, 91, 0.15);
        }

        .banner-image-container {
            position: relative;
            flex: 1;
            min-width: 0;
            display: flex;
            align-items: center;
            background: #f8fafc;
        }

        .banner-image-container img {
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
            transition: transform 0.5s ease;
        }

        .course-row:hover .banner-image-container img {
            transform: scale(1.02);
        }

        /* 已截止報名斜角標籤 */
        .closed-ribbon {
            position: absolute;
            top: 20px;
            right: -45px;
            width: 180px;
            background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
            color: white;
            text-align: center;
            padding: 8px 0;
            transform: rotate(45deg);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            z-index: 10;
        }

        .closed-ribbon span {
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 0.12em;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        /* 白框資訊卡 */
        .course-info-card {
            flex: 0 0 320px;
            padding: 28px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: #FFFFFF;
            border-left: 4px solid #006D5B;
        }

        .course-info-card.elite {
            border-left-color: #B45309;
        }

        .info-card-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 4px;
        }

        .info-card-subtitle {
            font-size: 0.9rem;
            color: #006D5B;
            font-weight: 500;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 1px solid #E5E7EB;
        }

        .course-info-card.elite .info-card-subtitle {
            color: #B45309;
        }

        /* 簡潔列表樣式 */
        .info-list-simple {
            list-style: none;
            padding: 0;
            margin: 0 0 18px 0;
        }

        .info-list-simple li {
            font-size: 0.9rem;
            color: #374151;
            padding: 6px 0;
            border-bottom: 1px dashed #E5E7EB;
        }

        .info-list-simple li:last-child {
            border-bottom: none;
        }

        .info-list-simple li strong {
            color: #111827;
        }

        .text-green {
            color: #059669;
            font-weight: 600;
        }

        /* 重點資訊區塊 */
        .info-highlight-box {
            background: #F0FDF4;
            border: 1px solid #BBF7D0;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 0.95rem;
            color: #166534;
            text-align: center;
            margin-bottom: 18px;
        }

        .info-highlight-box.elite {
            background: #FFFBEB;
            border-color: #FDE68A;
            color: #92400E;
        }

        .info-highlight-box strong {
            font-weight: 700;
        }

        /* 了解更多按鈕 */
        .info-card-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, #006D5B 0%, #005042 100%);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 14px 24px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .course-info-card.elite .info-card-btn {
            background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
        }

        .info-card-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 109, 91, 0.4);
        }

        .course-info-card.elite .info-card-btn:hover {
            box-shadow: 0 8px 20px rgba(180, 83, 9, 0.4);
        }

        .info-card-btn svg {
            transition: transform 0.3s ease;
        }

        .info-card-btn:hover svg {
            transform: translateX(5px);
        }

        /* 課程賣點區塊樣式 */
        .course-highlights-section {
            background: linear-gradient(135deg, #006D5B 0%, #004d40 100%);
            border-radius: 24px;
            padding: 40px;
            margin-bottom: 30px;
            color: white;
        }

        .course-highlights-section.elite {
            background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
        }

        .highlights-title {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .highlights-subtitle {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 30px;
        }

        .highlights-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .highlight-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .highlight-card:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-3px);
        }

        .highlight-card.featured {
            background: rgba(255, 255, 255, 0.25);
            border: 2px solid rgba(255, 255, 255, 0.4);
        }

        .highlight-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }

        .highlight-content {
            display: flex;
            flex-direction: column;
        }

        .highlight-label {
            font-size: 0.85rem;
            opacity: 0.8;
            margin-bottom: 4px;
        }

        .highlight-value {
            font-size: 1.1rem;
            font-weight: 700;
        }

        .highlight-value.green {
            color: #86efac;
        }

        .highlight-value.gold {
            color: #fde047;
            font-size: 1.3rem;
        }

        .highlight-value .unit {
            font-size: 0.85rem;
            font-weight: 500;
            opacity: 0.8;
        }

        /* RWD 響應式 */
        @media (max-width: 768px) {
            .target-audience-tag {
                top: 10px;
                left: 10px;
                padding: 8px 14px;
                font-size: 0.85rem;
            }

            .tag-icon {
                font-size: 1rem;
            }

            .course-highlights-section {
                padding: 25px 20px;
            }

            .highlights-title {
                font-size: 1.6rem;
            }

            .highlights-subtitle {
                font-size: 0.95rem;
            }

            .highlights-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .highlight-card {
                padding: 15px;
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .highlight-icon {
                font-size: 1.5rem;
            }

            .highlight-value {
                font-size: 1rem;
            }

            .highlight-value.gold {
                font-size: 1.1rem;
            }
        }

        /* RWD 響應式 - Banner */
        @media (max-width: 768px) {
            .banner-course-container {
                padding: 30px 15px 80px;
                gap: 20px;
            }

            .course-banner-wrapper {
                border-radius: 12px;
            }

            .closed-ribbon {
                top: 15px;
                right: -55px;
                width: 200px;
                padding: 8px 0;
            }

            .closed-ribbon span {
                font-size: 0.85rem;
            }

            .learn-more-btn {
                bottom: 12px;
                right: 12px;
                padding: 10px 20px;
                font-size: 0.95rem;
            }
        }

        /* ============================================
           保留原本的共用樣式
           ============================================ */

        .card-header {
            margin-bottom: 10px;
        }

        .card-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #111827;
            margin: 0;
        }

        .clean-spec-list li {
            font-size: 1.2rem;
            color: #4B5563;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .spec-label {
            font-weight: 600;
            min-width: 60px;
            color: #111827;
        }

        .benefit-box-horizontal {
            background: linear-gradient(90deg, #FFFBEB 0%, #FEF3C7 100%);
            border: 1px solid #FDE68A;
            border-radius: 16px;
            padding: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .b-h-group {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .b-label {
            font-size: 0.95rem;
            color: #92400E;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .b-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #B45309;
        }

        .b-value-highlight {
            font-size: 2rem;
            font-weight: 800;
            color: #B45309;
            line-height: 1;
        }

        .unit {
            font-size: 0.9rem;
            font-weight: normal;
            color: #B45309;
        }

        .b-h-divider {
            width: 1px;
            height: 50px;
            background: rgba(180, 83, 9, 0.2);
            margin: 0 30px;
        }

        .action-row {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-top: 15px;
            /* STRICT LAYERING TO FIX CLICKS */
            position: relative;
            z-index: 999;
        }

        .btn-download-soft {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            padding: 10px 20px 10px 16px;
            background: #F3F4F6;
            border-radius: 50px;
            color: #4B5563;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1000;
        }

        .btn-download-soft:hover {
            background: #FFFFFF;
            color: #006D5B;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .btn-explore-reveal {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, #006D5B 0%, #005042 100%);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 14px 28px;
            font-size: 1.15rem;
            font-weight: bold;
            cursor: pointer;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            box-shadow: 0 4px 15px rgba(0, 109, 91, 0.25);
            position: relative;
            z-index: 1000;
        }

        .btn-explore-reveal:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 109, 91, 0.35);
            padding-right: 28px;
            /* Reset padding change */
        }

        /* Removed arrow styles as they are not in the HTML anymore */

        /* --- 5. TCC Tabs & Detail CSS (RESTORED) --- */

        .back-link-btn {
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: 600;
            padding: 10px 0;
        }

        .back-link-btn:hover {
            color: #006D5B;
        }

        .section-title {
            color: #006D5B;
            border-left: 6px solid #006D5B;
            padding-left: 15px;
            margin-bottom: 25px;
            font-size: 1.8rem;
            font-weight: 700;
        }

        .tcc-tabs-container {
            width: 100%;
        }

        .tcc-tab-nav {
            display: flex;
            border-bottom: 2px solid #E5E7EB;
            gap: 30px;
            margin-bottom: 30px;
            overflow-x: auto;
            white-space: nowrap;
        }

        .tcc-btn {
            background: none;
            border: none;
            padding: 15px 5px;
            font-size: 1.15rem;
            color: #6B7280;
            cursor: pointer;
            position: relative;
            font-weight: 500;
        }

        .tcc-btn:hover {
            color: #006D5B;
        }

        .tcc-btn.active {
            color: #006D5B;
            font-weight: bold;
        }

        .tcc-btn.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #006D5B;
        }

        .tcc-content {
            display: none;
            animation: fadeIn 0.5s;
        }

        .tcc-content.active {
            display: block;
        }

        .info-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .info-list li {
            margin-bottom: 12px;
            padding-left: 20px;
            position: relative;
            line-height: 1.8;
            color: #374151;
            font-size: 1.05rem;
        }

        .info-list li::before {
            content: "•";
            color: #006D5B;
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
        }

        .course-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            background: white;
        }

        .course-table th {
            background: #F3F4F6;
            padding: 15px;
            text-align: left;
            color: #111827;
            font-weight: bold;
            border-bottom: 2px solid #E5E7EB;
        }

        .course-table td {
            padding: 15px;
            border-bottom: 1px solid #E5E7EB;
            color: #4B5563;
            line-height: 1.6;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 900px) {
            .orbit-section-container {
                padding: 20px;
                gap: 20px;
            }

            .stack-system {
                width: 100%;
                height: auto;
                display: flex;
                flex-direction: column;
                gap: 30px;
                margin-left: 0;
            }

            .stack-card,
            .stack-card.active,
            .stack-card.inactive {
                position: relative;
                transform: none !important;
                z-index: 1;
                height: auto;
                opacity: 1;
                filter: none;
            }

            .switch-hint-strip {
                display: none;
            }

            .card-inner-flex {
                flex-direction: column;
            }

            .card-media-side {
                width: 100%;
                height: 250px;
            }

            .card-content-side {
                width: 100%;
                padding: 25px;
            }

            .benefit-box-horizontal {
                flex-direction: column;
                gap: 15px;
            }

            .b-h-divider {
                width: 100%;
                height: 1px;
            }
        }

        /* =========================================
           STYLE A: AI TECH (懸浮微塵風格 - 最終版)
           ========================================= */

        /* 1. 外層容器：創造「微塵漂浮」的環境 */
        #rookie-detail-content,
        #elite-detail-content {
            position: relative;
            z-index: 1;
            /* 這裡留白，不要設背景色 */
            background: transparent !important;

            /* 給一點內距，讓微塵有空間在卡片邊緣飛舞 */
            padding: 24px;
            border-radius: 32px;
            overflow: hidden;
            /* 限制粒子不跑出去 */
        }

        /* 2. 粒子層 (利用偽元素 ::before 與 ::after 製作差視parallax) */

        /* [Layer 1] 主氛圍層 (慢速、大顆粒) */
        #rookie-detail-content::before,
        #elite-detail-content::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            right: -50%;
            bottom: -50%;

            /* 粒子設定：深綠色、較顯眼 */
            background-image:
                radial-gradient(circle, #006D5B 1.5px, transparent 1.5px),
                radial-gradient(circle, rgba(0, 109, 91, 0.4) 2px, transparent 2px);

            background-size: 40px 40px, 60px 60px;
            background-position: 0 0, 30px 30px;

            /* 遮罩 */
            mask-image: radial-gradient(circle at center, transparent 50%, black 100%);
            -webkit-mask-image: radial-gradient(circle at center, transparent 50%, black 100%);

            /* 動畫：順時針慢轉 */
            animation: floatingDust 60s linear infinite;
            pointer-events: none;
            z-index: -1;
        }

        /* [Layer 2] 深景深層 (快速、細微顆粒) - 新增 */
        #rookie-detail-content::after,
        #elite-detail-content::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            right: -50%;
            bottom: -50%;

            /* 粒子設定：更細、更密、更淡 */
            background-image:
                radial-gradient(circle, rgba(0, 109, 91, 0.3) 1px, transparent 1px);

            background-size: 20px 20px;

            /* 遮罩：範圍稍微大一點 */
            mask-image: radial-gradient(circle at center, transparent 40%, black 100%);
            -webkit-mask-image: radial-gradient(circle at center, transparent 40%, black 100%);

            /* 動畫：逆時針快轉 (創造對流感) */
            animation: floatingDustReverse 40s linear infinite;
            pointer-events: none;
            z-index: -2;
            /* 在第一層後面 */
            opacity: 0.7;
        }

        /* 3. 內層卡片：絕對乾淨的白底 */
        #rookie-detail-content .backdrop-blur-md,
        #elite-detail-content .backdrop-blur-md {
            /* 純白底色，確保文字清晰 */
            background-color: #FFFFFF !important;
            background-image: none !important;

            /* 讓卡片浮起來的陰影 */
            box-shadow: 0 10px 40px rgba(0, 109, 91, 0.08) !important;

            /* 極細微的邊框，增加精緻度 */
            border: 1px solid rgba(0, 109, 91, 0.1) !important;
            border-radius: 24px !important;

            /* 確保層級 */
            position: relative;
            z-index: 10;
        }

        /* 4. 定義漂浮動畫 */
        @keyframes floatingDust {
            0% {
                transform: rotate(0deg) translate(0, 0);
            }

            100% {
                transform: rotate(5deg) translate(-20px, -20px);
            }
        }

        @keyframes floatingDustReverse {
            0% {
                transform: rotate(0deg) translate(0, 0);
            }

            100% {
                transform: rotate(-10deg) translate(15px, 15px);
            }
        }

        /* 5. 進場動畫 (整塊內容浮現) */
        @keyframes delicateFadeIn {
            from {
                opacity: 0;
                transform: scale(0.98);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        #rookie-detail-content[style*="block"],
        #elite-detail-content[style*="block"] {
            animation: delicateFadeIn 0.8s ease-out forwards;
        }

        /* 確保內容浮在遮罩上 */
        #detail-rookie>*,
        #detail-elite>* {
            position: relative;
            z-index: 1;
        }

/* Updated Ribbon Style matching the reference image */
        .closed-ribbon-corner {
            position: absolute;
            top: 20px;
            right: -44px;
            /* Adjusted for perfect diagonal centering */
            background: linear-gradient(135deg, #006D5B 0%, #005042 100%);
            color: #fff;

            /* Flex layout for precise centering */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            line-height: 1;

            transform: rotate(45deg);
            font-size: 0.9rem;
            font-weight: 600;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            z-index: 20;
            letter-spacing: 1px;
            width: 160px;
            height: 32px;
        }

        .course-info-card.elite .closed-ribbon-corner {
            background: linear-gradient(135deg, #6B7280 0%, #374151 100%);
            /* Grey for Closed */
        }

        /* Ensure container clips the ribbon */
        .course-info-card {
            position: relative;
            overflow: hidden !important;
        }


/* === CSP-safe：替代 JS 範本 style="" === */

/* Modal */
.ai-modal-min-height { min-height: 600px; }

/* Extra courses: banner card inner structure */
.course-row-extra .banner-image-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: white;
}
.bic-logo-row { padding: 8px 30px; background: white; }
.bic-logo-img { width: 220px; height: auto; }
.bic-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf9;
    overflow: hidden;
    position: relative;
}
.bic-course-img { width: 100%; height: 100%; object-fit: cover; }
.download-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}
.bic-dl-label {
    background: white;
    color: #006D5B;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
}
.bic-hashtag-bar {
    padding: 15px 30px;
    background: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Hashtag pill (bg-color set via JS .style) */
.hashtag-pill {
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
}

/* Ribbon open state */
.closed-ribbon-corner.ribbon-open {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Extra course details wrapper */
.course-details-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.detail-banner-img { width: 100%; display: block; }
.detail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.detail-header-row .section-title { margin: 0; }
.detail-action-btns { display: flex; gap: 10px; }
.btn-brochure {
    padding: 8px 16px;
    border: 1px solid #006D5B;
    color: #006D5B;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
.btn-register {
    padding: 8px 16px;
    background: linear-gradient(135deg, #006D5B 0%, #005042 100%);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* Outline image (course outline) */
.outline-img-wrapper { margin-bottom: 16px; }
.outline-img-wrapper img { width: 100%; border-radius: 8px; }

/* === 轉換自 inline style="" === */
.is-84945956 {
    height: 80px;
}

.is-58a1aeeb {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 20px 20px 150px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #E6F4F1 0%, #D6EFED 20%, #E3F2FD 100%);
    position: relative;
    min-height: 100vh;
    margin-top: -60px;
    z-index: 20;
    border-radius: 60px 60px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
}

.is-b346128b {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: white;
}

.is-087bc5b2 {
    width: 700px;
    flex-shrink: 0;
    padding: 15px 0;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.is-9bda169d {
    width: 680px;
    height: auto;
    object-fit: contain;
    display: block;
}

.is-64933dbe {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf9;
    overflow: hidden;
    position: relative;
}

.is-7d1faedf {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.is-e2defaa3 {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.is-e1b831b7 {
    background: white;
    color: #006D5B;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.is-49573ef7 {
    width: 180px;
    flex-shrink: 0;
    padding: 15px 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.is-4b3e0e58 {
    background-color: #006D5B;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.is-8d2cb444 {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    color: #fff;
}

.is-3f676b84 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffbeb;
    overflow: hidden;
    position: relative;
}

.is-76360fb3 {
    background: white;
    color: #B45309;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.is-a1c1cf4c {
    background-color: #B45309;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.is-1f497509 {
    color: #B45309;
    font-weight: bold;
}

.is-69720811 {
    display: none;
    min-height: 100vh;
}

.is-5ee2437b {
    padding-bottom: 60px;
}

.is-e502ee6c {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.is-bee59c6c {
    width: 100%;
    display: block;
}

.is-2a9957e0 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.is-e2b74ba6 {
    margin: 0;
}

.is-0ed0e90f {
    display: flex;
    gap: 10px;
}

.is-e0ec0a8a {
    padding: 8px 16px;
    border: 1px solid #006D5B;
    color: #006D5B;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-49790cf5 {
    padding: 8px 16px;
    background: linear-gradient(135deg, #006D5B 0%, #005042 100%);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.is-e0ec0a8a:hover {
    background-color: #006D5B;
    color: white;
}
.is-49790cf5:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 109, 91, 0.4);
}
.is-e3c3c07b:hover {
    background-color: #B45309;
    color: white;
}
.is-475f2219:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.4);
}

.is-cb458930 {
    display: none;
}

.is-722094b1 {
    color: #006D5B;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.2rem;
}

.is-95500a39 {
    margin-bottom: 30px;
}

.is-c8659590 {
    margin-bottom: 10px;
    color: #006D5B;
    font-weight: bold;
}

.is-648594bf {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.is-78f95f9a {
    display: none;
    padding-bottom: 60px;
}

.is-e3c3c07b {
    padding: 8px 16px;
    border: 1px solid #B45309;
    color: #B45309;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-475f2219 {
    padding: 8px 16px;
    background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
