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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #764ba2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

/* Main Container */
.container {
    flex: 1;
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 3rem;
    text-align: center;
    margin: 2rem auto;
    align-self: center;
}

h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    line-height: 1.4;
}

.button-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

button {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-home {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-workplace {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-workplace:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
}

button:active {
    transform: translateY(0);
}

.description {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.9rem;
}

/* Quiz Styles */
#quiz-container,
#results {
    display: none;
    text-align: left;
}

.intro-text {
    margin-bottom: 2rem;
    color: #666;
}

#quiz-container h2,
#results h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.question {
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: #f5f7ff;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.question h3 {
    margin-bottom: 0.5rem;
    color: #667eea;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question p {
    margin-bottom: 0.75rem;
    color: #333;
}

.answers {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.answer-btn {
    flex: 1;
    min-width: 80px;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
}

.answer-btn:hover:not(:disabled) {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.answer-btn:disabled {
    cursor: not-allowed;
}

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

.answer-btn.answer-selected {
    background: #667eea;
    color: white;
    opacity: 1;
}

.quiz-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.btn-back {
    background: #6c757d;
    color: white;
    flex: none;
    min-width: 120px;
}

.btn-back:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#results {
    background: #f0faf0;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 5px solid #4caf50;
}

#results h2 {
    color: #2e7d32;
}

.recommendation {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recommendation h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.recommendation p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 2rem;
        margin: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    button {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
}
