/* Privacy Policy Page Styles */
.privacy-page {
    min-height: 100vh;
    padding-top: 76px;
    position: relative;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.privacy-page .particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.privacy-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.last-updated {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
}

.last-updated span {
    color: #d1d5db;
    font-weight: 500;
}

.gdpr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #22c55e;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gdpr-badge svg {
    width: 16px;
    height: 16px;
}

.privacy-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.privacy-section h2 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.3);
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section h3 {
    color: #e5e7eb;
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.privacy-section h4 {
    color: #d1d5db;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px;
}

.privacy-section p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 16px;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.privacy-section li {
    color: #d1d5db;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.privacy-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #7c3aed;
    border-radius: 50%;
}

.privacy-section a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #a855f7;
    text-decoration: underline;
}

/* Enhanced cookie option styling for privacy page */
.privacy-section .cookie-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.privacy-section .cookie-option:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.privacy-section .cookie-option.essential {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.privacy-section .cookie-option.analytics {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}

.privacy-section .cookie-option.functional {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.privacy-section .cookie-option h4 {
    margin: 0 0 8px;
    color: white;
}

.privacy-section .cookie-option p {
    margin: 0;
    font-size: 14px;
    color: #d1d5db;
}

/* Tracking notice styling */
.tracking-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    font-size: 14px;
    color: #fbbf24;
    border-left: 4px solid #fbbf24;
}

.tracking-notice strong {
    color: #f59e0b;
}

/* Contact info styling */
.contact-info {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.contact-info p {
    margin: 8px 0;
    font-size: 16px;
}

.contact-info strong {
    color: #a855f7;
}

/* Privacy compliant badge */
.privacy-compliant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #22c55e;
    font-size: 14px;
    margin-top: 30px;
    padding: 12px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-weight: 500;
}

.privacy-compliant svg {
    width: 18px;
    height: 18px;
}

/* Button styling for cookie preferences */
#open-cookie-preferences {
    margin: 20px 0;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

#open-cookie-preferences:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for sections */
.privacy-section:nth-child(1) {
    animation-delay: 0.1s;
}

.privacy-section:nth-child(2) {
    animation-delay: 0.2s;
}

.privacy-section:nth-child(3) {
    animation-delay: 0.3s;
}

.privacy-section:nth-child(4) {
    animation-delay: 0.4s;
}

.privacy-section:nth-child(5) {
    animation-delay: 0.5s;
}

.privacy-section:nth-child(6) {
    animation-delay: 0.6s;
}

.privacy-section:nth-child(7) {
    animation-delay: 0.7s;
}

.privacy-section:nth-child(8) {
    animation-delay: 0.8s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-content {
        padding: 24px 16px;
        margin: 20px 16px;
    }

    .privacy-content h1 {
        font-size: 2rem;
    }

    .privacy-section h2 {
        font-size: 24px;
    }

    .privacy-section h3 {
        font-size: 18px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 15px;
    }

    .privacy-section .cookie-option {
        padding: 16px;
    }

    .contact-info {
        padding: 16px;
    }

    .gdpr-badge {
        font-size: 13px;
        padding: 6px 12px;
    }

    .privacy-compliant {
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .privacy-content {
        padding: 20px 12px;
        margin: 16px 12px;
    }

    .privacy-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .privacy-section {
        margin-bottom: 30px;
    }

    .privacy-section h2 {
        font-size: 22px;
    }

    .privacy-section li {
        padding-left: 20px;
    }

    .privacy-section li::before {
        top: 8px;
        width: 5px;
        height: 5px;
    }

    #open-cookie-preferences {
        width: 100%;
        text-align: center;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .privacy-content {
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .privacy-content {
        border: 2px solid white;
    }

    .privacy-section h2 {
        border-bottom-color: white;
    }

    .privacy-section .cookie-option {
        border: 2px solid;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .privacy-content h1,
    .gdpr-badge,
    .privacy-section {
        animation: none;
    }

    .privacy-section .cookie-option {
        transition: none;
    }

    .privacy-section .cookie-option:hover {
        transform: none;
    }

    #open-cookie-preferences:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .privacy-page {
        background: white;
        color: black;
    }

    .privacy-content {
        background: white;
        border: 1px solid black;
        box-shadow: none;
    }

    .privacy-content h1,
    .privacy-section h2 {
        color: black;
    }

    .privacy-section p,
    .privacy-section li {
        color: black;
    }

    .gdpr-badge,
    .privacy-compliant {
        border: 1px solid black;
        background: white;
        color: black;
    }

    #open-cookie-preferences {
        display: none;
    }
}