/* Privacy Policy Page Styling */
.privacy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
}

/* Typography */
.privacy-container h1 {
    color: #1e3c72;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.privacy-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1e3c72, #ff6b35);
    border-radius: 2px;
}

.privacy-container h2 {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    padding: 15px 0 15px 20px;
    border-left: 4px solid #ff6b35;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(255, 107, 53, 0.05));
    border-radius: 0 8px 8px 0;
    position: relative;
}

.privacy-container h2::before {
    content: '🔒';
    margin-right: 10px;
    font-size: 1.2em;
}

.privacy-container h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f4fd;
}

/* Paragraphs and Text */
.privacy-container p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    text-align: justify;
}

.privacy-container p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e3c72;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(255, 107, 53, 0.1));
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

/* Lists */
.privacy-container ul {
    margin: 1rem 0 1.5rem 0;
    padding-left: 0;
}

.privacy-container li {
    list-style: none;
    position: relative;
    padding: 8px 0 8px 30px;
    margin-bottom: 8px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 6px;
    padding-left: 45px;
    transition: all 0.3s ease;
}

.privacy-container li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.1em;
}

.privacy-container li:hover {
    background: rgba(30, 60, 114, 0.05);
    transform: translateX(5px);
}

/* Sections */
.privacy-container section {
    margin-bottom: 3rem;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(30, 60, 114, 0.1);
    transition: all 0.3s ease;
}

.privacy-container section:nth-child(even) {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(255, 255, 255, 0.9));
}

.privacy-container section:hover {
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.1);
    transform: translateY(-2px);
}

/* Links */
.privacy-container a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.privacy-container a:hover {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

/* Special Sections Styling */
.privacy-container section#data-protection {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(255, 255, 255, 0.95));
}

.privacy-container section#data-protection h2::before {
    content: '🛡️';
}

.privacy-container section#legal-basis {
    border-left: 4px solid #6f42c1;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.05), rgba(255, 255, 255, 0.95));
}

.privacy-container section#legal-basis h2::before {
    content: '⚖️';
}

.privacy-container section#cookies {
    border-left: 4px solid #fd7e14;
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.05), rgba(255, 255, 255, 0.95));
}

.privacy-container section#cookies h2::before {
    content: '🍪';
}

.privacy-container section#your-rights {
    border-left: 4px solid #20c997;
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.05), rgba(255, 255, 255, 0.95));
}

.privacy-container section#your-rights h2::before {
    content: '👤';
}

.privacy-container section#call-recording {
    border-left: 4px solid #e83e8c;
    background: linear-gradient(135deg, rgba(232, 62, 140, 0.05), rgba(255, 255, 255, 0.95));
}

.privacy-container section#call-recording h2::before {
    content: '📞';
}

.privacy-container section#contact-information {
    border-left: 4px solid #17a2b8;
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.05), rgba(255, 255, 255, 0.95));
}

.privacy-container section#contact-information h2::before {
    content: '📧';
}

/* Contact Information Special Styling */
.privacy-container section#contact-information ul li {
    background: rgba(23, 162, 184, 0.1);
    border-left: 3px solid #17a2b8;
}

.privacy-container section#contact-information ul li::before {
    content: '📍';
    color: #17a2b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-container {
        padding: 20px 15px;
        margin: 10px;
        border-radius: 8px;
    }
    
    .privacy-container h1 {
        font-size: 2rem;
    }
    
    .privacy-container h2 {
        font-size: 1.5rem;
        padding: 12px 0 12px 15px;
    }
    
    .privacy-container h3 {
        font-size: 1.2rem;
    }
    
    .privacy-container section {
        padding: 20px 15px;
        margin-bottom: 2rem;
    }
    
    .privacy-container li {
        padding-left: 35px;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        padding: 15px 10px;
    }
    
    .privacy-container h1 {
        font-size: 1.8rem;
    }
    
    .privacy-container h2 {
        font-size: 1.3rem;
    }
    
    .privacy-container section {
        padding: 15px 10px;
    }
}

/* Print Styles */
@media print {
    .privacy-container {
        box-shadow: none;
        border: 1px solid #ddd;
        background: #fff !important;
    }
    
    .privacy-container section {
        background: #fff !important;
        border: none !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .privacy-container h1,
    .privacy-container h2,
    .privacy-container h3 {
        color: #000 !important;
    }
    
    .privacy-container a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* Accessibility Improvements */
.privacy-container *:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

.privacy-container section {
    scroll-margin-top: 100px;
}

/* Animation for smooth loading */
.privacy-container {
    animation: fadeInUp 0.6s ease-out;
}

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