add bitcoin section

D David Veksler · 1 year ago 4a60f4e0fd40712284e98c43af7792d3d3c4dea8
Parent: a25899591

1 file changed +1257 −392

Diff

diff --git a/post-quantum-cryptography.html b/post-quantum-cryptography.html
index ee3c85f..0eab822 100644
--- a/post-quantum-cryptography.html
+++ b/post-quantum-cryptography.html
@@ -1,12 +1,13 @@
 <!DOCTYPE html>
 <html lang="en">
+
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Comprehensive Guide to Post-Quantum Cryptography</title>    
-    <link rel="canonical" href="https://cheatsheets.davidveksler.com/post-quantum-cryptography.html"> 
+    <title>Comprehensive Guide to Post-Quantum Cryptography</title>
+    <link rel="canonical" href="https://cheatsheets.davidveksler.com/post-quantum-cryptography.html">
+
 
-    
     <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
     <style>
@@ -18,9 +19,12 @@
             --font-heading: 'Montserrat', sans-serif;
             --font-body: 'Inter', sans-serif;
 
-            --primary-theme-color: #0A2463; /* Quantum Blue */
-            --accent-color-1: #FF8C00; /* Bright Orange */
-            --accent-color-2: #00C9A7; /* Electric Teal */
+            --primary-theme-color: #0A2463;
+            /* Quantum Blue */
+            --accent-color-1: #FF8C00;
+            /* Bright Orange */
+            --accent-color-2: #00C9A7;
+            /* Electric Teal */
             --text-color-light: #f8f9fa;
             --text-color-dark: #212529;
             --card-bg: #ffffff;
@@ -28,15 +32,26 @@
             --border-color: #dee2e6;
 
             /* Section Specific Themes */
