:root {
    --primary-dark: #0A2C3D;
    --primary-accent: #C89B3C;
    --neutral-light: #F5F7FA;
    --neutral-mid: #E1E8F0;
    --neutral-dark: #2D3748;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --safe: #2E7D32;
    --warning: #D84315;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--neutral-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary-accent);
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: white;
    border-bottom: 1px solid var(--neutral-mid);
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.logo span {
    color: var(--primary-accent);
}

.age-badge {
    background-color: var(--warning);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 50px;
}

.global-disclaimer {
    background-color: #FFF3E0;
    border: 1px solid #FFB74D;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.85rem;
    color: var(--neutral-dark);
    text-align: center;
    width: 100%;
    margin-top: 15px;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--neutral-mid);
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Policy Content */
.policy-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.last-updated {
    background-color: var(--neutral-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    border-left: 4px solid var(--primary-accent);
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--neutral-mid);
}

.policy-section h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 25px 0 15px;
}

.policy-section p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.policy-section ul, .policy-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.policy-section li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.highlight-box {
    background-color: #F0F7FF;
    border-left: 4px solid var(--primary-accent);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background-color: #FFF3E0;
    border-left: 4px solid var(--warning);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* Cookies Table */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
}

.cookies-table th {
    background-color: var(--primary-dark);
    color: white;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.cookies-table td {
    padding: 15px;
    border-bottom: 1px solid var(--neutral-mid);
    vertical-align: top;
    color: var(--text-secondary);
}

.cookies-table tr:nth-child(even) {
    background-color: var(--neutral-light);
}

.cookie-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2px 0;
}

.category-essential {
    background-color: #E8F5E9;
    color: var(--safe);
}

.category-functional {
    background-color: #E3F2FD;
    color: #1565C0;
}

.category-analytics {
    background-color: #FFF3E0;
    color: #EF6C00;
}

.category-preference {
    background-color: #F3E5F5;
    color: #7B1FA2;
}

/* Cookie Controls */
.cookie-controls {
    background-color: #E8F5E9;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.cookie-controls h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.control-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.control-option {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--neutral-mid);
}

.control-option.active {
    border-color: var(--primary-accent);
    background-color: #FFF9E6;
}

.control-option h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 40px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.gdpr-notice {
    font-size: 0.85rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .policy-content {
        padding: 25px;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .cookies-table {
        display: block;
        overflow-x: auto;
    }
    
    .header-inner {
        justify-content: center;
        text-align: center;
    }
    
    .control-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 20px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}