/* Filmora E-Book CSS Styles */
/* Primary Color: RGB(31, 150, 199) - Blue Background */
/* Border Color: RGB(150, 31, 224) - Purple Border */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: rgb(31, 150, 199);
    color: #ffffff;
    line-height: 1.8;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgb(31, 150, 199);
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgb(31, 150, 199), rgb(20, 120, 170));
    border: 5px solid rgb(150, 31, 224);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 3em;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.3em;
    font-weight: bold;
    color: #ffeb3b;
    margin-bottom: 20px;
}

.print-btn {
    background: rgb(150, 31, 224);
    color: #ffffff;
    padding: 15px 35px;
    border: 3px solid #ffffff;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.print-btn:hover {
    background: rgb(180, 61, 255);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Table of Contents */
.toc {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border: 5px solid rgb(150, 31, 224);
    border-radius: 12px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.toc h2 {
    font-size: 2em;
    font-weight: bold;
    color: #ffeb3b;
    margin-bottom: 20px;
    text-align: center;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin: 10px 0;
}

.toc a {
    text-decoration: none;
    display: block;
}

.toc button {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgb(150, 31, 224);
    padding: 12px 20px;
    width: 100%;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toc button:hover {
    background: rgb(150, 31, 224);
    transform: translateX(10px);
    box-shadow: 0 4px 10px rgba(150, 31, 224, 0.5);
}

.toc a:hover button {
    background: rgb(150, 31, 224);
    transform: translateX(10px);
    box-shadow: 0 4px 10px rgba(150, 31, 224, 0.5);
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    border: 5px solid rgb(150, 31, 224);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    scroll-margin-top: 20px;
}

.section h2 {
    font-size: 2.2em;
    font-weight: bold;
    color: #ffeb3b;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgb(150, 31, 224);
}

.section h3 {
    font-size: 1.6em;
    font-weight: bold;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 15px;
}

.section h4 {
    font-size: 1.3em;
    font-weight: bold;
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 10px;
}

.section p {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.8;
}

.section ul,
.section ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.section li {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid rgb(150, 31, 224);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

thead {
    background: rgb(150, 31, 224);
}

thead th {
    padding: 18px;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

tbody td {
    padding: 15px;
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 2px solid rgba(150, 31, 224, 0.3);
}

tbody tr:hover {
    background: rgba(150, 31, 224, 0.2);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* System Requirements Layout */
.system-req {
    display: flex;
    gap: 30px;
    margin: 25px 0;
}

.req-column {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border: 4px solid rgb(150, 31, 224);
    border-radius: 10px;
}

.req-column h4 {
    color: #ffeb3b;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: bold;
}

/* Flowchart Styles */
.flowchart {
    margin: 30px 0;
}

.flowchart h3 {
    color: #ffeb3b;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: bold;
}

.flow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flow-step {
    background: rgba(150, 31, 224, 0.3);
    border: 4px solid rgb(150, 31, 224);
    border-radius: 15px;
    padding: 25px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(150, 31, 224, 0.5);
}

.flow-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: rgb(150, 31, 224);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: bold;
    border: 3px solid #ffffff;
}

.flow-step h4 {
    color: #ffffff;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.flow-step p {
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
}

.flow-arrow {
    font-size: 2.5em;
    color: rgb(150, 31, 224);
    font-weight: bold;
}

/* Pricing Table */
.pricing-table {
    margin: 30px 0;
}

.pricing-table thead {
    background: rgb(150, 31, 224);
}

.pricing-table tbody tr:nth-child(even) {
    background: rgba(150, 31, 224, 0.15);
}

/* Q&A Section */
.qa-container {
    margin: 25px 0;
}

.qa-item {
    margin-bottom: 20px;
    border: 4px solid rgb(150, 31, 224);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.qa-question {
    width: 100%;
    padding: 20px;
    background: rgba(150, 31, 224, 0.3);
    border: none;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.qa-question:hover {
    background: rgba(150, 31, 224, 0.5);
}

.toggle-icon {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffeb3b;
    transition: transform 0.3s ease;
}

.qa-question.active .toggle-icon {
    transform: rotate(45deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(255, 255, 255, 0.08);
}

.qa-answer.show {
    max-height: 500px;
    padding: 20px;
}

.qa-answer p {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.8;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    border-top: 4px solid rgb(150, 31, 224);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.footer p {
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
    margin: 8px 0;
}

/* Feature Table Special Styling */
.feature-table {
    margin: 30px 0;
}

.feature-table h3 {
    color: #ffeb3b;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    
    .system-req {
        flex-direction: column;
    }
    
    .flow-step {
        width: 95%;
    }
    
    .section {
        padding: 20px;
    }
    
    table {
        font-size: 0.9em;
    }
    
    thead th,
    tbody td {
        padding: 10px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .container {
        background: white;
    }
    
    .print-btn {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        border: 2px solid black;
        background: white;
    }
    
    .section h2,
    .section h3,
    .section p,
    .section li {
        color: black;
    }
    
    table {
        border: 2px solid black;
    }
    
    thead {
        background: lightgray;
    }
    
    thead th,
    tbody td {
        color: black;
        border: 1px solid black;
    }
    
    .qa-answer {
        max-height: none !important;
        padding: 20px !important;
    }
    
    .toggle-icon {
        display: none;
    }
    
    .toc button {
        color: black;
        border-color: black;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Bold Emphasis */
strong {
    font-weight: bold;
    color: #ffeb3b;
}

/* Highlight Important Information */
.section ul li strong,
.section ol li strong {
    color: #ffeb3b;
}