/* ===================================================================
   SERVICE FINDER - INTERACTIVE QUIZ
   =================================================================== */

.finder-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.finder-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.finder-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--accent-light);
}

/* Quiz Container */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Quiz Steps */
.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.quiz-question {
    margin-bottom: 2rem;
}

.question-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-right: 1rem;
    vertical-align: middle;
}

.quiz-question h2 {
    display: inline;
    font-size: 1.75rem;
    vertical-align: middle;
}

.question-help {
    margin-top: 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-left: 56px;
}

/* Quiz Options */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.quiz-option:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.1);
    transform: translateY(-2px);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(26, 54, 93, 0.05);
}

.option-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.option-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.option-text span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Results */
.results-container {
    text-align: center;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.results-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.results-header span {
    color: var(--accent);
}

.recommendation-card {
    background: var(--gray-50);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.recommendation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.recommendation-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 1rem 0;
}

.recommendation-features {
    list-style: none;
    margin: 1.5rem 0;
}

.recommendation-features li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.recommendation-features i {
    color: var(--success);
    margin-top: 0.25rem;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.alternative-options {
    margin-top: 3rem;
    text-align: left;
}

.alternative-options h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.alternative-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.alternative-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.1);
}

.alternative-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.alternative-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Navigation */
.quiz-navigation {
    margin-top: 2rem;
    text-align: center;
}

/* Trust Cards */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-card {
    text-align: center;
}

.trust-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.trust-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-container {
        padding: 2rem 1.5rem;
    }
    
    .quiz-question h2 {
        display: block;
        margin-top: 1rem;
    }
    
    .question-help {
        margin-left: 0;
    }
    
    .alternatives-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .finder-hero h1 {
        font-size: 2rem;
    }
}
