﻿:root {
    --primary: rgb(26, 54, 93);
    --primary-light: rgb(45, 74, 128);
    --secondary: rgb(184, 134, 11);
    --secondary-light: rgb(218, 165, 32);
    --accent: rgb(139, 69, 19);
    --text: rgb(45, 55, 72);
    --text-light: rgb(74, 85, 104);
    --background: rgb(248, 249, 250);
    --white: rgb(255, 255, 255);
    --gray-light: rgb(241, 245, 249);
    --border: rgb(226, 232, 240);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    background-image: linear-gradient(135deg, rgb(245, 247, 250) 0%, rgb(248, 249, 250) 100%);
    min-height: 100vh;
}

.page-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.cookie-policy-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-policy-content {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .cookie-policy-content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, var(--secondary), var(--secondary-light), var(--secondary));
    }

.header-section {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.cookie-policy-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.last-updated {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.section {
    margin-bottom: 50px;
}

    .section h2 {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        color: var(--primary);
        margin: 50px 0 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border);
        position: relative;
    }

        .section h2::after {
            content: "";
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 80px;
            height: 3px;
            background-color: var(--secondary);
        }

    .section h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        color: var(--primary);
        margin: 30px 0 15px;
    }

    .section p {
        margin-bottom: 25px;
        font-size: 1.05rem;
        color: var(--text);
        line-height: 1.7;
    }

.intro-text {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-box {
    background-color: rgba(184, 134, 11, 0.05);
    border-left: 4px solid var(--secondary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

    .highlight-box p {
        margin: 0;
        color: var(--text);
        font-size: 1.05rem;
    }

.cookie-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px 0;
}

.cookie-type-card {
    background-color: rgba(26, 54, 93, 0.05);
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-radius: var(--radius);
    padding: 25px;
    transition: var(--transition);
}

    .cookie-type-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

    .cookie-type-card h3 {
        color: var(--primary);
        margin-bottom: 10px;
    }

.cookies-table-container {
    margin: 30px 0;
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

    .cookies-table th {
        background-color: var(--primary);
        color: var(--white);
        padding: 15px;
        text-align: left;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .cookies-table td {
        padding: 15px;
        border-bottom: 1px solid var(--border);
        vertical-align: top;
    }

    .cookies-table tr:hover {
        background-color: rgba(26, 54, 93, 0.02);
    }

.cookie-name {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--primary);
    font-size: 0.95rem;
}

.cookie-purpose {
    line-height: 1.6;
}

.cookie-type {
    min-width: 140px;
}

.cookie-duration {
    min-width: 100px;
    text-align: center;
}

.cookie-domain {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-light);
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

    .badge.necessary {
        background-color: rgba(184, 134, 11, 0.1);
        color: var(--secondary);
        border: 1px solid rgba(184, 134, 11, 0.3);
    }

.cookies-summary {
    background-color: rgba(26, 54, 93, 0.03);
    border-left: 4px solid var(--primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

    .cookies-summary h3 {
        color: var(--primary);
        margin-bottom: 15px;
    }

    .cookies-summary ul {
        list-style: none;
    }

    .cookies-summary li {
        padding: 8px 0;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        position: relative;
        padding-left: 30px;
    }

        .cookies-summary li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 8px;
            color: var(--secondary);
            font-weight: bold;
            font-size: 1.1rem;
        }

.browser-info {
    background-color: rgba(139, 69, 19, 0.05);
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

    .browser-info h3 {
        color: var(--accent);
        margin-bottom: 10px;
    }

a {
    color: var(--primary-light);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

    a:hover {
        color: var(--primary);
        border-bottom-color: var(--primary-light);
    }

.contact-info {
    background-color: rgba(184, 134, 11, 0.05);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 20px;
}

@media (min-width: 769px) {
    .section {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }
}

@media (max-width: 992px) {
    .cookie-policy-content {
        padding: 40px;
    }

        .cookie-policy-content h1 {
            font-size: 2.4rem;
        }
}

@media (max-width: 768px) {
    .page-container {
        padding: 15px;
    }

    .cookie-policy-content {
        padding: 30px 25px;
    }

        .cookie-policy-content h1 {
            font-size: 2rem;
        }

    .section h2 {
        font-size: 1.5rem;
        margin: 40px 0 20px;
    }

    .section h3 {
        font-size: 1.2rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .cookie-name {
        font-size: 0.85rem;
    }

    .cookie-type {
        min-width: 120px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .cookie-policy-content {
        padding: 25px 20px;
    }

        .cookie-policy-content h1 {
            font-size: 1.8rem;
        }

    .header-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .section h2 {
        font-size: 1.4rem;
        margin: 30px 0 15px;
    }

    .highlight-box,
    .cookie-type-card,
    .cookies-summary,
    .browser-info,
    .contact-info {
        padding: 20px;
        margin: 20px 0;
    }

    .cookies-table {
        font-size: 0.8rem;
    }

        .cookies-table th,
        .cookies-table td {
            padding: 10px 8px;
        }

    .cookie-type {
        min-width: 100px;
    }
}

@media print {
    body {
        background: white;
        padding: 0;
    }

    .page-container {
        padding: 0;
        width: 100%;
    }

    .cookie-policy-content {
        box-shadow: none;
        padding: 0;
        width: 100%;
    }

    .cookies-table-container {
        box-shadow: none;
        border: 1px solid #000;
    }

    .cookies-table {
        page-break-inside: avoid;
    }
}
