/* Financial Wellness Assessment */

.assessment-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f0f7f5 0%, #fff9f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.assessment-hero h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.assessment-hero p {
    font-size: 1.2rem;
    max-width: 620px;
    margin: 0 auto 40px;
    color: var(--muted);
    line-height: 1.6;
}

.assessment-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.assessment-feature-pill {
    background: var(--white);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Section Progress Stepper */
.section-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #bbb;
    background: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.step-circle.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(26, 107, 90, 0.15);
}

.step-circle.completed {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.step-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #bbb;
    text-align: center;
    max-width: 70px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.step-label.active,
.step-label.completed {
    color: var(--primary);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #e0e0e0;
    transition: background 0.4s ease;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.step-connector.completed {
    background: var(--primary);
}

/* Screens */
.assessment-screen {
    display: none;
}

.assessment-screen.active {
    display: block;
    animation: fadeSlideIn 0.35s ease;
}

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

/* Intro Screen */
.intro-card {
    background: var(--white);
    border-radius: 32px;
    padding: 64px;
    box-shadow: var(--shadow-hover);
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.intro-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.intro-card h2 {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.intro-card > p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.intro-modules {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 36px 0 40px;
}

.module-pill {
    background: var(--bg);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    border: 1px solid rgba(26, 107, 90, 0.08);
}

.module-pill p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
}

.intro-meta {
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 16px;
}

/* Section Intro */
.section-intro-card {
    background: var(--white);
    border-radius: 32px;
    padding: 64px;
    box-shadow: var(--shadow-hover);
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: rgba(26, 107, 90, 0.1);
    color: var(--primary);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-intro-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.section-intro-card h2 {
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-intro-card p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Question Screen */
.question-card {
    background: var(--white);
    border-radius: 32px;
    padding: 56px;
    box-shadow: var(--shadow-hover);
    max-width: 820px;
    margin: 0 auto;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.question-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 107, 90, 0.08);
    color: var(--primary);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
}

.question-counter {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

.question-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.question-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.question-text {
    font-family: 'Fraunces', serif;
    font-size: 1.65rem;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 36px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.option-btn {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 16px;
}

.option-btn:hover:not(.selected) {
    border-color: rgba(26, 107, 90, 0.4);
    background: rgba(26, 107, 90, 0.03);
    transform: translateX(4px);
}

.option-btn.selected {
    border-color: var(--primary);
    background: rgba(26, 107, 90, 0.07);
    color: var(--primary);
    font-weight: 600;
}

.option-letter {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

.option-btn.selected .option-letter {
    background: var(--primary);
    color: white;
}

.question-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-nav {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    border: none;
}

.btn-back {
    background: none;
    border: 2px solid #e0e0e0;
    color: var(--muted);
}

.btn-back:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-next {
    background: var(--primary);
    color: white;
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-next.enabled {
    opacity: 1;
    cursor: pointer;
}

.btn-next.enabled:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 107, 90, 0.3);
}

/* ── Results ── */
.results-header {
    text-align: center;
    margin-bottom: 56px;
}

.results-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.results-header p {
    font-size: 1.1rem;
    color: var(--muted);
}

.results-score-section {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.score-ring-container {
    text-align: center;
}

.score-ring {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    position: relative;
}

.score-ring svg {
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 12;
}

.score-ring-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 502.65;
    stroke-dashoffset: 502.65;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.6rem;
    font-weight: 700;
    font-family: 'Fraunces', serif;
    color: var(--primary);
    line-height: 1;
}

.wellness-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 8px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

/* Investor Profile */
.investor-profile-card {
    background: var(--primary);
    color: white;
    border-radius: 24px;
    padding: 40px;
}

.investor-profile-card .profile-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 4px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.investor-type-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    font-family: 'Fraunces', serif;
    display: block;
}

.investor-profile-card p {
    font-size: 0.95rem;
    opacity: 0.88;
    line-height: 1.6;
    margin-bottom: 24px;
}

.risk-meter {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.risk-meter-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 4px;
    width: 0%;
    transition: width 1.2s ease 0.4s;
}

.risk-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.72rem;
    opacity: 0.65;
}

/* Section Breakdown */
.section-breakdown-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.section-breakdown-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 28px;
}

.section-bar-item {
    margin-bottom: 20px;
}

.section-bar-item:last-child {
    margin-bottom: 0;
}

.section-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.section-bar-name {
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-bar-score {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

.section-bar-track {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.section-bar-fill {
    height: 100%;
    border-radius: 5px;
    width: 0%;
    transition: width 1s ease 0.3s;
}

/* Money Mindset Card */
.mindset-wellbeing-card {
    background: linear-gradient(135deg, #f8f0ff 0%, #fff0fb 100%);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 36px;
    border: 1px solid rgba(155, 89, 182, 0.15);
}

.mindset-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.mindset-level-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(155, 89, 182, 0.12);
    color: #6c3483;
    margin-bottom: 12px;
}

.mindset-wellbeing-card h3 {
    font-size: 1.5rem;
    color: #6c3483;
    margin-bottom: 12px;
}

.mindset-score-bar {
    height: 10px;
    background: rgba(155, 89, 182, 0.12);
    border-radius: 5px;
    overflow: hidden;
    margin: 14px 0 16px;
}

.mindset-score-fill {
    height: 100%;
    background: #9b59b6;
    border-radius: 5px;
    width: 0%;
    transition: width 1s ease 0.5s;
}

.mindset-wellbeing-card p {
    color: var(--text);
    line-height: 1.65;
    opacity: 0.85;
    font-size: 1rem;
}

/* Action Plan */
.action-plan-section {
    margin-bottom: 36px;
}

.action-plan-section h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.action-plan-section > p {
    color: var(--muted);
    margin-bottom: 28px;
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tip-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.tip-card.mindset {
    border-left-color: #9b59b6;
}

.tip-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
}

.tip-card h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.tip-card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.55;
    margin-bottom: 12px;
    opacity: 0.82;
}

.tip-card a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
}

.tip-card a:hover {
    color: var(--secondary-light);
}

/* Wellness Level Box */
.wellness-level-box {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 36px;
    box-shadow: var(--shadow);
}

.wellness-level-box h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.55rem;
}

.wellness-level-box p {
    line-height: 1.7;
    color: var(--text);
    opacity: 0.85;
    font-size: 1.05rem;
}

/* Results CTA */
.results-cta {
    background: var(--primary);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    color: white;
    margin-bottom: 36px;
}

.results-cta h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: white;
}

.results-cta p {
    opacity: 0.88;
    margin-bottom: 32px;
    font-size: 1.1rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.results-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.45);
    color: white;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
}

.btn-white-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Investor educational disclaimer (inside dark card) */
.investor-edu-disclaimer {
    margin-top: 20px;
    font-size: 0.75rem;
    opacity: 0.6;
    line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 16px;
}

/* How scores are calculated */
.score-methodology {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid rgba(26, 107, 90, 0.25);
}

.score-methodology h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.score-methodology p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* Disclaimer */
.assessment-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* ── Index page teaser section ── */
.assessment-teaser-section {
    background: linear-gradient(135deg, var(--primary) 0%, #145a4b 100%);
    position: relative;
    overflow: hidden;
}

.assessment-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.assessment-teaser-content .subheading {
    color: var(--secondary);
}

.assessment-teaser-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.15;
}

.assessment-teaser-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    line-height: 1.7;
}

