:root {
    --primary-color: #ed1c24;
    --secondary-color: #2c3e50;
    --text-color: #2c3e50;
    --text-light: #64748b;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-light: 0 2px 8px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.privacy-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: var(--shadow);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.privacy-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41820 100%);
    color: white;
    padding: 40px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.privacy-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.last-updated {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

/* Content */
.privacy-content {
    flex: 1;
    padding: 60px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

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

.privacy-section:nth-child(even) {
    animation-delay: 0.1s;
}

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

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

.privacy-section h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.privacy-section h3 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.privacy-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

.privacy-section li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--text-color);
    position: relative;
}

.privacy-section li::marker {
    color: var(--primary-color);
}

.privacy-section li strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    background: var(--background-color);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 20px;
}

.contact-info strong {
    color: var(--secondary-color);
    font-size: 18px;
}

/* Consent Section */
.consent-section {
    margin-top: 60px;
}

.consent-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.consent-box h2 {
    border: none;
    padding: 0;
    margin-bottom: 15px;
}

.consent-box h2::after {
    display: none;
}

.consent-box p {
    font-size: 17px;
    font-weight: 500;
    color: var(--secondary-color);
}

/* Footer */
.privacy-footer {
    background: var(--secondary-color);
    color: white;
    padding: 30px 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.back-button:hover {
    background: #c41820;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.back-button i {
    font-size: 20px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-header {
        padding: 30px 20px;
    }

    .privacy-header h1 {
        font-size: 32px;
    }

    .privacy-content {
        padding: 30px 20px;
    }

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

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

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

    .privacy-footer {
        padding: 25px 20px;
    }

    .back-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-logo {
        width: 60px;
        height: 60px;
    }

    .privacy-header h1 {
        font-size: 26px;
    }

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

    .consent-box {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .privacy-header {
        background: var(--primary-color);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .privacy-footer {
        background: var(--secondary-color);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .back-button {
        display: none;
    }
}

