:root {
  --bg-one: #fff7f0;
  --bg-two: #ffe0ec;
  --bg-three: #dfecff;
  --card: rgba(255, 255, 255, 0.82);
  --ink: #332234;
  --muted: #755f74;
  --accent: #ec5f8f;
  --accent-strong: #d84079;
  --accent-soft: #ffe3ee;
  --border: rgba(236, 95, 143, 0.2);
  --shadow: 0 24px 70px rgba(93, 46, 77, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 32rem),
    linear-gradient(135deg, var(--bg-one), var(--bg-two) 46%, var(--bg-three));
}

button,
input {
  font: inherit;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 16px;
}

.hero-card {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card::before,
.hero-card::after {
  width: 220px;
  height: 220px;
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.5;
}

.hero-card::before {
  top: -90px;
  right: -80px;
  background: #ffd2e2;
}

.hero-card::after {
  bottom: -110px;
  left: -90px;
  background: #d7e8ff;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 620px;
  font-size: clamp(2.45rem, 8vw, 5rem);
}

.hero-card > p {
  max-width: 620px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.8;
}

.progress-wrap {
  margin-bottom: 28px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.progress-bar {
  width: 12%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ec5f8f, #ffb15f);
  transition: width 260ms ease;
}

.form-stage {
  min-height: 330px;
}

.question-card {
  animation: riseIn 260ms ease both;
}

.section-intro {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.section-intro h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.question-title {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
}

.required-note {
  margin: -6px 0 16px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.options-grid {
  display: grid;
  gap: 12px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.option-card:hover,
.option-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(236, 95, 143, 0.55);
  background: #fff;
  box-shadow: 0 14px 32px rgba(93, 46, 77, 0.1);
}

.option-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.option-card:has(input:checked) {
  border-color: rgba(236, 95, 143, 0.8);
  background: var(--accent-soft);
}

.short-input {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  outline: none;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.short-input:focus {
  border-color: rgba(236, 95, 143, 0.8);
  box-shadow: 0 0 0 4px rgba(236, 95, 143, 0.13);
}

.date-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.date-time-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.error-message {
  margin-top: 14px;
  color: #b4235b;
  font-size: 0.92rem;
  font-weight: 600;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-button {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9a62);
  box-shadow: 0 16px 30px rgba(216, 64, 121, 0.24);
}

.secondary-button {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.72);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.confirmation {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  animation: riseIn 260ms ease both;
}

.confirmation h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.confirmation p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.answer-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.answer-summary div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 227, 238, 0.62);
  color: var(--muted);
}

.answer-summary strong {
  display: block;
  color: var(--ink);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .hero-card {
    border-radius: 26px;
  }

  .button-row {
    flex-direction: column-reverse;
  }

  .date-time-grid {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
