* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #004c9d 0%, #0066cc 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.screen {
    display: none;
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block;
}

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

/* Welcome Screen */
.welcome-content h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.welcome-content > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.chloe-link {
    color: #ff8200;
    text-decoration: none;
    transition: color 0.3s ease;
}

.chloe-link:hover {
    color: #ff9933;
    text-decoration: underline;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.need-card {
    background: linear-gradient(135deg, #ff8200 0%, #ffb366 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.need-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.need-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.need-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

.assessment-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #ff8200;
}

.assessment-info p {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #4a5568;
}

.assessment-info ul {
    list-style: none;
    padding-left: 0;
}

.assessment-info li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.assessment-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff8200;
    font-weight: bold;
}

/* Quiz Screen */
.progress-container {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8200, #ff9933);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.9rem;
    color: #004c9d;
    font-weight: 500;
}

.question-container {
    max-width: 700px;
    margin: 0 auto;
}

.question-number {
    text-align: center;
    font-size: 0.9rem;
    color: #004c9d;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-text {
    font-size: 1.5rem;
    color: #2d3748;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.answer-option:hover {
    border-color: #ff8200;
    background: #f7fafc;
    transform: translateX(5px);
}

.answer-option input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
    accent-color: #ff8200;
}

.answer-option input[type="radio"]:checked + .option-text {
    color: #ff8200;
    font-weight: 600;
}

.answer-option:has(input[type="radio"]:checked) {
    border-color: #ff8200;
    background: #f0f4ff;
    box-shadow: 0 4px 12px rgba(255, 130, 0, 0.15);
}

.option-text {
    flex: 1;
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
}

.option-points {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8200 0%, #ff9933 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 130, 0, 0.3);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover:not(:disabled) {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #ff8200 0%, #ff9933 100%);
    color: white;
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 130, 0, 0.3);
}

/* Results Screen */
.results-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.results-header h2 {
    color: #2d3748;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.results-header p {
    color: #666;
    font-size: 1.1rem;
}

.results-container {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.result-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
}

.result-score {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: white;
    min-width: 80px;
    text-align: center;
}

.result-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.result-bar-container {
    background: #f1f5f9;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.result-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease;
}

.result-percentage {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .screen {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .needs-grid {
        grid-template-columns: 1fr;
    }
    
    .question-text {
        font-size: 1.3rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .results-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .answer-option {
        padding: 1rem;
    }
    
    .option-text {
        font-size: 1rem;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .result-score {
        align-self: flex-end;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .screen {
        box-shadow: none;
        border-radius: 0;
    }
    
    .results-actions {
        display: none;
    }
    
    .result-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}