:root {
  --bg: #fff7fb;
  --card: rgba(255, 255, 255, 0.78);
  --text: #352236;
  --muted: #7b627d;
  --pink: #ff6fae;
  --pink-dark: #e94f92;
  --purple: #9d7cff;
  --border: rgba(255, 111, 174, 0.22);
  --shadow: 0 24px 80px rgba(194, 82, 137, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #ffe1ef 0, transparent 35%),
    radial-gradient(circle at bottom right, #e8ddff 0, transparent 35%),
    var(--bg);
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.45;
  animation: float 9s ease-in-out infinite;
}

.blob-1 {
  top: 8%;
  left: 8%;
  background: #ffb3d3;
}

.blob-2 {
  right: 7%;
  top: 20%;
  background: #c9b7ff;
  animation-delay: -2s;
}

.blob-3 {
  left: 45%;
  bottom: 2%;
  background: #ffd1ea;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 34px;
  backdrop-filter: blur(18px);
}

.hero {
  padding: 42px;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "♡";
  position: absolute;
  right: 28px;
  top: 18px;
  font-size: 88px;
  color: rgba(255, 111, 174, 0.18);
  transform: rotate(14deg);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--pink-dark);
  font-weight: 800;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.07em;
}

.subtitle {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 111, 174, 0.12);
  color: #79335a;
  font-weight: 700;
}

.form-card {
  padding: 30px;
}

form {
  position: relative;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.step {
  display: none;
  animation: pop 0.28s ease;
}

.step.active {
  display: block;
}

@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.question-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.step-pill {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-weight: 900;
  font-size: 0.9rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -0.04em;
}

.field {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.field span,
.big-check span {
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(123, 98, 125, 0.22);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border-radius: 20px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 111, 174, 0.75);
  box-shadow: 0 0 0 5px rgba(255, 111, 174, 0.14);
}

.big-check {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(255, 111, 174, 0.22);
  background: rgba(255, 111, 174, 0.08);
  border-radius: 26px;
  margin-bottom: 18px;
  cursor: pointer;
}

.big-check input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: var(--pink-dark);
}

.big-check small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 600;
}

.range-field {
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px dashed rgba(255, 111, 174, 0.38);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--pink-dark);
}

.range-field strong {
  color: var(--pink-dark);
  font-size: 1.35rem;
}

.final-box {
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 111, 174, 0.14), rgba(157, 124, 255, 0.14));
  color: var(--muted);
  font-weight: 700;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  color: white;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 28px rgba(233, 79, 146, 0.24);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.secondary {
  background: rgba(53, 34, 54, 0.09);
  color: var(--text);
  box-shadow: none;
}

.submit {
  flex: 1;
}

.hidden {
  display: none;
}

.status {
  margin-top: 18px;
  min-height: 28px;
  font-weight: 800;
  color: var(--pink-dark);
}

.status.ok {
  color: #18865b;
}

.status.error {
  color: #c7355b;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 18px 0 0;
  font-weight: 700;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 980px);
    padding-top: 20px;
  }

  .hero,
  .form-card {
    padding: 24px;
    border-radius: 26px;
  }

  .question-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
