/* style.css — строгий мужской стиль */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a1a;  /* тёмный фон */
    color: #e0e0e0;  /* светлый текст */
    line-height: 1.5;
    padding: 10px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo {
    text-align: center;
    padding: 15px 0 5px;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ad-top, .ad-bottom {
 flex: 1;
    text-align: center;
    padding: 15px 0 5px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.container {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    background: #262626;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    padding: 24px 20px;
    border: 1px solid #333333;
}

#question-container {
    margin-bottom: 20px;
    min-height: 200px;
}

.question-text {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.3;
    color: #ffffff;
    border-left: 4px solid #ffc500;
    padding-left: 16px;
}

/* Радио-кнопки и опции */
.option {
    display: block;
    background: #1f1f1f;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    font-size: 18px;
    transition: all 0.2s;
    cursor: pointer;
    color: #e0e0e0;
}

.option:hover {
    border-color: #ffc500;
    background: #2a2a2a;
}

.option.selected {
    background: #ffc500;
    border-color: #ffffff;
    color: #000000;
    font-weight: 500;
}

input[type="radio"] {
    display: none;
}

/* Числовые поля */
input[type="number"] {
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
    border: 2px solid #333333;
    border-radius: 12px;
    background: #1f1f1f;
    outline: none;
    transition: all 0.2s;
    color: #ffffff;
}

input[type="number"]:focus {
    border-color: #ffc500;
    background: #2a2a2a;
}

input[type="number"]::placeholder {
    color: #666666;
}

/* Кнопки */
.btn-submit, .btn-start, .btn-back, .btn-reset, .calc-btn, .btn-add-field {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit {
    background: #9F00FF;  /* фиолетовый только здесь */
    color: white;
    margin-top: 16px;
}

.btn-submit:hover {
    background: #8a00d9;
}

.btn-start {
    background: #ffc500;
    color: #000000;
    font-size: 20px;
    margin-top: 30px;
    font-weight: 600;
}

.btn-start:hover {
    background: #ffd033;
}

/* Калькуляторы на главной */
.calculator-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.calc-btn {
    background: #1f1f1f;
    border: 2px solid #ffc500;
    color: #ffc500;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    text-transform: none;
}

.calc-btn:hover {
    background: #ffc500;
    color: #000000;
    border-color: #ffffff;
}

/* Навигация */
#navigation {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-back, .btn-reset {
    flex: 1;
    padding: 16px 12px;
}

.btn-back {
    background: #333333;
    color: #e0e0e0;
    border: 1px solid #4a4a4a;
}

.btn-back:hover {
    background: #404040;
}

.btn-reset {
    background: #000000;
    color: #ffc500;
    border: 1px solid #ffc500;
}

.btn-reset:hover {
    background: #1a1a1a;
}

/* Динамические поля (плюсики) */
.btn-add-field {
    background: #2d2d2d;
    color: #ffc500;
    border: 1px solid #ffc500;
    margin: 10px 0;
    text-transform: none;
}

.btn-add-field:hover {
    background: #404040;
}

.btn-remove-field {
    width: 40px;
    height: 40px;
    background: #333333;
    color: #ffc500;
    border: 1px solid #ffc500;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-remove-field:hover {
    background: #404040;
}

/* Отображение суммы */
.sum-display {
    background: #1f1f1f;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border: 1px solid #ffc500;
    color: #ffffff;
}

.sum-display .sum-value {
    color: #ffc500;
    font-size: 24px;
    margin-left: 5px;
    font-weight: 600;
}

/* Блок доходов агрегатора */
.income-entry {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #333333;
}

.income-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffc500;
}

.income-field-label {
    font-size: 14px;
    color: #999999;
    margin-bottom: 4px;
}

.income-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #333333;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    background: #262626;
    color: #ffffff;
}

.income-input:focus {
    border-color: #ffc500;
    outline: none;
    background: #2d2d2d;
}

/* Приветственный блок */
.welcome-block {
    text-align: center;
    padding: 20px 0;
}

.welcome-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-text {
	    text-align: justify;
    font-size: 20px;
    color: #b0b0b0;
    margin-bottom: 12px;
    line-height: 1.6;
}

.welcome-list {
    text-align: left;
    background: #1f1f1f;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    list-style: none;
    border: 1px solid #333333;
}

.welcome-list li {
    padding: 8px 0;
    padding-left: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23ffc500"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') left center no-repeat;
    background-size: 20px;
    color: #e0e0e0;
}

/* Блок результатов */
.result-block {
    text-align: center;
    padding: 20px 0;
}

.result-item {
    font-size: 20px;
    font-weight: 500;
    color: #e0e0e0;
    margin: 15px 0;
    padding: 12px 16px;
    background: #1f1f1f;
    border-radius: 8px;
    border-left: 4px solid #ffc500;
    text-align: left;
}

.result-item:first-of-type {
    font-size: 28px;
    color: #ffc500;
    background: #262626;
    border-left: 4px solid #ffc500;
    font-weight: 600;
}

.result-advice {
    background: #2d2d2d;
    color: #ffc500;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    border: 1px solid #ffc500;
}

/* Футер */
.footer {
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    color: #666666;
}

.footer a {
    color: #ffc500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #ffffff;
}

/* Описание вопроса */
.question-description {
    margin: 15px 0;
    padding: 10px;
    background: #1f1f1f;
    border-radius: 8px;
    border: 1px solid #333333;
}

.description-toggle {
    background: none;
    border: none;
    color: #ffc500;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    width: 100%;
    text-align: left;
}

.description-toggle:hover {
    color: #ffffff;
}

.description-content {
    margin-top: 10px;
    padding: 15px;
    background: #262626;
    border-radius: 8px;
    border: 1px solid #333333;
    font-size: 14px;
    line-height: 1.6;
    color: #b0b0b0;
}

/* Адаптация для маленьких экранов */
@media (max-width: 400px) {
    .question-text {
        font-size: 20px;
    }
    
    .btn-back, .btn-reset {
        padding: 14px 8px;
        font-size: 16px;
    }
    
    .result-item {
        font-size: 18px;
    }
    
    .result-item:first-of-type {
        font-size: 24px;
    }
    
    .logo {
        font-size: 20px;
    }
}

/* Добавить в конец style.css */

.privacy-content {
    padding: 20px;
}

.privacy-content h1 {
    color: #ffc500;
    font-size: 28px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc500;
    padding-left: 16px;
}

.privacy-content p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-block {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid #333;
}

.btn-lk {
    display: inline-block;
    background: #9F00FF;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: background 0.2s;
}
.btn-lk:hover {
    background: #8a00d9;
}