/* ═══════════════════════════════════════════ */
/* SCREENS - LANDING, QUIZ, RESULT            */
/* ═══════════════════════════════════════════ */

/* ───── SCREEN LAYOUT ───── */
.screen {
  display: none;
  min-height: 100vh;
  flex-direction: column;
}

.screen.active {
  display: flex;
}

/* ═══════════════════════════════════════════ */
/* LANDING SCREEN                             */
/* ═══════════════════════════════════════════ */

#screen-landing {
  background: var(--navy);
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

#screen-landing::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 138, 110, 0.18) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  pointer-events: none;
}

#screen-landing::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 79, 160, 0.25) 0%, transparent 70%);
  bottom: -80px;
  left: -100px;
  pointer-events: none;
}

.landing-inner {
  max-width: 480px;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.logo-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-xl);
  background: var(--white)  ;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-eye {
  width: 36px;
  height: 36px;
}

.landing-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-xl);
}

.landing-title {
  font-size: clamp(28px, 7vw, 48px);
  font-weight: var(--font-weight-extrabold);
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
}

.landing-title em {
  font-style: normal;
  color: var(--teal-accent);
}

.landing-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-3xl);
}

.landing-note {
  margin-top: var(--spacing-lg);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.landing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-bottom: var(--spacing-2xl);
}

.chip {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════ */
/* QUIZ SCREEN                                */
/* ═══════════════════════════════════════════ */

#screen-quiz {
  background: var(--bg);
  flex-direction: column;
}

.quiz-header {
  background: var(--navy);
  padding: var(--spacing-lg) var(--spacing-lg) 14px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  position: sticky;
  top: 0;
  z-index: 10;
  position: relative;
}

.quiz-logo-small {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-logo-small svg {
  width: 18px;
  height: 18px;
}

.quiz-header-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  flex: 1;
}

.quiz-progress-text {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

.quiz-progress-bar {
  height: 3px;
  background: var(--gray-200);
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-accent));
  transition: width 0.4s ease;
}

.quiz-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-xl) var(--spacing-lg) 120px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.quiz-theme-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--spacing-md);
}

.quiz-theme-tag span {
  color: inherit;
}

.logo-mark img,
.quiz-logo-small img,
.result-logo-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.quiz-question-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: var(--font-weight-bold);
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

.quiz-multi-hint {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: var(--spacing-xl);
  background: var(--gray-100);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  display: none;
}

.quiz-multi-hint.show {
  display: block;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--spacing-lg);
}

/* ═══════════════════════════════════════════ */
/* RESULT SCREEN                              */
/* ═══════════════════════════════════════════ */

#screen-result {
  background: var(--bg);
  flex-direction: column;
}

.result-header {
  background: var(--navy);
  padding: var(--spacing-2xl) var(--spacing-lg) 28px;
  text-align: center;
}

.result-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--spacing-lg);
}

.result-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.result-logo-mark svg {
  width: 20px;
  height: 20px;
}

.result-logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.8);
}

.result-title {
  font-size: 32px;
  font-weight: var(--font-weight-extrabold);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-align: center;
}

.result-subtitle {
  font-size: 16px;
  color:  var(--navy);
  text-align: center;
}

.result-disclaimer {
  display: inline-block;
  font-size: 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  text-align: center;
}

/* ───── RESULTADO PAGE LAYOUT ───── */
.result-header {
  background: var(--navy);
  color: white;
  padding: 40px 20px;
}

.result-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.result-logo {
  margin-bottom: 20px;
}

.result-title-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 15px ;
}

.result-title-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.result-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

@media (max-width: 768px) {
  .result-container {
    grid-template-columns: 1fr;
  }
}

.result-section {
  display: flex;
  flex-direction: column;
}

.result-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: left;
}

.result-footer {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.result-meta {
  font-size: 13px;
  color: var(--gray-500);
}

.result-body {
  padding: var(--spacing-xl) var(--spacing-md) 48px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.result-section-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--spacing-md);
}

.result-section-label::before,
.result-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.result-divider {
  height: 1px;
  background: var(--gray-200);
  margin: var(--spacing-md) 0 var(--spacing-2xl);
}

.result-meta {
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
}

/* ═══════════════════════════════════════════ */
/* RESPONSIVE ───────                          */
/* ═══════════════════════════════════════════ */

@media (min-width: 600px) {
  .quiz-body {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-2xl);
  }

  .result-body {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-2xl);
  }
}
