/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.language-switch {
    margin: 15px 0 10px;
    font-size: 0.95em;
}

.language-switch a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.language-switch a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-switch a.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

.last-updated {
    font-size: 0.9em;
    opacity: 0.9;
    font-style: italic;
}

/* Main Content */
main {
    padding: 40px 30px;
}

section {
    margin-bottom: 35px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
    color: #555;
}

strong {
    color: #333;
    font-weight: 600;
}

/* Lists */
ul {
    margin: 15px 0 15px 30px;
}

li {
    margin-bottom: 12px;
    color: #555;
}

li strong {
    color: #667eea;
}

/* Footer */
footer {
    background: #f8f9fa;
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9em;
    border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 8px;
    }

    header {
        padding: 30px 20px 20px;
    }

    header h1 {
        font-size: 2em;
    }

    main {
        padding: 25px 20px;
    }

    h2 {
        font-size: 1.5em;
    }

    ul {
        margin-left: 20px;
    }
}

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

    h2 {
        font-size: 1.3em;
    }

    main {
        padding: 20px 15px;
    }

    p, li {
        font-size: 0.95em;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
    }

    header {
        background: none;
        color: black;
    }

    h2 {
        color: black;
        border-bottom-color: black;
    }

    .language-switch {
        display: none;
    }
}