/* Assessment Styles */
:root {
    --rts-navy: #1a2b4b;
    --rts-red: #e31e24;
    --rts-gray: #f8fafc;
}

body {
    background-color: var(--rts-gray);
    font-family: 'Inter', sans-serif;
}

.assessment-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    min-height: 500px;
}

/* Header & Progress */
.assessment-header {
    background: var(--rts-navy);
    padding: 20px 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-track {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    width: 60%;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--rts-red);
    width: 0%;
    transition: width 0.3s ease;
}

/* Question Area */
.question-card {
    padding: 40px;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--rts-navy);
    line-height: 1.4;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-btn {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-btn:hover {
    border-color: var(--rts-navy);
    background: #f8fafc;
}

.option-btn.selected {
    border-color: var(--rts-red);
    background: #fff5f5;
    color: var(--rts-red);
    font-weight: 600;
}

.option-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.option-btn.selected .option-badge {
    background: var(--rts-red);
    color: white;
}

.quiz-footer {
    padding: 20px 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.next-btn {
    padding: 12px 30px;
    background: var(--rts-navy);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.next-btn:hover {
    background: #2a4065;
}

.next-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* Lead Form Overlay */
/* Lead Form Overlay - Adjusted to Flow */
.lead-overlay {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lead-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 450px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.lead-form-card h2 {
    color: var(--rts-navy);
    margin-bottom: 10px;
}

.lead-form-card p {
    color: #64748b;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rts-navy);
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.form-input:focus {
    border-color: var(--rts-navy);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--rts-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Results Page */
.result-view {
    text-align: center;
    padding: 40px;
}

.score-circle {
    width: 120px;
    height: 120px;
    background: var(--rts-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(26, 43, 75, 0.3);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.result-level {
    color: var(--rts-red);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.result-msg {
    color: #475569;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.recommendation-card {
    background: #f8fafc;
    border: 2px solid var(--rts-navy);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    margin-top: 30px;
}

.rec-badge {
    background: var(--rts-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .options-grid {
        grid-template-columns: 1fr;
    }

    .question-text {
        font-size: 1.2rem;
    }

    .assessment-container {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
}