/* Policy Pages Styles */
.policy-page {
    background: linear-gradient(135deg, #1C1B2F 0%, #2A2847 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #C9F805 0%, #17F2C8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-header p {
    font-size: 1.2rem;
    color: rgba(253, 253, 253, 0.8);
    line-height: 1.6;
}

.policy-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.policy-content h2 {
    color: #C9F805;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(201, 248, 5, 0.3);
    padding-bottom: 0.5rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    color: #17F2C8;
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content p {
    color: #FDFDFD;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content li {
    color: #FDFDFD;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.policy-content strong {
    color: #C9F805;
    font-weight: 600;
}

.policy-content em {
    color: #17F2C8;
    font-style: italic;
}

.policy-content a {
    color: #17F2C8;
    text-decoration: none;
    border-bottom: 1px solid rgba(23, 242, 200, 0.3);
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: #C9F805;
    border-bottom-color: #C9F805;
}

.highlight-box {
    background: rgba(201, 248, 5, 0.1);
    border: 1px solid rgba(201, 248, 5, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #C9F805;
    margin-top: 0;
    margin-bottom: 1rem;
}

.highlight-box p {
    margin-bottom: 0;
}

.info-box {
    background: rgba(23, 242, 200, 0.1);
    border: 1px solid rgba(23, 242, 200, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h3 {
    color: #17F2C8;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.contact-info h3 {
    color: #C9F805;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #FDFDFD;
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: #17F2C8;
}

.back-to-home {
    text-align: center;
    margin-top: 2rem;
}

.back-to-home .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #C9F805 0%, #17F2C8 100%);
    color: #1C1B2F;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-to-home .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 248, 5, 0.4);
}

.effective-date {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.effective-date p {
    color: #17F2C8;
    font-weight: 600;
    margin: 0;
}

.table-of-contents {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.table-of-contents h3 {
    color: #C9F805;
    margin-top: 0;
    margin-bottom: 1rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #FDFDFD;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
}

.table-of-contents a:hover {
    color: #17F2C8;
    padding-left: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-container {
        padding: 0 1rem;
    }
    
    .policy-content {
        padding: 2rem;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
    }
    
    .policy-content p,
    .policy-content li {
        font-size: 1rem;
    }
    
    .policy-content ul,
    .policy-content ol {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .policy-page {
        padding: 1rem 0;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .policy-header p {
        font-size: 1rem;
    }
    
    .highlight-box,
    .info-box {
        padding: 1rem;
    }
    
    .table-of-contents {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .policy-page {
        background: white;
        color: black;
    }
    
    .policy-content {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .policy-header h1 {
        color: black;
        -webkit-text-fill-color: black;
    }
    
    .policy-content h2 {
        color: black;
        border-bottom-color: #ccc;
    }
    
    .policy-content h3 {
        color: black;
    }
    
    .policy-content p,
    .policy-content li {
        color: black;
    }
    
    .policy-content strong {
        color: black;
    }
    
    .back-to-home {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.policy-content a:focus,
.back-to-home .btn:focus {
    outline: 2px solid #C9F805;
    outline-offset: 2px;
}

/* New Policy Styles */
.policy-summary {
    margin-bottom: 3rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(201, 248, 5, 0.15);
}

.summary-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.summary-card h3 {
    color: #C9F805;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.summary-card p {
    font-size: 0.9rem;
    color: rgba(253, 253, 253, 0.8);
    margin: 0;
}

.data-types {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.data-type {
    background: rgba(23, 242, 200, 0.1);
    border: 1px solid rgba(23, 242, 200, 0.3);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-type strong {
    color: #17F2C8;
    font-size: 1.1rem;
}

.data-type span {
    color: #FDFDFD;
    font-size: 0.9rem;
}

.usage-list {
    display: grid;
    gap: 0.75rem;
    margin: 2rem 0;
}

.usage-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.usage-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: rgba(201, 248, 5, 0.1);
    border: 1px solid rgba(201, 248, 5, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.right-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 248, 5, 0.2);
}

.right-item strong {
    color: #C9F805;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.right-item p {
    color: #FDFDFD;
    font-size: 0.9rem;
    margin: 0;
}

.contact-box {
    background: linear-gradient(135deg, rgba(201, 248, 5, 0.15) 0%, rgba(23, 242, 200, 0.15) 100%);
    border: 2px solid rgba(201, 248, 5, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.contact-box h3 {
    color: #C9F805;
    margin-bottom: 1rem;
}

.contact-box ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contact-box li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.response-time {
    color: #17F2C8;
    font-weight: 600;
    font-style: italic;
    margin-top: 1rem;
}

.cnil-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.cnil-info h3 {
    color: #17F2C8;
    margin-bottom: 1rem;
}

.cnil-info a {
    color: #C9F805;
    text-decoration: none;
    font-weight: 600;
}

.cnil-info a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .summary-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-card,
    .right-item {
        padding: 1rem;
    }
    
    .contact-box {
        padding: 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .policy-content {
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .highlight-box,
    .info-box,
    .summary-card,
    .data-type,
    .right-item {
        border-width: 2px;
    }
} 