﻿:root {
    --brand: #E8552E;
    --brand-dark: #C43E1E;
    --brand-light: #FFF0EB;
    
    --bg-color: #FAFAF8;
    --surface: #FFFFFF;
    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --border: #E7E5E4;
}

@media (prefers-color-scheme: dark) {
    :root {
        --brand: #F06B47;
        --brand-dark: #E8552E;
        --brand-light: #2D1A13;
        
        --bg-color: #1C1917;
        --surface: #2E2925;
        --text-primary: #FAFAF8;
        --text-secondary: #D6D3D1;
        --border: #443F3C;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.lang-switch {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px;
    display: flex;
    gap: 4px;
    cursor: pointer;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--brand);
    color: white;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    color: var(--brand);
    margin-bottom: 10px;
    font-size: 3em;
    font-weight: 800;
    letter-spacing: -1px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2em;
    max-width: 500px;
    margin: 0 auto;
}

.card {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.card h2 {
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 20px;
}

a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.primary-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--brand);
    color: white !important;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    border: none;
    font-size: 1.1em;
}

.primary-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

nav a {
    color: var(--text-secondary);
}

nav a:hover {
    color: var(--brand);
}

footer {
    text-align: center;
    margin-top: 60px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}
