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

:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 9%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 9%;
    --primary: 0 0% 9%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 45%;
    --accent: 0 0% 96%;
    --accent-foreground: 0 0% 9%;
    --border: 0 0% 90%;
    --input: 0 0% 90%;
    --ring: 0 0% 9%;
    --radius: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 768px;
    margin: 0 auto;
    padding: 48px 24px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.logo {
    display: block;
    height: 80px;
}

.logo img {
    height: 100%;
    width: auto;
}

.lang-dropdown {
    position: relative;
}

.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius);
    transition: color 0.15s ease;
}

.lang-trigger:hover {
    color: hsl(var(--foreground));
}

.lang-trigger svg {
    width: 16px;
    height: 16px;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 120px;
    background: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.15s ease;
    z-index: 50;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: hsl(var(--popover-foreground));
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-option:first-child {
    border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
}

.lang-option:hover {
    background: hsl(var(--accent));
}

.lang-option.active {
    background: hsl(var(--accent));
}

h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    color: hsl(var(--foreground));
}

.page-description {
    color: hsl(var(--muted-foreground));
    font-size: 16px;
    margin-bottom: 32px;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-top: 32px;
    margin-bottom: 12px;
    color: hsl(var(--foreground));
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: hsl(var(--foreground));
}

p {
    margin-bottom: 16px;
    color: hsl(var(--muted-foreground));
    font-size: 15px;
}

ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    color: hsl(var(--muted-foreground));
    font-size: 15px;
}

a {
    color: hsl(var(--foreground));
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: hsl(var(--muted-foreground));
    transition: text-decoration-color 0.15s;
}

a:hover {
    text-decoration-color: hsl(var(--foreground));
}

.nav-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: hsl(var(--card));
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid hsl(var(--border));
    transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-card:hover {
    background: hsl(var(--accent));
    border-color: hsl(var(--border));
    text-decoration: none;
}

.nav-card-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--muted));
    border-radius: var(--radius);
}

.nav-card-content {
    flex: 1;
}

.nav-card-content h3 {
    font-size: 15px;
    font-weight: 500;
    color: hsl(var(--card-foreground));
    margin: 0 0 2px 0;
}

.nav-card-content p {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.nav-card-arrow {
    color: hsl(var(--muted-foreground));
    font-size: 14px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s;
}

.back-link:hover {
    color: hsl(var(--foreground));
}

.last-updated {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--border));
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.contact-info {
    background: hsl(var(--card));
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 24px;
    border: 1px solid hsl(var(--border));
}

.contact-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: hsl(var(--card-foreground));
}

.contact-info p {
    font-size: 14px;
}

.contact-info a {
    color: hsl(var(--foreground));
    font-weight: 500;
}

.divider {
    height: 1px;
    background: hsl(var(--border));
    margin: 32px 0;
}

footer {
    margin-top: 64px;
    padding: 32px 0;
    border-top: 1px solid hsl(var(--border));
    background: hsl(0 0% 97%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo img {
    height: 24px;
    width: auto;
}

.footer-logo span {
    font-weight: 600;
    font-size: 14px;
    color: hsl(var(--foreground));
}

.footer-copyright {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: hsl(var(--foreground));
}

.footer-links a.active {
    color: hsl(var(--foreground));
}

@media (max-width: 640px) {
    .container {
        padding: 32px 16px;
    }

    h1 {
        font-size: 24px;
    }

    .nav-card {
        padding: 14px;
    }
}
