:root {
  --bg: #0a0d14;
  --card: #111827;
  --border: #1e2a3a;
  --accent: #c8a96e;
  --accentLight: #e8c98e;
  --text: #f0ede6;
  --muted: #8a9bae;
  --danger: #e05c5c;
  --success: #5cb88f;
  --warning: #e09d4a;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow: 0 0 0 rgba(0, 0, 0, 0);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--bg);
}

.app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(200, 169, 110, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(92, 184, 143, 0.03) 0%, transparent 60%);
}

.container {
  width: 100%;
  max-width: 680px;
}

.header {
  text-align: center;
  margin-bottom: 32px;
}

.brand {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
}

.title {
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.progressDot {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s;
}

.progressDot.is-active {
  background: var(--accentLight);
}

.progressDot.is-done {
  background: var(--accent);
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 16px;
}

.cardGlow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.screenLabel {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
}

.question {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--text);
}

.questionSub {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
  font-style: italic;
}

.optionGrid {
  display: grid;
  gap: 10px;
}

.optionBtn {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 15px;
  text-align: left;
  transition: all 0.2s ease;
  font-family: "Cormorant Garamond", serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

.optionBtn:hover {
  filter: brightness(1.05);
}

.optionBtn.is-selected {
  background: rgba(200, 169, 110, 0.12);
  border-color: var(--accent);
  color: var(--accentLight);
}

.radio {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.2s;
}

.optionBtn.is-selected .radio {
  border-color: var(--accent);
  background: var(--accent);
}

.checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.optionBtn.is-selected .checkbox {
  border-color: var(--accent);
  background: var(--accent);
}

.checkbox .checkmark {
  color: #0a0d14;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.btnRow {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: space-between;
  align-items: center;
}

.btnPrimary {
  background: linear-gradient(135deg, var(--accent), var(--accentLight));
  color: #0a0d14;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.btnPrimary:hover {
  opacity: 0.92;
}

.btnSecondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  cursor: pointer;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btnSecondary:hover {
  border-color: rgba(232, 201, 142, 0.6);
  color: rgba(232, 201, 142, 0.9);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.infoBox {
  --ibox-rgb: 100, 120, 150;
  background: rgba(var(--ibox-rgb), 0.08);
  border: 1px solid rgba(var(--ibox-rgb), 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  margin-top: 16px;
}

.input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: "Cormorant Garamond", serif;
  width: 100%;
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: rgba(232, 201, 142, 0.8);
}

.sliderWrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.sliderLabels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-family: "Montserrat", sans-serif;
}

.range {
  width: 100%;
  accent-color: var(--accent);
}

.sliderValue {
  text-align: center;
  color: var(--accent);
  font-size: 20px;
}

.tag {
  --tag-rgb: 200, 169, 110;
  display: inline-block;
  background: rgba(var(--tag-rgb), 0.12);
  border: 1px solid rgba(var(--tag-rgb), 0.3);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tag.block {
  display: block;
  text-align: center;
  font-size: 13px;
  padding: 6px 16px;
}

.mutedP {
  color: var(--muted);
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.8;
  margin: 0 0 16px 0;
}

.smallMuted {
  color: var(--muted);
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 8px;
}

.errorText {
  color: var(--danger);
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  margin-top: 12px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.labelSmall {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  font-family: "Montserrat", sans-serif;
  margin-bottom: 8px;
}

.footerNote {
  text-align: center;
  font-size: 11px;
  color: rgba(138, 155, 174, 0.5);
  font-family: "Montserrat", sans-serif;
  margin-top: 12px;
}

.resultCenter {
  text-align: center;
  margin-bottom: 28px;
}

.resultIcon {
  font-size: 48px;
  margin-bottom: 12px;
}

.resultScore {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.scoreCard {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.scoreValue {
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
}

.scoreValue.success {
  color: var(--success);
}

.scoreValue.accent {
  color: var(--accent);
}

.scoreValue.danger {
  color: var(--danger);
}

.scoreLabel {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Montserrat", sans-serif;
  margin-top: 6px;
}

.clickableLink {
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
}

.clickableLink:hover {
  text-decoration: underline;
}
