/* ===== Базовые стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 2.5em;
    color: #667eea;
    margin-bottom: 10px;
}

.logo p {
    font-size: 1.1em;
    color: #666;
}

/* ===== Main Content ===== */
.main-content {
    padding: 40px 0;
}

.screen {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Intro Screen ===== */
.intro-card {
    text-align: center;
    padding: 40px 20px;
}

.intro-card h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
}

/* ===== Progress Bar ===== */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

/* ===== Forms ===== */
h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.test-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
    font-size: 1.1em;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-label:hover {
    background: #e8e8e8;
    border-color: #667eea;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
}

select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* ===== Buttons ===== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #e8e8e8;
}

.btn-dev {
    background: #ff6b6b;
    color: white;
    font-size: 0.9em;
}

.btn-dev:hover {
    background: #ff5252;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

/* ===== Assessment Container ===== */
.assessment-container {
    margin-top: 30px;
}

.question-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.question-card.filter {
    border-left-color: #ff6b6b;
}

.question-text {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
}

.rating-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.rating-btn:hover {
    border-color: #667eea;
    background: #f0f0ff;
}

.rating-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* ===== Spheres Selection ===== */
.spheres-selection {
    margin-top: 30px;
}

.sphere-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.sphere-card:hover {
    border-color: #667eea;
    background: #f0f0ff;
}

.sphere-card.selected {
    border-color: #667eea;
    background: #e8e8ff;
}

.sphere-name {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
}

.sphere-score {
    color: #667eea;
    font-weight: 600;
}

/* ===== Results Container ===== */
.results-container {
    margin-top: 30px;
}

.result-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.result-section h4 {
    font-size: 1.5em;
    color: #667eea;
    margin-bottom: 15px;
}

.profession-list {
    list-style: none;
}

.profession-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.profession-name {
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.salary-info {
    color: #666;
    font-size: 0.95em;
}

/* ===== Footer ===== */
.footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    text-align: center;
    color: #666;
}