/* ============================================================
   DIAGNÓSTICO PAGE
   ============================================================ */
/* Restore default cursor on this page */
body, .btn, a, [data-cursor], button {
  cursor: auto !important;
}

.diag-app {
  width: 100%;
  margin: 0 auto;
}
.diag-card {
  background: rgba(14, 7, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
  will-change: transform, opacity;
}

/* Progress */
.diag-progress-wrap {
  margin-bottom: 40px;
}
.diag-progress-text {
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.diag-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.diag-progress-fill {
  height: 100%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  border-radius: 4px;
  transition: width 0.4s var(--ease);
}

/* Question */
.diag-q {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 16px 0 40px;
}

/* Options */
.diag-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.diag-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.diag-option:hover {
  background: rgba(255, 31, 176, 0.05);
  border-color: rgba(255, 31, 176, 0.3);
  transform: translateX(4px);
}
.diag-option.active {
  background: rgba(255, 31, 176, 0.1);
  border-color: var(--magenta);
}
.diag-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.diag-radio.active {
  border-color: var(--magenta);
}
.diag-radio.active::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
}
.diag-option span {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* Actions */
.diag-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
}

/* Loading Spinner */
.diag-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(255, 31, 176, 0.2);
  border-top-color: var(--magenta);
  border-radius: 50%;
  margin: 0 auto 32px;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(255, 31, 176, 0.4);
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Results */
.diag-result-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}
.report-section {
  margin-bottom: 32px;
}
.rs-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}
.rs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rs-list li {
  font-size: 15px;
  color: var(--ink-dim);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.opp-list li .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
  margin-top: 6px;
  flex-shrink: 0;
}
.economia-box {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 24px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* Form */
.diag-form .input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.diag-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.diag-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 12px;
  font-family: 'Almarai', sans-serif;
  font-size: 16px;
  color: #fff;
  transition: all 0.3s;
}
.diag-form input:focus {
  outline: none;
  border-color: var(--magenta);
  background: rgba(255, 31, 176, 0.05);
}

@media (max-width: 880px) {
  .diag-result-grid {
    grid-template-columns: 1fr;
  }
  .diag-card {
    padding: 32px 24px;
  }
  .diag-actions {
    flex-direction: column-reverse;
    gap: 16px;
  }
  .diag-actions button {
    width: 100%;
    justify-content: center;
  }
}
