/* --- Basic Setup & Typography --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background-color: #ecf0f1; color: #2c3e50; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; }
h1 { font-size: 2.5rem; color: #2c3e50; margin-bottom: 1rem; text-align: center; }
h2 { font-size: 2rem; color: #34495e; margin-bottom: 1.5rem; }
p { line-height: 1.6; margin-bottom: 1rem; font-size: 1.1rem; }

/* --- Layout Containers --- */
.app-container { background-color: #ffffff; padding: 2rem 3rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); max-width: 800px; width: 100%; overflow: hidden; }
.hidden { display: none; }
#welcome-screen, .success-content { text-align: center; }

/* --- Buttons --- */
button { font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer; transition: all 0.3s; }
#start-btn, .answer-btn, #advice-form button { display: block; width: 100%; padding: 15px; font-size: 1.2rem; border-radius: 8px; margin-top: 1rem; }
#start-btn, #advice-form button { background-color: #3498db; color: white; border: none; }
#start-btn:hover, #advice-form button:hover { background-color: #2980b9; transform: translateY(-2px); }
.answer-btn { background-color: #ffffff; color: #3498db; border: 2px solid #3498db; text-align: left; }
.answer-btn:hover { background-color: #ecf0f1; }

/* --- Quiz Screen Elements --- */
#progress-bar-container { width: 100%; background-color: #bdc3c7; border-radius: 10px; height: 10px; margin-bottom: 1rem; }
#progress-bar { width: 0%; height: 100%; background-color: #3498db; border-radius: 10px; transition: width 0.4s ease-in-out; }
#question-counter { text-align: center; font-weight: 600; color: #7f8c8d; margin-bottom: 1.5rem; }
#quiz-question-container { position: relative; min-height: 300px; }
.question-slide { width: 100%; animation: slide-in 0.4s forwards; }
.question-slide.slide-out { animation: slide-out 0.4s forwards; }
@keyframes slide-in { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slide-out { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }

/* --- New Results & Email Capture Styling --- */
.results-header { text-align: center; }
.dominant-trait-card { background-color: #f9f9f9; border: 1px solid #ecf0f1; border-radius: 10px; padding: 2rem; text-align: center; margin: 2rem 0; }
.dominant-trait-card .icon { font-size: 4rem; margin-bottom: 1rem; }
.dominant-trait-card .title { font-size: 2rem; font-weight: 700; color: #2c3e50; }
.dominant-trait-card .description { font-size: 1.2rem; color: #7f8c8d; max-width: 500px; margin: 0 auto; }
.email-capture-section { text-align: center; border-top: 1px solid #ecf0f1; padding-top: 2rem; }
#user-email { width: 100%; padding: 15px; font-size: 1.1rem; border: 2px solid #bdc3c7; border-radius: 8px; font-family: 'Poppins', sans-serif; }
#user-email:focus { border-color: #3498db; outline: none; }

/* --- Success Screen --- */
.success-content .icon { font-size: 5rem; }