/**
 * Personality Assessment Styles
 * Walk the Dragon Theme Integration
 * 
 * Author: OS
 * Date: 09-Nov-2025
 */

/* ================================
   THEME VARIABLES
   ================================ */

:root {
    --wtd-charcoal: #3A3532;
    --wtd-parchment: #f0ece8;
    --wtd-parchment-light: #f8f6f4;
    --wtd-stone: #8E8C8A;
    --wtd-stone-light: #BBB8B6;
    --wtd-grey-light: #D9D9D9;
    --wtd-white: #FFFFFF;
    --wtd-accent: #e79a7b;
}

/* ================================
   BASE LAYOUT
   ================================ */

.personality-assessment-page {
    background: var(--wtd-parchment-light);
    min-height: 100vh;
}

.personality-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ================================
   AUTH REQUIRED
   ================================ */

.personality-auth-required {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.auth-container h1 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--wtd-charcoal);
    font-family: 'biennale', serif;
    text-transform: lowercase;
}

.auth-container p {
    font-size: 1.1em;
    color: var(--wtd-stone);
    margin-bottom: 30px;
    font-family: 'manrope', sans-serif;
}

/* ================================
   SCREEN MANAGEMENT
   ================================ */

.personality-screen {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.personality-screen.active {
    display: block;
    opacity: 1;
}

/* ================================
   LANDING SCREEN - PREMIUM DESIGN
   ================================ */

#personality-landing {
    padding: 60px 20px 80px;
}

.landing-hero {
    text-align: center;
    margin-bottom: 70px;
}

.landing-hero h1 {
    font-size: 3.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--wtd-charcoal);
    font-family: 'biennale', serif;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    line-height: 1;
}

.landing-hero .subtitle {
    font-size: 1.2em;
    color: var(--wtd-stone);
    font-weight: 300;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    font-family: 'manrope', sans-serif;
}

.landing-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* ================================
   PREMIUM DIMENSION CARDS
   ================================ */

.dimensions-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dimension-card-premium {
    background: var(--wtd-white);
    border-radius: 12px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(58, 53, 50, 0.04), 
                0 1px 2px rgba(58, 53, 50, 0.02);
    border: 1px solid rgba(217, 217, 217, 0.3);
}

.dimension-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(58, 53, 50, 0.08),
                0 6px 12px rgba(58, 53, 50, 0.04);
    border-color: rgba(142, 140, 138, 0.3);
}

.dimension-large-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: 'biennale', serif;
    font-size: 4em;
    font-weight: 300;
    color: var(--wtd-parchment);
    line-height: 1;
    transition: all 0.3s ease;
}

.dimension-card-premium:hover .dimension-large-number {
    color: var(--wtd-grey-light);
}

.dimension-content {
    position: relative;
    z-index: 2;
}

.dimension-content h3 {
    font-family: 'biennale', serif;
    font-size: 1.8em;
    font-weight: 600;
    color: var(--wtd-charcoal);
    margin: 0 0 8px 0;
    text-transform: lowercase;
    letter-spacing: 0.01em;
}

.dim-subtitle {
    font-family: 'manrope', sans-serif;
    font-size: 0.95em;
    color: var(--wtd-stone);
    margin: 0 0 25px 0;
    font-weight: 400;
}

.spectrum-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'manrope', sans-serif;
    font-size: 0.75em;
    color: var(--wtd-stone);
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.spectrum-track {
    flex: 1;
    height: 4px;
    background: var(--wtd-parchment);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.spectrum-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        var(--wtd-charcoal) 0%, 
        var(--wtd-stone-light) 50%, 
        var(--wtd-charcoal) 100%);
    opacity: 0.4;
}

.dimension-card-premium:hover .spectrum-gradient {
    opacity: 0.7;
}

/* ================================
   CTA CARD (4th Card in Grid)
   ================================ */