-            --section-1-color: #4B0082; /* Indigo */
-            --section-2-color: #228B22; /* Forest Green */
-            --section-3-color: #DC143C; /* Crimson Red */
-            --section-4-color: #708090; /* Slate Gray */
-            --section-5-color: #D92027; /* Fiery Red */
-            --section-6-color: #4169E1; /* Royal Blue */
-            --section-7-color: #9932CC; /* Dark Orchid */
-            --section-8-color: #DAA520; /* Goldenrod */
-            --section-9-color: #4682B4; /* Steel Blue */
+            --section-1-color: #4B0082;
+            /* Indigo */
+            --section-2-color: #228B22;
+            /* Forest Green */
+            --section-3-color: #DC143C;
+            /* Crimson Red */
+            --section-4-color: #708090;
+            /* Slate Gray */
+            --section-5-color: #D92027;
+            /* Fiery Red */
+            --section-6-color: #4169E1;
+            /* Royal Blue */
+            --section-7-color: #9932CC;
+            /* Dark Orchid */
+            --section-8-color: #DAA520;
+            /* Goldenrod */
+            --section-9-color: #4682B4;
+            /* Steel Blue */
+            --section-10-color: #008080;
+            /* Dark Teal */
         }
 
         body {
@@ -47,23 +62,29 @@
         }
 
         .hero-header {
-            background: linear-gradient(135deg, var(--primary-theme-color), #1a3f8a); /* Gradient of Quantum Blue */
+            background: linear-gradient(135deg, var(--primary-theme-color), #1a3f8a);
+            /* Gradient of Quantum Blue */
             color: var(--text-color-light);
             padding: 4rem 1.5rem;
             text-align: center;
             margin-bottom: 3rem;
             border-bottom: 5px solid var(--accent-color-2);
         }
+
         .hero-header h1 {
             font-family: var(--font-display);
             font-size: 3.8rem;
             margin-bottom: 0.75rem;
-            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
+            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
         }
+
         .hero-header h1 .bi {
-            font-size: 0.8em; /* Relative to h1 */
-            vertical-align: -0.05em; /* Fine-tune alignment */
+            font-size: 0.8em;
+            /* Relative to h1 */
+            vertical-align: -0.05em;
+            /* Fine-tune alignment */
         }
+
         .hero-header .lead {
             font-family: var(--font-heading);
             font-size: 1.3rem;
@@ -77,87 +98,185 @@
             padding: 2rem;
             margin-bottom: 2.5rem;
             border-radius: 8px;
-            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
-            border-top: 5px solid var(--primary-theme-color); /* Default, will be overridden */
+            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
+            border-top: 5px solid var(--primary-theme-color);
+            /* Default, will be overridden */
         }
+
         .main-section-header h2 {
             font-family: var(--font-display);
             font-size: 2.6rem;
             margin-bottom: 0.5rem;
-            color: var(--primary-theme-color); /* Default, overridden */
+            color: var(--primary-theme-color);
+            /* Default, overridden */
         }
+
         .main-section-header h2 .bi {
             margin-right: 0.75rem;
             vertical-align: -0.1em;
         }
+
         .main-section-header .btn {
             font-family: var(--font-heading);
             font-weight: 600;
         }
+
         .main-section-header .btn-expand-all {
             background-color: var(--accent-color-2);
             border-color: var(--accent-color-2);
             color: var(--text-color-light);
         }
-         .main-section-header .btn-expand-all:hover {
-            background-color: #00a085; border-color: #00a085;
+
+        .main-section-header .btn-expand-all:hover {
+            background-color: #00a085;
+            border-color: #00a085;
         }
+
         .main-section-header .btn-collapse-all {
             background-color: var(--accent-color-1);
             border-color: var(--accent-color-1);
             color: var(--text-color-light);
         }
-         .main-section-header .btn-collapse-all:hover {
-            background-color: #d97500; border-color: #d97500;
+
+        .main-section-header .btn-collapse-all:hover {
+            background-color: #d97500;
+            border-color: #d97500;
         }
 
 
         /* Section specific themes */
-        .introduction-theme { border-top-color: var(--section-1-color); }
-        .introduction-theme .main-section-header h2 { color: var(--section-1-color); }
-        .introduction-theme .info-card .card-header { background-color: var(--section-1-color); }
+        .introduction-theme {
+            border-top-color: var(--section-1-color);
+        }
+
+        .introduction-theme .main-section-header h2 {
+            color: var(--section-1-color);
+        }
 
-        .foundations-theme { border-top-color: var(--section-2-color); }
-        .foundations-theme .main-section-header h2 { color: var(--section-2-color); }
-        .foundations-theme .info-card .card-header { background-color: var(--section-2-color); }
+        .introduction-theme .info-card .card-header {
+            background-color: var(--section-1-color);
+        }
 
-        .algorithms-theme { border-top-color: var(--section-3-color); }
-        .algorithms-theme .main-section-header h2 { color: var(--section-3-color); }
-        .algorithms-theme .info-card .card-header { background-color: var(--section-3-color); }
+        .foundations-theme {
+            border-top-color: var(--section-2-color);
+        }
 
-        .hardware-theme { border-top-color: var(--section-4-color); }
-        .hardware-theme .main-section-header h2 { color: var(--section-4-color); }
-        .hardware-theme .info-card .card-header { background-color: var(--section-4-color); }
-        
-        .exploits-theme { border-top-color: var(--section-5-color); }
-        .exploits-theme .main-section-header h2 { color: var(--section-5-color); }
-        .exploits-theme .info-card .card-header { background-color: var(--section-5-color); }
+        .foundations-theme .main-section-header h2 {
+            color: var(--section-2-color);
+        }
 
-        .migration-theme { border-top-color: var(--section-6-color); }
-        .migration-theme .main-section-header h2 { color: var(--section-6-color); }
-        .migration-theme .info-card .card-header { background-color: var(--section-6-color); }
+        .foundations-theme .info-card .card-header {
+            background-color: var(--section-2-color);
+        }
 
-        .geopolitics-theme { border-top-color: var(--section-7-color); }
-        .geopolitics-theme .main-section-header h2 { color: var(--section-7-color); }
-        .geopolitics-theme .info-card .card-header { background-color: var(--section-7-color); }
+        .algorithms-theme {
+            border-top-color: var(--section-3-color);
+        }
+
+        .algorithms-theme .main-section-header h2 {
+            color: var(--section-3-color);
+        }
 
-        .applications-theme { border-top-color: var(--section-8-color); }
-        .applications-theme .main-section-header h2 { color: var(--section-8-color); }
-        .applications-theme .info-card .card-header { background-color: var(--section-8-color); }
+        .algorithms-theme .info-card .card-header {
+            background-color: var(--section-3-color);
+        }
+
+        .hardware-theme {
+            border-top-color: var(--section-4-color);
+        }
+
+        .hardware-theme .main-section-header h2 {
+            color: var(--section-4-color);
+        }
+
+        .hardware-theme .info-card .card-header {
+            background-color: var(--section-4-color);
+        }
+
+        .exploits-theme {
+            border-top-color: var(--section-5-color);
+        }
+
+        .exploits-theme .main-section-header h2 {
+            color: var(--section-5-color);
+        }
+
+        .exploits-theme .info-card .card-header {
+            background-color: var(--section-5-color);
+        }
+
+        .migration-theme {
+            border-top-color: var(--section-6-color);
+        }
+
+        .migration-theme .main-section-header h2 {
+            color: var(--section-6-color);
+        }
+
+        .migration-theme .info-card .card-header {
+            background-color: var(--section-6-color);
+        }
+
+        .geopolitics-theme {
+            border-top-color: var(--section-7-color);
+        }
+
+        .geopolitics-theme .main-section-header h2 {
+            color: var(--section-7-color);
+        }
+
+        .geopolitics-theme .info-card .card-header {
+            background-color: var(--section-7-color);
+        }
+
+        .applications-theme {
+            border-top-color: var(--section-8-color);
+        }
+
+        .applications-theme .main-section-header h2 {
+            color: var(--section-8-color);
+        }
+
+        .applications-theme .info-card .card-header {
+            background-color: var(--section-8-color);
+        }
+
+
+        .bitcoin-pqc-theme {
+            border-top-color: var(--section-9-color);
+        }
+
+        .bitcoin-pqc-theme .main-section-header h2 {
+            color: var(--section-9-color);
+        }
+
+        .bitcoin-pqc-theme .info-card .card-header {
+            background-color: var(--section-9-color);
+        }
+
+        .future-theme {
+            border-top-color: var(--section-10-color);
+        }
+
+        .future-theme .main-section-header h2 {
+            color: var(--section-10-color);
+        }
 
-        .future-theme { border-top-color: var(--section-9-color); }
-        .future-theme .main-section-header h2 { color: var(--section-9-color); }
-        .future-theme .info-card .card-header { background-color: var(--section-9-color); }
+        .future-theme .info-card .card-header {
+            background-color: var(--section-10-color);
+        }
 
 
         .info-card {
             border: 1px solid var(--border-color);
             border-radius: 0.5rem;
-            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
-            height: 100%; /* For consistent height in rows */
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
+            height: 100%;
+            /* For consistent height in rows */
             display: flex;
             flex-direction: column;
         }
+
         .info-card .card-header {
             /* Background color set by section theme */
             color: var(--text-color-light);
@@ -166,28 +285,33 @@
             border-top-left-radius: calc(0.5rem - 1px);
             border-top-right-radius: calc(0.5rem - 1px);
         }
+
         .info-card .card-header h5 {
             font-family: var(--font-heading);
             font-size: 1.2rem;
             font-weight: 600;
             margin-bottom: 0;
         }
+
         .info-card .card-header h5 .bi {
             margin-right: 0.5rem;
             vertical-align: -0.1em;
         }
+
         .info-card .card-body {
             padding: 1.25rem;
             flex-grow: 1;
             display: flex;
             flex-direction: column;
         }
+
         .info-card p.summary {
             font-size: 0.95rem;
             color: #555;
             margin-bottom: 1rem;
             flex-grow: 1;
         }
+
         .details-toggle {
             background-color: var(--accent-color-1);
             border-color: var(--accent-color-1);
@@ -196,25 +320,32 @@
             font-weight: 600;
             padding: 0.4rem 0.8rem;
             font-size: 0.9rem;
-            margin-top: auto; /* Pushes button to bottom */
+            margin-top: auto;
+            /* Pushes button to bottom */
         }
+
         .details-toggle:hover {
             background-color: #d97500;
             border-color: #d97500;
         }
+
         .details-toggle .bi {
             transition: transform 0.25s ease-in-out;
         }
+
         .details-toggle[aria-expanded="true"] .bi-chevron-down {
             transform: rotate(180deg);
         }
+
         .collapse-content {
             padding: 1.25rem;
-            background-color: #fbfdff; /* Slightly off-white for content area */
+            background-color: #fbfdff;
+            /* Slightly off-white for content area */
             border-top: 1px solid var(--border-color);
             border-bottom-left-radius: calc(0.5rem - 1px);
             border-bottom-right-radius: calc(0.5rem - 1px);
         }
+
         .collapse-content h6 {
             font-family: var(--font-heading);
             font-weight: 700;
@@ -223,9 +354,12 @@
             margin-bottom: 0.5rem;
             font-size: 1.05rem;
         }
-        .collapse-content ul, .collapse-content ol {
+
+        .collapse-content ul,
+        .collapse-content ol {
             padding-left: 1.2rem;
         }
+
         .collapse-content li {
             margin-bottom: 0.4rem;
         }
@@ -243,13 +377,16 @@
             list-style: none;
             padding-left: 0;
         }
+
         .styled-list li {
             padding-left: 2em;
             position: relative;
             margin-bottom: 0.5em;
         }
+
         .styled-list li::before {
-            content: "\F28A"; /* bi-check2-circle */
+            content: "\F28A";
+            /* bi-check2-circle */
             font-family: "bootstrap-icons";
             color: var(--accent-color-2);
             position: absolute;
@@ -267,6 +404,7 @@
             border-radius: 0.3rem;
             position: relative;
         }
+
         .callout h5 {
             font-family: var(--font-heading);
             font-weight: 700;
@@ -276,65 +414,97 @@
             align-items: center;
             font-size: 1.1rem;
         }
+
         .callout h5 .bi {
             font-size: 1.2em;
             margin-right: 0.5em;
         }
 
         .callout-security-alert {
-            border-left-color: var(--section-5-color); /* Fiery Red */
-            background-color: #ffebee; /* Light Red */
-            color: #c62828; /* Dark Red */
+            border-left-color: var(--section-5-color);
+            /* Fiery Red */
+            background-color: #ffebee;
+            /* Light Red */
+            color: #c62828;
+            /* Dark Red */
+        }
+
+        .callout-security-alert h5 {
+            color: var(--section-5-color);
         }
-        .callout-security-alert h5 { color: var(--section-5-color); }
 
         .callout-deep-dive {
-            border-left-color: var(--section-2-color); /* Forest Green */
-            background-color: #e8f5e9; /* Light Green */
-            color: #2e7d32; /* Dark Green */
+            border-left-color: var(--section-2-color);
+            /* Forest Green */
+            background-color: #e8f5e9;
+            /* Light Green */
+            color: #2e7d32;
+            /* Dark Green */
+        }
+
+        .callout-deep-dive h5 {
+            color: var(--section-2-color);
         }
-        .callout-deep-dive h5 { color: var(--section-2-color); }
 
         .callout-future-watch {
-            border-left-color: var(--section-9-color); /* Steel Blue */
-            background-color: #e3f2fd; /* Light Blue */
-            color: #1565c0; /* Dark Blue */
+            border-left-color: var(--section-9-color);
+            /* Steel Blue */
+            background-color: #e3f2fd;
+            /* Light Blue */
+            color: #1565c0;
+            /* Dark Blue */
+        }
+
+        .callout-future-watch h5 {
+            color: var(--section-9-color);
         }
-        .callout-future-watch h5 { color: var(--section-9-color); }
 
         .callout-key-definition {
-            border-left-color: var(--section-4-color); /* Slate Gray */
-            background-color: #f5f5f5; /* Light Gray */
-            color: #424242; /* Dark Gray */
+            border-left-color: var(--section-4-color);
+            /* Slate Gray */
+            background-color: #f5f5f5;
+            /* Light Gray */
+            color: #424242;
+            /* Dark Gray */
+        }
+
+        .callout-key-definition h5 {
+            color: var(--section-4-color);
         }
-        .callout-key-definition h5 { color: var(--section-4-color); }
 
 
         footer {
             background-color: var(--primary-theme-color);
-            color: #bdc3c7; /* Lighter grey for footer text on dark bg */
+            color: #bdc3c7;
+            /* Lighter grey for footer text on dark bg */
             padding: 3rem 1.5rem;
             text-align: center;
             margin-top: 3rem;
         }
-        footer p { margin-bottom: 0.25rem; }
+
+        footer p {
+            margin-bottom: 0.25rem;
+        }
+
         footer a {
             color: var(--accent-color-2);
             text-decoration: none;
             font-weight: 600;
         }
+
         footer a:hover {
             color: var(--text-color-light);
             text-decoration: underline;
         }
-
     </style>
 </head>
+
 <body>
 
     <header class="hero-header">
         <h1><i class="bi bi-shield-lock-fill"></i> The Comprehensive Guide to Post-Quantum Cryptography</h1>
-        <p class="lead">Navigate the critical transition to quantum-resistant security. Understand the threats, explore the solutions, and prepare for the future of encryption.</p>
+        <p class="lead">Navigate the critical transition to quantum-resistant security. Understand the threats, explore
+            the solutions, and prepare for the future of encryption.</p>
     </header>
 
     <div class="container">
@@ -343,8 +513,10 @@
             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-compass"></i>1. Introduction to PQC</h2>
                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-introduction"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-introduction"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-introduction"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-introduction"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
             <div class="row">
@@ -354,14 +526,28 @@
                             <h5><i class="bi bi-exclamation-octagon-fill"></i>The Quantum Threat</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Quantum computers pose a fundamental threat to current cryptographic standards like RSA and ECC by being able to solve their underlying mathematical problems.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseQuantumThreat" aria-expanded="false" aria-controls="collapseQuantumThreat">
+                            <p class="summary">Quantum computers pose a fundamental threat to current cryptographic
+                                standards like RSA and ECC by being able to solve their underlying mathematical
+                                problems.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseQuantumThreat" aria-expanded="false"
+                                aria-controls="collapseQuantumThreat">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseQuantumThreat">
-                            <p>Current cryptographic standards, the bedrock of our digital security, largely rely on mathematical problems that are incredibly difficult for classical computers to solve. Systems like <span class="term" data-bs-toggle="tooltip" title="Rivest-Shamir-Adleman: A widely used public-key cryptosystem for secure data transmission.">RSA</span> and <span class="term" data-bs-toggle="tooltip" title="Elliptic Curve Cryptography: An approach to public-key cryptography based on the algebraic structure of elliptic curves over finite fields.">ECC</span> protect everything from our bank accounts to national secrets.</p>
-                            <p>However, quantum computers, harnessing the principles of quantum mechanics, can theoretically solve these problems (integer factorization for RSA, discrete logarithm for ECC) with alarming speed. This capability threatens to render much of our existing cryptographic infrastructure obsolete, exposing sensitive data and compromising secure communications.</p>
+                            <p>Current cryptographic standards, the bedrock of our digital security, largely rely on
+                                mathematical problems that are incredibly difficult for classical computers to solve.
+                                Systems like <span class="term" data-bs-toggle="tooltip"
+                                    title="Rivest-Shamir-Adleman: A widely used public-key cryptosystem for secure data transmission.">RSA</span>
+                                and <span class="term" data-bs-toggle="tooltip"
+                                    title="Elliptic Curve Cryptography: An approach to public-key cryptography based on the algebraic structure of elliptic curves over finite fields.">ECC</span>
+                                protect everything from our bank accounts to national secrets.</p>
+                            <p>However, quantum computers, harnessing the principles of quantum mechanics, can
+                                theoretically solve these problems (integer factorization for RSA, discrete logarithm
+                                for ECC) with alarming speed. This capability threatens to render much of our existing
+                                cryptographic infrastructure obsolete, exposing sensitive data and compromising secure
+                                communications.</p>
                         </div>
                     </div>
                 </div>
@@ -371,20 +557,27 @@
                             <h5><i class="bi bi-shield-check"></i>Defining PQC</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Post-Quantum Cryptography (PQC) refers to cryptographic algorithms designed to be secure against attacks from both classical and quantum computers.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDefiningPQC" aria-expanded="false" aria-controls="collapseDefiningPQC">
+                            <p class="summary">Post-Quantum Cryptography (PQC) refers to cryptographic algorithms
+                                designed to be secure against attacks from both classical and quantum computers.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseDefiningPQC" aria-expanded="false"
+                                aria-controls="collapseDefiningPQC">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseDefiningPQC">
-                            <p>PQC, also known as quantum-resistant or quantum-safe cryptography, is a new generation of cryptographic algorithms. The primary objective of PQC is to develop and standardize these new cryptographic techniques to ensure the long-term security and privacy of digital information in a world where quantum computers are a reality.</p>
+                            <p>PQC, also known as quantum-resistant or quantum-safe cryptography, is a new generation of
+                                cryptographic algorithms. The primary objective of PQC is to develop and standardize
+                                these new cryptographic techniques to ensure the long-term security and privacy of
+                                digital information in a world where quantum computers are a reality.</p>
                             <p>This involves creating new methods for:</p>
                             <ul class="styled-list">
                                 <li>Encryption</li>
                                 <li>Digital Signatures</li>
                                 <li>Key Establishment</li>
                             </ul>
-                            <p>These new methods are based on mathematical problems that are believed to be hard for even quantum computers to solve.</p>
+                            <p>These new methods are based on mathematical problems that are believed to be hard for
+                                even quantum computers to solve.</p>
                         </div>
                     </div>
                 </div>
@@ -394,20 +587,31 @@
                             <h5><i class="bi bi-key-fill"></i>Shor's & Grover's Algorithms</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Shor's algorithm breaks RSA/ECC, while Grover's algorithm weakens symmetric encryption, highlighting the quantum threat.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseShorGrover" aria-expanded="false" aria-controls="collapseShorGrover">
+                            <p class="summary">Shor's algorithm breaks RSA/ECC, while Grover's algorithm weakens
+                                symmetric encryption, highlighting the quantum threat.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseShorGrover" aria-expanded="false"
+                                aria-controls="collapseShorGrover">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
-                         <div class="collapse collapse-content" id="collapseShorGrover">
+                        <div class="collapse collapse-content" id="collapseShorGrover">
                             <p>Two key quantum algorithms demonstrate the vulnerabilities:</p>
                             <h6>Shor's Algorithm:</h6>
-                            <p>Developed by Peter Shor, this algorithm can efficiently find the prime factors of large numbers (breaking RSA) and solve the discrete logarithm problem (breaking ECC and Diffie-Hellman).</p>
+                            <p>Developed by Peter Shor, this algorithm can efficiently find the prime factors of large
+                                numbers (breaking RSA) and solve the discrete logarithm problem (breaking ECC and
+                                Diffie-Hellman).</p>
                             <h6>Grover's Algorithm:</h6>
-                            <p>Developed by Lov Grover, this algorithm provides a quadratic speed-up for searching unsorted databases. While not as devastating for public-key crypto, it effectively reduces the key strength of symmetric algorithms like AES (e.g., a 128-bit key behaves more like a 64-bit key against Grover's). This necessitates using longer symmetric keys (e.g., AES-256).</p>
+                            <p>Developed by Lov Grover, this algorithm provides a quadratic speed-up for searching
+                                unsorted databases. While not as devastating for public-key crypto, it effectively
+                                reduces the key strength of symmetric algorithms like AES (e.g., a 128-bit key behaves
+                                more like a 64-bit key against Grover's). This necessitates using longer symmetric keys
+                                (e.g., AES-256).</p>
                             <div class="callout callout-security-alert">
                                 <h5><i class="bi bi-exclamation-triangle-fill"></i>Implications & Urgency</h5>
-                                <p>The existence of these algorithms means that data encrypted today can be harvested now and decrypted later once powerful quantum computers are available. This makes the transition to PQC an urgent matter of proactive defense.</p>
+                                <p>The existence of these algorithms means that data encrypted today can be harvested
+                                    now and decrypted later once powerful quantum computers are available. This makes
+                                    the transition to PQC an urgent matter of proactive defense.</p>
                             </div>
                         </div>
                     </div>
@@ -420,8 +624,10 @@
             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-diagram-3-fill"></i>2. Theoretical Foundations</h2>
                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-foundations"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-foundations"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-foundations"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-foundations"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
             <div class="row">
@@ -431,21 +637,30 @@
                             <h5><i class="bi bi-grid-3x3-gap-fill"></i>Lattice-Based Cryptography</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Based on the difficulty of problems like Shortest Vector Problem (SVP) and Learning With Errors (LWE) in multi-dimensional lattices.</p>
-                             <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseLatticeBased" aria-expanded="false" aria-controls="collapseLatticeBased">
+                            <p class="summary">Based on the difficulty of problems like Shortest Vector Problem (SVP)
+                                and Learning With Errors (LWE) in multi-dimensional lattices.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseLatticeBased" aria-expanded="false"
+                                aria-controls="collapseLatticeBased">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseLatticeBased">
-                            <p>Lattices are essentially grids of points in multi-dimensional space. Lattice-based cryptography relies on problems like:</p>
+                            <p>Lattices are essentially grids of points in multi-dimensional space. Lattice-based
+                                cryptography relies on problems like:</p>
                             <ul>
-                                <li><strong>Shortest Vector Problem (SVP):</strong> Finding the shortest non-zero vector in a lattice.</li>
-                                <li><strong>Learning With Errors (LWE):</strong> Solving a system of linear equations where some small "error" or noise has been added.</li>
+                                <li><strong>Shortest Vector Problem (SVP):</strong> Finding the shortest non-zero vector
+                                    in a lattice.</li>
+                                <li><strong>Learning With Errors (LWE):</strong> Solving a system of linear equations
+                                    where some small "error" or noise has been added.</li>
                             </ul>
-                            <p>These problems are believed to be extremely difficult for both classical and quantum computers, especially in high dimensions. Lattice-based cryptography is highly versatile and promising for PQC standards.</p>
+                            <p>These problems are believed to be extremely difficult for both classical and quantum
+                                computers, especially in high dimensions. Lattice-based cryptography is highly versatile
+                                and promising for PQC standards.</p>
                             <div class="callout callout-deep-dive">
                                 <h5><i class="bi bi-binoculars-fill"></i>Quantum Resistance</h5>
-                                <p>No known efficient quantum algorithms (like Shor's) can solve SVP or LWE in high dimensions, making these schemes quantum-resistant.</p>
+                                <p>No known efficient quantum algorithms (like Shor's) can solve SVP or LWE in high
+                                    dimensions, making these schemes quantum-resistant.</p>
                             </div>
                         </div>
                     </div>
@@ -456,17 +671,25 @@
                             <h5><i class="bi bi-code-square"></i>Code-Based Cryptography</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Relies on the difficulty of decoding a random linear error-correcting code without knowing the code's structure.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseCodeBased" aria-expanded="false" aria-controls="collapseCodeBased">
+                            <p class="summary">Relies on the difficulty of decoding a random linear error-correcting
+                                code without knowing the code's structure.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseCodeBased" aria-expanded="false"
+                                aria-controls="collapseCodeBased">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseCodeBased">
-                            <p>This approach uses the difficulty of decoding a message that has been encoded with an error-correcting code and then had errors deliberately introduced. If you know the "key" (the code's structure), error correction is easy. Without it, distinguishing the original message from a random string of bits is computationally hard.</p>
-                            <p>The McEliece cryptosystem is a well-known example. These systems often have larger key sizes but have been studied for a long time.</p>
-                             <div class="callout callout-deep-dive">
+                            <p>This approach uses the difficulty of decoding a message that has been encoded with an
+                                error-correcting code and then had errors deliberately introduced. If you know the "key"
+                                (the code's structure), error correction is easy. Without it, distinguishing the
+                                original message from a random string of bits is computationally hard.</p>
+                            <p>The McEliece cryptosystem is a well-known example. These systems often have larger key
+                                sizes but have been studied for a long time.</p>
+                            <div class="callout callout-deep-dive">
                                 <h5><i class="bi bi-binoculars-fill"></i>Quantum Resistance</h5>
-                                <p>The general problem of decoding random linear codes is NP-hard and not known to be efficiently solvable by quantum computers.</p>
+                                <p>The general problem of decoding random linear codes is NP-hard and not known to be
+                                    efficiently solvable by quantum computers.</p>
                             </div>
                         </div>
                     </div>
@@ -477,17 +700,27 @@
                             <h5><i class="bi bi-hash"></i>Hash-Based Cryptography</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Utilizes the security properties of cryptographic hash functions, mainly for digital signatures.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseHashBased" aria-expanded="false" aria-controls="collapseHashBased">
+                            <p class="summary">Utilizes the security properties of cryptographic hash functions, mainly
+                                for digital signatures.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseHashBased" aria-expanded="false"
+                                aria-controls="collapseHashBased">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseHashBased">
-                            <p>Hash-based signatures rely only on the security of underlying cryptographic hash functions (e.g., SHA-256, SHA-3). They are generally considered very secure as their security only depends on the hash function's properties (like collision resistance and preimage resistance).</p>
-                            <p>Examples include Lamport signatures (one-time signatures) and Merkle Tree based schemes (like SPHINCS+) which can sign multiple messages. A drawback can be larger signature sizes or statefulness for some schemes.</p>
+                            <p>Hash-based signatures rely only on the security of underlying cryptographic hash
+                                functions (e.g., SHA-256, SHA-3). They are generally considered very secure as their
+                                security only depends on the hash function's properties (like collision resistance and
+                                preimage resistance).</p>
+                            <p>Examples include Lamport signatures (one-time signatures) and Merkle Tree based schemes
+                                (like SPHINCS+) which can sign multiple messages. A drawback can be larger signature
+                                sizes or statefulness for some schemes.</p>
                             <div class="callout callout-deep-dive">
                                 <h5><i class="bi bi-binoculars-fill"></i>Quantum Resistance</h5>
-                                <p>While Grover's algorithm can speed up hash collision searches, its impact is mitigated by using larger hash outputs. The fundamental one-way nature of secure hash functions is not known to be broken by quantum computers.</p>
+                                <p>While Grover's algorithm can speed up hash collision searches, its impact is
+                                    mitigated by using larger hash outputs. The fundamental one-way nature of secure
+                                    hash functions is not known to be broken by quantum computers.</p>
                             </div>
                         </div>
                     </div>
@@ -498,16 +731,24 @@
                             <h5><i class="bi bi-intersect"></i>Multivariate Cryptography</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Based on the difficulty of solving systems of multivariate polynomial equations over a finite field.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMultivariate" aria-expanded="false" aria-controls="collapseMultivariate">
+                            <p class="summary">Based on the difficulty of solving systems of multivariate polynomial
+                                equations over a finite field.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseMultivariate" aria-expanded="false"
+                                aria-controls="collapseMultivariate">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseMultivariate">
-                            <p>This family uses systems of equations with multiple variables (multivariate) and polynomials. The challenge is to find values for these variables that simultaneously satisfy all equations. While some early schemes were broken, the underlying problem remains a strong candidate for PQC, especially for signature schemes due to potentially small signature sizes.</p>
+                            <p>This family uses systems of equations with multiple variables (multivariate) and
+                                polynomials. The challenge is to find values for these variables that simultaneously
+                                satisfy all equations. While some early schemes were broken, the underlying problem
+                                remains a strong candidate for PQC, especially for signature schemes due to potentially
+                                small signature sizes.</p>
                             <div class="callout callout-deep-dive">
                                 <h5><i class="bi bi-binoculars-fill"></i>Quantum Resistance</h5>
-                                <p>Solving general systems of multivariate polynomial equations is NP-hard and believed to be resistant to quantum attacks.</p>
+                                <p>Solving general systems of multivariate polynomial equations is NP-hard and believed
+                                    to be resistant to quantum attacks.</p>
                             </div>
                         </div>
                     </div>
@@ -518,17 +759,26 @@
                             <h5><i class="bi bi-bezier"></i>Isogeny-Based Cryptography</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">Uses the mathematics of isogenies (maps) between elliptic curves. A newer but promising PQC approach.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseIsogenyBased" aria-expanded="false" aria-controls="collapseIsogenyBased">
+                            <p class="summary">Uses the mathematics of isogenies (maps) between elliptic curves. A newer
+                                but promising PQC approach.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseIsogenyBased" aria-expanded="false"
+                                aria-controls="collapseIsogenyBased">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseIsogenyBased">
-                            <p>This is a more recent PQC family that, like traditional ECC, uses elliptic curves but relies on a different hard problem: finding an isogeny (a special kind of map) between two given elliptic curves. These schemes can offer relatively small key sizes.</p>
-                            <p>While promising, the security of isogeny-based cryptography is still under active research and intense scrutiny. Some candidates have faced significant attacks, highlighting the need for ongoing analysis.</p>
-                             <div class="callout callout-deep-dive">
+                            <p>This is a more recent PQC family that, like traditional ECC, uses elliptic curves but
+                                relies on a different hard problem: finding an isogeny (a special kind of map) between
+                                two given elliptic curves. These schemes can offer relatively small key sizes.</p>
+                            <p>While promising, the security of isogeny-based cryptography is still under active
+                                research and intense scrutiny. Some candidates have faced significant attacks,
+                                highlighting the need for ongoing analysis.</p>
+                            <div class="callout callout-deep-dive">
                                 <h5><i class="bi bi-binoculars-fill"></i>Quantum Resistance</h5>
-                                <p>The problem of finding isogenies between elliptic curves is not known to be efficiently solvable by quantum computers. However, the field is younger, so cryptanalysis is ongoing.</p>
+                                <p>The problem of finding isogenies between elliptic curves is not known to be
+                                    efficiently solvable by quantum computers. However, the field is younger, so
+                                    cryptanalysis is ongoing.</p>
                             </div>
                         </div>
                     </div>
@@ -540,9 +790,11 @@
         <section class="main-section algorithms-theme" id="pqc-algorithms-detail">
             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-cpu-fill"></i>3. PQC Algorithms - A Closer Look</h2>
-                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-algorithms-detail"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-algorithms-detail"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                <div>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-algorithms-detail"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-algorithms-detail"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
             <div class="row">
@@ -552,36 +804,49 @@
                             <h5><i class="bi bi-gem"></i>CRYSTALS-Kyber (ML-KEM)</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">A Key Encapsulation Mechanism (KEM) based on lattice cryptography (MLWE), standardized by NIST as FIPS 203.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseKyberDetail" aria-expanded="false" aria-controls="collapseKyberDetail">
+                            <p class="summary">A Key Encapsulation Mechanism (KEM) based on lattice cryptography (MLWE),
+                                standardized by NIST as FIPS 203.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseKyberDetail" aria-expanded="false"
+                                aria-controls="collapseKyberDetail">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseKyberDetail">
                             <p><strong>Type:</strong> Key Encapsulation Mechanism (KEM).</p>
-                            <p><strong>Based On:</strong> Lattice cryptography, specifically the Module Learning With Errors (MLWE) problem.</p>
-                            <p><strong>Standardized As:</strong> FIPS 203 (ML-KEM - Module-Lattice-Based Key-Encapsulation Mechanism) by NIST.</p>
+                            <p><strong>Based On:</strong> Lattice cryptography, specifically the Module Learning With
+                                Errors (MLWE) problem.</p>
+                            <p><strong>Standardized As:</strong> FIPS 203 (ML-KEM - Module-Lattice-Based
+                                Key-Encapsulation Mechanism) by NIST.</p>
                             <h6>Strengths:</h6>
                             <ul>
-                                <li><strong>Excellent Performance:</strong> Offers comparatively small encryption keys and fast operational speed.</li>
-                                <li><strong>Strong Security:</strong> Based on well-studied lattice problems with strong security proofs.</li>
-                                <li><strong>Good Balance:</strong> Provides a good balance of security, performance, and key/ciphertext sizes.</li>
+                                <li><strong>Excellent Performance:</strong> Offers comparatively small encryption keys
+                                    and fast operational speed.</li>
+                                <li><strong>Strong Security:</strong> Based on well-studied lattice problems with strong
+                                    security proofs.</li>
+                                <li><strong>Good Balance:</strong> Provides a good balance of security, performance, and
+                                    key/ciphertext sizes.</li>
                             </ul>
                             <h6>Weaknesses/Considerations:</h6>
                             <ul>
-                                <li><strong>Side-Channel Attacks:</strong> Implementations need careful protection against side-channel attacks (e.g., power analysis).</li>
-                                <li><strong>Relatively New Algorithm Structure:</strong> While based on established math, the specific algorithm structure is newer than some hash-based schemes.</li>
+                                <li><strong>Side-Channel Attacks:</strong> Implementations need careful protection
+                                    against side-channel attacks (e.g., power analysis).</li>
+                                <li><strong>Relatively New Algorithm Structure:</strong> While based on established
+                                    math, the specific algorithm structure is newer than some hash-based schemes.</li>
                             </ul>
-                             <h6>Performance Characteristics:</h6>
+                            <h6>Performance Characteristics:</h6>
                             <ul>
-                                <li>Key generation, encapsulation, and decapsulation times are generally very competitive.</li>
+                                <li>Key generation, encapsulation, and decapsulation times are generally very
+                                    competitive.</li>
                                 <li>Can be significantly accelerated with AVX2 optimizations.</li>
                             </ul>
                             <h6>Potential Use Cases:</h6>
-                            <p>General-purpose encryption, key establishment for secure communication protocols (e.g., TLS, VPNs).</p>
+                            <p>General-purpose encryption, key establishment for secure communication protocols (e.g.,
+                                TLS, VPNs).</p>
                             <div class="callout callout-key-definition">
                                 <h5><i class="bi bi-bookmark-star-fill"></i>Pre-Quantum Vulnerability</h5>
-                                <p>Classical algorithms like RSA and ECDH (Elliptic Curve Diffie-Hellman), used for key exchange, are vulnerable to Shor's algorithm on a quantum computer.</p>
+                                <p>Classical algorithms like RSA and ECDH (Elliptic Curve Diffie-Hellman), used for key
+                                    exchange, are vulnerable to Shor's algorithm on a quantum computer.</p>
                             </div>
                         </div>
                     </div>
@@ -592,65 +857,91 @@
                             <h5><i class="bi bi-pen-fill"></i>CRYSTALS-Dilithium (ML-DSA)</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">A digital signature algorithm based on lattice cryptography (MLWE), standardized as FIPS 204.</p>
-                             <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDilithiumDetail" aria-expanded="false" aria-controls="collapseDilithiumDetail">
+                            <p class="summary">A digital signature algorithm based on lattice cryptography (MLWE),
+                                standardized as FIPS 204.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseDilithiumDetail" aria-expanded="false"
+                                aria-controls="collapseDilithiumDetail">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
-                         <div class="collapse collapse-content" id="collapseDilithiumDetail">
+                        <div class="collapse collapse-content" id="collapseDilithiumDetail">
                             <p><strong>Type:</strong> Digital Signature Algorithm.</p>
-                            <p><strong>Based On:</strong> Lattice cryptography, specifically the Module Learning With Errors (MLWE) problem.</p>
-                            <p><strong>Standardized As:</strong> FIPS 204 (ML-DSA - Module-Lattice-Based Digital Signature Algorithm) by NIST.</p>
+                            <p><strong>Based On:</strong> Lattice cryptography, specifically the Module Learning With
+                                Errors (MLWE) problem.</p>
+                            <p><strong>Standardized As:</strong> FIPS 204 (ML-DSA - Module-Lattice-Based Digital
+                                Signature Algorithm) by NIST.</p>
                             <h6>Strengths:</h6>
                             <ul>
-                                <li><strong>Strong Security and Good Performance:</strong> Selected as a primary standard for digital signatures due to its robust security and overall good performance.</li>
-                                <li><strong>General-Purpose:</strong> Intended to replace RSA- and ECC-based digital signatures in a wide range of applications.</li>
-                                <li><strong>Easier to Implement Securely (than Falcon in some aspects):</strong> Does not require Gaussian sampling in the same way some other lattice schemes do, potentially simplifying secure implementation.</li>
+                                <li><strong>Strong Security and Good Performance:</strong> Selected as a primary
+                                    standard for digital signatures due to its robust security and overall good
+                                    performance.</li>
+                                <li><strong>General-Purpose:</strong> Intended to replace RSA- and ECC-based digital
+                                    signatures in a wide range of applications.</li>
+                                <li><strong>Easier to Implement Securely (than Falcon in some aspects):</strong> Does
+                                    not require Gaussian sampling in the same way some other lattice schemes do,
+                                    potentially simplifying secure implementation.</li>
                             </ul>
                             <h6>Weaknesses/Considerations:</h6>
                             <ul>
-                                <li><strong>Larger Signatures/Keys:</strong> Compared to pre-quantum schemes like ECDSA, Dilithium signatures and public keys are significantly larger.</li>
-                                <li><strong>Side-Channel Vulnerabilities:</strong> Implementations need protection against side-channel attacks.</li>
+                                <li><strong>Larger Signatures/Keys:</strong> Compared to pre-quantum schemes like ECDSA,
+                                    Dilithium signatures and public keys are significantly larger.</li>
+                                <li><strong>Side-Channel Vulnerabilities:</strong> Implementations need protection
+                                    against side-channel attacks.</li>
                             </ul>
                             <h6>Performance Characteristics:</h6>
                             <ul>
-                                <li>Performance is generally on par with or better than classical signature schemes at similar security levels.</li>
+                                <li>Performance is generally on par with or better than classical signature schemes at
+                                    similar security levels.</li>
                                 <li>Offers a good balance of signing and verification speeds.</li>
                             </ul>
                             <h6>Potential Use Cases:</h6>
-                            <p>Securing software updates, document signing, identity authentication, protecting the integrity of digital communications.</p>
+                            <p>Securing software updates, document signing, identity authentication, protecting the
+                                integrity of digital communications.</p>
                             <div class="callout callout-key-definition">
                                 <h5><i class="bi bi-bookmark-star-fill"></i>Pre-Quantum Vulnerability</h5>
-                                <p>Classical signature algorithms like RSA-PSS and ECDSA are vulnerable to Shor's algorithm.</p>
+                                <p>Classical signature algorithms like RSA-PSS and ECDSA are vulnerable to Shor's
+                                    algorithm.</p>
                             </div>
                         </div>
                     </div>
                 </div>
-                 <div class="col-md-6 col-lg-4 mb-4">
+                <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
                         <div class="card-header">
                             <h5><i class="bi bi-feather"></i>Falcon</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">A lattice-based digital signature algorithm known for very small signature sizes (NTRU lattices).</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFalconDetail" aria-expanded="false" aria-controls="collapseFalconDetail">
+                            <p class="summary">A lattice-based digital signature algorithm known for very small
+                                signature sizes (NTRU lattices).</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseFalconDetail" aria-expanded="false"
+                                aria-controls="collapseFalconDetail">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
                         <div class="collapse collapse-content" id="collapseFalconDetail">
-                             <p><strong>Type:</strong> Digital Signature Algorithm.</p>
-                            <p><strong>Based On:</strong> Lattice cryptography (specifically, NTRU lattices and the Short Integer Solution - SIS problem).</p>
-                            <p><strong>Standardization:</strong> Selected by NIST for future standardization (draft expected FIPS 206).</p>
+                            <p><strong>Type:</strong> Digital Signature Algorithm.</p>
+                            <p><strong>Based On:</strong> Lattice cryptography (specifically, NTRU lattices and the
+                                Short Integer Solution - SIS problem).</p>
+                            <p><strong>Standardization:</strong> Selected by NIST for future standardization (draft
+                                expected FIPS 206).</p>
                             <h6>Strengths:</h6>
                             <ul>
-                                <li><strong>Very Small Signatures:</strong> Falcon's primary advantage is its exceptionally small signature sizes compared to other PQC signature schemes.</li>
-                                <li><strong>Fast Verification:</strong> Verification of Falcon signatures is generally very fast.</li>
+                                <li><strong>Very Small Signatures:</strong> Falcon's primary advantage is its
+                                    exceptionally small signature sizes compared to other PQC signature schemes.</li>
+                                <li><strong>Fast Verification:</strong> Verification of Falcon signatures is generally
+                                    very fast.</li>
                             </ul>
                             <h6>Weaknesses/Considerations:</h6>
                             <ul>
-                                <li><strong>Complex Signing Process:</strong> The signing procedure is more complex and relies on floating-point arithmetic, which can be challenging to implement securely and efficiently.</li>
-                                <li><strong>Slower Signing (without hardware acceleration):</strong> Secure implementation of signing can be slower than Dilithium.</li>
-                                <li><strong>Key Generation Complexity:</strong> Key generation can also be more resource-intensive.</li>
+                                <li><strong>Complex Signing Process:</strong> The signing procedure is more complex and
+                                    relies on floating-point arithmetic, which can be challenging to implement securely
+                                    and efficiently.</li>
+                                <li><strong>Slower Signing (without hardware acceleration):</strong> Secure
+                                    implementation of signing can be slower than Dilithium.</li>
+                                <li><strong>Key Generation Complexity:</strong> Key generation can also be more
+                                    resource-intensive.</li>
                             </ul>
                             <h6>Performance Characteristics:</h6>
                             <ul>
@@ -659,10 +950,13 @@
                                 <li>Signing Speed: Can be slow if secure floating-point arithmetic is emulated.</li>
                             </ul>
                             <h6>Potential Use Cases:</h6>
-                            <p>Applications where signature size is paramount (e.g., constrained IoT devices, blockchain), scenarios with frequent signature verifications but less frequent signing.</p>
-                             <div class="callout callout-key-definition">
+                            <p>Applications where signature size is paramount (e.g., constrained IoT devices,
+                                blockchain), scenarios with frequent signature verifications but less frequent signing.
+                            </p>
+                            <div class="callout callout-key-definition">
                                 <h5><i class="bi bi-bookmark-star-fill"></i>Pre-Quantum Vulnerability</h5>
-                                <p>Classical signature algorithms like RSA-PSS and ECDSA are vulnerable to Shor's algorithm.</p>
+                                <p>Classical signature algorithms like RSA-PSS and ECDSA are vulnerable to Shor's
+                                    algorithm.</p>
                             </div>
                         </div>
                     </div>
@@ -673,25 +967,34 @@
                             <h5><i class="bi bi-puzzle-fill"></i>SPHINCS+</h5>
                         </div>
                         <div class="card-body">
-                            <p class="summary">A stateless hash-based digital signature algorithm with conservative security, standardized as FIPS 205.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseSphincsDetail" aria-expanded="false" aria-controls="collapseSphincsDetail">
+                            <p class="summary">A stateless hash-based digital signature algorithm with conservative
+                                security, standardized as FIPS 205.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseSphincsDetail" aria-expanded="false"
+                                aria-controls="collapseSphincsDetail">
                                 Details <i class="bi bi-chevron-down"></i>
                             </button>
                         </div>
-                         <div class="collapse collapse-content" id="collapseSphincsDetail">
+                        <div class="collapse collapse-content" id="collapseSphincsDetail">
                             <p><strong>Type:</strong> Stateless Hash-Based Digital Signature Algorithm.</p>
                             <p><strong>Based On:</strong> Security properties of cryptographic hash functions.</p>
-                            <p><strong>Standardized As:</strong> FIPS 205 (SLH-DSA - Stateless Hash-Based Digital Signature Algorithm) by NIST.</p>
+                            <p><strong>Standardized As:</strong> FIPS 205 (SLH-DSA - Stateless Hash-Based Digital
+                                Signature Algorithm) by NIST.</p>
                             <h6>Strengths:</h6>
                             <ul>
-                                <li><strong>Conservative Security:</strong> Relies only on the security of underlying hash functions, which are well-understood.</li>
-                                <li><strong>Stateless:</strong> Simplifies use and makes it less prone to errors compared to stateful hash-based schemes.</li>
-                                <li><strong>Good Backup:</strong> Provides a robust alternative if vulnerabilities were found in lattice-based schemes.</li>
+                                <li><strong>Conservative Security:</strong> Relies only on the security of underlying
+                                    hash functions, which are well-understood.</li>
+                                <li><strong>Stateless:</strong> Simplifies use and makes it less prone to errors
+                                    compared to stateful hash-based schemes.</li>
+                                <li><strong>Good Backup:</strong> Provides a robust alternative if vulnerabilities were
+                                    found in lattice-based schemes.</li>
                             </ul>
                             <h6>Weaknesses/Considerations:</h6>
                             <ul>
-                                <li><strong>Large Signature Sizes:</strong> SPHINCS+ signatures are significantly larger than those from lattice-based schemes.</li>
-                                <li><strong>Slower Performance:</strong> Both signing and verification are generally slower due to many hash computations.</li>
+                                <li><strong>Large Signature Sizes:</strong> SPHINCS+ signatures are significantly larger
+                                    than those from lattice-based schemes.</li>
+                                <li><strong>Slower Performance:</strong> Both signing and verification are generally
+                                    slower due to many hash computations.</li>
                                 <li><strong>Computational Overhead:</strong> Can be resource-intensive.</li>
                             </ul>
                             <h6>Performance Characteristics:</h6>
@@ -701,10 +1004,13 @@
                                 <li>Speed: Slower for both signing and verification compared to lattice schemes.</li>
                             </ul>
                             <h6>Potential Use Cases:</h6>
-                            <p>Scenarios where high assurance is paramount and larger signature sizes/slower performance are acceptable (e.g., firmware signing, long-term archival).</p>
-                             <div class="callout callout-key-definition">
+                            <p>Scenarios where high assurance is paramount and larger signature sizes/slower performance
+                                are acceptable (e.g., firmware signing, long-term archival).</p>
+                            <div class="callout callout-key-definition">
                                 <h5><i class="bi bi-bookmark-star-fill"></i>Pre-Quantum Vulnerability</h5>
-                                <p>Hash-based signatures are generally considered quantum-resistant. Their classical counterparts (like HMAC used with classical crypto) are not directly broken by Shor's, but the public key systems they might be used with are.</p>
+                                <p>Hash-based signatures are generally considered quantum-resistant. Their classical
+                                    counterparts (like HMAC used with classical crypto) are not directly broken by
+                                    Shor's, but the public key systems they might be used with are.</p>
                             </div>
                         </div>
                     </div>
@@ -714,74 +1020,115 @@
 
         <!-- Section 4: Hardware Considerations for PQC -->
         <section class="main-section hardware-theme" id="pqc-hardware">
-             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
+            <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-motherboard-fill"></i>4. Hardware Considerations</h2>
-                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-hardware"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-hardware"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                <div>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-hardware"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-hardware"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
             <div class="row">
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-cpu"></i>Impact on Existing Hardware</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-cpu"></i>Impact on Existing Hardware</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">PQC algorithms often increase demands on storage, memory, processing power, and network bandwidth due to larger cryptographic elements.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseHardwareImpact" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">PQC algorithms often increase demands on storage, memory, processing
+                                power, and network bandwidth due to larger cryptographic elements.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseHardwareImpact" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseHardwareImpact">
                             <p>The transition to PQC can have notable effects on current hardware:</p>
                             <ul>
                                 <li><strong>Increased Resource Demands:</strong>
                                     <ul>
-                                        <li><strong>Storage:</strong> Larger key sizes, signatures, and ciphertexts require more storage.</li>
-                                        <li><strong>Memory (RAM):</strong> Cryptographic operations may need more RAM.</li>
-                                        <li><strong>Processing Power (CPU):</strong> PQC computations can be more intensive, potentially bottlenecking older hardware.</li>
-                                        <li><strong>Network Bandwidth:</strong> Transmitting larger cryptographic elements consumes more bandwidth.</li>
+                                        <li><strong>Storage:</strong> Larger key sizes, signatures, and ciphertexts
+                                            require more storage.</li>
+                                        <li><strong>Memory (RAM):</strong> Cryptographic operations may need more RAM.
+                                        </li>
+                                        <li><strong>Processing Power (CPU):</strong> PQC computations can be more
+                                            intensive, potentially bottlenecking older hardware.</li>
+                                        <li><strong>Network Bandwidth:</strong> Transmitting larger cryptographic
+                                            elements consumes more bandwidth.</li>
                                     </ul>
                                 </li>
-                                <li><strong>Potential Obsolescence:</strong> Older or resource-constrained hardware (e.g., IoT devices, embedded systems) might struggle with PQC performance, possibly requiring upgrades or replacements.</li>
-                                <li><strong>Compatibility Challenges:</strong> Ensuring new PQC-enabled systems work with legacy systems during the transition is a hurdle.</li>
-                                <li><strong>Specialized Hardware Impact:</strong> Existing Hardware Security Modules (HSMs) and cryptographic accelerators for classical algorithms may need significant updates or replacement.</li>
+                                <li><strong>Potential Obsolescence:</strong> Older or resource-constrained hardware
+                                    (e.g., IoT devices, embedded systems) might struggle with PQC performance, possibly
+                                    requiring upgrades or replacements.</li>
+                                <li><strong>Compatibility Challenges:</strong> Ensuring new PQC-enabled systems work
+                                    with legacy systems during the transition is a hurdle.</li>
+                                <li><strong>Specialized Hardware Impact:</strong> Existing Hardware Security Modules
+                                    (HSMs) and cryptographic accelerators for classical algorithms may need significant
+                                    updates or replacement.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-memory"></i>Hardware Requirements for PQC</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-memory"></i>Hardware Requirements for PQC</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Efficient PQC implementation needs sufficient memory, adequate processing power, potentially optimized instruction sets, and secure key storage.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseHardwareReqs" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Efficient PQC implementation needs sufficient memory, adequate processing
+                                power, potentially optimized instruction sets, and secure key storage.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseHardwareReqs" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseHardwareReqs">
                             <p>To implement PQC efficiently, hardware should meet these criteria:</p>
                             <ul>
-                                <li><strong>Sufficient Memory (RAM):</strong> Devices need enough RAM to handle larger PQC cryptographic materials during operations.</li>
-                                <li><strong>Adequate Processing Power:</strong> CPUs must capably perform new mathematical operations (e.g., lattice operations, extensive hashing) without unacceptable slowdowns. Hardware acceleration for underlying functions like Keccak (used in SHA-3, common in PQC) can significantly boost performance.</li>
-                                <li><strong>Optimized Instruction Sets:</strong> Processors with instruction set extensions tailored for PQC can offer substantial speedups.</li>
-                                <li><strong>Secure Key Storage:</strong> Hardware-based secure key storage (HSMs, secure enclaves) remains crucial and may need PQC-specific updates.</li>
+                                <li><strong>Sufficient Memory (RAM):</strong> Devices need enough RAM to handle larger
+                                    PQC cryptographic materials during operations.</li>
+                                <li><strong>Adequate Processing Power:</strong> CPUs must capably perform new
+                                    mathematical operations (e.g., lattice operations, extensive hashing) without
+                                    unacceptable slowdowns. Hardware acceleration for underlying functions like Keccak
+                                    (used in SHA-3, common in PQC) can significantly boost performance.</li>
+                                <li><strong>Optimized Instruction Sets:</strong> Processors with instruction set
+                                    extensions tailored for PQC can offer substantial speedups.</li>
+                                <li><strong>Secure Key Storage:</strong> Hardware-based secure key storage (HSMs, secure
+                                    enclaves) remains crucial and may need PQC-specific updates.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-motherboard"></i>Specialized PQC Hardware</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-motherboard"></i>Specialized PQC Hardware</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Development of PQC accelerators, PQC-optimized processors, next-gen HSMs, and SoCs with PQC capabilities is underway to address performance and security.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseHardwareSpecial" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Development of PQC accelerators, PQC-optimized processors, next-gen HSMs,
+                                and SoCs with PQC capabilities is underway to address performance and security.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseHardwareSpecial" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseHardwareSpecial">
                             <p>Specialized hardware is being developed or considered for PQC:</p>
                             <ul>
-                                <li><strong>PQC Accelerators:</strong> Dedicated hardware (co-processors, FPGAs, ASICs) to speed up specific PQC operations (e.g., lattice arithmetic, hashing). PQShield is one company developing such IP.</li>
-                                <li><strong>PQC-Optimized Processors:</strong> Future CPU designs might natively incorporate PQC instructions. RISC-V solutions with PQC support are emerging.</li>
-                                <li><strong>Next-Generation HSMs:</strong> HSM vendors are working on new products supporting standardized PQC algorithms for secure key management and operations.</li>
-                                <li><strong>System-on-a-Chip (SoC) with PQC:</strong> For embedded systems/IoT, SoCs integrating PQC accelerators are being developed (e.g., PQShield's "PQPlatform-TrustSys").</li>
-                                <li><strong>Side-Channel Resistance Focus:</strong> Specialized hardware often includes built-in countermeasures against physical attacks.</li>
+                                <li><strong>PQC Accelerators:</strong> Dedicated hardware (co-processors, FPGAs, ASICs)
+                                    to speed up specific PQC operations (e.g., lattice arithmetic, hashing). PQShield is
+                                    one company developing such IP.</li>
+                                <li><strong>PQC-Optimized Processors:</strong> Future CPU designs might natively
+                                    incorporate PQC instructions. RISC-V solutions with PQC support are emerging.</li>
+                                <li><strong>Next-Generation HSMs:</strong> HSM vendors are working on new products
+                                    supporting standardized PQC algorithms for secure key management and operations.
+                                </li>
+                                <li><strong>System-on-a-Chip (SoC) with PQC:</strong> For embedded systems/IoT, SoCs
+                                    integrating PQC accelerators are being developed (e.g., PQShield's
+                                    "PQPlatform-TrustSys").</li>
+                                <li><strong>Side-Channel Resistance Focus:</strong> Specialized hardware often includes
+                                    built-in countermeasures against physical attacks.</li>
                             </ul>
-                            <p>While software-only PQC is possible, specialized hardware will be key for high-performance, resource-constrained, or high-security applications.</p>
+                            <p>While software-only PQC is possible, specialized hardware will be key for
+                                high-performance, resource-constrained, or high-security applications.</p>
                         </div>
                     </div>
                 </div>
@@ -790,83 +1137,119 @@
 
         <!-- Section 5: Exploits, Vulnerabilities, and Attacks -->
         <section class="main-section exploits-theme" id="pqc-exploits">
-             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
+            <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-bug-fill"></i>5. Exploits & Vulnerabilities</h2>
-                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-exploits"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-exploits"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                <div>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-exploits"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-exploits"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
-             <div class="row">
+            <div class="row">
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-shield-exclamation"></i>Potential Attack Vectors</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-shield-exclamation"></i>Potential Attack Vectors</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">PQC algorithms face potential classical mathematical advances, parameter selection flaws, protocol-level attacks, and new quantum algorithms.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAttackVectors" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">PQC algorithms face potential classical mathematical advances, parameter
+                                selection flaws, protocol-level attacks, and new quantum algorithms.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseAttackVectors" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseAttackVectors">
-                            <p>Even if the underlying mathematical problems remain hard, PQC systems can be attacked:</p>
+                            <p>Even if the underlying mathematical problems remain hard, PQC systems can be attacked:
+                            </p>
                             <h6>Classical Attacks on PQC:</h6>
                             <ul>
-                                <li><strong>New Mathematical Advances:</strong> Classical algorithms might be found that weaken PQC schemes.</li>
-                                <li><strong>Parameter Selection Flaws:</strong> Poorly chosen parameters could create exploitable weaknesses.</li>
-                                <li><strong>Protocol-Level Attacks:</strong> Vulnerabilities in how PQC is integrated into protocols (e.g., TLS) can bypass its security.</li>
+                                <li><strong>New Mathematical Advances:</strong> Classical algorithms might be found that
+                                    weaken PQC schemes.</li>
+                                <li><strong>Parameter Selection Flaws:</strong> Poorly chosen parameters could create
+                                    exploitable weaknesses.</li>
+                                <li><strong>Protocol-Level Attacks:</strong> Vulnerabilities in how PQC is integrated
+                                    into protocols (e.g., TLS) can bypass its security.</li>
                             </ul>
                             <h6>Quantum Attacks (Beyond core problem):</h6>
                             <ul>
-                                <li><strong>New Quantum Algorithms:</strong> Future quantum algorithms might target specific PQC families.</li>
-                                <li><strong>Quantum-Enhanced Side-Channels:</strong> Quantum computers might enable new or more precise side-channel attacks.</li>
+                                <li><strong>New Quantum Algorithms:</strong> Future quantum algorithms might target
+                                    specific PQC families.</li>
+                                <li><strong>Quantum-Enhanced Side-Channels:</strong> Quantum computers might enable new
+                                    or more precise side-channel attacks.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-ear"></i>Side-Channel & Implementation Attacks</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-ear"></i>Side-Channel & Implementation Attacks</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">SCAs (Timing, Power, EM, Fault Injection) and implementation bugs (software errors, RNG flaws) are significant threats to PQC security.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseSCA" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">SCAs (Timing, Power, EM, Fault Injection) and implementation bugs
+                                (software errors, RNG flaws) are significant threats to PQC security.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseSCA" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseSCA">
-                            <p>Side-Channel Attacks (SCAs) exploit information leaked during physical implementation, not mathematical flaws.</p>
+                            <p>Side-Channel Attacks (SCAs) exploit information leaked during physical implementation,
+                                not mathematical flaws.</p>
                             <h6>Types of SCAs:</h6>
                             <ul>
                                 <li><strong>Timing Attacks:</strong> Exploit variations in computation time.</li>
                                 <li><strong>Power Analysis Attacks:</strong> Monitor power consumption.</li>
                                 <li><strong>Electromagnetic (EM) Attacks:</strong> Analyze EM emanations.</li>
-                                <li><strong>Fault Injection Attacks (FIAs):</strong> Induce errors to deduce secrets.</li>
+                                <li><strong>Fault Injection Attacks (FIAs):</strong> Induce errors to deduce secrets.
+                                </li>
                             </ul>
                             <h6>Implementation Vulnerabilities:</h6>
                             <ul>
                                 <li><strong>Software Bugs:</strong> Coding errors can create security failures.</li>
-                                <li><strong>Incorrect Random Number Generation:</strong> Weak RNGs can undermine key generation and other processes.</li>
-                                <li><strong>Insecure Handling of Intermediate Values:</strong> Leaking intermediate computational values.</li>
-                                <li><strong>Compiler Optimizations Undermining Countermeasures:</strong> Security measures in code being removed by compilers.</li>
+                                <li><strong>Incorrect Random Number Generation:</strong> Weak RNGs can undermine key
+                                    generation and other processes.</li>
+                                <li><strong>Insecure Handling of Intermediate Values:</strong> Leaking intermediate
+                                    computational values.</li>
+                                <li><strong>Compiler Optimizations Undermining Countermeasures:</strong> Security
+                                    measures in code being removed by compilers.</li>
                             </ul>
                             <div class="callout callout-security-alert">
                                 <h5><i class="bi bi-exclamation-triangle-fill"></i>Real-World Risks</h5>
-                                <p>SCAs are a practical threat, especially for devices where attackers might have physical access or proximity. Robust countermeasures are essential.</p>
+                                <p>SCAs are a practical threat, especially for devices where attackers might have
+                                    physical access or proximity. Robust countermeasures are essential.</p>
                             </div>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-cloud-download-fill"></i>"Harvest Now, Decrypt Later"</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-cloud-download-fill"></i>"Harvest Now, Decrypt Later"</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Adversaries collect currently encrypted data, intending to decrypt it once powerful quantum computers become available.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseHNDL" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Adversaries collect currently encrypted data, intending to decrypt it
+                                once powerful quantum computers become available.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseHNDL" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseHNDL">
-                            <p>The "Harvest Now, Decrypt Later" (HNDL) or "Store Now, Decrypt Later" (SNDL) attack is a major driver for PQC adoption.</p>
+                            <p>The "Harvest Now, Decrypt Later" (HNDL) or "Store Now, Decrypt Later" (SNDL) attack is a
+                                major driver for PQC adoption.</p>
                             <h6>Concept:</h6>
-                            <p>Adversaries, particularly nation-states, intercept and store vast amounts of data encrypted with current, quantum-vulnerable algorithms (RSA, ECC). They plan to decrypt this data once they possess sufficiently powerful quantum computers.</p>
+                            <p>Adversaries, particularly nation-states, intercept and store vast amounts of data
+                                encrypted with current, quantum-vulnerable algorithms (RSA, ECC). They plan to decrypt
+                                this data once they possess sufficiently powerful quantum computers.</p>
                             <h6>Significance:</h6>
                             <ul>
-                                <li><strong>Long-Term Data Sensitivity:</strong> Information needing confidentiality for many years (government secrets, IP, personal data) is highly at risk.</li>
-                                <li><strong>Irreversibility:</strong> Once harvested, the compromised data remains vulnerable even if future communications are secured.</li>
-                                <li><strong>Immediate Threat:</strong> The "harvesting" is happening *now*. The threat is active data exfiltration based on future decryption capabilities, making the PQC transition an immediate imperative.</li>
+                                <li><strong>Long-Term Data Sensitivity:</strong> Information needing confidentiality for
+                                    many years (government secrets, IP, personal data) is highly at risk.</li>
+                                <li><strong>Irreversibility:</strong> Once harvested, the compromised data remains
+                                    vulnerable even if future communications are secured.</li>
+                                <li><strong>Immediate Threat:</strong> The "harvesting" is happening *now*. The threat
+                                    is active data exfiltration based on future decryption capabilities, making the PQC
+                                    transition an immediate imperative.</li>
                             </ul>
                         </div>
                     </div>
@@ -879,45 +1262,70 @@
             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-signpost-split-fill"></i>6. Migration Strategies</h2>
                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-migration"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-migration"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-migration"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-migration"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
             <div class="row">
-                 <div class="col-md-6 col-lg-4 mb-4">
+                <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-intersect"></i>Migration Strategies</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-intersect"></i>Migration Strategies</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Key strategies include hybrid approaches (classical + PQC), phased rollouts, eventual full replacement, and embracing crypto-agility.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMigrationStrategies" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Key strategies include hybrid approaches (classical + PQC), phased
+                                rollouts, eventual full replacement, and embracing crypto-agility.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseMigrationStrategies" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseMigrationStrategies">
                             <h6>Strategic Options:</h6>
                             <ul>
-                                <li><strong>Hybrid Approaches:</strong> Use both classical and PQC algorithms in parallel. An attacker needs to break both. Mitigates HNDL risks and eases transition. Can increase overhead.</li>
-                                <li><strong>Phased Rollouts:</strong> Introduce PQC incrementally, starting with highest-risk systems. Allows learning and spreads costs.</li>
-                                <li><strong>Full Replacement (Eventually):</strong> The ultimate goal for strongest long-term protection. Most complex phase.</li>
-                                <li><strong>Retire/Isolate Vulnerable Systems:</strong> For legacy systems that can't be upgraded.</li>
-                                <li><strong>Crypto-Agility:</strong> Design systems for easy swapping of cryptographic algorithms. Crucial for PQC transition and future security.</li>
+                                <li><strong>Hybrid Approaches:</strong> Use both classical and PQC algorithms in
+                                    parallel. An attacker needs to break both. Mitigates HNDL risks and eases
+                                    transition. Can increase overhead.</li>
+                                <li><strong>Phased Rollouts:</strong> Introduce PQC incrementally, starting with
+                                    highest-risk systems. Allows learning and spreads costs.</li>
+                                <li><strong>Full Replacement (Eventually):</strong> The ultimate goal for strongest
+                                    long-term protection. Most complex phase.</li>
+                                <li><strong>Retire/Isolate Vulnerable Systems:</strong> For legacy systems that can't be
+                                    upgraded.</li>
+                                <li><strong>Crypto-Agility:</strong> Design systems for easy swapping of cryptographic
+                                    algorithms. Crucial for PQC transition and future security.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-exclamation-diamond-fill"></i>Migration Challenges</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-exclamation-diamond-fill"></i>Migration Challenges</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Challenges include compatibility, performance impacts, costs, inventory complexity, vendor readiness, talent gap, and regulatory uncertainty.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMigrationChallenges" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Challenges include compatibility, performance impacts, costs, inventory
+                                complexity, vendor readiness, talent gap, and regulatory uncertainty.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseMigrationChallenges" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseMigrationChallenges">
                             <h6>Significant Hurdles:</h6>
                             <ul>
-                                <li><strong>Compatibility & Interoperability:</strong> Ensuring new PQC systems work with legacy systems and different PQC implementations.</li>
-                                <li><strong>Performance:</strong> PQC algorithms can have larger keys/signatures and more computational overhead, affecting latency, throughput, and bandwidth.</li>
-                                <li><strong>Cost:</strong> Hardware upgrades, software development, testing, training, and overall program management (e.g., US federal migration estimated at $7.1B by 2035).</li>
-                                <li><strong>Inventory & Prioritization:</strong> Identifying all crypto uses (crypto-inventory) is massive. Prioritizing migration needs careful risk assessment.</li>
-                                <li><strong>Standardization & Vendor Readiness:</strong> The ecosystem of PQC-ready products is still evolving.</li>
+                                <li><strong>Compatibility & Interoperability:</strong> Ensuring new PQC systems work
+                                    with legacy systems and different PQC implementations.</li>
+                                <li><strong>Performance:</strong> PQC algorithms can have larger keys/signatures and
+                                    more computational overhead, affecting latency, throughput, and bandwidth.</li>
+                                <li><strong>Cost:</strong> Hardware upgrades, software development, testing, training,
+                                    and overall program management (e.g., US federal migration estimated at $7.1B by
+                                    2035).</li>
+                                <li><strong>Inventory & Prioritization:</strong> Identifying all crypto uses
+                                    (crypto-inventory) is massive. Prioritizing migration needs careful risk assessment.
+                                </li>
+                                <li><strong>Standardization & Vendor Readiness:</strong> The ecosystem of PQC-ready
+                                    products is still evolving.</li>
                                 <li><strong>Talent Gap:</strong> Shortage of PQC expertise.</li>
                                 <li><strong>Regulatory Uncertainty:</strong> Evolving compliance requirements.</li>
                             </ul>
@@ -926,22 +1334,34 @@
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-check2-square"></i>Best Practices</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-check2-square"></i>Best Practices</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Educate, inventory crypto, assess risk, plan migration, embrace crypto-agility, engage vendors, pilot PQC, budget, stay informed, train staff, collaborate.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMigrationBestPractices" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Educate, inventory crypto, assess risk, plan migration, embrace
+                                crypto-agility, engage vendors, pilot PQC, budget, stay informed, train staff,
+                                collaborate.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseMigrationBestPractices" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseMigrationBestPractices">
                             <h6>Key Recommendations:</h6>
                             <ol>
-                                <li><strong>Educate & Raise Awareness:</strong> Ensure understanding of the quantum threat and PQC.</li>
-                                <li><strong>Create Cryptographic Inventory:</strong> Identify all uses of cryptography (CBOM).</li>
-                                <li><strong>Conduct Risk Assessment:</strong> Prioritize systems and data needing long-term protection.</li>
-                                <li><strong>Develop PQC Migration Plan:</strong> Define goals, timelines, resources (e.g., UK NCSC suggests migration by 2035).</li>
+                                <li><strong>Educate & Raise Awareness:</strong> Ensure understanding of the quantum
+                                    threat and PQC.</li>
+                                <li><strong>Create Cryptographic Inventory:</strong> Identify all uses of cryptography
+                                    (CBOM).</li>
+                                <li><strong>Conduct Risk Assessment:</strong> Prioritize systems and data needing
+                                    long-term protection.</li>
+                                <li><strong>Develop PQC Migration Plan:</strong> Define goals, timelines, resources
+                                    (e.g., UK NCSC suggests migration by 2035).</li>
                                 <li><strong>Embrace Crypto-Agility:</strong> Design for easy algorithm swapping.</li>
                                 <li><strong>Engage with Vendors:</strong> Discuss their PQC roadmaps and support.</li>
-                                <li><strong>Start Pilot Programs & Testing:</strong> Experiment with NIST PQC standards.</li>
-                                <li><strong>Budget for the Transition:</strong> Plan for significant multi-year investment.</li>
+                                <li><strong>Start Pilot Programs & Testing:</strong> Experiment with NIST PQC standards.
+                                </li>
+                                <li><strong>Budget for the Transition:</strong> Plan for significant multi-year
+                                    investment.</li>
                                 <li><strong>Stay Informed:</strong> Follow PQC standards, research, and guidance.</li>
                                 <li><strong>Invest in Training:</strong> Equip teams with PQC skills.</li>
                                 <li><strong>Collaborate & Share Information:</strong> Learn from industry peers.</li>
@@ -949,29 +1369,44 @@
                         </div>
                     </div>
                 </div>
-                 <div class="col-md-6 col-lg-4 mb-4">
+                <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-microsoft"></i>Microsoft's PQC Approach</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-microsoft"></i>Microsoft's PQC Approach</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Microsoft is proactively integrating PQC (ML-KEM, ML-DSA) into Windows via SymCrypt, CNG, and protocols like TLS, promoting hybrid solutions.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseMicrosoftPQC" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Microsoft is proactively integrating PQC (ML-KEM, ML-DSA) into Windows
+                                via SymCrypt, CNG, and protocols like TLS, promoting hybrid solutions.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseMicrosoftPQC" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseMicrosoftPQC">
                             <p>Microsoft is taking a proactive stance on PQC:</p>
                             <ul>
-                                <li><strong>SymCrypt Library:</strong> Updated to support NIST PQC algorithms like ML-KEM (Kyber) and ML-DSA (Dilithium).</li>
-                                <li><strong>Windows Insider Program:</strong> PQC capabilities available in Insider builds (e.g., Canary Channel Build 27852+) via Cryptography API: Next Generation (CNG) and certificate functions.</li>
+                                <li><strong>SymCrypt Library:</strong> Updated to support NIST PQC algorithms like
+                                    ML-KEM (Kyber) and ML-DSA (Dilithium).</li>
+                                <li><strong>Windows Insider Program:</strong> PQC capabilities available in Insider
+                                    builds (e.g., Canary Channel Build 27852+) via Cryptography API: Next Generation
+                                    (CNG) and certificate functions.</li>
                                 <li><strong>Linux Support:</strong> Via SymCrypt-OpenSSL.</li>
-                                <li><strong>Hybrid Approach Recommended:</strong> Combining classical (ECDH/RSA) with PQC algorithms for defense in depth.</li>
+                                <li><strong>Hybrid Approach Recommended:</strong> Combining classical (ECDH/RSA) with
+                                    PQC algorithms for defense in depth.</li>
                                 <li><strong>Protocol Integration (Ongoing):</strong>
                                     <ul>
-                                        <li><strong>TLS:</strong> Working with IETF for quantum-safe key exchange (hybrid/pure PQC KEX) and authentication (Composite ML-DSA, pure ML-DSA, SLH-DSA) for TLS 1.3+. Integration into Windows Schannel and SymCrypt for OpenSSL on Linux.</li>
-                                        <li><strong>Schannel:</strong> Windows secure channel provider will incorporate PQC.</li>
-                                        <li><strong>Kerberos/ADCS:</strong> Active Directory Certificate Services being updated for PQC CA certificates (e.g., ML-DSA).</li>
+                                        <li><strong>TLS:</strong> Working with IETF for quantum-safe key exchange
+                                            (hybrid/pure PQC KEX) and authentication (Composite ML-DSA, pure ML-DSA,
+                                            SLH-DSA) for TLS 1.3+. Integration into Windows Schannel and SymCrypt for
+                                            OpenSSL on Linux.</li>
+                                        <li><strong>Schannel:</strong> Windows secure channel provider will incorporate
+                                            PQC.</li>
+                                        <li><strong>Kerberos/ADCS:</strong> Active Directory Certificate Services being
+                                            updated for PQC CA certificates (e.g., ML-DSA).</li>
                                     </ul>
                                 </li>
                             </ul>
-                            <p>Microsoft's strategy encourages early customer engagement for testing and feedback to facilitate a smoother industry transition.</p>
+                            <p>Microsoft's strategy encourages early customer engagement for testing and feedback to
+                                facilitate a smoother industry transition.</p>
                         </div>
                     </div>
                 </div>
@@ -980,55 +1415,82 @@
 
         <!-- Section 7: Nation-State Game Theory and Geopolitical Implications -->
         <section class="main-section geopolitics-theme" id="pqc-geopolitics">
-             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
+            <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-globe-americas"></i>7. Geopolitical Implications</h2>
-                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-geopolitics"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-geopolitics"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                <div>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-geopolitics"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-geopolitics"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
             <div class="row">
-                 <div class="col-md-6 col-lg-4 mb-4">
+                <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-shuffle"></i>Shifting Power Balance</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-shuffle"></i>Shifting Power Balance</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">PQC development can shift global power by granting cryptanalytic or defensive advantages, impacting intelligence and economic leadership.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapsePowerBalance" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">PQC development can shift global power by granting cryptanalytic or
+                                defensive advantages, impacting intelligence and economic leadership.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapsePowerBalance" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapsePowerBalance">
                             <ul>
-                                <li><strong>Cryptanalytic Supremacy:</strong> The first nation with a CRQC (Cryptanalytically Relevant Quantum Computer) could decrypt vast amounts of current and historical data, causing a destabilizing power shift.</li>
-                                <li><strong>Defensive Advantage:</strong> Nations rapidly adopting robust PQC will be shielded from such attacks.</li>
-                                <li><strong>Asymmetric Capabilities:</strong> Initial CRQC capabilities likely limited to a few nations, creating asymmetry and potential for new alliances or increased espionage.</li>
-                                <li><strong>Economic Impact:</strong> Leadership in quantum computing and PQC will bring economic advantages.</li>
+                                <li><strong>Cryptanalytic Supremacy:</strong> The first nation with a CRQC
+                                    (Cryptanalytically Relevant Quantum Computer) could decrypt vast amounts of current
+                                    and historical data, causing a destabilizing power shift.</li>
+                                <li><strong>Defensive Advantage:</strong> Nations rapidly adopting robust PQC will be
+                                    shielded from such attacks.</li>
+                                <li><strong>Asymmetric Capabilities:</strong> Initial CRQC capabilities likely limited
+                                    to a few nations, creating asymmetry and potential for new alliances or increased
+                                    espionage.</li>
+                                <li><strong>Economic Impact:</strong> Leadership in quantum computing and PQC will bring
+                                    economic advantages.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-person-arms-up"></i>The "Quantum Race"</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-person-arms-up"></i>The "Quantum Race"</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Nations compete for quantum supremacy, impacting intelligence, military/defense, critical infrastructure, and espionage efforts.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseQuantumRace" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Nations compete for quantum supremacy, impacting intelligence,
+                                military/defense, critical infrastructure, and espionage efforts.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseQuantumRace" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseQuantumRace">
                             <h6>National Security Implications:</h6>
                             <ul>
-                                <li><strong>Intelligence Gathering:</strong> Quantum computing's ability to break encryption is a primary driver. HNDL is active; PQC is the counter.</li>
-                                <li><strong>Military & Defense:</strong> Secure communications, command systems, and weapons rely on crypto. Failure to transition to PQC is a major risk.</li>
-                                <li><strong>Critical Infrastructure:</strong> Energy, finance, transport, healthcare systems need PQC protection.</li>
-                                <li><strong>Espionage & Counter-Espionage:</strong> The race itself is an espionage target. Security of PQC R&D is vital.</li>
+                                <li><strong>Intelligence Gathering:</strong> Quantum computing's ability to break
+                                    encryption is a primary driver. HNDL is active; PQC is the counter.</li>
+                                <li><strong>Military & Defense:</strong> Secure communications, command systems, and
+                                    weapons rely on crypto. Failure to transition to PQC is a major risk.</li>
+                                <li><strong>Critical Infrastructure:</strong> Energy, finance, transport, healthcare
+                                    systems need PQC protection.</li>
+                                <li><strong>Espionage & Counter-Espionage:</strong> The race itself is an espionage
+                                    target. Security of PQC R&D is vital.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-trophy-fill"></i>Strategic Advantages</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-trophy-fill"></i>Strategic Advantages</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Early PQC adopters gain security and economic leadership. Those who break PQC first gain unparalleled intelligence access.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseStrategicAdv" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Early PQC adopters gain security and economic leadership. Those who break
+                                PQC first gain unparalleled intelligence access.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseStrategicAdv" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseStrategicAdv">
                             <h6>Early PQC Adopters:</h6>
@@ -1038,7 +1500,7 @@
                                 <li>Influence on international standards.</li>
                                 <li>Contribution to geopolitical stability.</li>
                             </ul>
-                             <h6>First to Break PQC (or Classical Crypto with CRQC):</h6>
+                            <h6>First to Break PQC (or Classical Crypto with CRQC):</h6>
                             <ul>
                                 <li>Unparalleled intelligence access ("Q-Day").</li>
                                 <li>Offensive capabilities to disrupt adversaries.</li>
@@ -1048,20 +1510,31 @@
                         </div>
                     </div>
                 </div>
-                 <div class="col-md-6 col-lg-4 mb-4">
+                <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-flag-fill"></i>International Standards & Cooperation</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-flag-fill"></i>International Standards & Cooperation</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">NIST leads PQC standardization. Global alignment is sought, but fragmentation is a risk. Export controls and trust are key issues.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseIntlStandards" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">NIST leads PQC standardization. Global alignment is sought, but
+                                fragmentation is a risk. Export controls and trust are key issues.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseIntlStandards" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseIntlStandards">
                             <ul>
-                                <li><strong>NIST's Leading Role:</strong> The US NIST PQC standardization process is a global focal point. Many countries are watching its selections.</li>
-                                <li><strong>Global Alignment vs. Fragmentation:</strong> A push for global PQC standards for interoperability faces risks if nations develop incompatible algorithms for "cryptographic sovereignty" (e.g., China's own PQC efforts).</li>
-                                <li><strong>Export Controls:</strong> PQC algorithms and quantum tech could face stricter export controls.</li>
-                                <li><strong>Trust & Verification:</strong> Ensuring PQC algorithms are secure and free of backdoors is crucial. Open, transparent processes build trust.</li>
-                                <li><strong>Call for International Norms:</strong> Growing calls for dialogue to prevent a quantum arms race and ensure strategic stability.</li>
+                                <li><strong>NIST's Leading Role:</strong> The US NIST PQC standardization process is a
+                                    global focal point. Many countries are watching its selections.</li>
+                                <li><strong>Global Alignment vs. Fragmentation:</strong> A push for global PQC standards
+                                    for interoperability faces risks if nations develop incompatible algorithms for
+                                    "cryptographic sovereignty" (e.g., China's own PQC efforts).</li>
+                                <li><strong>Export Controls:</strong> PQC algorithms and quantum tech could face
+                                    stricter export controls.</li>
+                                <li><strong>Trust & Verification:</strong> Ensuring PQC algorithms are secure and free
+                                    of backdoors is crucial. Open, transparent processes build trust.</li>
+                                <li><strong>Call for International Norms:</strong> Growing calls for dialogue to prevent
+                                    a quantum arms race and ensure strategic stability.</li>
                             </ul>
                         </div>
                     </div>
@@ -1073,76 +1546,108 @@
         <section class="main-section applications-theme" id="pqc-applications">
             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
                 <h2><i class="bi bi-app-indicator"></i>8. Applications of PQC</h2>
-                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-applications"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-applications"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                <div>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-applications"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-applications"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
             <div class="row">
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-chat-dots-fill"></i>Digital Signatures & Secure Comm</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-chat-dots-fill"></i>Digital Signatures & Secure Comm</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">PQC will secure everyday communications (TLS/SSL, SSH), software updates, online transactions, and document signing.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAppSecureComm" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">PQC will secure everyday communications (TLS/SSL, SSH), software updates,
+                                online transactions, and document signing.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseAppSecureComm" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseAppSecureComm">
                             <p>This is a pervasive application area:</p>
                             <ul>
-                                <li><strong>Everyday Secure Communications:</strong> TLS/SSL (HTTPS, email, VPNs) and SSH will need PQC for key exchange and authentication. Microsoft is working on PQC for TLS.</li>
-                                <li><strong>Software Updates & Code Signing:</strong> PQC digital signatures (e.g., ML-DSA, SLH-DSA) will verify authenticity and integrity of software updates.</li>
+                                <li><strong>Everyday Secure Communications:</strong> TLS/SSL (HTTPS, email, VPNs) and
+                                    SSH will need PQC for key exchange and authentication. Microsoft is working on PQC
+                                    for TLS.</li>
+                                <li><strong>Software Updates & Code Signing:</strong> PQC digital signatures (e.g.,
+                                    ML-DSA, SLH-DSA) will verify authenticity and integrity of software updates.</li>
                                 <li><strong>Online Transactions:</strong> Securing e-commerce and online banking.</li>
-                                <li><strong>Document Signing:</strong> Ensuring long-term validity of digitally signed documents.</li>
+                                <li><strong>Document Signing:</strong> Ensuring long-term validity of digitally signed
+                                    documents.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-currency-bitcoin"></i>Cryptocurrencies & Blockchain</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-currency-bitcoin"></i>Cryptocurrencies & Blockchain</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Quantum computing threatens ECDSA in cryptocurrencies like Bitcoin. PQC solutions are needed for wallets and blockchains.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAppCryptoBlockchain" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Quantum computing threatens ECDSA in cryptocurrencies like Bitcoin. PQC
+                                solutions are needed for wallets and blockchains.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseAppCryptoBlockchain" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseAppCryptoBlockchain">
                             <h6>Specific Threats:</h6>
                             <ul>
-                                <li><strong>Vulnerability of ECDSA:</strong> Shor's algorithm can break ECDSA, used by Bitcoin and Ethereum, potentially allowing theft of coins by calculating private keys from public keys.</li>
+                                <li><strong>Vulnerability of ECDSA:</strong> Shor's algorithm can break ECDSA, used by
+                                    Bitcoin and Ethereum, potentially allowing theft of coins by calculating private
+                                    keys from public keys.</li>
                             </ul>
-                             <h6>Proposed PQC Solutions:</h6>
+                            <h6>Proposed PQC Solutions:</h6>
                             <ul>
-                                <li><strong>Quantum-Resistant Signature Schemes:</strong> Migrating to PQC signatures (SPHINCS+, Dilithium, etc.).</li>
-                                <li><strong>New PQC-Native Blockchains:</strong> Projects like Quantum Resistant Ledger (QRL).</li>
+                                <li><strong>Quantum-Resistant Signature Schemes:</strong> Migrating to PQC signatures
+                                    (SPHINCS+, Dilithium, etc.).</li>
+                                <li><strong>New PQC-Native Blockchains:</strong> Projects like Quantum Resistant Ledger
+                                    (QRL).</li>
                                 <li><strong>Upgrading Wallet Software.</strong></li>
                             </ul>
                             <h6>Challenges & Timelines:</h6>
                             <ul>
-                                <li><strong>Hard Forks:</strong> Likely needed for migration, requiring community consensus.</li>
+                                <li><strong>Hard Forks:</strong> Likely needed for migration, requiring community
+                                    consensus.</li>
                                 <li><strong>Performance & Data Size:</strong> PQC signatures are often larger.</li>
                                 <li><strong>Complexity & Risk:</strong> Significant technical challenges.</li>
-                                <li><strong>Timeline:</strong> Uncertain, varies by cryptocurrency. Urgency is high due to HNDL.</li>
+                                <li><strong>Timeline:</strong> Uncertain, varies by cryptocurrency. Urgency is high due
+                                    to HNDL.</li>
                             </ul>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-router-fill"></i>Internet of Things (IoT)</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-router-fill"></i>Internet of Things (IoT)</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Securing resource-constrained IoT devices with PQC presents challenges in performance and updates, requiring lightweight algorithms.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAppIoT" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Securing resource-constrained IoT devices with PQC presents challenges in
+                                performance and updates, requiring lightweight algorithms.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseAppIoT" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseAppIoT">
                             <h6>Challenges for PQC in IoT:</h6>
                             <ul>
-                                <li><strong>Resource Constraints:</strong> PQC algorithms often have larger demands than lightweight IoT devices can handle.</li>
-                                <li><strong>Performance:</strong> PQC operations could slow devices or consume too much power.</li>
-                                <li><strong>Updating Deployed Devices:</strong> Securely updating millions of IoT devices to PQC is a major challenge.</li>
+                                <li><strong>Resource Constraints:</strong> PQC algorithms often have larger demands than
+                                    lightweight IoT devices can handle.</li>
+                                <li><strong>Performance:</strong> PQC operations could slow devices or consume too much
+                                    power.</li>
+                                <li><strong>Updating Deployed Devices:</strong> Securely updating millions of IoT
+                                    devices to PQC is a major challenge.</li>
                             </ul>
                             <h6>PQC Solutions for IoT:</h6>
                             <ul>
-                                <li><strong>Lightweight PQC Algorithms:</strong> Research into optimized PQC for constrained environments.</li>
-                                <li><strong>Hardware Acceleration:</strong> Integrating PQC accelerators into IoT chipsets.</li>
+                                <li><strong>Lightweight PQC Algorithms:</strong> Research into optimized PQC for
+                                    constrained environments.</li>
+                                <li><strong>Hardware Acceleration:</strong> Integrating PQC accelerators into IoT
+                                    chipsets.</li>
                                 <li><strong>Secure Boot & Firmware Updates:</strong> PQC signatures for integrity.</li>
                             </ul>
                         </div>
@@ -1150,17 +1655,24 @@
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-database-lock"></i>Data Storage & Encryption</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-database-lock"></i>Data Storage & Encryption</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">PQC is vital for protecting long-term data archives (full-disk, file, database encryption) against future quantum threats.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAppDataStorage" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">PQC is vital for protecting long-term data archives (full-disk, file,
+                                database encryption) against future quantum threats.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseAppDataStorage" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseAppDataStorage">
                             <p>Protecting data at rest:</p>
                             <ul>
-                                <li><strong>Full-Disk & File Encryption:</strong> PQC-based key encapsulation and quantum-resistant symmetric encryption (e.g., AES-256).</li>
+                                <li><strong>Full-Disk & File Encryption:</strong> PQC-based key encapsulation and
+                                    quantum-resistant symmetric encryption (e.g., AES-256).</li>
                                 <li><strong>Database Encryption.</strong></li>
-                                <li><strong>Long-Term Archives:</strong> Government archives, medical records, IP need PQC protection against HNDL.</li>
+                                <li><strong>Long-Term Archives:</strong> Government archives, medical records, IP need
+                                    PQC protection against HNDL.</li>
                                 <li><strong>Key Management:</strong> Secure PQC key management is critical.</li>
                             </ul>
                         </div>
@@ -1168,18 +1680,27 @@
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-building-shield"></i>Government & Defense</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-building-shield"></i>Government & Defense</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">PQC is essential for securing sensitive national security information, critical infrastructure, military systems, and identity management.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAppGovDefense" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">PQC is essential for securing sensitive national security information,
+                                critical infrastructure, military systems, and identity management.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseAppGovDefense" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseAppGovDefense">
                             <p>Key government and defense applications:</p>
                             <ul>
-                                <li><strong>Securing Classified Information:</strong> Protecting state secrets from quantum espionage.</li>
-                                <li><strong>Critical Infrastructure Protection:</strong> Energy grids, communication networks, etc.</li>
-                                <li><strong>Military Communications & Systems:</strong> Command and control, weapon systems.</li>
-                                <li><strong>Identity Management:</strong> Secure government IDs, passports, access control.</li>
+                                <li><strong>Securing Classified Information:</strong> Protecting state secrets from
+                                    quantum espionage.</li>
+                                <li><strong>Critical Infrastructure Protection:</strong> Energy grids, communication
+                                    networks, etc.</li>
+                                <li><strong>Military Communications & Systems:</strong> Command and control, weapon
+                                    systems.</li>
+                                <li><strong>Identity Management:</strong> Secure government IDs, passports, access
+                                    control.</li>
                                 <li><strong>Law Enforcement:</strong> Protecting sensitive investigative data.</li>
                             </ul>
                         </div>
@@ -1188,81 +1709,423 @@
             </div>
         </section>
 
-        <!-- Section 9: The Future of PQC and Quantum Cryptography -->
+        <!-- Section 9: Bitcoin & Post-Quantum Cryptography -->
+        <section class="main-section bitcoin-pqc-theme" id="bitcoin-pqc">
+            <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
+                <h2><i class="bi bi-shield-shaded"></i>9. Bitcoin & Post-Quantum Cryptography</h2>
+                <div>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="bitcoin-pqc"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="bitcoin-pqc"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
+                </div>
+            </div>
+            <div class="row">
+                <div class="col-md-6 col-lg-4 mb-4">
+                    <div class="info-card">
+                        <div class="card-header">
+                            <h5><i class="bi bi-lightning-charge-fill"></i>Quantum Threats to Bitcoin's Cryptography
+                            </h5>
+                        </div>
+                        <div class="card-body">
+                            <p class="summary">Shor's algorithm directly threatens Bitcoin's ECDSA signatures and
+                                address security, while Grover's algorithm poses a lesser threat to its hashing
+                                functions.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseBitcoinThreats" aria-expanded="false"
+                                aria-controls="collapseBitcoinThreats">
+                                Details <i class="bi bi-chevron-down"></i>
+                            </button>
+                        </div>
+                        <div class="collapse collapse-content" id="collapseBitcoinThreats">
+                            <p>Bitcoin's security relies on several cryptographic primitives, some of which are
+                                vulnerable to quantum attacks:</p>
+                            <h6>1. Elliptic Curve Digital Signature Algorithm (ECDSA):</h6>
+                            <ul>
+                                <li><strong>Vulnerability:</strong> Bitcoin uses ECDSA with the `secp256k1` curve for
+                                    transaction signatures and public key generation. Shor's algorithm can efficiently
+                                    solve the Elliptic Curve Discrete Logarithm Problem (ECDLP), upon which ECDSA's
+                                    security is based.
+                                </li>
+                                <li><strong>Impact:</strong>
+                                    <ul>
+                                        <li><strong>Private Key Derivation:</strong> A sufficiently powerful quantum
+                                            computer could derive a private key from its corresponding public key.
+                                            Bitcoin addresses (specifically P2PKH and P2WPKH) are hashes of public keys.
+                                            The public key is revealed only when a UTXO (Unspent Transaction Output)
+                                            from that address is spent. At this point, an attacker could derive the
+                                            private key and forge a transaction to steal any remaining funds in *other*
+                                            UTXOs associated with that same public key, or race to spend the current
+                                            UTXO if they are fast enough.</li>
+                                        <li><strong>Signature Forgery:</strong> While deriving the private key is the
+                                            primary concern, theoretical attacks on ECDSA itself might exist with
+                                            quantum computers, though this is less emphasized than the public key
+                                            exposure issue.</li>
+                                    </ul>
+                                </li>
+                            </ul>
+                            <h6>2. Hashing Algorithms (SHA-256 & RIPEMD-160):</h6>
+                            <ul>
+                                <li><strong>Use Cases:</strong> Bitcoin uses SHA-256 for Proof-of-Work (mining),
+                                    transaction hashing, and Merkle trees. RIPEMD-160 (often in conjunction with
+                                    SHA-256, as in HASH160) is used for address generation.</li>
+                                <li><strong>Vulnerability:</strong> Grover's algorithm provides a quadratic speedup for
+                                    finding preimages (inputs that hash to a specific output) or collisions (two inputs
+                                    hashing to the same output) for hash functions.</li>
+                                <li><strong>Impact:</strong>
+                                    <ul>
+                                        <li><strong>Mining (SHA-256):</strong> Grover's could theoretically speed up
+                                            mining, but due to the massive existing classical ASIC mining infrastructure
+                                            and the parallel nature of mining, the advantage for a single quantum miner
+                                            might be less decisive initially. It primarily reduces the effective
+                                            security of the hash function (e.g., 256-bit security becomes effectively
+                                            128-bit against a quantum search).</li>
+                                        <li><strong>Address Security (HASH160):</strong> While public keys are hashed to
+                                            create addresses, once a public key is revealed, this hashing layer doesn't
+                                            protect against Shor's attack on the public key itself. Grover's could make
+                                            finding a public key that hashes to a specific address (a preimage attack on
+                                            HASH160) faster, but this is still considered computationally very difficult
+                                            even with the speedup, given the output size of RIPEMD-160. The primary risk
+                                            remains the ECDSA key pair.</li>
+                                    </ul>
+                                </li>
+                            </ul>
+                            <div class="callout callout-security-alert">
+                                <h5><i class="bi bi-exclamation-triangle-fill"></i>Address Reuse is Critical</h5>
+                                <p>The most immediate threat is to addresses whose public keys have been revealed.
+                                    Reusing addresses (spending multiple times from the same P2PKH/P2WPKH address) is
+                                    highly discouraged, as it exposes the public key, making it a target for future
+                                    quantum attacks on its associated private key.</p>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+
+                <div class="col-md-6 col-lg-4 mb-4">
+                    <div class="info-card">
+                        <div class="card-header">
+                            <h5><i class="bi bi-shield-lock"></i>PQC Signature Schemes for Bitcoin</h5>
+                        </div>
+                        <div class="card-body">
+                            <p class="summary">Potential PQC replacements for ECDSA include hash-based signatures (e.g.,
+                                SPHINCS+, Lamport variants) or lattice-based schemes, each with trade-offs.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseBitcoinPQCSigs" aria-expanded="false"
+                                aria-controls="collapseBitcoinPQCSigs">
+                                Details <i class="bi bi-chevron-down"></i>
+                            </button>
+                        </div>
+                        <div class="collapse collapse-content" id="collapseBitcoinPQCSigs">
+                            <p>Replacing ECDSA in Bitcoin requires careful consideration of signature size, public key
+                                size, verification speed, signing speed, and overall security assumptions.</p>
+                            <h6>1. Hash-Based Signatures (HBS):</h6>
+                            <ul>
+                                <li><strong>Examples:</strong>
+                                    <ul>
+                                        <li><span class="term" data-bs-toggle="tooltip"
+                                                title="A stateless hash-based signature scheme standardized by NIST. Offers strong security based only on hash function properties.">SPHINCS+</span>:
+                                            Strong security, but very large signatures (kilobytes) and slower
+                                            signing/verification.</li>
+                                        <li><span class="term" data-bs-toggle="tooltip"
+                                                title="A one-time hash-based signature. Very secure but keys can only be used once, requiring complex state management or hierarchical structures.">Lamport
+                                                Signatures / Winternitz One-Time Signatures (WOTS+)</span>: Fundamental
+                                            building blocks. Can be combined with Merkle trees (Merkle Signature Scheme
+                                            - MSS) to sign multiple messages. State management is critical.</li>
+                                    </ul>
+                                </li>
+                                <li><strong>Pros:</strong> Minimal security assumptions (rely only on hash function
+                                    security). Well-understood.</li>
+                                <li><strong>Cons:</strong>
+                                    <ul>
+                                        <li><strong>Size:</strong> Signatures and public keys are significantly larger
+                                            than ECDSA, which would bloat the Bitcoin blockchain and increase
+                                            transaction fees. SPHINCS+ signatures can be ~20-40KB.</li>
+                                        <li><strong>Performance:</strong> Signing and verification can be slower.</li>
+                                        <li><strong>Statefulness (for some older HBS):</strong> One-time signatures
+                                            (OTS) like Lamport require careful state management to avoid key reuse,
+                                            though stateless schemes like SPHINCS+ address this.</li>
+                                    </ul>
+                                </li>
+                            </ul>
+                            <h6>2. Lattice-Based Signatures:</h6>
+                            <ul>
+                                <li><strong>Examples:</strong> <span class="term" data-bs-toggle="tooltip"
+                                        title="NIST standardized lattice-based signature scheme.">CRYSTALS-Dilithium</span>,
+                                    <span class="term" data-bs-toggle="tooltip"
+                                        title="Lattice-based signature scheme known for small signatures but complex signing.">Falcon</span>.
+                                </li>
+                                <li><strong>Pros:</strong> Generally better performance and smaller sizes than
+                                    hash-based PQC signatures (though still larger than ECDSA). Backed by strong
+                                    theoretical security assumptions (hardness of lattice problems).</li>
+                                <li><strong>Cons:</strong>
+                                    <ul>
+                                        <li><strong>Size:</strong> While better than HBS, still larger than ECDSA.
+                                            Dilithium signatures are a few kilobytes. Falcon offers smaller signatures
+                                            but has a more complex signing process.</li>
+                                        <li><strong>Newer Mathematics:</strong> While based on hard problems, the
+                                            specific cryptographic constructions are newer than HBS and continue to
+                                            undergo intense scrutiny.</li>
+                                        <li><strong>Implementation Complexity:</strong> Secure implementation can be
+                                            challenging (e.g., protecting against side-channel attacks).</li>
+                                    </ul>
+                                </li>
+                            </ul>
+                            <h6>3. Other Candidates:</h6>
+                            <p>Multivariate signatures or other PQC families could theoretically be considered, but
+                                often have their own trade-offs regarding size, performance, or security maturity that
+                                make them less immediate fits for a system like Bitcoin.</p>
+                            <div class="callout callout-deep-dive">
+                                <h5><i class="bi bi-binoculars-fill"></i>Key Considerations for Bitcoin</h5>
+                                <p>For Bitcoin, minimizing transaction size is paramount to control blockchain bloat and
+                                    fees. This makes many PQC schemes challenging. The need for decentralized consensus
+                                    on any change also makes adoption complex.</p>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+
+                <div class="col-md-6 col-lg-4 mb-4">
+                    <div class="info-card">
+                        <div class="card-header">
+                            <h5><i class="bi bi-bezier2"></i>Migration Strategies & Challenges</h5>
+                        </div>
+                        <div class="card-body">
+                            <p class="summary">Migrating Bitcoin to PQC is a monumental task involving hard forks, new
+                                address types, increased transaction sizes, and achieving network consensus.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseBitcoinMigration" aria-expanded="false"
+                                aria-controls="collapseBitcoinMigration">
+                                Details <i class="bi bi-chevron-down"></i>
+                            </button>
+                        </div>
+                        <div class="collapse collapse-content" id="collapseBitcoinMigration">
+                            <p>Transitioning Bitcoin to quantum resistance would be one of the most significant upgrades
+                                in its history.</p>
+                            <h6>Potential Migration Paths:</h6>
+                            <ul>
+                                <li><strong>Hard Fork:</strong> Most likely necessary to introduce new cryptographic
+                                    primitives and address formats. This requires overwhelming community and miner
+                                    consensus, which is historically difficult to achieve in Bitcoin. All users and
+                                    infrastructure would need to upgrade.</li>
+                                <li><strong>New Address Types:</strong> Introduce new PQC-secured address types (e.g.,
+                                    P2PQKP - Pay to Post-Quantum Key Pair). Users would need to migrate funds from old
+                                    ECDSA-based addresses to these new quantum-resistant addresses.</li>
+                                <li><strong>Phased Rollout:</strong> Initially, PQC addresses could co-exist with legacy
+                                    addresses. Transactions spending from legacy addresses would remain vulnerable once
+                                    public keys are revealed.</li>
+                                <li><strong>Commitment Schemes:</strong> Some proposals involve users committing to a
+                                    future PQC public key within a current transaction, using existing crypto. This is
+                                    complex and has limitations.</li>
+                            </ul>
+                            <h6>Major Challenges:</h6>
+                            <ul>
+                                <li><strong>Network Consensus:</strong> Achieving agreement for a hard fork among
+                                    developers, miners, exchanges, and users is a massive socio-political challenge.
+                                </li>
+                                <li><strong>Increased Transaction Size & Blockchain Bloat:</strong> PQC signatures and
+                                    public keys are generally larger than ECDSA's. This would increase the size of each
+                                    transaction and, consequently, the overall blockchain size, potentially impacting
+                                    storage, bandwidth, and fees.</li>
+                                <li><strong>Computational Overhead:</strong> Some PQC algorithms have higher
+                                    signing/verification costs, which could impact node performance and user experience.
+                                </li>
+                                <li><strong>Wallet Software & Infrastructure Updates:</strong> All wallets, exchanges,
+                                    block explorers, and other Bitcoin-related software would need significant updates.
+                                </li>
+                                <li><strong>Security of PQC Schemes:</strong> The chosen PQC algorithms must be robust
+                                    and well-vetted. A premature switch to a flawed PQC scheme could be catastrophic.
+                                </li>
+                                <li><strong>User Migration & Security Risks:</strong> Users would need to securely
+                                    migrate their BTC from old to new PQC addresses. This process itself could introduce
+                                    risks if not handled carefully.</li>
+                                <li><strong>Timeline:</strong> There is no official timeline. The process would likely
+                                    take many years of research, development, testing, and community debate. The urgency
+                                    depends on the perceived timeline for CRQC development.</li>
+                            </ul>
+                            <div class="callout callout-key-definition">
+                                <h5><i class="bi bi-bookmark-star-fill"></i>Wallets and Public Key Exposure</h5>
+                                <p>It's crucial to understand that Bitcoin addresses (like P2PKH: <code>1...</code> or
+                                    P2WPKH: <code>bc1q...</code>) are hashes of public keys. The public key is only
+                                    revealed on the blockchain when a UTXO from that address is spent. Funds in unspent
+                                    addresses where the public key has never been revealed are currently safe from
+                                    Shor's algorithm (as there's no public key to attack). The risk materializes *after*
+                                    the first spend from an address.</p>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="col-md-6 col-lg-4 mb-4">
+                    <div class="info-card">
+                        <div class="card-header">
+                            <h5><i class="bi bi-shield-plus"></i>Mitigation & Future-Proofing</h5>
+                        </div>
+                        <div class="card-body">
+                            <p class="summary">Emphasizing single-use addresses, exploring PQC in Layer-2 solutions, and
+                                advancing research are current mitigation and future-proofing steps.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseBitcoinMitigation" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
+                        </div>
+                        <div class="collapse collapse-content" id="collapseBitcoinMitigation">
+                            <h6>Current Best Practices (Reinforced):</h6>
+                            <ul>
+                                <li><strong>Strict Address Reuse Avoidance:</strong> This is the single most important
+                                    practice today. Every time a UTXO is spent, the change should go to a brand new
+                                    address. This minimizes the window of opportunity for a quantum attacker to derive a
+                                    private key from an exposed public key. Most modern wallets do this by default.</li>
+                                <li><strong>Using SegWit Addresses (P2WPKH/P2WSH):</strong> While not directly
+                                    quantum-resistant, SegWit helps in not revealing the public key or script until
+                                    spending, similar to P2PKH.</li>
+                            </ul>
+                            <h6>Exploratory & Research Areas:</h6>
+                            <ul>
+                                <li><strong>PQC in Layer-2 Solutions:</strong> Solutions like the Lightning Network
+                                    could potentially adopt PQC for channel setups or other off-chain mechanisms more
+                                    quickly than the base layer, though final settlement would still rely on Bitcoin's
+                                    base layer security.</li>
+                                <li><strong>Quantum-Resistant Commitment Schemes:</strong> Research into ways to
+                                    "upgrade" existing UTXOs to be spendable only by a PQC key without an immediate hard
+                                    fork (e.g., by committing to a PQC public key hash). These are highly theoretical
+                                    for Bitcoin's base layer.</li>
+                                <li><strong>Aggregate Signatures for PQC:</strong> If chosen PQC schemes support
+                                    efficient aggregation (like some lattice-based proposals aim for), this could help
+                                    mitigate some of the transaction size increase. However, many PQC signature schemes
+                                    do not aggregate as efficiently as Schnorr signatures (used in Taproot for ECDSA).
+                                </li>
+                                <li><strong>Development of PQC Hardware Wallets:</strong> Future hardware wallets might
+                                    incorporate PQC algorithms for key generation and signing, providing a secure
+                                    environment for PQC private keys.</li>
+                                <li><strong>Monitoring PQC Standardization:</strong> The Bitcoin development community
+                                    closely monitors efforts like the NIST PQC standardization project to identify
+                                    mature and secure algorithms.</li>
+                            </ul>
+                            <div class="callout callout-future-watch">
+                                <h5><i class="bi bi-graph-up-arrow"></i>Proactive Measures are Limited</h5>
+                                <p>For Bitcoin's base layer, true quantum resistance against Shor's algorithm requires a
+                                    fundamental change in the signature scheme, most likely via a hard fork. Current
+                                    mitigations primarily focus on operational security (address non-reuse) and ongoing
+                                    research.</p>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </section>
+
+        <!-- Section 10: The Future of PQC and Quantum Cryptography -->
         <section class="main-section future-theme" id="pqc-future">
-             <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
-                <h2><i class="bi bi-infinity"></i>9. The Future of PQC & Quantum Crypto</h2>
+            <div class="main-section-header d-flex justify-content-between align-items-center mb-4">
+                <h2><i class="bi bi-infinity"></i>10. The Future of PQC & Quantum Crypto</h2>
                 <div>
-                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-future"><i class="bi bi-arrows-expand"></i> Expand All</button>
-                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-future"><i class="bi bi-arrows-collapse"></i> Collapse All</button>
+                    <button class="btn btn-sm btn-expand-all" data-section-target="pqc-future"><i
+                            class="bi bi-arrows-expand"></i> Expand All</button>
+                    <button class="btn btn-sm btn-collapse-all ms-2" data-section-target="pqc-future"><i
+                            class="bi bi-arrows-collapse"></i> Collapse All</button>
                 </div>
             </div>
-             <div class="row">
+            <div class="row">
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-lightbulb-fill"></i>Ongoing PQC Research</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-lightbulb-fill"></i>Ongoing PQC Research</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">Research continues on new PQC candidates, improving existing algorithms, formal verification, and PQC for advanced cryptographic primitives.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFutureResearch" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">Research continues on new PQC candidates, improving existing algorithms,
+                                formal verification, and PQC for advanced cryptographic primitives.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseFutureResearch" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseFutureResearch">
                             <h6>Future Directions:</h6>
                             <ul>
-                                <li><strong>New PQC Candidates:</strong> Exploration of new quantum-resistant mathematical problems.</li>
-                                <li><strong>Improving Existing Algorithms:</strong> Enhancing performance, reducing key/signature sizes, strengthening security proofs, better side-channel countermeasures.</li>
-                                <li><strong>Formal Verification:</strong> Verifying correctness and security of PQC implementations.</li>
-                                <li><strong>PQC for Advanced Primitives:</strong> Developing PQC versions of Identity-Based Encryption (IBE), Homomorphic Encryption (HE), Zero-Knowledge Proofs (ZKPs).</li>
-                                <li><strong>Long-Term Security Analysis:</strong> Continuous scrutiny of standardized PQC algorithms.</li>
+                                <li><strong>New PQC Candidates:</strong> Exploration of new quantum-resistant
+                                    mathematical problems.</li>
+                                <li><strong>Improving Existing Algorithms:</strong> Enhancing performance, reducing
+                                    key/signature sizes, strengthening security proofs, better side-channel
+                                    countermeasures.</li>
+                                <li><strong>Formal Verification:</strong> Verifying correctness and security of PQC
+                                    implementations.</li>
+                                <li><strong>PQC for Advanced Primitives:</strong> Developing PQC versions of
+                                    Identity-Based Encryption (IBE), Homomorphic Encryption (HE), Zero-Knowledge Proofs
+                                    (ZKPs).</li>
+                                <li><strong>Long-Term Security Analysis:</strong> Continuous scrutiny of standardized
+                                    PQC algorithms.</li>
                             </ul>
-                             <div class="callout callout-future-watch">
+                            <div class="callout callout-future-watch">
                                 <h5><i class="bi bi-graph-up-arrow"></i>Evolving Landscape</h5>
-                                <p>The PQC field is dynamic. New breakthroughs and refinements are expected as research progresses globally.</p>
+                                <p>The PQC field is dynamic. New breakthroughs and refinements are expected as research
+                                    progresses globally.</p>
                             </div>
                         </div>
                     </div>
                 </div>
-                 <div class="col-md-6 col-lg-4 mb-4">
+                <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-stars"></i>Quantum Cryptography (QKD)</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-stars"></i>Quantum Cryptography (QKD)</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">QKD uses quantum mechanics for secure key exchange, complementing PQC. It's hardware-based and relies on physics for security.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFutureQKD" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">QKD uses quantum mechanics for secure key exchange, complementing PQC.
+                                It's hardware-based and relies on physics for security.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseFutureQKD" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseFutureQKD">
-                            <p>PQC (software-based, computational hardness) differs from Quantum Cryptography (hardware-based, physics-based security).</p>
+                            <p>PQC (software-based, computational hardness) differs from Quantum Cryptography
+                                (hardware-based, physics-based security).</p>
                             <h6>Quantum Key Distribution (QKD):</h6>
                             <ul>
-                                <li><strong>How it works:</strong> Uses quantum phenomena (e.g., photon polarization) to establish a shared secret key. Eavesdropping disturbs the quantum state, alerting users.</li>
-                                <li><strong>Security:</strong> Offers information-theoretic security for the key exchange itself.</li>
+                                <li><strong>How it works:</strong> Uses quantum phenomena (e.g., photon polarization) to
+                                    establish a shared secret key. Eavesdropping disturbs the quantum state, alerting
+                                    users.</li>
+                                <li><strong>Security:</strong> Offers information-theoretic security for the key
+                                    exchange itself.</li>
                                 <li><strong>Differences & Complementarity with PQC:</strong>
                                     <ul>
-                                        <li>QKD is for key exchange; PQC offers broader crypto functions (signatures, etc.).</li>
-                                        <li>QKD requires specialized hardware and channels; PQC is for existing infrastructure.</li>
+                                        <li>QKD is for key exchange; PQC offers broader crypto functions (signatures,
+                                            etc.).</li>
+                                        <li>QKD requires specialized hardware and channels; PQC is for existing
+                                            infrastructure.</li>
                                     </ul>
                                 </li>
-                                <li><strong>Limitations of QKD:</strong> Distance limits, point-to-point nature, requires classical authentication (where PQC can help).</li>
+                                <li><strong>Limitations of QKD:</strong> Distance limits, point-to-point nature,
+                                    requires classical authentication (where PQC can help).</li>
                             </ul>
-                            <p>QKD and PQC can work together: QKD for secure key establishment, PQC for authentication and general crypto needs.</p>
+                            <p>QKD and PQC can work together: QKD for secure key establishment, PQC for authentication
+                                and general crypto needs.</p>
                         </div>
                     </div>
                 </div>
                 <div class="col-md-6 col-lg-4 mb-4">
                     <div class="info-card">
-                        <div class="card-header"><h5><i class="bi bi-binoculars-fill"></i>Forward-Looking Perspective</h5></div>
+                        <div class="card-header">
+                            <h5><i class="bi bi-binoculars-fill"></i>Forward-Looking Perspective</h5>
+                        </div>
                         <div class="card-body">
-                            <p class="summary">The quantum era demands a multi-layered security approach: ubiquitous PQC, strategic QKD, defense in depth, and continuous adaptation.</p>
-                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFuturePerspective" aria-expanded="false">Details <i class="bi bi-chevron-down"></i></button>
+                            <p class="summary">The quantum era demands a multi-layered security approach: ubiquitous
+                                PQC, strategic QKD, defense in depth, and continuous adaptation.</p>
+                            <button class="btn btn-sm details-toggle" type="button" data-bs-toggle="collapse"
+                                data-bs-target="#collapseFuturePerspective" aria-expanded="false">Details <i
+                                    class="bi bi-chevron-down"></i></button>
                         </div>
                         <div class="collapse collapse-content" id="collapseFuturePerspective">
                             <p>A multi-layered approach to security in the quantum era will involve:</p>
                             <ol>
-                                <li><strong>Ubiquitous PQC Deployment:</strong> PQC will be the new baseline for software-based cryptography. Crypto-agility is key.</li>
-                                <li><strong>Strategic Use of QKD:</strong> For high-value, point-to-point links where infrastructure investment is justified.</li>
-                                <li><strong>Defense in Depth:</strong> Combining PQC, QKD, robust symmetric encryption, secure protocols, hardware security, and best practices.</li>
-                                <li><strong>Continuous Monitoring and Adaptation:</strong> The "quantum race" is ongoing. Defenses must adapt to new discoveries.</li>
-                                <li><strong>International Collaboration and Norms:</strong> Crucial for a secure global digital world.</li>
+                                <li><strong>Ubiquitous PQC Deployment:</strong> PQC will be the new baseline for
+                                    software-based cryptography. Crypto-agility is key.</li>
+                                <li><strong>Strategic Use of QKD:</strong> For high-value, point-to-point links where
+                                    infrastructure investment is justified.</li>
+                                <li><strong>Defense in Depth:</strong> Combining PQC, QKD, robust symmetric encryption,
+                                    secure protocols, hardware security, and best practices.</li>
+                                <li><strong>Continuous Monitoring and Adaptation:</strong> The "quantum race" is
+                                    ongoing. Defenses must adapt to new discoveries.</li>
+                                <li><strong>International Collaboration and Norms:</strong> Crucial for a secure global
+                                    digital world.</li>
                             </ol>
-                            <p>The future of secure communications will be dynamic, challenging, and rich with innovation.</p>
+                            <p>The future of secure communications will be dynamic, challenging, and rich with
+                                innovation.</p>
                         </div>
                     </div>
                 </div>
@@ -1275,7 +2138,8 @@
             <p>&copy; <span id="currentYear"></span> Post-Quantum Cryptography Guide. All Rights Reserved.</p>
             <p>
                 <a href="#pqc-introduction" class="me-3">Introduction</a> |
-                <a href="https://csrc.nist.gov/projects/post-quantum-cryptography" target="_blank" rel="noopener noreferrer">NIST PQC Project</a> |
+                <a href="https://csrc.nist.gov/projects/post-quantum-cryptography" target="_blank"
+                    rel="noopener noreferrer">NIST PQC Project</a> |
                 <a href="#" class="ms-3">Back to Top</a>
             </p>
         </div>
@@ -1295,7 +2159,7 @@
 
             // Expand/Collapse All functionality
             document.querySelectorAll('.btn-expand-all').forEach(button => {
-                button.addEventListener('click', function() {
+                button.addEventListener('click', function () {
                     const sectionId = this.getAttribute('data-section-target');
                     const section = document.getElementById(sectionId);
                     if (section) {
@@ -1308,12 +2172,12 @@
             });
 
             document.querySelectorAll('.btn-collapse-all').forEach(button => {
-                button.addEventListener('click', function() {
+                button.addEventListener('click', function () {
                     const sectionId = this.getAttribute('data-section-target');
                     const section = document.getElementById(sectionId);
                     if (section) {
                         section.querySelectorAll('.collapse').forEach(collapseElement => {
-                             const bsCollapse = bootstrap.Collapse.getInstance(collapseElement) || new bootstrap.Collapse(collapseElement, { toggle: false });
+                            const bsCollapse = bootstrap.Collapse.getInstance(collapseElement) || new bootstrap.Collapse(collapseElement, { toggle: false });
                             bsCollapse.hide();
                         });
                     }
@@ -1336,7 +2200,7 @@
                         icon.classList.add('bi-chevron-down');
                     });
                     // Ensure correct initial state if some are pre-expanded
-                     if (collapseElement.classList.contains('show')) {
+                    if (collapseElement.classList.contains('show')) {
                         icon.classList.remove('bi-chevron-down');
                         icon.classList.add('bi-chevron-up');
                     }
@@ -1345,4 +2209,5 @@
         });
     </script>
 </body>
+
 </html>
\ No newline at end of file