/* Privacy Policy Styles - Clean & Professional */

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

/* Page Header */
.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.privacy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.privacy-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
}

.last-updated {
    font-size: 0.9rem;
    color: #868e96;
    margin-top: 1rem;
    font-style: italic;
}

/* Table of Contents */
.table-of-contents {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table-of-contents h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #495057;
}

.table-of-contents ul {
    margin: 0;
    padding-left: 1.2rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.table-of-contents a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Main Content */
.privacy-content {
    max-width: 100%;
}

/* Sections */
.privacy-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px; /* For anchor linking with fixed navbar */
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.section-number {
    color: #007bff;
    font-weight: 700;
}

/* Subsections */
.subsection {
    margin-bottom: 2rem;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

/* Typography */
.privacy-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.7;
}

.privacy-content ul,
.privacy-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Important notices */
.important-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.important-notice p {
    margin: 0;
    color: #856404;
}

/* Contact information */
.contact-info {
    background-color: #e7f3ff;
    border: 1px solid #b8daff;
    border-left: 4px solid #007bff;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.contact-info h4 {
    margin-top: 0;
    color: #0056b3;
}

.contact-email {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Definition lists for terms */
.definitions dt {
    font-weight: 600;
    color: #495057;
    margin-top: 1rem;
}

.definitions dd {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Footer section */
.privacy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    text-align: center;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.privacy-footer p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-container {
        padding: 1rem;
    }
    
    .privacy-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.2rem;
    }
    
    .privacy-content p,
    .privacy-content li {
        text-align: left;
    }
    
    .table-of-contents {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        padding: 0.5rem;
    }
    
    .privacy-title {
        font-size: 1.8rem;
    }
}

/* Print styles */
@media print {
    .privacy-container {
        max-width: none;
        padding: 0;
        background: white;
        color: black;
    }
    
    .table-of-contents {
        background: white;
        border: 1px solid #ccc;
    }
    
    .contact-info,
    .important-notice {
        background: white;
        border: 1px solid #ccc;
    }
    
    .contact-email {
        color: black;
        text-decoration: underline;
    }
}

/* Accessibility improvements */
.privacy-content a:focus,
.contact-email:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #007bff;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}