.dimension-card-premium.cta-card {
    background: linear-gradient(135deg, var(--wtd-charcoal) 0%, #4a4442 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--wtd-charcoal);
}

.dimension-card-premium.cta-card:hover {
    background: linear-gradient(135deg, #4a4442 0%, var(--wtd-charcoal) 100%);
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(58, 53, 50, 0.15),
                0 8px 16px rgba(58, 53, 50, 0.08);
}

.cta-card-content {
    text-align: center;
    width: 100%;
}

.cta-icon {
    font-size: 3em;
    color: var(--wtd-white);
    margin-bottom: 15px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.dimension-card-premium.cta-card:hover .cta-icon {
    opacity: 1;
    transform: translateX(5px);
}

.cta-card-content h3 {
    font-family: 'biennale', serif;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--wtd-white);
    margin: 0 0 25px 0;
    text-transform: lowercase;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.cta-card .btn-primary {
    background: var(--wtd-white);
    color: var(--wtd-charcoal);
}

.cta-card .btn-primary:hover {
    background: var(--wtd-parchment-light);
    color: var(--wtd-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ================================
   ELEGANT META PILLS
   ================================ */

.assessment-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.pill {
    background: var(--wtd-white);
    border: 1px solid rgba(217, 217, 217, 0.4);
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(58, 53, 50, 0.02);
}

.pill:hover {
    border-color: var(--wtd-stone-light);
    box-shadow: 0 2px 8px rgba(58, 53, 50, 0.06);
    transform: translateY(-1px);
}

.pill-number {
    font-family: 'biennale', serif;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--wtd-charcoal);
}

.pill-label {
    font-family: 'manrope', sans-serif;
    font-size: 0.85em;
    color: var(--wtd-stone);
    font-weight: 400;
}

/* ================================
   PRIVACY NOTE
   ================================ */

.privacy-note-bottom {
    text-align: center;
    margin-top: 40px;
}

.privacy-note-bottom p {
    font-size: 0.85em;
    color: var(--wtd-stone);
    font-style: italic;
    font-family: 'manrope', sans-serif;
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto;
}

/* ================================
   BUTTONS
   ================================ */

.btn-primary,
.btn-secondary,
.btn-ghost {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'manrope', sans-serif;
}

.btn-primary {
    background: var(--wtd-charcoal);
    color: var(--wtd-white);
}

.btn-primary:hover {
    background: #980101;
}

.btn-primary:disabled {
    background: var(--wtd-stone-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background: var(--wtd-parchment);
    color: var(--wtd-charcoal);
    border: 1px solid var(--wtd-grey-light);
}

.btn-secondary:hover {
    background: var(--wtd-parchment-light);
    color: var(--wtd-charcoal);
}

.btn-secondary:disabled {
    background: var(--wtd-parchment-light);
    color: var(--wtd-stone-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-ghost {
    background: transparent;
    color: var(--wtd-stone);
    border: 1px solid var(--wtd-grey-light);
}

.btn-ghost:hover {
    background: var(--wtd-parchment-light);
    color: var(--wtd-charcoal);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

a.btn-primary {
    display: inline-block;
    text-decoration: none;
}

/* ================================
   LANDING NOTE
   ================================ */

.landing-note {
    margin-top: 40px;
}

.landing-note p {
    font-size: 0.85em;
    color: var(--wtd-stone);
    font-style: italic;
    font-family: 'manrope', sans-serif;
    opacity: 0.7;
}

/* ================================
   MINIMAL PROGRESS BAR
   ================================ */

.assessment-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--wtd-white);
    padding: 20px 40px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.2);
    backdrop-filter: blur(10px);
    background: rgba(248, 246, 244, 0.95);
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--wtd-charcoal);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    text-align: center;
    font-size: 0.75em;
    color: var(--wtd-stone);
    letter-spacing: 0.1em;
    font-family: 'manrope', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

/* ================================
   IMMERSIVE QUESTION EXPERIENCE
   ================================ */

#personality-questions {
    background: var(--wtd-parchment-light);
}

.question-container {
    min-height: calc(100vh - 200px);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 100px 40px 120px;
}

.question-item {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.question-number {
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--wtd-stone);
    margin-bottom: 30px;
    font-family: 'manrope', sans-serif;
    text-align: center;
    opacity: 0.6;
}

.question-scenario {
    font-size: 2em;
    line-height: 1.4;
    color: var(--wtd-charcoal);
    font-weight: 400;
    font-family: 'biennale', serif;
    margin-bottom: 50px;
    letter-spacing: -0.01em;
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   IMMERSIVE ANSWER CARDS
   ================================ */

.answer-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 950px;
    margin: 0 auto;
}

.option-card {
    position: relative;
    background: var(--wtd-white);
    border: 1px solid rgba(217, 217, 217, 0.25);
    border-radius: 16px;
    padding: 35px 30px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(58, 53, 50, 0.04);
    min-height: 140px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--wtd-charcoal);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
    border-color: rgba(142, 140, 138, 0.4);
    background: var(--wtd-white);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 24px rgba(58, 53, 50, 0.08);
}

.option-card:hover::before {
    transform: scaleY(1);
}

.option-card.selected {
    border-color: var(--wtd-charcoal);
    background: var(--wtd-white);
    border-width: 2px;
    padding: 34px 29px;
    box-shadow: 0 12px 32px rgba(58, 53, 50, 0.12);
    transform: scale(1.02);
}

.option-card.selected::before {
    transform: scaleY(1);
    width: 5px;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-label {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.option-letter {
    display: none;
}

.option-text {
    flex: 1;
    font-size: 1.08em;
    line-height: 1.6;
    color: var(--wtd-charcoal);
    font-family: 'manrope', sans-serif;
    font-weight: 400;
}

.option-card:hover .option-text {
    color: var(--wtd-charcoal);
}

.option-card.selected .option-text {
    color: var(--wtd-charcoal);
    font-weight: 500;
}

.option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 18px;
    right: 18px;
    width: 26px;
    height: 26px;
    background: var(--wtd-charcoal);
    color: var(--wtd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================================
   MINIMAL FLOATING NAVIGATION
   ================================ */

.assessment-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 246, 244, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-top: 1px solid rgba(217, 217, 217, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -4px 20px rgba(58, 53, 50, 0.04);
}

/* ================================
   LOADING SCREEN
   ================================ */

#personality-loading {
    text-align: center;
    padding: 100px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid #e0e0e0;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-content h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--wtd-charcoal);
    font-family: 'biennale', serif;
}

.loading-content p {
    font-size: 1em;
    color: var(--wtd-stone);
    font-family: 'manrope', sans-serif;
}

/* ================================
   RESULTS SCREEN
   ================================ */

#personality-results {
    max-width: 800px;
    margin: 0 auto;
}

.results-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    border-radius: 4px;
    margin-bottom: 50px;
}

.archetype-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #fff;
}

.archetype-name {
    font-size: 3em;
    font-weight: 300;
    margin-bottom: 15px;
    color: #000;
    letter-spacing: 0.02em;
}

.archetype-essence {
    font-size: 1.2em;
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.archetype-bias {
    font-size: 1em;
    color: #888;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   DIMENSION SCORES
   ================================ */

.dimension-scores {
    margin-bottom: 50px;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 4px;
}

.dimension-scores h3 {
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    color: #000;
    text-align: center;
}

.score-item {
    margin-bottom: 25px;
}

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

.score-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: #666;
    text-transform: uppercase;
}

.score-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.score-indicator {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

/* ================================
   RESULTS SECTIONS
   ================================ */

.results-section {
    margin-bottom: 50px;
}

.results-section h2 {
    font-size: 1.8em;
    font-weight: 300;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: 0.02em;
}

.results-section h3 {
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
}

.results-section p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

/* ================================
   LISTS (STRENGTHS, BLIND SPOTS)
   ================================ */

.insight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insight-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #333;
}

.insight-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.insight-list.blind-spots li:before {
    content: '!';
    background: #000;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    top: 3px;
}

/* ================================
   OPTIMAL ROLES
   ================================ */

.roles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.role-tag {
    padding: 10px 18px;
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    font-size: 0.85em;
    color: #333;
    letter-spacing: 0.05em;
}

/* ================================
   ACTIONS
   ================================ */

.results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .landing-hero h1 {
        font-size: 2.2em;
    }
    
    .dimensions-premium {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .cta-card-content h3 {
        font-size: 1.3em;
    }
    
    .dimension-large-number {
        font-size: 3em;
        top: 15px;
        right: 20px;
    }
    
    .dimension-card-premium {
        padding: 30px 25px;
    }
    
    .assessment-pills {
        flex-direction: column;
        gap: 12px;
    }
    
    .pill {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .archetype-name {
        font-size: 2em;
    }
    
    .assessment-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px 20px;
    }
    
    .assessment-nav button {
        flex: 1;
        min-width: 100px;
    }
    
    #btn-save {
        order: -1;
        flex-basis: 100%;
        margin-bottom: 10px;
    }
    
    .answer-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .option-card {
        min-height: 100px;
        padding: 25px 20px;
    }
    
    .option-card.selected {
        padding: 24px 19px;
    }
    
    .question-container {
        padding: 80px 20px 100px;
        min-height: auto;
    }
    
    .question-scenario {
        font-size: 1.5em;
        margin-bottom: 40px;
    }
    
    .assessment-progress {
        padding: 15px 20px;
    }
    
    #btn-save {
        order: -1;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .personality-container {
        padding: 20px 15px;
    }
    
    .question-scenario {
        font-size: 1.35em;
    }
    
    .option-card {
        padding: 22px 18px;
        min-height: 90px;
    }
    
    .option-card.selected {
        padding: 21px 17px;
    }
    
    .option-text {
        font-size: 1em;
        line-height: 1.5;
    }
    
    .assessment-nav {
        padding: 15px 15px;
    }
    
    .assessment-progress {
        padding: 12px 15px;
    }
}


/* ================================
   CAREER CONTEXT WIZARD
   OS 09-Nov-2025
   ================================ */

#career-context {
    max-width: 900px;
    margin: 0 auto;
}

.context-wizard {
    padding: 20px;
}

/* Wizard Progress Indicator */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 0;
}

