:root {
  --orange-500: #ff5a1f;
  --orange-300: #ffa57a;
  --orange-200: #ffc7a9;
  --ink: #0b0c12;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 90, 31, 0.22), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255, 165, 122, 0.16), transparent 45%),
    linear-gradient(160deg, #0b0c12 0%, #11131b 55%, #0e0f15 100%);
  z-index: -2;
}

.btn-primary {
  border-radius: 999px;
  background: var(--orange-500);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 20px 80px -20px rgba(255, 90, 31, 0.45);
  transition: transform 150ms ease, background 150ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--orange-300);
  transform: translateY(-1px);
}

.btn-secondary {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: border 150ms ease, transform 150ms ease;
  background: transparent;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.card-glass {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  backdrop-filter: blur(14px);
}

.survey-shell {
  position: relative;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 206, 175, 0.2) 45%,
      rgba(255, 150, 110, 0.18) 100%
    );
  padding: 2rem;
  backdrop-filter: blur(18px);
  box-shadow:
    0 30px 120px -50px rgba(255, 90, 31, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.survey-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
}

.survey-shell::after {
  content: "";
  position: absolute;
  inset: -40% 40% auto -40%;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(255, 127, 71, 0.35),
    transparent 70%
  );
  z-index: -1;
}

.survey-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.survey-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.6);
}

.survey-title {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.survey-badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}

.survey-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.survey-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.survey-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.survey-steps {
  display: flex;
  gap: 0.75rem;
}

.survey-step-pill {
  height: 2.2rem;
  width: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: all 150ms ease;
}

.survey-step-pill.is-active {
  border-color: rgba(255, 90, 31, 0.8);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.15);
  background: rgba(255, 90, 31, 0.2);
}

.survey-step-pill.is-complete {
  border-color: rgba(255, 90, 31, 0.4);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 90, 31, 0.08);
}

.survey-hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.survey-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.survey-progress {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.survey-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
  transition: width 250ms ease;
}

.survey-answers {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.survey-answers[data-layout="two"] {
  grid-template-columns: 1fr;
}

.survey-answers[data-layout="three"] {
  grid-template-columns: 1fr;
}

.survey-answers[data-layout="five"] {
  grid-template-columns: 1fr;
}

.feature-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
}

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin-top: 4rem;
}

.survey-option {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: left;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: transform 150ms ease, border 150ms ease, background 150ms ease;
  min-height: 54px;
}

.survey-option-text {
  flex: 1;
  min-width: 0;
}

.survey-option:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.survey-option.is-selected {
  border-color: rgba(255, 90, 31, 0.8);
  background: rgba(255, 90, 31, 0.12);
  box-shadow: 0 12px 40px -30px rgba(255, 90, 31, 0.8);
}

.survey-option-arrow {
  height: 30px;
  width: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.survey-option:focus-visible {
  outline: 2px solid rgba(255, 90, 31, 0.7);
  outline-offset: 2px;
}

.bullet-line {
  position: relative;
  padding-left: 1.5rem;
}

.bullet-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.2);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 150ms ease;
}

.footer-link:hover {
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 12, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 20;
}

.modal-card {
  width: min(520px, 100%);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 16, 24, 0.9);
  padding: 2rem;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 120px -40px rgba(255, 90, 31, 0.5);
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  height: 34px;
  width: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.modal-close:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .survey-body {
    grid-template-columns: 1fr;
  }

  .survey-answers[data-layout="two"],
  .survey-answers[data-layout="three"],
  .survey-answers[data-layout="five"] {
    grid-template-columns: 1fr;
  }
}
