/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border: 5px solid rgb(208, 31, 224);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, rgb(31, 224, 199) 0%, rgb(26, 188, 168) 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-bottom: 5px solid rgb(208, 31, 224);
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.95;
}

.print-btn {
    background: white;
    color: rgb(31, 224, 199);
    border: 3px solid rgb(208, 31, 224);
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.print-btn:hover {
    background: rgb(208, 31, 224);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.print-btn:active {
    transform: translateY(0);
}

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, rgb(31, 224, 199) 0%, rgb(26, 188, 168) 100%);
    padding: 30px;
    border-bottom: 3px solid rgb(208, 31, 224);
}

.table-of-contents h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2em;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin: 10px 0;
}

.table-of-contents a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 15px;
    display: inline-block;
    border-left: 4px solid rgb(208, 31, 224);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.table-of-contents a:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 25px;
    border-left-width: 6px;
}

/* Content Sections */
.content-section {
    padding: 40px 50px;
    border-bottom: 3px solid rgb(31, 224, 199);
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section h2 {
    color: rgb(31, 224, 199);
    font-size: 2.2em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgb(208, 31, 224);
}

.content-section h3 {
    color: rgb(208, 31, 224);
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section p {
    margin-bottom: 15px;
    font-size: 1.1em;
    text-align: justify;
}

.content-section ul {
    margin: 15px 0 15px 40px;
}

.content-section li {
    margin: 10px 0;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border: 3px solid rgb(208, 31, 224);
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table thead {
    background: linear-gradient(135deg, rgb(31, 224, 199) 0%, rgb(26, 188, 168) 100%);
    color: white;
}

table th {
    padding: 15px;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 3px solid rgb(208, 31, 224);
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05em;
}

table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

table tbody tr:hover {
    background: rgba(31, 224, 199, 0.1);
}

.check {
    color: #28a745;
    font-weight: bold;
}

.cross {
    color: #dc3545;
    font-weight: bold;
}

/* Pricing Table Specific */
.pricing-table td:nth-child(3),
.pricing-table td:nth-child(4) {
    font-weight: bold;
    color: rgb(208, 31, 224);
}

/* Flowchart Styles */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(31, 224, 199, 0.05) 0%, rgba(208, 31, 224, 0.05) 100%);
    border-radius: 15px;
    border: 3px solid rgb(31, 224, 199);
}

.flow-box {
    background: white;
    border: 3px solid rgb(31, 224, 199);
    border-radius: 10px;
    padding: 20px 30px;
    margin: 10px;
    min-width: 250px;
    text-align: center;
    font-size: 1.05em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.flow-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.flow-box.start,
.flow-box.end {
    background: linear-gradient(135deg, rgb(31, 224, 199) 0%, rgb(26, 188, 168) 100%);
    color: white;
    font-weight: bold;
    border-color: rgb(208, 31, 224);
}

.flow-box.decision {
    background: rgb(208, 31, 224);
    color: white;
    border-radius: 50px;
    font-weight: bold;
}

.flow-arrow {
    font-size: 2.5em;
    color: rgb(31, 224, 199);
    font-weight: bold;
    margin: 5px 0;
}

.flow-split {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.flow-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 250px;
}

.flow-arrow-side {
    font-size: 1.3em;
    color: rgb(208, 31, 224);
    font-weight: bold;
    margin: 10px 0;
}

/* FAQ Section */
.faq-intro {
    font-size: 1.15em;
    color: rgb(208, 31, 224);
    font-weight: bold;
    margin-bottom: 25px;
}

.faq-container {
    margin: 20px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 2px solid rgb(31, 224, 199);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(31, 224, 199, 0.3);
}

.faq-question {
    width: 100%;
    background: linear-gradient(135deg, rgb(31, 224, 199) 0%, rgb(26, 188, 168) 100%);
    color: white;
    border: none;
    padding: 20px 25px;
    text-align: left;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgb(26, 188, 168) 0%, rgb(31, 224, 199) 100%);
}

.faq-icon {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px;
    border-top: 2px solid rgb(208, 31, 224);
}

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.7;
    color: #333;
}

.faq-answer strong {
    color: rgb(208, 31, 224);
}

/* Conclusion */
.conclusion {
    background: linear-gradient(135deg, rgba(31, 224, 199, 0.05) 0%, rgba(208, 31, 224, 0.05) 100%);
}

.final-note {
    background: white;
    border: 3px solid rgb(31, 224, 199);
    border-left: 6px solid rgb(208, 31, 224);
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    font-size: 1.15em;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgb(208, 31, 224) 0%, rgb(178, 26, 192) 100%);
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 1em;
}

footer p {
    margin: 5px 0;
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        border: none;
        box-shadow: none;
    }

    .print-btn {
        display: none;
    }

    .faq-answer {
        max-height: none !important;
        padding: 15px !important;
    }

    .content-section {
        page-break-inside: avoid;
    }

    .flow-box,
    .faq-item {
        page-break-inside: avoid;
    }

    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-width: 3px;
    }

    header h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .content-section {
        padding: 25px 20px;
    }

    .content-section h2 {
        font-size: 1.7em;
    }

    .content-section h3 {
        font-size: 1.3em;
    }

    .flow-split {
        flex-direction: column;
    }

    .table-container {
        font-size: 0.9em;
    }

    table th,
    table td {
        padding: 8px 10px;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .print-btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .content-section {
        padding: 20px 15px;
    }

    .flow-box {
        min-width: 200px;
        padding: 15px 20px;
        font-size: 0.95em;
    }
}