/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.header-content {
    padding: 0 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.last-updated {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Language toggle */
.language-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.language-toggle button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.language-toggle button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.language-toggle button.active {
    background: #fff;
    color: #2c3e50;
    border-color: #fff;
}

/* Main content */
main {
    padding: 2rem;
}

.content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content.active {
    display: block;
}

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

/* Sections */
.legal-section {
    margin-bottom: 2.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.info-block {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.info-block p {
    margin-bottom: 0.8rem;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.info-block strong {
    color: #2c3e50;
}

address {
    font-style: normal;
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 6px;
    margin: 0.5rem 0;
    border-left: 3px solid #2196f3;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Checklist section */
.checklist {
    border-left-color: #28a745;
}

.checklist h2 {
    border-bottom-color: #28a745;
    color: #28a745;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    background: white;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 2.5rem;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0.8rem;
    top: 0.8rem;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
    }

    header h1 {
        font-size: 1.8rem;
    }

    main {
        padding: 1rem;
    }

    .legal-section {
        padding: 1rem;
    }

    .info-block {
        padding: 1rem;
    }

    .language-toggle {
        flex-direction: column;
        align-items: center;
    }

    .language-toggle button {
        width: 120px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .header-content {
        padding: 0 1rem;
    }

    main {
        padding: 0.5rem;
    }

    .legal-section {
        margin-bottom: 1.5rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
    }

    .container {
        box-shadow: none;
    }

    .language-toggle {
        display: none;
    }

    .legal-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