.teaser-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.teaser-pill {
    background: rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

/* Preview Card */
.teaser-preview-card {
    background: white;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.teaser-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.teaser-preview-header h4 {
    font-size: 1rem;
    color: var(--primary);
    margin: 0;
}

.teaser-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.teaser-score-num {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Fraunces', serif;
    line-height: 1;
}

.teaser-score-sub {
    font-size: 0.55rem;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.teaser-wellness-label {
    display: inline-block;
    background: rgba(26, 107, 90, 0.1);
    color: var(--primary);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.teaser-bar-item {
    margin-bottom: 12px;
}

.teaser-bar-item:last-child { margin-bottom: 0; }

.teaser-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 5px;
}

.teaser-bar-track {
    height: 7px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.teaser-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .assessment-teaser-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .assessment-teaser-content h2 { font-size: 2.4rem; }
    .teaser-preview-card { max-width: 440px; }
}

@media (max-width: 768px) {
    .assessment-hero h1 { font-size: 2.4rem; }
    .assessment-hero p { font-size: 1rem; }

    .intro-card,
    .section-intro-card,
    .question-card {
        padding: 32px 24px;
    }

    .intro-card h2 { font-size: 1.9rem; }
    .intro-modules { grid-template-columns: repeat(3, 1fr); }

    .section-intro-card h2 { font-size: 1.9rem; }
    .question-text { font-size: 1.3rem; }

    .results-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr; }

    .section-progress { display: none; }

    .results-header h2 { font-size: 2rem; }
    .results-cta { padding: 36px 24px; }
    .results-cta h3 { font-size: 1.6rem; }
    .results-cta-btns { flex-direction: column; align-items: center; }

    .assessment-teaser-content h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .intro-modules { grid-template-columns: repeat(2, 1fr); }
}
