/* 基礎樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #333;
    overflow: hidden;
    height: 100vh;
    user-select: none;
}

/* 簡化滾動設置 */
.slide {
    pointer-events: auto;
    user-select: none;
}

.slide-content {
    pointer-events: auto;
    user-select: text;
}

.slide::-webkit-scrollbar,
.slide::-webkit-scrollbar-track,
.slide::-webkit-scrollbar-thumb {
    user-select: auto;
}

/* 導航控制 */
.navigation {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    background: #3b82f6;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.slide-counter {
    font-weight: 500;
    color: #374151;
    min-width: 60px;
    text-align: center;
}

/* 投影片容器 */
.presentation-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    padding: 20px;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    cursor: default;
    box-sizing: border-box;
}

.slide * {
    user-select: text;
}

.slide::-webkit-scrollbar-thumb {
    cursor: grab !important;
}

.slide::-webkit-scrollbar-thumb:active {
    cursor: grabbing !important;
}

/* 確保滾輪事件正常傳遞 */
.slide {
    touch-action: auto;
}

.slide-content {
    touch-action: auto;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 1200px;
    width: 100%;
    height: auto;
    min-height: calc(100vh - 40px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 20px auto;
    flex-shrink: 0;
    overflow: visible;
    box-sizing: border-box;
}

/* 標題投影片 */
.title-slide {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.title-header {
    margin-bottom: 40px;
}

.title-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fbbf24;
}

.title-slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-slide h2 {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.9;
}

.title-info {
    margin: 40px 0;
}

.course-info {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.date-info {
    font-size: 1rem;
    opacity: 0.8;
}

.title-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 內容投影片 */
.content-slide h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.content-slide h2 i {
    color: #3b82f6;
}

.content-slide h3 {
    font-size: 1.8rem;
    color: #374151;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-slide h4 {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 15px;
}

.content-slide p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
}

.content-slide ul {
    list-style: none;
    margin-left: 20px;
}

.content-slide li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.content-slide li:before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 課程大綱 */
.outline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.outline-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #3b82f6;
}

.outline-section h3 {
    color: #1f2937;
    margin-bottom: 20px;
}

.outline-section h3 i {
    color: #3b82f6;
}

/* 身份驗證基礎 */
.auth-basics {
    space-y: 40px;
}

.auth-definition {
    background: #eff6ff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.factor-item {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.factor-item:hover {
    transform: translateY(-5px);
}

.factor-item i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.factor-item h4 {
    color: #1f2937;
    margin-bottom: 10px;
}

.factor-item p {
    color: #374151;
    margin-bottom: 10px;
}

.example {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* 弱密碼問題 */
.weak-password-content {
    space-y: 40px;
}

.problem-definition {
    background: #fef2f2;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #dc2626;
    margin-bottom: 30px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.example-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
    display: flex;
    align-items: center;
    gap: 15px;
}

.example-item.danger i {
    color: #dc2626;
    font-size: 1.5rem;
}

.statistics {
    margin-top: 40px;
}

.stats-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 25px;
}

.stat-box {
    text-align: center;
    background: #1f2937;
    color: white;
    padding: 25px;
    border-radius: 15px;
    min-width: 200px;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    display: block;
    margin-bottom: 10px;
}

.stat-box .stat-desc {
    font-size: 1rem;
}

/* OWASP 內容 */
.owasp-content {
    space-y: 40px;
}

