* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, sans-serif; background-color: #f8fafc; color: #0f172a; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px 10px; line-height: 1.6; }
#app-container { background: #ffffff; max-width: 700px; width: 100%; padding: 50px; border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); position: relative; overflow: hidden; }

/* PROGRESS BAR */
#progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 6px; background: #e2e8f0; z-index: 1000; }
#progress-bar { height: 100%; width: 0%; background: #2563eb; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

/* LANGUAGE SWITCHER */
.lang-switcher { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; background: white; padding: 6px; border-radius: 99px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); z-index: 100; }
.lang-btn { background: transparent; border: none; font-size: 0.85rem; font-weight: 600; color: #64748b; padding: 6px 12px; border-radius: 99px; cursor: pointer; transition: all 0.2s; }
.lang-btn.active { background: #111827; color: white; }
.lang-btn:hover:not(.active) { background: #f1f5f9; }

/* GENERAL */
.text-center { text-align: center; }
.intro-plea { font-size: 1.1rem; color: #334155; margin-bottom: 30px; }
.icon-wrapper { font-size: 3.5rem; margin-bottom: 16px; }
.mt-4 { margin-top: 24px; }

/* STEPS */
.step { display: none !important; }
.step.active { display: block !important; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* SLIDES */
.slide { display: none !important; animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.slide.active-slide { display: block !important; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.slide h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 30px; color: #0f172a; line-height: 1.3; }
.slide-subtitle { color: #64748b; font-size: 0.9rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* GDPR */
.gdpr-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 30px; text-align: left; }
.gdpr-box h3 { font-size: 1rem; margin-bottom: 10px; }
.gdpr-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.gdpr-label input { margin-top: 5px; width: 18px; height: 18px; }

/* STIMULUS CARD */
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap; }
.author-avatar { width: 45px; height: 45px; background: #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #64748b; flex-shrink: 0; }
.author-info strong { display: block; font-size: 1rem; }
.author-info span { font-size: 0.85rem; color: #94a3b8; }

/* BADGES */
.badge { margin-left: auto; padding: 6px 14px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.ai-badge { background: #fdf2f8; color: #db2777; }
.human-badge { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* STIMULUS TIMER */
.timer-box { display: flex; align-items: center; gap: 6px; margin-top: 12px; margin-bottom: 8px; font-size: 0.9rem; color: #64748b; font-weight: 500; padding: 10px 16px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; }
.timer-box #timer-count { color: #2563eb; font-weight: 700; }

/* ARTICLE */
.article-box { font-size: 1.15rem; color: #334155; margin-bottom: 20px; line-height: 1.8; }

/* LIKERT */
.likert-container { max-width: 400px; }
.likert-scale { display: flex; justify-content: space-between; gap: 8px; position: relative; }
.likert-labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.8rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }
.likert-labels span { max-width: 45%; line-height: 1.3; }
.likert-labels .label-right { text-align: right; }
.likert-scale input[type="radio"], .choice-chips input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; z-index: -1; }
.likert-scale span { display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 50%; font-weight: 700; font-size: 1.2rem; color: #64748b; cursor: pointer; transition: all 0.2s; }
.likert-scale label:hover span { border-color: #3b82f6; color: #3b82f6; background: #eff6ff; }
.likert-scale input[type="radio"]:checked + span { background: #2563eb; border-color: #2563eb; color: #ffffff; transform: scale(1.1); box-shadow: 0 10px 20px rgba(37,99,235,0.2); }

/* CHOICE CHIPS */
.choice-chips { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.choice-chips span { padding: 14px 22px; background: #f8fafc; border: 2px solid #e2e8f0; font-size: 1rem; border-radius: 12px; font-weight: 600; color: #475569; cursor: pointer; transition: all 0.2s; display: block; width: 100%; text-align: center; }
.choice-chips label { width: 100%; }
.choice-chips label:hover span { border-color: #94a3b8; }
.choice-chips input[type="radio"]:checked + span { background: #0f172a; border-color: #0f172a; color: #ffffff; box-shadow: 0 10px 20px rgba(15,23,42,0.15); }

/* INPUTS */
.text-input, .select-input { width: 100%; padding: 18px 20px; font-size: 1.1rem; font-family: 'Inter', sans-serif; border: 2px solid #e2e8f0; border-radius: 12px; outline: none; transition: border-color 0.2s; background: #f8fafc; }
.text-input:focus, .select-input:focus { border-color: #2563eb; background: #ffffff; }

/* NAVIGATION */
.slide-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; border-top: 1px solid #e2e8f0; padding-top: 30px; }
.nav-spacer { flex-grow: 1; }

/* BUTTONS */
.btn-primary, .btn-submit { background: #0f172a; color: white; border: none; padding: 16px 32px; font-size: 1.1rem; border-radius: 12px; cursor: pointer; font-weight: 600; transition: all 0.2s; }
.btn-secondary { background: #f1f5f9; color: #475569; border: none; padding: 16px 32px; font-size: 1.1rem; border-radius: 12px; cursor: pointer; font-weight: 600; transition: all 0.2s; }
.btn-primary:hover:not(:disabled), .btn-submit:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-secondary:hover { background: #e2e8f0; }
.btn-primary:disabled { background: #cbd5e1; color: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }

/* THANKS */
.thanks-text { font-size: 1.05rem; color: #334155; line-height: 1.8; margin-top: 16px; }

/* UTILS */
.hidden { display: none !important; }
.error-shake { animation: shake 0.4s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.success-icon { font-size: 5rem; margin-bottom: 20px; animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* MOBILE */
@media (max-width: 600px) {
    #app-container { padding: 30px 20px; border-radius: 16px; }
    .likert-scale span { width: 45px; height: 45px; font-size: 1rem; }
    .slide h2 { font-size: 1.25rem; }
    .btn-primary, .btn-secondary { padding: 14px 20px; font-size: 1rem; width: 100%; margin-bottom: 10px; }
    .slide-navigation { flex-direction: column-reverse; gap: 10px; }
    .nav-spacer { display: none; }
    .badge { margin-left: 0; margin-top: 8px; }
}