.wizard-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--wtd-parchment);
    border: 2px solid var(--wtd-grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'biennale', serif;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--wtd-stone);
    transition: all 0.3s ease;
    position: relative;
}

.wizard-step.active {
    background: var(--wtd-charcoal);
    color: var(--wtd-white);
    border-color: var(--wtd-charcoal);
    transform: scale(1.1);
}

.wizard-step.completed {
    background: var(--wtd-parchment-light);
    border-color: var(--wtd-charcoal);
    color: var(--wtd-charcoal);
}

.wizard-line {
    width: 60px;
    height: 2px;
    background: var(--wtd-grey-light);
    transition: all 0.3s ease;
}

.wizard-line.completed {
    background: var(--wtd-charcoal);
}

/* Wizard Screens */
.wizard-screen {
    display: none;
    opacity: 0;
    animation: wizardFadeIn 0.4s ease forwards;
    min-height: 450px;
}

.wizard-screen.active {
    display: block;
}

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

.wizard-question {
    font-family: 'biennale', serif;
    font-weight: 600;
    font-size: 2.5em;
    color: var(--wtd-charcoal);
    text-align: center;
    margin: 0 0 10px 0;
    text-transform: lowercase;
    letter-spacing: 0.01em;
}

.wizard-hint {
    font-family: 'manrope', sans-serif;
    font-size: 1.05em;
    color: var(--wtd-stone);
    text-align: center;
    margin: 0 0 50px 0;
    font-weight: 300;
}