.ranking-item {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.rank-number {
    font-size: 3rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
}

.rank-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.impact-item {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.impact-item i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.impact-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    display: block;
    margin-bottom: 10px;
}

.impact-desc {
    color: #374151;
}

.weakness-list {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.weakness-list li {
    margin-bottom: 12px;
    color: #374151;
}

.weakness-list i {
    color: #dc2626;
    margin-right: 10px;
}

/* 攻擊手法 */
.attack-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.attack-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.attack-category:hover {
    transform: translateY(-5px);
}

.attack-category i {
    font-size: 2.5rem;
    color: #dc2626;
    margin-bottom: 20px;
}

.attack-category h3 {
    color: #1f2937;
    margin-bottom: 15px;
}

.attack-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.9rem;
}

.difficulty {
    background: #fef3c7;
    color: #92400e;
    padding: 5px 10px;
    border-radius: 20px;
}

.time {
    background: #dbeafe;
    color: #1e40af;
    padding: 5px 10px;
    border-radius: 20px;
}

/* 暴力破解攻擊 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1f2937;
    margin-bottom: 5px;
}

.step-content p {
    color: #374151;
    font-size: 0.95rem;
}

.complexity-table {
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 25px;
}

.table-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.table-row.header {
    background: #1f2937;
    color: white;
    font-weight: 600;
}

.table-row:last-child {
    border-bottom: none;
}

/* 字典攻擊 */
.dict-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.dict-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.dict-item i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.dict-size {
    background: #eff6ff;
    color: #1e40af;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
    display: inline-block;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.tool-item {
    background: #1f2937;
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-item i {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 10px;
}

.tool-item h4 {
    margin-bottom: 8px;
    color: white;
}

.tool-item p {
    color: #d1d5db;
    font-size: 0.9rem;
}

.rate-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.rate-item {
    text-align: center;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    min-width: 150px;
}

.rate-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* 第八頁重新佈局 */
.dictionary-attack-content {
    display: block;
    padding: 0;
    margin: 0;
}

.dictionary-attack-content > div {
    margin-bottom: 30px;
    clear: both;
}

.dictionary-attack-content .attack-definition {
    background: #eff6ff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.dictionary-attack-content .dictionary-types {
    margin-bottom: 30px;
}

.dictionary-attack-content .attack-tools {
    margin-bottom: 30px;
}

.dictionary-attack-content .success-rate {
    margin-bottom: 20px;
}

/* 彩虹表攻擊 */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.flow-step {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.flow-step i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: bold;
}

.advantages-disadvantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.advantages, .disadvantages {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.advantages {
    border-left: 5px solid #10b981;
}

.disadvantages {
    border-left: 5px solid #dc2626;
}

.advantages h3 i {
    color: #10b981;
}

.disadvantages h3 i {
    color: #dc2626;
}

.salt-example {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-top: 25px;
}

.without-salt, .with-salt {
    margin-bottom: 20px;
}

.without-salt h4 {
    color: #dc2626;
}

.with-salt h4 {
    color: #10b981;
}

code {
    background: #1f2937;
    color: #fbbf24;
    padding: 10px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
    word-break: break-all;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .slide-content {
        padding: 20px;
        margin: 10px auto;
        min-height: 90vh;
        height: auto;
    }
    
    .slide {
        padding: 10px;
    }
    
    .title-slide h1 {
        font-size: 2.5rem;
    }
    
    .title-slide h2 {
        font-size: 1.4rem;
    }
    
    .title-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .outline-grid,
    .factors-grid,
    .examples-grid,
    .stats-grid,
    .attack-categories,
    .process-steps,
    .dict-grid,
    .methods-grid,
    .triggers-list,
    .stuffing-steps,
    .causes-categories,
    .impact-categories,
    .takeaway-grid,
    .action-categories {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .content-slide h2 {
        font-size: 2rem;
    }
    
    .content-slide h3 {
        font-size: 1.5rem;
    }
    
    .content-slide h4 {
        font-size: 1.2rem;
    }
    
    .content-slide p,
    .content-slide li {
        font-size: 1rem;
    }
}

/* 滾動條樣式 - 清晰可見 */
.slide::-webkit-scrollbar {
    width: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.slide::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin: 5px 0;
}

.slide::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 30px;
}

.slide::-webkit-scrollbar-thumb:hover {
    background: #475569;
    cursor: pointer;
}

.slide::-webkit-scrollbar-thumb:active {
    background: #334155;
    cursor: grabbing;
}

.slide::-webkit-scrollbar-corner {
    background: transparent;
}

.slide {
    scrollbar-width: thin;
    scrollbar-color: #64748b rgba(255, 255, 255, 0.2);
}

/* 社交工程攻擊 */
.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.method-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.method-item i {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 15px;
}

.success-rate {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fef3c7;
    color: #92400e;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.triggers-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.trigger-item {
    background: #fef2f2;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #dc2626;
}

.trigger-item i {
    color: #dc2626;
    margin-right: 10px;
}

.trigger-item h4 {
    color: #1f2937;
    margin-bottom: 10px;
}

.trigger-item p {
    color: #374151;
    font-style: italic;
    font-size: 0.95rem;
}

/* 憑證填充攻擊 */
.stuffing-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.stuffing-step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
}

.stuffing-step .step-number {
    background: #dc2626;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.impact-list {
    background: #fef2f2;
    padding: 25px;
    border-radius: 15px;
    margin-top: 25px;
}

.impact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.impact-list i {
    color: #dc2626;
    font-size: 1.2rem;
    width: 20px;
}

/* 漏洞成因分析 */
.causes-overview {
    background: #eff6ff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.causes-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.cause-category {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cause-category > i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.cause-category > h3 {
    color: #1f2937;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.cause-items {
    space-y: 15px;
}

.cause-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.cause-item h4 {
    color: #374151;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cause-item p {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 真實案例分析 */
.case-studies {
    space-y: 30px;
}

.case-study {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 25px;
}

.case-study.major {
    border-left: 5px solid #dc2626;
}

.case-header {
    background: #1f2937;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-header h3 {
    color: white !important;
}

.case-header i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.case-header h3 {
    flex: 1;
    margin: 0;
}

.case-year {
    background: #fbbf24;
    color: #1f2937;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.case-details {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.case-impact, .case-cause, .case-consequence {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
}

.case-impact h4 {
    color: #dc2626;
    margin-bottom: 10px;
}

.case-cause h4 {
    color: #f59e0b;
    margin-bottom: 10px;
}

.case-consequence h4 {
    color: #3b82f6;
    margin-bottom: 10px;
}

.case-impact p strong {
    color: #dc2626;
    font-size: 1.2rem;
}

/* 台灣本土案例 */
.taiwan-cases {
    space-y: 25px;
}

.local-case {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 25px;
}

.local-case .case-header {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.local-case .case-header h3 {
    color: white !important;
}

.severity {
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
}

.severity.high {
    background: #fecaca;
    color: #991b1b;
}

.severity.medium {
    background: #fed7aa;
    color: #9a3412;
}

.severity.critical {
    background: #dc2626;
    color: white;
}

.case-content {
    padding: 25px;
}

.case-description, .case-problems, .case-impact, .case-lessons {
    margin-bottom: 20px;
}

.case-description h4, .case-problems h4, .case-impact h4, .case-lessons h4 {
    color: #1f2937 !important;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
}

/* 確保案例內容文字顏色正確 */
.case-content p, .case-content li {
    color: #374151 !important;
}

.case-details p, .case-details li {
    color: #374151 !important;
}

/* 潛在危害與影響 */
.impact-analysis {
    margin-top: 30px;
}

.impact-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.impact-category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.impact-category.financial {
    border-left: 5px solid #10b981;
}

.impact-category.reputation {
    border-left: 5px solid #f59e0b;
}

.impact-category.legal {
    border-left: 5px solid #dc2626;
}

.impact-category.operational {
    border-left: 5px solid #3b82f6;
}

.impact-category > i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.impact-category.financial > i {
    color: #10b981;
}

.impact-category.reputation > i {
    color: #f59e0b;
}

.impact-category.legal > i {
    color: #dc2626;
}

.impact-category.operational > i {
    color: #3b82f6;
}

.impact-category > h3 {
    margin-bottom: 20px;
    color: #1f2937;
}

.impact-items {
    space-y: 15px;
}

.impact-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.impact-item h4 {
    color: #374151;
    margin-bottom: 8px;
}

.impact-item p {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 經濟損失統計 */
.cost-analysis {
    space-y: 40px;
}

.global-stats {
    text-align: center;
    margin-bottom: 40px;
}

.stats-grid .stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-card.major {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.stat-card i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.stat-card.major i {
    color: #fbbf24;
}

.stat-card:not(.major) i {
    color: #3b82f6;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-card.major .stat-number {
    color: #fbbf24;
}

.stat-card:not(.major) .stat-number {
    color: #1f2937;
}

.cost-chart {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-top: 25px;
}

.cost-item {
    margin-bottom: 15px;
}

.cost-bar {
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cost-label {
    font-weight: 600;
}

.cost-percentage {
    font-weight: 700;
}

.industry-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.industry-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.industry-item i {
    font-size: 2rem;
    color: #3b82f6;
}

.industry-item h4 {
    flex: 1;
    margin: 0;
    color: #1f2937;
}

.industry-item .cost {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
}

.roi-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
}

.roi-item {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.roi-item.prevention {
    border-left: 5px solid #dc2626;
}

.roi-item.savings {
    border-left: 5px solid #10b981;
}

.roi-item h4 {
    color: #1f2937;
    margin-bottom: 15px;
}

.roi-item .amount {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.roi-item.prevention .amount {
    color: #dc2626;
}

.roi-item.savings .amount {
    color: #10b981;
}

.roi-arrow {
    font-size: 2rem;
    color: #6b7280;
    font-weight: bold;
}

/* 防護策略概覽 */
.defense-pyramid {
    text-align: center;
    margin-bottom: 40px;
}

.pyramid-levels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.pyramid-level {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.pyramid-level:hover {
    transform: translateY(-5px);
}

.pyramid-level.level-1 {
    border-left: 5px solid #10b981;
}

.pyramid-level.level-2 {
    border-left: 5px solid #3b82f6;
}

.pyramid-level.level-3 {
    border-left: 5px solid #f59e0b;
}

.pyramid-level.level-4 {
    border-left: 5px solid #dc2626;
}

.pyramid-level i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.pyramid-level.level-1 i {
    color: #10b981;
}

.pyramid-level.level-2 i {
    color: #3b82f6;
}

.pyramid-level.level-3 i {
    color: #f59e0b;
}

.pyramid-level.level-4 i {
    color: #dc2626;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.principle-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.principle-item i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 10px;
}

/* 技術防禦措施 */
.technical-defenses {
    space-y: 40px;
}

.defense-category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.defense-category > i {
    font-size: 2rem;
    color: #3b82f6;
    margin-right: 15px;
}

.defense-category > h3 {
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.defense-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.defense-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
}

.mfa-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.mfa-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.mfa-item i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 10px;
}

.security-level {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.security-level.low {
    background: #fecaca;
    color: #991b1b;
}

.security-level.medium {
    background: #fed7aa;
    color: #9a3412;
}

.security-level.high {
    background: #dcfce7;
    color: #166534;
}

.algorithm-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.algo-item {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.algo-item.deprecated {
    background: #fecaca;
    color: #991b1b;
}

.algo-item.acceptable {
    background: #fed7aa;
    color: #9a3412;
}

.algo-item.recommended {
    background: #dbeafe;
    color: #1e40af;
}

.algo-item.best {
    background: #dcfce7;
    color: #166534;
}

.algo-name {
    font-weight: 600;
}

.status {
    font-size: 0.8rem;
}

.protection-measures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.measure-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.measure-item h4 {
    color: #1f2937;
    margin-bottom: 8px;
}

.measure-item p {
    color: #374151;
    font-size: 0.9rem;
}

/* 管理防禦措施 */
.management-defenses {
    space-y: 30px;
}

.management-category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
}

.management-category > i {
    font-size: 2rem;
    color: #3b82f6;
    margin-right: 15px;
}

.management-category > h3 {
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.policy-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.policy-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
}

.education-programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.program-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
}

.training-content, .drill-content {
    margin-top: 10px;
}

.monitoring-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.monitor-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
}

.response-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.phase-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.phase-number {
    background: #3b82f6;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 10px;
}

/* 課程總結 */
.summary-content {
    space-y: 40px;
}

.takeaway-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.takeaway-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #3b82f6;
}

.takeaway-item i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.action-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.action-category {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.action-category.immediate {
    border-left: 5px solid #dc2626;
}

.action-category.short-term {
    border-left: 5px solid #f59e0b;
}

.action-category.long-term {
    border-left: 5px solid #10b981;
}

.action-category h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-category.immediate h4 i {
    color: #dc2626;
}

.action-category.short-term h4 i {
    color: #f59e0b;
}

.action-category.long-term h4 i {
    color: #10b981;
}

.final-message {
    text-align: center;
    margin: 40px 0;
}

.message-box {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.message-box i {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 15px;
}

.message-box h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.highlight {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.course-end {
    text-align: center;
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
}

.course-end h3 {
    color: #1f2937;
    margin-bottom: 10px;
}

.course-end p {
    color: #6b7280;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #3b82f6;
    font-weight: 500;
}

.contact-info i {
    font-size: 1.2rem;
}