/* Privacy Policy Page Specific Styles */

/* Simple Header - Compact Design */
.simple-header {
    padding: 160px 0 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    margin-bottom: 0;
}

.simple-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.simple-header .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.simple-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-header h1 i {
    font-size: 2.5rem;
}

.simple-header p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.last-updated {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Document Section */
.document-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

/* Table of Contents Sidebar */
.toc-sidebar {
    position: sticky;
    top: 120px;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    height: fit-content;
    margin-bottom: 30px;
}

.toc-sidebar h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-link {
    color: #6c757d;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-link:hover {
    color: #2c5aa0;
    background: rgba(44, 90, 160, 0.1);
    transform: translateX(5px);
    text-decoration: none;
}

.toc-link.active {
    color: #2c5aa0;
    background: rgba(44, 90, 160, 0.15);
    border-left-color: #2c5aa0;
    font-weight: 600;
}

/* Document Content */
.document-content {
    background: white;
    border-radius: 25px;
    padding: 60px 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.document-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.document-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.effective-date,
.document-version {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
    scroll-margin-top: 120px;
}

.content-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(44, 90, 160, 0.2);
}

.content-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.content-section ul,
.content-section ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.content-section li {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.content-section li strong {
    color: #2c3e50;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    border: 2px solid rgba(44, 90, 160, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.highlight-box ul {
    margin-bottom: 0;
}

.highlight-box li {
    margin-bottom: 12px;
}

/* Use Case Grid */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.use-case-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #2c5aa0;
}

.use-case-item h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.use-case-item i {
    font-size: 1.2rem;
}

.use-case-item ul {
    margin-bottom: 0;
}

/* Security Features Grid */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.security-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
}

.security-item i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.security-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.security-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Compliance Badges */
.compliance-badges {
    margin: 40px 0;
    text-align: center;
}

.compliance-badges h4 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.right-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-top: 4px solid #28a745;
}

.right-item h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.right-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.right-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Retention Schedule */
.retention-schedule {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 25px 0;
    border-left: 4px solid #28a745;
}

.retention-schedule h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-top: 4px solid #2c5aa0;
}

.contact-method h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-method p {
    margin-bottom: 0;
}

.contact-method a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-method small {
    color: #6c757d;
    font-style: italic;
}

/* DPO Info */
.dpo-info {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 2px solid rgba(44, 90, 160, 0.2);
}

.dpo-info h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

.dpo-info a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.dpo-info a:hover {
    text-decoration: underline;
}

/* Document Footer */
.document-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    margin-bottom: 5px;
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Related Policies Section */
.related-policies {
    padding: 80px 0;
    background: white;
}

.policy-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.policy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: rgba(44, 90, 160, 0.2);
}

.policy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.policy-card:hover .policy-icon {
    transform: scale(1.1);
}

.policy-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.policy-card p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.policy-card .btn {
    background: transparent;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-card .btn:hover {
    background: #2c5aa0;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    color: white;
}

.cta-buttons .btn:hover {
    background: white;
    color: #2c5aa0;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .toc-sidebar {
        position: static;
        margin-bottom: 40px;
    }
    
    .document-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .simple-header {
        padding: 140px 0 60px 0;
    }
    
    .simple-header h1 {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .simple-header h1 i {
        font-size: 2rem;
    }
    
    .simple-header p {
        font-size: 1.1rem;
    }
    
    .document-content {
        padding: 40px 30px;
    }
    
    .document-header h2 {
        font-size: 2rem;
    }
    
    .document-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-section h3 {
        font-size: 1.6rem;
    }
    
    .use-case-grid,
    .security-features,
    .rights-grid,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .simple-header {
        padding: 120px 0 50px 0;
    }
    
    .simple-header h1 {
        font-size: 2rem;
    }
    
    .simple-header p {
        font-size: 1rem;
    }
    
    .last-updated {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .document-content {
        padding: 30px 20px;
    }
    
    .toc-sidebar {
        padding: 20px 15px;
    }
    
    .policy-card {
        padding: 30px 20px;
    }
    
    .footer-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .simple-header,
    .cta-section,
    .related-policies,
    .toc-sidebar,
    .footer-actions,
    #header-container,
    #footer-container {
        display: none !important;
    }
    
    .document-section {
        margin-top: 0;
        padding: 20px 0;
        background: white;
    }
    
    .document-content {
        box-shadow: none;
        border: 1px solid #ddd;
        border-radius: 0;
    }
    
    .content-section {
        page-break-inside: avoid;
        margin-bottom: 30px;
    }
    
    .content-section h3 {
        page-break-after: avoid;
    }
}

/* Focus states for accessibility */
.toc-link:focus,
.policy-card .btn:focus,
.cta-buttons .btn:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section,
.policy-card {
    animation: fadeInUp 0.6s ease-out;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(44, 90, 160, 0.2);
    color: #2c3e50;
}
