:root {
  --bg: #0a0a0a;
  --bg-pure: #000000;
  --text: #f0ede8;
  --text-muted: #8a8680;
  --accent: #e8573a;
  --accent-hover: #ff6b4a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg-pure);
}

body {
  font-family: var(--font-body);
  background: var(--bg-pure);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ───── Header ───── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
}

.site-header nav {
  display: flex;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--text);
  text-decoration: none;
}

/* ───── Assessment Container ───── */

.assessment-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
}

.step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  width: 100%;
  animation: fadeIn 0.4s ease;
}

.step.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───── Labels ───── */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.step-count {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ───── Progress Bar ───── */

.progress-bar {
  width: 100%;
  max-width: 300px;
  height: 3px;
  background: rgba(240, 237, 232, 0.1);
  border-radius: 2px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* ───── Headings ───── */

.assessment-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.question-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.assessment-sub,
.question-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 460px;
}

.assessment-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ───── Options ───── */

.options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
}

.option-btn {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(240, 237, 232, 0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: left;
}

.option-btn:hover {
  border-color: rgba(240, 237, 232, 0.4);
  background: rgba(240, 237, 232, 0.04);
}

.option-btn.selected {
  border-color: var(--accent);
  background: rgba(232, 87, 58, 0.1);
}

/* ───── Multi-select grid ───── */

.options.multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.other-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(240, 237, 232, 0.15);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
  margin-bottom: 1rem;
}

.other-input::placeholder {
  color: var(--text-muted);
}

.other-input:focus {
  border-color: rgba(240, 237, 232, 0.4);
}

/* ───── Next Button (multi-select) ───── */

.next-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-pure);
  background: var(--accent);
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.next-btn:hover {
  background: var(--accent-hover);
}

.next-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ───── CTA Button ───── */

.cta-button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-pure);
  background: var(--accent);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: scale(1.04);
}

/* ───── Contact Form ───── */

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  margin-top: 0.5rem;
}

#contact-form input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(240, 237, 232, 0.15);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  outline: none;
  transition: border-color 0.2s ease;
}

#contact-form input::placeholder {
  color: var(--text-muted);
}

#contact-form input:focus {
  border-color: rgba(240, 237, 232, 0.4);
}

#contact-form .cta-button {
  margin-top: 0.5rem;
}

/* ───── Results ───── */

.score-bar-wrap {
  width: 100%;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.score-bar {
  width: 100%;
  height: 8px;
  background: rgba(240, 237, 232, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.score-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  width: 0%;
  transition: width 1s ease;
}

.score-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

#recommendations {
  width: 100%;
  max-width: 500px;
  text-align: left;
  margin-bottom: 3rem;
}

.rec-card {
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.75rem;
}

.rec-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.rec-body {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.results-cta {
  margin-top: 1rem;
}

.results-cta-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ───── Mobile ───── */

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .assessment-container {
    padding: 5rem 1.5rem 3rem;
  }

  .assessment-heading {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .question-heading {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .option-btn {
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem;
  }
}
