/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(31, 224, 199);
    color: #000000;
    line-height: 1.6;
    padding: 20px;
}

/* Print Button */
.print-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgb(208, 31, 224);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 25px;
    border: 3px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.print-btn:hover {
    transform: scale(1.05);
    background-color: rgb(180, 25, 200);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border: 5px solid rgb(208, 31, 224);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 4px solid rgb(208, 31, 224);
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgb(31, 224, 199), rgb(208, 31, 224));
    border-radius: 10px;
}

header h1 {
    font-size: 42px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
}

/* Navigation Menu */
.nav-menu {
    background-color: rgb(31, 224, 199);
    padding: 25px;
    border: 4px solid rgb(208, 31, 224);
    border-radius: 10px;
    margin-bottom: 30px;
}

.nav-menu h2 {
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin: 10px 0;
}

.nav-menu button {
    background-color: rgb(208, 31, 224);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 20px;
    border: 2px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.3s;
}

.nav-menu button:hover {
    background-color: rgb(180, 25, 200);
    transform: translateX(10px);
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #ffffff;
    border: 4px solid rgb(208, 31, 224);
    border-radius: 10px;
    scroll-margin-top: 20px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid rgb(31, 224, 199);
}

.content-section h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-top: 20px;
    margin-bottom: 15px;
}

.content-section p {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-align: justify;
}

.content-section ul, .content-section ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-section li {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.content-section strong {
    font-weight: bold;
    color: rgb(208, 31, 224);
}

/* Tables */
.pricing-table, .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 4px solid rgb(208, 31, 224);
}

.pricing-table thead, .comparison-table thead {
    background-color: rgb(208, 31, 224);
}

.pricing-table th, .comparison-table th {
    padding: 15px;
    font-weight: bold;
    font-size: 18px;
    color: white;
    border: 2px solid #000000;
    text-align: left;
}

.pricing-table td, .comparison-table td {
    padding: 12px 15px;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    border: 2px solid rgb(208, 31, 224);
}

.pricing-table tbody tr:nth-child(even), .comparison-table tbody tr:nth-child(even) {
    background-color: rgba(31, 224, 199, 0.2);
}

.pricing-table tbody tr:nth-child(odd), .comparison-table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 1);
}

.pricing-table tbody tr:hover, .comparison-table tbody tr:hover {
    background-color: rgba(208, 31, 224, 0.2);
}

/* Flowchart */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: #f9f9f9;
    border: 4px solid rgb(208, 31, 224);
    border-radius: 10px;
    margin: 20px 0;
}

.flow-box {
    background-color: rgb(31, 224, 199);
    border: 3px solid rgb(208, 31, 224);
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
    min-width: 300px;
    text-align: center;
    font-weight: bold;
    color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flow-box.start {
    background-color: rgb(208, 31, 224);
    color: white;
}

.flow-box.end {
    background-color: rgb(208, 31, 224);
    color: white;
}

.flow-box.decision {
    background-color: #ffeb3b;
    border-radius: 50px;
}

.flow-arrow {
    font-size: 30px;
    font-weight: bold;
    color: rgb(208, 31, 224);
    margin: 5px 0;
}

.flow-arrow-side {
    font-size: 18px;
    font-weight: bold;
    color: rgb(208, 31, 224);
    margin: 10px 0;
}

.flow-split {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 20px 0;
}

.flow-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
}

/* FAQ Section */
.faq-container {
    margin: 20px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 3px solid rgb(208, 31, 224);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: rgb(31, 224, 199);
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    padding: 18px;
    border: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgb(25, 200, 180);
}

.toggle-icon {
    font-size: 24px;
    font-weight: bold;
    color: rgb(208, 31, 224);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #ffffff;
}

.faq-answer.active {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}

.faq-answer p {
    padding: 20px;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    border-top: 2px solid rgb(208, 31, 224);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 4px solid rgb(208, 31, 224);
    background: linear-gradient(135deg, rgb(208, 31, 224), rgb(31, 224, 199));
    border-radius: 10px;
}

footer p {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin: 5px 0;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        padding: 0;
    }
    
    .print-btn {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .container {
        border: none;
        box-shadow: none;
        padding: 20px;
    }
    
    .content-section {
        page-break-inside: avoid;
        border: 2px solid #000000;
    }
    
    .faq-answer {
        max-height: none !important;
        display: block !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    header h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .flow-split {
        flex-direction: column;
    }
    
    .flow-branch {
        width: 100%;
    }
    
    .print-btn {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .pricing-table, .comparison-table {
        font-size: 12px;
    }
    
    .pricing-table th, .comparison-table th,
    .pricing-table td, .comparison-table td {
        padding: 8px;
    }
}