/* Благородный минимализм с глубокими цветами */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: #faf9f8;
    color: #1a1a1a;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Контейнер */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Типографика с акцентами */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a3728 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #2c3e2f;
    letter-spacing: -0.01em;
}

p {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

/* Кнопки с акцентным цветом */
.button {
    display: inline-block;
    background: #4a3728;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #2c5e2f;
    transform: translateY(-1px);
}

.button-secondary {
    background: transparent;
    color: #4a3728;
    border: 1px solid #d4c5b5;
}

.button-secondary:hover {
    background: #f5f0eb;
    border-color: #4a3728;
    color: #2c5e2f;
}

/* Карточки вопросов */
.question {
    margin: 2rem 0;
    padding: 1.75rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e8e0d8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s ease;
}

.question:hover {
    box-shadow: 0 4px 12px rgba(74, 55, 40, 0.08);
}

.question h2 {
    color: #4a3728;
    border-left: 3px solid #8b5e3c;
    padding-left: 1rem;
}

/* Radio buttons в стиле минимализма */
label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.15s ease;
    color: #2c3e2f;
}

label:hover {
    background: #faf6f2;
    transform: translateX(4px);
}

input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #c4b5a5;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

input[type="radio"]:checked {
    border-color: #8b5e3c;
    background: #8b5e3c;
    box-shadow: inset 0 0 0 3px #ffffff;
}

input[type="radio"]:checked:hover {
    border-color: #2c5e2f;
    background: #2c5e2f;
}

input[type="radio"]:focus {
    outline: none;
    border-color: #8b5e3c;
}

/* Главная кнопка отправки */
button[type="submit"] {
    background: #4a3728;
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

button[type="submit"]:hover {
    background: #2c5e2f;
    transform: translateY(-2px);
}

/* Результаты - список профессий */
.prof-list {
    margin: 2rem 0;
}

.prof-item {
    border-bottom: 1px solid #e8e0d8;
    transition: all 0.15s ease;
}

.prof-item:hover {
    border-bottom-color: #8b5e3c;
    transform: translateX(4px);
}

.prof-item a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.15s ease;
}

.prof-item a:hover {
    color: #8b5e3c;
}

/* Детальная страница профессии */
.section {
    margin: 2.5rem 0;
}

.section h2 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b5e3c;
    margin-bottom: 1rem;
}

.section p {
    color: #2c3e2f;
    line-height: 1.6;
}

.edu-item {
    margin: 1.25rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid #e8e0d8;
    transition: all 0.15s ease;
}

.edu-item:hover {
    border-bottom-color: #8b5e3c;
    padding-left: 0.5rem;
}

.edu-item strong {
    color: #4a3728;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.edu-item a {
    color: #8b5e3c;
    text-decoration: none;
    border-bottom: 1px solid #e0d4c8;
    transition: all 0.15s ease;
}

.edu-item a:hover {
    color: #2c5e2f;
    border-bottom-color: #2c5e2f;
}

/* Группа кнопок */
.buttons-group {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Стили для 404 страницы */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-404 h1 {
    background: linear-gradient(135deg, #4a3728 0%, #8b5e3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 6rem;
    margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 640px) {
    .container {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .buttons-group {
        flex-direction: column;
    }
    
    .buttons-group .button {
        text-align: center;
    }
    
    .question {
        padding: 1.25rem;
    }
}

/* Плавные анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleGlow {
    0% {
        box-shadow: 0 2px 8px rgba(74, 55, 40, 0.02);
    }
    100% {
        box-shadow: 0 4px 16px rgba(139, 94, 60, 0.08);
    }
}

.container {
    animation: fadeIn 0.4s ease-out;
}

.question {
    animation: subtleGlow 2s ease-in-out infinite alternate;
}

/* Акцентные ссылки */
a {
    color: inherit;
    text-decoration: none;
}

/* Полоска прогресса (декоративная) */
.container::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b5e3c, #2c5e2f);
    border-radius: 3px;
    margin-bottom: 2rem;
}

