/* Финансовый Триггер-Тест - Стили */
.finance-trigger-test {
    max-width: 800px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Заголовок */
.ftt-header {
    text-align: center;
    margin-bottom: 30px;
}

.ftt-title {
    font-size: 28px;
    margin: 0 0 15px 0;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ftt-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

/* Статистика */
.ftt-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Прогресс-бар */
.ftt-progress {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ed573, #1dd1a1);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.progress-text .current {
    font-weight: bold;
    color: white;
}

/* Вопросы */
.ftt-questions-container {
    margin-bottom: 30px;
}

.ftt-question {
    display: none;
    animation: fadeIn 0.5s ease;
}

.ftt-question.active {
    display: block;
}

.ftt-question h3 {
    font-size: 20px;
    margin: 0 0 25px 0;
    color: white;
    line-height: 1.4;
}

.ftt-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 600px) {
    .ftt-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ftt-option {
    display: block;
    cursor: pointer;
}

.ftt-option input {
    display: none;
}

.ftt-option .option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s;
    min-height: 80px;
}

.ftt-option:hover .option-content {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.ftt-option input:checked + .option-content {
    background: rgba(255, 255, 255, 0.2);
    border-color: #2ed573;
    box-shadow: 0 5px 20px rgba(46, 213, 115, 0.3);
}

.option-emoji {
    font-size: 28px;
    flex-shrink: 0;
}

.option-text {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

/* Навигация */
.ftt-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.ftt-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    flex: 1;
    justify-content: center;
}

.ftt-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.ftt-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ftt-next-btn {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
}

.ftt-submit-btn {
    background: linear-gradient(135deg, #ff9f43, #ff7f00);
    display: none !important;
}

.ftt-submit-btn.show {
    display: flex !important;
}

.btn-icon {
    font-size: 18px;
}

/* Результат */
.ftt-result-container {
    animation: fadeIn 0.5s ease;
}

.ftt-result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-title {
    font-size: 28px;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
}

/* Тип проблемы */
.result-type {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.type-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.result-type h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: white;
}

.result-type p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

/* Статистика результата */
.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* План действий */
.action-plan {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.action-plan h4 {
    font-size: 20px;
    margin: 0 0 20px 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-plan ol {
    margin: 0;
    padding-left: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.action-plan li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.action-plan li:last-child {
    margin-bottom: 0;
}

/* Рекомендации */
.recommendations {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.recommendations h4 {
    font-size: 20px;
    margin: 0 0 20px 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.recommendation-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.recommendation-item:hover {
    transform: translateY(-3px);
}

.recommendation-item a {
    color: white;
    text-decoration: none;
    display: block;
}

.recommendation-item .rec-emoji {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.recommendation-item .rec-title {
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recommendation-item .rec-type {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Форма email */
.email-capture {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.email-capture h4 {
    font-size: 20px;
    margin: 0 0 20px 0;
    color: white;
}

.ftt-email-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.ftt-email-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background: white;
}

.ftt-email-form button {
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    background: #2ed573;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ftt-email-form button:hover {
    background: #25c064;
    transform: translateY(-2px);
}

.privacy-notice {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 10px 0 0 0;
}

/* Действия с результатом */
.result-actions {
    display: flex;
    gap: 15px;
}

.result-actions .ftt-btn {
    flex: 1;
}

.share-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.restart-btn {
    background: rgba(255, 255, 255, 0.1);
}

/* Подвал */
.ftt-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .finance-trigger-test {
        padding: 20px;
        margin: 1rem;
    }
    
    .ftt-title {
        font-size: 24px;
    }
    
    .ftt-stats {
        gap: 15px;
    }
    
    .stat-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
    }
    
    .result-stats {
        grid-template-columns: 1fr;
    }
    
    .ftt-email-form {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
}
/* Новые стили для улучшенных вопросов */
.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.question-number {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.question-category {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.question-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 0 25px 0;
    font-style: italic;
}

/* Улучшаем варианты ответов */
.ftt-option .option-text {
    display: flex;
    flex-direction: column;
}

.ftt-option .option-text strong {
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.ftt-option .option-text small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.4;
}

/* Улучшаем результат */
.result-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.detail-label .emoji {
    font-size: 20px;
}

.detail-content {
    color: white;
    line-height: 1.6;
    padding-left: 30px;
}

/* Убираем рекомендации */
.recommendations {
    display: none;
}

/* Улучшаем план действий */
.action-plan {
    background: rgba(46, 213, 115, 0.1);
    border-left: 4px solid #2ed573;
}

.action-plan h4 {
    color: #2ed573;
}

/* Улучшаем форму email */
.email-capture {
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.email-capture h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

/* Анимация появления ответов */
@keyframes optionSelect {
    0% { transform: scale(1); }
    50% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

.ftt-option input:checked + .option-content {
    animation: optionSelect 0.3s ease;
}

/* Индикатор выбранного ответа */
.ftt-option input:checked + .option-content::before {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2ed573;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.ftt-option .option-content {
    position: relative;
    padding-right: 40px;
}