/* Technology Health Check styles — extends existing design system */

/* Landing page cards */
.hc-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.hc-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary) !important;
}

/* Progress bar */
.hc-progress {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}
.hc-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Question container */
.hc-question {
    min-height: 300px;
}
.hc-question-card {
    padding: 20px 0;
}

/* Back button */
.hc-back-btn {
    display: inline-block;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 15px;
    font-family: inherit;
    transition: color 0.2s ease;
}
.hc-back-btn:hover {
    color: var(--text-white);
}
.hc-fade-in {
    animation: hcFadeIn 0.25s ease;
}
@keyframes hcFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Answer options */
.hc-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hc-option {
    display: block;
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}
.hc-option:hover {
    border-color: var(--primary);
    color: var(--text-white);
}
.hc-option--selected {
    border-color: var(--primary);
    color: var(--text-white);
    background: rgba(239, 68, 68, 0.08);
}

/* Multi-select checkbox indicator */
.hc-checkbox {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    vertical-align: middle;
    margin-right: 4px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.hc-option--selected .hc-checkbox {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.hc-next-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Escape hatch */
.hc-escape {
    text-align: center;
    padding: 30px 0 0;
    margin-top: 30px;
    border-top: 1px solid var(--border);
    cursor: pointer;
}
.hc-escape p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.hc-escape:hover p {
    color: var(--text-white);
}
.hc-escape span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* Results: narratives */
.hc-narrative {
    padding: 25px;
    background: var(--bg-card);
    border-radius: 10px;
}

/* Results: score colours */
.score-good { color: #22c55e; }
.score-warning { color: #f59e0b; }
.score-critical { color: var(--primary); }

/* Lead form */
.hc-lead-form-inner {
    padding: 30px 0;
}

/* Radar chart */
.hc-radar svg {
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hc-question-card h2 {
        font-size: 1.15rem;
    }
    .hc-option {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}
