/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgb(30, 60, 114) 0%, rgb(42, 82, 152) 50%, rgb(25, 52, 95) 100%);
    color: rgb(240, 248, 255);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgb(52, 152, 219);
    border-radius: 15px;
}

/* Header */
header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgb(41, 128, 185) 0%, rgb(52, 152, 219) 100%);
    border: 3px solid rgb(30, 100, 160);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 2.8em;
    font-weight: bold;
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.disclaimer {
    font-size: 0.9em;
    font-weight: bold;
    color: rgb(255, 235, 205);
    font-style: italic;
    margin-top: 10px;
}

.print-btn {
    background-color: rgb(46, 204, 113);
    color: rgb(255, 255, 255);
    font-weight: bold;
    padding: 12px 30px;
    border: 3px solid rgb(39, 174, 96);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.print-btn:hover {
    background-color: rgb(39, 174, 96);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, rgb(142, 68, 173) 0%, rgb(155, 89, 182) 100%);
    padding: 25px;
    border: 3px solid rgb(125, 60, 152);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.table-of-contents h2 {
    font-weight: bold;
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin: 12px 0;
}

.table-of-contents button {
    width: 100%;
    background-color: rgb(52, 152, 219);
    color: rgb(255, 255, 255);
    font-weight: bold;
    padding: 15px;
    border: 3px solid rgb(41, 128, 185);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    text-align: left;
    transition: all 0.3s ease;
}

.table-of-contents button:hover {
    background-color: rgb(41, 128, 185);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Use Case Sections */
.use-case {
    background: linear-gradient(135deg, rgb(236, 240, 241) 0%, rgb(255, 255, 255) 100%);
    padding: 30px;
    margin-bottom: 30px;
    border: 3px solid rgb(52, 152, 219);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.use-case h2 {
    font-weight: bold;
    color: rgb(41, 128, 185);
    font-size: 2.2em;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(52, 152, 219);
}

.use-case h3 {
    font-weight: bold;
    color: rgb(52, 73, 94);
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.use-case ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.use-case li {
    font-weight: bold;
    color: rgb(44, 62, 80);
    margin: 12px 0;
    line-height: 1.8;
}

/* Question and Answer Section */
.qa-section {
    margin: 25px 0;
    background-color: rgb(255, 248, 220);
    border: 3px solid rgb(243, 156, 18);
    border-radius: 10px;
    padding: 20px;
}

.question-btn {
    background: linear-gradient(135deg, rgb(230, 126, 34) 0%, rgb(243, 156, 18) 100%);
    color: rgb(255, 255, 255);
    font-weight: bold;
    padding: 15px 25px;
    border: 3px solid rgb(211, 84, 0);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.question-btn:hover {
    background: linear-gradient(135deg, rgb(211, 84, 0) 0%, rgb(230, 126, 34) 100%);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.answer {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(52, 152, 219);
    border-radius: 8px;
}

.answer.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.answer p {
    font-weight: bold;
    color: rgb(44, 62, 80);
    line-height: 1.8;
    font-size: 1.1em;
}

.answer strong {
    color: rgb(41, 128, 185);
}

/* Example Box */
.example-box {
    background: linear-gradient(135deg, rgb(232, 248, 245) 0%, rgb(214, 234, 248) 100%);
    padding: 20px;
    border: 3px solid rgb(22, 160, 133);
    border-radius: 10px;
    margin: 20px 0;
}

.example-box p {
    font-weight: bold;
    color: rgb(44, 62, 80);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.example-box ul {
    margin-left: 25px;
}

.example-box li {
    font-weight: bold;
    color: rgb(22, 160, 133);
    margin: 10px 0;
}

.example-box strong {
    color: rgb(41, 128, 185);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgb(52, 152, 219);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, rgb(41, 128, 185) 0%, rgb(52, 152, 219) 100%);
}

th {
    padding: 18px;
    text-align: left;
    font-weight: bold;
    color: rgb(255, 255, 255);
    font-size: 1.1em;
    border: 2px solid rgb(30, 100, 160);
}

td {
    padding: 15px;
    border: 2px solid rgb(189, 195, 199);
    font-weight: bold;
    color: rgb(44, 62, 80);
}

tbody tr:nth-child(even) {
    background-color: rgb(236, 240, 241);
}

tbody tr:hover {
    background-color: rgb(214, 234, 248);
    transition: background-color 0.3s ease;
}

/* Mind Map Section */
.mindmap-section {
    background: linear-gradient(135deg, rgb(248, 249, 250) 0%, rgb(255, 255, 255) 100%);
    padding: 30px;
    margin-bottom: 30px;
    border: 3px solid rgb(155, 89, 182);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mindmap-section h2 {
    font-weight: bold;
    color: rgb(142, 68, 173);
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
}

.mindmap-section svg {
    display: block;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(189, 195, 199);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Flowchart Section */
.flowchart-section {
    background: linear-gradient(135deg, rgb(248, 249, 250) 0%, rgb(255, 255, 255) 100%);
    padding: 30px;
    margin-bottom: 30px;
    border: 3px solid rgb(46, 204, 113);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.flowchart-section h2 {
    font-weight: bold;
    color: rgb(39, 174, 96);
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
}

.flowchart-section svg {
    display: block;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(189, 195, 199);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, rgb(52, 73, 94) 0%, rgb(44, 62, 80) 100%);
    border: 3px solid rgb(30, 40, 50);
    border-radius: 12px;
    margin-top: 30px;
}

footer p {
    font-weight: bold;
    color: rgb(236, 240, 241);
    margin: 8px 0;
    font-size: 1em;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
        border: none;
    }
    
    .print-btn {
        display: none;
    }
    
    .table-of-contents button {
        border: 2px solid rgb(41, 128, 185);
        page-break-inside: avoid;
    }
    
    .use-case {
        page-break-inside: avoid;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    .answer {
        display: block !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .use-case h2 {
        font-size: 1.6em;
    }
    
    .use-case h3 {
        font-size: 1.3em;
    }
    
    table {
        font-size: 0.9em;
    }
    
    th, td {
        padding: 10px;
    }
    
    .mindmap-section svg,
    .flowchart-section svg {
        width: 100%;
        height: auto;
    }
}