:root {
    --bg-color: #0b021d;
    /* 非常深的紫黑色質地 */
    --text-primary: #ffffff;
    /* 純白色以保證對比 */
    --text-muted: #dcd6ec;
    /* 帶點紫的淺灰描述字體 */
    --neon-yellow: #E9D100;
    --neon-yellow-hover: #ffec3d;
    /* 稍微更亮的黃 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    /* 不設 min-height: 100vh — 讓高度隨內容自然延伸，避免 iframe 截斷 */
    font-family: 'Inter', '微軟正黑體', sans-serif;
    color: var(--text-primary);
    /* 強制透明，讓外層 WordPress 背景透出 */
    background: transparent !important;
    background-color: transparent !important;
    /* 只封鎖水平捲軸；不隱藏垂直方向，讓內容撐開高度 */
    overflow-x: hidden;
    overflow-y: visible;
    scroll-padding-top: 80px;
}

/* 背景光暈動畫已移除 — 讓外層 WordPress 背景完全透出 */

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh 已移除 — 讓高度由內容自然決定，避免 iframe 截斷 */
    height: auto;
    padding: 4rem 2rem;
    text-align: center;
    /* 保留極細發光邊框 */
    border: 1px solid rgba(233, 209, 0, 0.4);
    box-shadow: 0 0 20px rgba(233, 209, 0, 0.2),
        inset 0 0 20px rgba(233, 209, 0, 0.1);
    /* 背景改為透明 — 讓外層 WordPress 背景透出 */
    background: transparent;
}

