:root {
    --primary: #d9534f;
    --primary-dark: #b53835;
    --primary-light: #fef0ef;
    --secondary: #90a69a;      
    --bg-color: #f7f9fa;
    --surface: rgba(255, 255, 255, 0.95); 
    --surface-solid: #ffffff;
    --text-dark: #1f1d1c;
    --text-light: #5c5856;
    --border-color: rgba(200, 200, 200, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    position: relative;
    transition: background-color 1s ease, filter 1s ease;
}

/* === FUTURE PACING TRANSITIONS === */
body.future-light-1 { background-color: #fff9e6; }
body.future-light-2 { background-color: #ffecd2; }
body.future-light-3 { background-color: #ffdeaa; } /* Golden Hour Brightness */ 
body.future-light-4 { background-color: #fbd692; } 

.app-background {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden; background: transparent;
}
body.future-light-3 .blob-1 { background: #ffe4ba !important; filter: blur(60px); }
body.future-light-3 .blob-2 { background: #fffcf5 !important; filter: blur(50px); }

.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.8;
    animation: drift 15s infinite alternate cubic-bezier(0.4, 0, 0.2, 1); transition: all 1s ease;
}
.blob-1 { width: 70vw; height: 70vw; background: #fae1df; top: -20vh; left: -10vw; }
.blob-2 { width: 60vw; height: 60vw; background: #e6edeb; bottom: -20vh; right: -20vw; animation-delay: -3s; }

.particles {
    position: absolute; width: 100%; height: 100%;
    background-image: radial-gradient(var(--primary-light) 2px, transparent 2px), radial-gradient(var(--primary-light) 2px, transparent 2px);
    background-size: 60px 60px; background-position: 0 0, 30px 30px;
    animation: rainParticles 10s linear infinite; opacity: 0.3; transition: all 1s ease;
}
@keyframes rainParticles { 0% { background-position: 0 100%, 30px 130px; } 100% { background-position: 0 0, 30px 30px; } }
@keyframes drift { 100% { transform: translate(10vw, 10vh) scale(1.15); } }

.shake-dramatic { animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.app-container {
    width: 100%; max-width: 480px; min-height: 100vh; display: flex; flex-direction: column;
    background: var(--surface); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 10px 50px rgba(0,0,0,0.06); position: relative; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color);
}
@media (min-width: 481px) {
    .app-container { min-height: 95vh; height: 95vh; margin: 2.5vh 0; border-radius: 30px; border: 1px solid var(--border-color); }
}

.app-header {
    display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
    background: rgba(255,255,255,0.85); border-bottom: 2px solid var(--border-color); z-index: 10;
}
.level-indicator { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; color: var(--secondary); letter-spacing: 1px; }
.progress-wrapper { flex: 1; height: 10px; background: #e0e0e0; border-radius: 5px; margin: 0 15px; overflow: hidden; position: relative;}
.progress-bar { 
    height: 100%; background: linear-gradient(90deg, #ff7e5f, var(--primary)); 
    width: 0%; border-radius: 5px; box-shadow: 0 0 15px rgba(217, 83, 79, 0.7); position: relative;
}
.progress-bar::after { content:''; position:absolute; top:0; left:0; bottom:0; right:0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); animation: shine 2s linear infinite; }
@keyframes shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.xp-points { font-size: 0.85rem; font-weight: 800; color: var(--primary); }
.xp-pop { animation: popXP 0.5s ease-out; color: #ff5722 !important; text-shadow: 0 0 10px rgba(255, 87, 34, 0.5); }
@keyframes popXP { 0% { transform: scale(1); } 50% { transform: scale(1.6); } 100% { transform: scale(1); } }

#stage-container { flex: 1; padding: 40px 24px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; overflow-x: hidden; }

h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--text-dark); margin-bottom: 20px; line-height: 1.25; }
.title-giant { font-size: 2.3rem; line-height: 1.1; }
p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 22px; }

/* Parallax e Imagens Fotorealistas */
.parallax-img { transition: transform 0.1s; }
.stage-image { width: 100%; max-height: 290px; object-fit: cover; border-radius: 20px; margin-bottom: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border: 2px solid #fff; }

.btn-main {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; padding: 22px 24px; border-radius: 30px; font-weight: 700; font-size: 1.15rem; width: 100%; cursor: pointer; box-shadow: 0 10px 30px rgba(217, 83, 79, 0.4); display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; font-family: inherit; position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(217, 83, 79, 0.6); }
.btn-main:active { transform: translateY(2px) scale(0.98); }
.btn-pulse { animation: pulseWarning 2s infinite; }
@keyframes pulseWarning { 0% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.6); } 70% { box-shadow: 0 0 0 20px rgba(217, 83, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); } }

/* Single e Future Pacing Buttons */
.option-btn, .future-goal-btn {
    background-color: var(--surface-solid); border: 2px solid var(--border-color); color: var(--text-dark); padding: 20px; border-radius: 18px; margin-bottom: 15px; font-size: 1rem; font-weight: 600; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; width: 100%; font-family: inherit; box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.option-btn i, .future-goal-btn i { font-size: 1.5rem; color: #ccc; }
.option-btn:hover, .future-goal-btn:hover { border-color: var(--primary-light); transform: translateX(5px); }
.option-btn.selected, .future-goal-btn.selected { 
    border-color: #ff9800; background: linear-gradient(135deg, #ff9800, #f57c00); color: white; transform: scale(1.02); box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
}
.option-btn.selected.st-opt { border-color: var(--primary); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 10px 25px rgba(217, 83, 79, 0.3); } /* Override para quiz normal usar Vermelho */
.option-btn.selected i, .future-goal-btn.selected i { color: white; }

.emoji-grid { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px;}
.emoji-btn { flex: 1; padding: 20px 5px; border: 2px solid var(--border-color); border-radius: 20px; background: var(--surface-solid); display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; transition: all 0.3s; }
.emoji-icon { font-size: 2.8rem; filter: grayscale(80%); transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.emoji-label { font-size: 0.85rem; font-weight: 700; color: var(--text-light); }
.emoji-btn:hover { border-color: var(--primary-light); transform: translateY(-5px); }
.emoji-btn.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 10px 20px rgba(217,83,79,0.15); transform: scale(1.05); }
.emoji-btn.selected .emoji-icon { filter: grayscale(0%); transform: scale(1.2); }
.emoji-btn.selected .emoji-label { color: var(--primary-dark); }

.checkbox-list { display: flex; flex-direction: column; gap: 15px; margin-top: 10px; }
.checkbox-container { display: flex; align-items: center; background: var(--surface-solid); border: 2px solid var(--border-color); border-radius: 18px; padding: 18px 20px 18px 60px; cursor: pointer; position: relative; font-size: 1rem; font-weight: 600; transition: all 0.25s; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: absolute; top: 50%; left: 18px; transform: translateY(-50%); height: 26px; width: 26px; background-color: #f0f0f0; border-radius: 6px; transition: all 0.2s; border: 1px solid #ddd; }
.checkbox-container:hover .checkmark { background-color: #e0e0e0; }
.checkbox-container input:checked ~ .checkmark { background-color: var(--primary); border-color: var(--primary); box-shadow: 0 0 10px rgba(217,83,79,0.4); }
.checkmark:after { content: ""; position: absolute; display: none; }
.checkbox-container input:checked ~ .checkmark:after { display: block; left: 9px; top: 5px; width: 6px; height: 12px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.checkbox-container:has(input:checked) { border-color: var(--primary); background: var(--primary-light); transform: translateX(5px); }

.impact-card { 
    background: #111; color: #fff; border-left: 6px solid var(--primary); border-radius: 20px; 
    padding: 40px 30px; margin-top: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); position: relative; overflow: hidden;
}
.impact-card::before { content:''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(217,83,79,0.4) 0%, transparent 70%); border-radius: 50%; }
.impact-card h2 { color: #fff; font-size: 1.8rem; }
.impact-card p { color: #ccc; }

.feedback-icon { font-size: 5rem; color: var(--primary); margin-bottom: 25px; text-align: center; display: block; text-shadow: 0 0 20px rgba(217,83,79,0.3); }

/* === DYNAMIC CSS CHART SYSTEM === */
.chart-container {
    display: flex; justify-content: space-around; align-items: flex-end; width: 100%; height: 200px;
    background: #fbfbfc; border-radius: 12px; border: 1px dashed #ccc; padding: 20px;
    position: relative; box-shadow: inset 0 0 10px rgba(0,0,0,0.02); margin-top: 10px;
}
.chart-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; width: 45%; }
.chart-col span { font-size: 0.85rem; font-weight: 700; color: #555; margin-top: 10px; text-align: center;}
.bar { width: 100%; border-radius: 6px 6px 0 0; background: #ddd; transform-origin: bottom; box-shadow: 0 0 15px rgba(0,0,0,0.1); }
.bar-diet { background: linear-gradient(180deg, #90a69a, #bed3c7); }
.bar-lipedema { background: linear-gradient(180deg, #d9534f, #ff7e5f); }

/* Final Pitch */
.pitch-checklist { list-style: none; padding: 0; margin: 30px 0; text-align: left; }
.pitch-checklist li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 18px; font-weight: 600; font-size: 1.05rem; background: #fff; padding: 22px; border-radius: 16px; border: 2px solid var(--primary-light); box-shadow: 0 10px 25px rgba(0,0,0,0.03); color: var(--text-dark); transition: transform 0.2s; }
.pitch-checklist li:hover { transform: translateY(-3px); border-color: var(--primary); }
.pitch-checklist i { color: var(--primary); font-size: 1.8rem; margin-top: -2px; }
