:root {
    --primary-color: #0f172a;
    --secondary-color: #475569;
    --accent-color: #2563eb;
    --background: #f8fafc;
    --text-color: #1e293b;
    --footer-bg: #e2e8f0;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: fadeInDown 0.8s ease-out;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 300;
    color: var(--secondary-color);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.legal-footer {
    background-color: var(--footer-bg);
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.legal-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-top: 1px solid #e2e8f0;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    background-color: var(--accent-color);
    color: white;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--footer-bg);
}

.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.875rem;
}

/* Legal Pages Typography */
.legal-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

.legal-content h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.legal-content h2 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.legal-content p, .legal-content li {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--secondary-color);
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.btn-back {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.btn-back:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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