.hero-title {
    font-size: 4.5rem;
    /* 巨大吸睛的字體 */
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 3.5rem;
    min-height: 130px;
    /* 預留空間防止破版 */
    max-width: 1200px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 打字機游標閃爍 */
.cursor {
    display: inline-block;
    width: 5px;
    background-color: var(--text-primary);
    margin-left: 8px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- 按鈕設計 --- */
.button-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.btn {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    /* 圓角按鈕 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

/* 主按鈕：霓虹黃、發光微放 */
.btn-primary {
    background: var(--neon-yellow);
    color: var(--bg-color);
    /* 深紫字體，確保對比 */
    box-shadow: 0 0 15px rgba(233, 209, 0, 0.5),
        0 0 30px rgba(233, 209, 0, 0.3);
    /* 強烈霓虹發光 */
    border: 1px solid var(--neon-yellow);
    /* 細框線，搭配發光感更強 */
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    background: var(--neon-yellow-hover);
    box-shadow: 0 0 20px rgba(255, 236, 61, 0.7),
        0 0 40px rgba(233, 209, 0, 0.5);
    /* 懸停時發光更強 */
}

/* 次按鈕：幽靈按鈕設計 (霓虹黃) */
.btn-secondary {
    background: transparent;
    color: var(--neon-yellow);
    border: 2px solid var(--neon-yellow);
    box-shadow: inset 0 0 10px rgba(233, 209, 0, 0.1),
        0 0 10px rgba(233, 209, 0, 0.1);
    /* 微量光暈 */
}

.btn-secondary:hover {
    background: var(--neon-yellow);
    color: var(--bg-color);
    /* 填滿後文字轉深色 */
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(233, 209, 0, 0.4);
}

/* --- 響應式設計 --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        min-height: 160px;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* --- 核心價值區塊 --- */
.features-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: var(--neon-yellow);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-shadow: 0 0 10px rgba(233, 209, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid var(--neon-yellow);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(233, 209, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-card h3 {
    color: var(--neon-yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(233, 209, 0, 0.5), inset 0 0 15px rgba(233, 209, 0, 0.2);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 課程導購區塊 --- */
.course-sales-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    /* 漸層背景已移除 — 完全透明 */
    background: transparent;
}

.course-sales-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 左欄：課程價值展示 */
.course-info {
    text-align: left;
}

.course-subtitle {
    color: var(--neon-yellow);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.course-title {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.course-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.course-checklist {
    list-style: none;
    padding: 0;
}

.course-checklist li {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.course-checklist li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--neon-yellow);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 8px var(--neon-yellow);
}

/* 右欄：定價卡片 */
.pricing-card {
    background-color: #0D0D12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(233, 209, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(233, 209, 0, 0.3),
        0 0 30px rgba(233, 209, 0, 0.15);
}

.pricing-header {
    height: 8px;
    background: var(--neon-yellow);
    box-shadow: 0 0 15px var(--neon-yellow);
}

.pricing-content {
    padding: 3rem 2.5rem 2rem;
    text-align: center;
}

.pricing-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.price-original {
    color: #666;
    font-size: 1.2rem;
    text-decoration: line-through;
}

.price-sale {
    color: var(--neon-yellow);
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(233, 209, 0, 0.4);
    line-height: 1;
}

.btn-buy {
    background: var(--neon-yellow);
    color: var(--bg-color);
    font-size: 1.2rem;
    font-weight: 800;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(233, 209, 0, 0.4);
    border: none;
    cursor: pointer;
    display: block;
}

.btn-buy:hover {
    background: var(--neon-yellow-hover);
    box-shadow: 0 0 30px rgba(233, 209, 0, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

/* 響應式調整 */
@media (max-width: 992px) {
    .course-sales-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .course-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .course-sales-section {
        padding: 4rem 1.5rem;
    }

    .course-title {
        font-size: 2rem;
    }

    .course-desc {
        font-size: 1.05rem;
    }
}

/* --- 適合對象區塊 --- */
.target-audience-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* 特製底線的標題 */
.audience-title {
    color: var(--text-primary);
    text-shadow: none;
    position: relative;
    display: inline-block;
    margin-bottom: 4rem;
}

.audience-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background-color: var(--neon-yellow);
    box-shadow: 0 0 10px var(--neon-yellow);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* 無邊框的深色方塊 */
.audience-card {
    background-color: #1a1a2e;
    /* 稍微比背景色亮一點的深灰紫色 */
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.audience-card h3 {
    color: var(--neon-yellow);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.audience-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .target-audience-section {
        padding: 4rem 1.5rem;
    }

    .audience-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 常見問題 FAQ 區塊 --- */
.faq-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section .section-title {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 3rem;
    text-align: center;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-container details {
    background-color: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid #333;
    /* 暗灰色的分隔線 */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-container details[open] {
    background-color: rgba(15, 10, 25, 0.9);
}

.faq-container summary {
    padding: 1.5rem;
    color: var(--text-muted);
    /* 淺灰色 */
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    /*移除預設的黑色三角形*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-container summary::-webkit-details-marker {
    display: none;
    /*移除預設的黑色三角形 (Safari) */
}

.faq-container summary:hover {
    color: var(--neon-yellow);
    /* 滑鼠懸停 (hover) 時文字要變成霓虹黃色 */
}

/* 自訂的 CSS 加號/減號或科技感箭頭 */
.faq-container summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--neon-yellow);
    transition: transform 0.3s ease;
}

.faq-container details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

/* 展開後的內容 */
.faq-content {
    padding: 0 0.5rem 0 1.5rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    /* 較小的白色字體 */
    line-height: 1.6;
    border-left: 2px solid var(--neon-yellow);
    /* 左側加上一條 2px 的霓虹黃色邊框 */
}

@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 1.5rem;
    }
}

/* --- 賽博龐克頁尾 --- */
.cyber-footer {
    position: relative;
    z-index: 10;
    background-color: #050508;
    border-top: 1px solid var(--neon-yellow);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-left .copyright {
    color: #666;
    /* 暗灰色字體 */
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-right a:hover {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(233, 209, 0, 0.5);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   課程詳情頁 (course.html) 專屬樣式
   ========================================================================== */

/* --- 導覽列 Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    /* 適當減少高度 */
    border-bottom: 1px solid rgba(233, 209, 0, 0.3);
    background-color: rgba(15, 5, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    color: var(--neon-yellow);
    font-size: 1.5rem;
    /* 縮小 Logo 字型 */
    font-weight: 800;
    text-shadow: 0 0 10px rgba(233, 209, 0, 0.5);
    /* 保持發光但不笨重 */
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .navbar-logo {
        font-size: 1.2rem;
        /* 手機版進一步縮小 */
    }
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav-link:hover {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(233, 209, 0, 0.5);
    border-bottom: 2px solid var(--neon-yellow);
}

/* --- 語言切換按鈕 --- */
.lang-switch {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.lang-switch:hover {
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.7);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.8), 0 0 16px rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.25);
}

/* --- 課程詳情頁首區塊 (Hero Section) --- */
.course-hero {
    position: relative;
    z-index: 10;
    padding: 120px 2rem 6rem !important;
    /* 強制推擠內容 */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .course-hero {
        padding-top: 140px !important;
        /* 確保折行也不會撞到天花板 */
    }
}

.course-hero-header {
    text-align: center;
    margin-bottom: 4rem;
}

.main-title {
    color: var(--neon-yellow);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(233, 209, 0, 0.6), 0 0 40px rgba(233, 209, 0, 0.3);
    line-height: 1.2;
}

.main-subtitle {
    color: var(--text-primary);
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.course-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 100%;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .course-hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* 右欄：課程核心亮點清單 */
.course-highlights ul {
    list-style: none;
    padding: 0;
}

.course-highlights li {
    background: rgba(25, 25, 35, 0.6);
    border: 1px solid rgba(233, 209, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(233, 209, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-highlights li:hover {
    transform: translateX(10px);
    box-shadow: inset 0 0 15px rgba(233, 209, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-yellow);
}

.course-highlights li::before {
    content: '✦';
    color: var(--neon-yellow);
    margin-right: 15px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--neon-yellow);
}

/* 左欄：能力解鎖面板 */
.skill-panel {
    background: rgba(10, 5, 20, 0.8);
    border: 1px solid var(--neon-yellow);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(233, 209, 0, 0.2), inset 0 0 20px rgba(233, 209, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.skill-panel h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.skill-item {
    margin-bottom: 1.8rem;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 600;
}

.skill-info span:last-child {
    color: var(--neon-yellow);
    text-shadow: 0 0 5px rgba(233, 209, 0, 0.5);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.progress {
    height: 100%;
    background: var(--neon-yellow);
    box-shadow: 0 0 15px var(--neon-yellow);
    border-radius: 6px;
    /* 加入進度條載入動畫 */
    animation: fillProgress 1.5s ease-out forwards;
    transform-origin: left;
}

@keyframes fillProgress {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

.course-hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }

    .course-hero {
        padding: 4rem 1.5rem;
    }

    .course-hero-grid {
        gap: 3rem;
    }
}

/* --- 上課前 vs 上課後 (Before & After) 區塊 --- */
.before-after-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.before-after-title {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-bottom: 4rem;
}

.before-after-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.ba-card {
    flex: 1;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.ba-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.ba-status-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.ba-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ba-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

/* 左卡片 (Before) */
.card-before {
    background: rgba(40, 20, 20, 0.6);
    border: 1px solid rgba(139, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.card-before::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 輕微雜訊感 */
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    pointer-events: none;
}

.card-before .ba-card-title {
    color: #ff6b6b;
}

.tag-before {
    background: rgba(255, 0, 0, 0.15);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

/* 右卡片 (After) */
.card-after {
    background: #0b021d;
    /* 深紫黑色 */
    border: 1px solid var(--neon-yellow);
    box-shadow: 0 0 15px rgba(233, 209, 0, 0.5), inset 0 0 10px rgba(233, 209, 0, 0.2);
    color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    /* Frutiger Aero 風格的清透感背景 */
    background: linear-gradient(135deg, rgba(20, 10, 40, 0.9) 0%, rgba(10, 5, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Frutiger Aero 細緻亮面高光 */
.glass-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 16px 16px 0 0;
}

.card-after:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(233, 209, 0, 0.8), inset 0 0 25px rgba(233, 209, 0, 0.4);
}

.card-after .ba-card-title {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(233, 209, 0, 0.5);
}

.tag-after {
    /* 高光漸層文字 */
    background: linear-gradient(90deg, #fff, var(--neon-yellow), #fff);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    border: 1px solid var(--neon-yellow);
    box-shadow: inset 0 0 10px rgba(233, 209, 0, 0.3), 0 0 10px rgba(233, 209, 0, 0.3);
    animation: shine 3s linear infinite;
    padding: 0.4rem 1rem;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.card-after .ba-list li {
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* VS 中間發光圖示 */
.ba-vs-icon {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow), 0 0 40px var(--neon-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

/* 響應式：手機版上下排列 */
@media (max-width: 992px) {
    .before-after-container {
        flex-direction: column;
    }

    .ba-vs-icon {
        transform: rotate(90deg);
        margin: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .before-after-section {
        padding: 4rem 1.5rem;
    }

    .before-after-title {
        font-size: 1.8rem;
    }
}

/* --- 課程大綱與技能解鎖區塊 --- */
.syllabus-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.syllabus-title {
    color: var(--text-primary);
    text-shadow: none;
    position: relative;
    display: inline-block;
    margin-bottom: 4rem;
}

.syllabus-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background-color: var(--neon-yellow);
    box-shadow: 0 0 10px var(--neon-yellow);
}

.syllabus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .syllabus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.syllabus-card {
    background: rgba(25, 25, 35, 0.8);
    border-left: 4px solid var(--neon-yellow);
    border-radius: 0 12px 12px 0;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.syllabus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(233, 209, 0, 0.1), 0 0 15px rgba(233, 209, 0, 0.3);
}

.syllabus-card h3 {
    color: var(--neon-yellow);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.syllabus-objective {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.syllabus-card ul {
    list-style: none;
    padding: 0;
}

.syllabus-card ul li {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0;
}

.syllabus-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-buy-huge {
    background: var(--neon-yellow);
    color: var(--bg-color);
    font-size: 1.5rem;
    font-weight: 800;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(233, 209, 0, 0.6), 0 0 40px rgba(233, 209, 0, 0.4);
    display: inline-block;
}

.btn-buy-huge:hover {
    background: var(--neon-yellow-hover);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 0 30px rgba(233, 209, 0, 0.8), 0 0 60px rgba(233, 209, 0, 0.6);
}

@media (max-width: 768px) {
    .syllabus-section {
        padding: 4rem 1.5rem;
    }

    .syllabus-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .btn-buy-huge {
        font-size: 1.2rem;
        padding: 1.2rem 2rem;
        width: 100%;
    }
}