.dg-app {
  --dg-purple: #2E1A46;
  --dg-magenta: #CC27B0;
  --dg-teal: #00BCB5;
  --dg-dark: #1a0a30;
  --dg-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  font-family: var(--dg-font);
  color: #fff;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.dg-app *,
.dg-app *::before,
.dg-app *::after {
  box-sizing: border-box;
}

.dg-screen {
  min-height: 70vh;
}

.dg-header {
  background: var(--dg-purple);
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: 0;
  z-index: 10;
}

.dg-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dg-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--dg-magenta), var(--dg-purple));
  border: 2px solid rgba(204, 39, 176, 0.53);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.dg-logo__title {
  color: white;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2.5px;
  line-height: 1;
}

.dg-logo__sub {
  color: var(--dg-teal);
  font-size: 8.5px;
  letter-spacing: 1.5px;
  font-weight: 500;
  text-transform: uppercase;
}

.dg-step {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.dg-welcome-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.dg-accent-line {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--dg-magenta), var(--dg-teal));
  border-radius: 2px;
  margin-bottom: 32px;
}

.dg-eyebrow {
  color: var(--dg-teal);
  font-size: 11px;
  letter-spacing: 3.5px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.dg-hero-title {
  color: white;
  font-size: clamp(28px, 5.5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 6px;
  letter-spacing: -1.5px;
}

.dg-hero-title--accent {
  color: var(--dg-magenta);
  margin-bottom: 28px;
}

.dg-lead {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.85;
  margin: 0 0 12px;
}

.dg-meta {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  margin: 0 0 44px;
}

.dg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.dg-chip {
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
}

.dg-btn {
  padding: 17px 56px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--dg-magenta), #8b1870);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(204, 39, 176, 0.4);
  font-family: inherit;
}

.dg-btn:hover {
  filter: brightness(1.05);
}

.dg-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dg-btn--block {
  width: 100%;
  display: block;
  margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(204, 39, 176, 0.35);
}

.dg-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  padding: 10px 24px;
  text-transform: none;
  letter-spacing: 0;
}

.dg-disclaimer {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  margin: 18px 0 0;
  max-width: 360px;
  line-height: 1.7;
  text-align: center;
}

.dg-panel {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.dg-panel--questions {
  max-width: 640px;
  padding-top: 28px;
}

.dg-panel--results {
  max-width: 700px;
}

.dg-panel-title {
  color: white;
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 6px;
}

.dg-panel-lead {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.dg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .dg-grid-2 {
    grid-template-columns: 1fr;
  }
}

.dg-field {
  margin-bottom: 18px;
}

.dg-field label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.dg-field input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 9px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

.dg-field input:focus {
  border-color: rgba(0, 188, 181, 0.55);
}

.dg-field input.is-error {
  border-color: #EF4444;
}

.dg-field-error {
  color: #F87171;
  font-size: 12px;
  margin: 5px 0 0;
  min-height: 0;
}

.dg-interest-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dg-interest-opt {
  padding: 13px 16px;
  border-radius: 9px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s;
}

.dg-interest-opt.is-selected {
  border-color: var(--dg-teal);
  background: rgba(0, 188, 181, 0.09);
  color: white;
}

.dg-interest-opt__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dg-interest-opt.is-selected .dg-interest-opt__radio {
  border-color: var(--dg-teal);
  background: var(--dg-teal);
}

.dg-interest-opt__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.dg-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.dg-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--dg-magenta), var(--dg-teal));
  transition: width 0.5s ease;
}

.dg-dim-header {
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dg-dim-header__num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
}

.dg-dim-header__label {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 3px;
}

.dg-dim-header__name {
  color: white;
  font-size: 17px;
  font-weight: 800;
  margin: 0;
}

.dg-dim-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.dg-dim-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
}

.dg-dim-dot.is-current {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.dg-scale-legend {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 20px;
}

.dg-scale-legend__item {
  text-align: center;
  flex: 1;
}

.dg-scale-legend__l {
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  margin-bottom: 2px;
}

.dg-scale-legend__v {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 700;
}

.dg-questions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.dg-q {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 18px;
}

.dg-q.is-error {
  background: rgba(239, 68, 68, 0.07);
  border-color: rgba(239, 68, 68, 0.35);
}

.dg-q__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.dg-q__num {
  font-weight: 800;
  margin-right: 6px;
}

.dg-q__scale {
  display: flex;
  gap: 6px;
}

.dg-q__btn {
  flex: 1;
  padding: 11px 2px;
  border-radius: 9px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.13s;
}

.dg-q__btn.is-selected {
  color: white;
  font-weight: 800;
}

.dg-q__err {
  color: #F87171;
  font-size: 12px;
  margin: 8px 0 0;
}

.dg-mensaje {
  min-height: 1.2rem;
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
}

.dg-mensaje.is-error {
  color: #F87171;
}

.dg-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  margin-bottom: 20px;
}

.dg-results-head {
  text-align: center;
  margin-bottom: 36px;
}

.dg-results-head .dg-accent-line {
  margin: 0 auto 20px;
}

.dg-score-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dg-score-circle__n {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.dg-score-circle__u {
  font-size: 12px;
  font-weight: 600;
}

.dg-level-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  padding: 5px 18px;
  margin-bottom: 12px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dg-level-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.dg-bar-row {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 11px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

.dg-bar-row__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  gap: 8px;
  flex-wrap: wrap;
}

.dg-bar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}

.dg-bar-fill {
  height: 100%;
  border-radius: 4px;
}

.dg-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 20px;
}

.dg-opp {
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 14px;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.dg-str {
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 32px;
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.dg-svc {
  background: linear-gradient(145deg, rgba(204, 39, 176, 0.2), rgba(46, 26, 70, 0.9));
  border: 2px solid rgba(204, 39, 176, 0.33);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 24px;
}

.dg-svc h3 {
  color: white;
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.dg-chart-wrap {
  position: relative;
  height: 240px;
  margin-bottom: 14px;
}
