/* Hero Quiz Styles */
.hero-quiz-column {
    position: relative;
    z-index: 3;
}

.hero-quiz-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

.quiz-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quiz-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.hero-quiz-form {
    position: relative;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.quiz-step.active {
    display: block;
}

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

.quiz-progress {
    margin-bottom: 1.5rem;
}

.quiz-progress .progress {
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

.quiz-progress .progress-bar {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.quiz-option {
    display: block;
    cursor: pointer;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 0;
    text-align: center;
}

.quiz-option:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

.quiz-option input[type="radio"] {
    display: none;
}

.quiz-option input[type="radio"]:checked + .option-content {
    color: #007bff;
}

.quiz-option input[type="radio"]:checked {
    border-color: #007bff;
    background: linear-gradient(135deg, #f8f9ff, #e3f2fd);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: color 0.3s ease;
}

.option-content i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.quiz-option input[type="radio"]:checked + .option-content i {
    color: #007bff;
}

.option-content strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #212529;
    font-weight: 600;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.quiz-navigation .btn {
    min-width: 100px;
    font-size: 0.85rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-quiz-card {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-quiz-card {
        padding: 1rem;
    }
    
    .quiz-option {
        padding: 0.5rem;
    }
    
    .option-content i {
        font-size: 1rem;
    }
    
    .option-content strong {
        font-size: 0.8rem;
    }
    
    .quiz-navigation {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quiz-navigation .btn {
        width: 100%;
        font-size: 0.8rem;
    }
}

/* Анимация для кнопок */
.btn-hero {
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}
