/* ========================================
   FMS Quiz - Modern Professional Styling
   ======================================== */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #059669;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    min-height: 100vh;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Page Management
   ======================================== */

.page {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Welcome Page
   ======================================== */

.hero-section {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    text-align: center;
    min-height: 80vh;
    overflow-y: auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.value-proposition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
}

.assessment-info {
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.assessment-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.assessment-info ul {
    list-style: none;
}

.assessment-info li {
    padding: 3px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.assessment-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.time-estimate {
    color: var(--text-light);
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--background-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    margin-right: 15px;
}

.cta-button.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========================================
   Quiz Page
   ======================================== */

.quiz-container {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    min-height: 80vh;
    overflow-y: auto;
}

.progress-section {
    margin-bottom: 30px;
}

.progress-bar {
    background: var(--background-secondary);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.question-section {
    margin-bottom: 20px;
    min-height: 380px;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 50px;
}

/* Multiple Choice Options */
.options-container {
    margin-bottom: 20px;
}

.options-grid {
    display: grid;
    gap: 12px;
}

.option-button {
    background: var(--background-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 14px;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    line-height: 1.4;
}

.option-button:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
}

.option-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Likert Scale */
.likert-scale {
    text-align: center;
}

.likert-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.likert-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.likert-button {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: var(--background-secondary);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.likert-button:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
}

.likert-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Scale Slider */
.scale-container {
    text-align: center;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.scale-slider-container {
    position: relative;
    margin-bottom: 20px;
}

.scale-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--background-secondary);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.scale-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.scale-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.scale-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
}

.scale-value {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.scale-numbers {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Navigation */
.navigation-section {
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.next-button, .skip-button {
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.next-button {
    background: var(--primary-color);
    color: white;
}

.skip-button {
    background: var(--text-light);
    color: white;
    border: 1px solid var(--border-color);
}

.next-button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.skip-button:hover {
    background: var(--text-secondary);
    color: white;
    transform: translateY(-1px);
}

.next-button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   Results Page
   ======================================== */

.results-container {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    min-height: 80vh;
    overflow-y: auto;
}

.results-title {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 700;
}

.archetype-section,
.coordinates-section,
.growth-section,
.insights-section,
.completion-section {
    margin-bottom: 30px;
}

.archetype-section h2,
.coordinates-section h2,
.visualization-section h2,
.growth-section h2,
.insights-section h2,
.completion-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.archetype-card,
.insight-card,
.completion-card {
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
}

.archetype-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.coordinates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.coordinate-group h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.coordinates {
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    padding: 20px;
}

.coord-item,
.vector-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.coord-item:last-child,
.vector-item:last-child {
    border-bottom: none;
}

.coord-label,
.vector-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.coord-value,
.vector-value {
    font-weight: 600;
    color: var(--text-primary);
}

.growth-vector {
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    padding: 20px;
}

.insight-card {
    margin-bottom: 20px;
}

.insight-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Coaching Readiness Styling */
.coaching-readiness {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.readiness-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 15px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.readiness-technical {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-style: italic;
}

.completion-card.complete {
    border-left-color: var(--success-color);
}

.completion-card.incomplete {
    border-left-color: var(--warning-color);
}

.completion-card h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.quality-metric {
    text-align: center;
    margin: 15px 0;
}

.quality-percentage {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.quality-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.completion-card small {
    color: var(--text-light);
    font-size: 0.85rem;
    display: block;
    margin-top: 15px;
}

/* Simple quality percentage display */
.quality-percentage-simple {
    font-size: 3rem;
    font-weight: 700;
    text-align: left;
    margin: 10px 0 5px 0; /* Closer to title above, closer to help text below */
}

.quality-percentage-simple.quality-green {
    color: #28a745; /* Green for 80%+ */
}

.quality-percentage-simple.quality-orange {
    color: #fd7e14; /* Orange for 50-79% */
}

.quality-percentage-simple.quality-red {
    color: #dc3545; /* Red for under 50% */
}

.quality-help-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: left;
}

/* Results page CTA section */
.results-page .cta-section {
    text-align: center;
    margin-top: 20px;
}

/* More specific targeting for results button */
#results-page .cta-section {
    text-align: center;
    margin-top: 20px;
}

.results-container .cta-section {
    text-align: center;
    margin-top: 20px;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .hero-section {
        padding: 40px 25px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .value-proposition {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .quiz-container,
    .results-container {
        padding: 25px;
    }

    .question-text {
        font-size: 1.25rem;
    }

    .coordinates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .results-title {
        font-size: 2rem;
    }

    .likert-buttons {
        gap: 8px;
    }

    .likert-button {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .scale-value {
        top: -35px;
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .option-button {
        padding: 12px;
        font-size: 0.9rem;
    }

    .likert-button {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* ========================================
   Animations and Transitions
   ======================================== */

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.question-text.typing-complete::after {
    content: '_';
    animation: blink 1s infinite;
    font-weight: normal;
    margin-left: 2px;
}

/* Custom scrollbar for all containers */
.hero-section::-webkit-scrollbar,
.quiz-container::-webkit-scrollbar,
.results-container::-webkit-scrollbar {
    width: 8px;
}

.hero-section::-webkit-scrollbar-track,
.quiz-container::-webkit-scrollbar-track,
.results-container::-webkit-scrollbar-track {
    background: var(--background-secondary);
    border-radius: 4px;
}

.hero-section::-webkit-scrollbar-thumb,
.quiz-container::-webkit-scrollbar-thumb,
.results-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.hero-section::-webkit-scrollbar-thumb:hover,
.quiz-container::-webkit-scrollbar-thumb:hover,
.results-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   Transformation Focus Styling
   ======================================== */

.transformation-focus {
    display: grid;
    gap: 20px;
}

.transformation-card {
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
}

.transformation-card.primary {
    background: linear-gradient(135deg, #f8faff 0%, #f1f5f9 100%);
}

.transformation-card.secondary {
    border-left-color: var(--primary-color);
}

.transformation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.transformation-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 0;
}

.gap-indicator {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.transformation-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.action-strategies h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.action-strategies ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.action-strategies li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.action-strategies li:last-child {
    border-bottom: none;
}

.action-strategies li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   3D Visualization Styles
   ======================================== */

.visualization-section {
    margin: 30px 0;
}

.visualization-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.fms-visualization-container {
    width: 100%;
    height: 500px;
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 20px 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.visualization-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    padding: 15px;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.legend-color.current-color {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.legend-color.desired-color {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.legend-color.arrow-color {
    background: #2563eb;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
}

.visualization-controls {
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 10px;
}

/* Responsive adjustments for visualization */
@media (max-width: 768px) {
    .fms-visualization-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .fms-visualization-container {
        height: 350px;
    }
    
    .visualization-description {
        font-size: 0.9rem;
    }
}

/* ========================================
   MODERN RESULTS PAGE DESIGN
   ======================================== */

/* Results Page Layout */
.results-container {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Header Section */
.results-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 2rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    color: white;
}

.results-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    flex-direction: column;
    text-align: center;
}

.quality-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
}

.quality-badge:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.quality-percentage {
    font-size: 1.25rem;
    font-weight: 700;
}

.questions-count {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    display: none; /* Hidden for now */
}

.quality-badge.excellent .quality-percentage { 
    color: #10b981; /* Green */
}

.quality-badge.good .quality-percentage { 
    color: #f59e0b; /* Orange */
}

.quality-badge.needs-improvement .quality-percentage { 
    color: #ef4444; /* Red */
}

/* Section Cards */
.results-section {
    background: var(--background);
    margin: 0;
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.results-section:last-child {
    border-bottom: none;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Card Styling */
.card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.card-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Archetype Section */
.archetype-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 2px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--border-radius);
}

.archetype-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.archetype-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Numeric Dashboard */
.metric-card {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.metric-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-context {
    font-size: 0.875rem;
    color: var(--text-light);
}

.metric-context {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Coaching Section */
.coaching-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.coaching-percentage {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.coaching-interpretation {
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 1.5rem;
}

.coaching-recommendations {
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.recommendations-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Transformation Focus */
.transformation-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.transformation-primary {
    border-left: 4px solid var(--primary-color);
}

.transformation-secondary {
    border-left: 4px solid var(--primary-color);
}

.strategy-list {
    line-height: 1.7;
}

.strategy-item {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.methodology-content {
    line-height: 1.6;
}

.methodology-section {
    margin-bottom: 2rem;
}

.methodology-section:last-child {
    margin-bottom: 0;
}

/* PDF Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .results-container {
        box-shadow: none !important;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .results-header {
        background: #2563eb !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        page-break-after: avoid;
    }
    
    .results-section {
        page-break-inside: avoid;
        margin-bottom: 2rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .card {
        break-inside: avoid;
        margin-bottom: 1rem;
        border: 1px solid #d1d5db;
    }
    
    .fms-visualization-container {
        display: none; /* Hide 3D viz in print */
    }
    
    #fms-radar-chart {
        max-width: 300px;
        height: auto;
    }
    
    .section-title {
        break-after: avoid;
        font-size: 18pt;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 11pt;
        color: #666;
    }
    
    .archetype-title {
        font-size: 16pt;
    }
    
    .metric-value {
        font-size: 20pt;
    }
    
    .coaching-percentage {
        font-size: 24pt;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .results-header {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
    
    .results-title {
        font-size: 1.875rem;
    }
    
    .results-section {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .card-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .coaching-percentage {
        font-size: 2.5rem;
    }
    
    .radar-legend {
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .results-header {
        padding: 1.5rem 1rem;
    }
    
    .results-title {
        font-size: 1.5rem;
    }
    
    .results-section {
        padding: 1.5rem 1rem;
    }
    
    .quality-badge {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .card-grid-3 {
        grid-template-columns: 1fr;
    }
}