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

:root {
    --primary-color: #1a365d;
    --secondary-color: #2d3748;
    --accent-color: #2b6cb0;
    --alert-color: #c53030;
    --alert-bg: #fff5f5;
    --alert-border: #fc8181;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --success-color: #2f855a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    font-size: 16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-color);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

.lang-divider {
    color: var(--border-color);
    font-size: 0.9rem;
}

/* Header */
.header {
    background-color: #F7F7F7;
    color: var(--text-color);
    padding: 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Main Content */
.content {
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.content h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.content li {
    margin: 0.75rem 0;
    line-height: 1.7;
}

.content a {
    color: var(--accent-color);
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.publication-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.last-updated {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher {
        top: 0.75rem;
        right: 1rem;
    }

    .lang-btn {
        font-size: 0.85rem;
    }

    .logo {
        max-width: 150px;
    }

    .company-name {
        font-size: 1.4rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    .content h1 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .content h2 {
        font-size: 1.6rem;
    }

    .content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        top: 0.5rem;
        right: 0.75rem;
    }

    .lang-btn {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }

    .logo {
        max-width: 120px;
    }

    .header {
        padding: 1.5rem 1rem;
    }

    .content {
        padding: 1.5rem 1rem;
    }

    .content h1 {
        font-size: 1.4rem;
        margin-bottom: 1.75rem;
    }

    .content h2 {
        font-size: 1.4rem;
    }

    .company-name {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .container {
        box-shadow: none;
    }

    .content a {
        color: var(--primary-color);
        text-decoration: underline;
    }
}