/* Card Selection Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.card-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.card-grid.experience {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto 40px;
}

.selection-card {
    background: var(--wtd-white);
    border: 2px solid var(--wtd-grey-light);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.selection-card:hover {
    border-color: var(--wtd-stone);
    background: var(--wtd-parchment-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(58, 53, 50, 0.08);
}

.selection-card.selected {
    border-color: var(--wtd-charcoal);
    background: var(--wtd-parchment);
    border-width: 3px;
}

.selection-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--wtd-charcoal);
    color: var(--wtd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: bold;
}

.card-icon {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 36px;
    height: 36px;
    color: var(--wtd-charcoal);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.selection-card:hover .card-icon svg,
.selection-card.selected .card-icon svg {
    opacity: 1;
    transform: scale(1.08);
}

.card-grid.compact .card-icon svg {
    width: 32px;
    height: 32px;
}

.card-number {
    font-size: 2.8em;
    font-family: 'biennale', serif;
    font-weight: 300;
    color: var(--wtd-charcoal);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.card-title {
    font-family: 'manrope', sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--wtd-charcoal);
    margin-bottom: 6px;
    text-transform: lowercase;
}

.card-desc {
    font-family: 'manrope', sans-serif;
    font-size: 0.85em;
    color: var(--wtd-stone);
    line-height: 1.4;
}

.selection-card.wide {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 20px 25px;
}

.selection-card.wide .card-number {
    flex-shrink: 0;
    margin: 0;
    min-width: 80px;
}

.selection-card.wide .card-title {
    margin: 0 0 3px 0;
}

.selection-card.wide .card-desc {
    margin: 0;
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid var(--wtd-grey-light);
}

.wizard-btn {
    min-width: 140px;
}

.wizard-note {
    text-align: center;
    margin-top: 25px;
}

.wizard-note p {
    font-family: 'manrope', sans-serif;
    font-size: 0.85em;
    color: var(--wtd-stone);
    font-style: italic;
}

/* Responsive Wizard */
@media (max-width: 768px) {
    .wizard-question {
        font-size: 1.8em;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .card-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wizard-nav {
        flex-wrap: wrap;
    }
    
    .wizard-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .wizard-progress {
        margin-bottom: 40px;
    }
    
    .wizard-step {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    
    .wizard-line {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .card-grid.compact {
        grid-template-columns: 1fr;
    }
    
    .selection-card.wide {
        flex-direction: column;
        text-align: center;
    }
    
    .card-icon {
        font-size: 2em;
    }
}

/* ================================
   PERSONALIZED CAREER ELEMENTS
   OS 09-Nov-2025
   ================================ */

.role-tag.personalized {
    position: relative;
    padding-right: 95px;
}

.fit-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--wtd-charcoal);
    color: var(--wtd-white);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.role-tag.timeline {
    background: var(--wtd-white);
    border: 1px solid var(--wtd-charcoal);
    color: var(--wtd-charcoal);
    font-weight: 500;
}

.career-recommendations h2 {
    font-family: 'biennale', serif;
    color: var(--wtd-charcoal);
    text-transform: lowercase;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.development-section h2 {
    font-family: 'biennale', serif;
    color: var(--wtd-charcoal);
    text-transform: lowercase;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.career-path-section h2 {
    font-family: 'biennale', serif;
    color: var(--wtd-charcoal);
    text-transform: lowercase;
    font-size: 1.8em;
    margin-bottom: 10px;
}

/* ================================
   SAVE PROGRESS MODAL
   OS 10-Nov-2025
   ================================ */

.assessment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.assessment-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 53, 50, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    z-index: 2;
    background: var(--wtd-white);
    border-radius: 16px;
    padding: 50px 40px 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(58, 53, 50, 0.3),
                0 8px 24px rgba(58, 53, 50, 0.2);
    text-align: center;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: var(--wtd-charcoal);
    color: var(--wtd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin: 0 auto 25px;
    animation: checkPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s backwards;
}

.modal-content h3 {
    font-family: 'biennale', serif;
    font-size: 2em;
    font-weight: 600;
    color: var(--wtd-charcoal);
    margin: 0 0 15px 0;
    text-transform: lowercase;
    letter-spacing: 0.01em;
}

.modal-message {
    font-family: 'manrope', sans-serif;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--wtd-stone);
    margin: 0 0 35px 0;
}

.modal-message span {
    font-weight: 600;
    color: var(--wtd-charcoal);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-actions button {
    width: 100%;
}

.modal-note {
    font-family: 'manrope', sans-serif;
    font-size: 0.85em;
    color: var(--wtd-stone);
    font-style: italic;
    opacity: 0.7;
    margin: 0;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 40px 30px 30px;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7em;
    }
    
    .modal-content h3 {
        font-size: 1.6em;
    }
}
