*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #F0EBFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: #1A1035;
}

.review-wrap { width: 100%; max-width: 460px; }

.review-logo {
  display: block;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A1035;
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.review-logo span { color: #7C5CFC; }

.review-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 28px 32px;
  box-shadow: 0 8px 32px rgba(124, 92, 252, 0.12);
}

.review-card h1 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1A1035;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.review-card .subtitle {
  font-size: 0.9375rem;
  color: #6B6B8D;
  margin-bottom: 28px;
  line-height: 1.5;
}

.star-picker { display: flex; gap: 8px; margin-bottom: 24px; }
.star-picker button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #D8D0F0;
  padding: 0;
  line-height: 1;
  transition: color 0.15s, transform 0.1s;
}
.star-picker button.active,
.star-picker button.hovered { color: #F5A623; }
.star-picker button:hover { transform: scale(1.15); }

.star-label { font-size: 0.8125rem; color: #6B6B8D; margin-bottom: 20px; min-height: 1.2em; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1035;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E0D9F5;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #1A1035;
  background: #FAFAFA;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #7C5CFC; }
.field-optional { color: #9CA3AF; font-weight: 400; }

.btn-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #7C5CFC, #9B7AFF);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}
.btn-submit:hover { opacity: 0.92; }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.review-note { font-size: 0.8rem; color: #B8B0D0; text-align: center; margin-top: 14px; line-height: 1.5; }

.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #4A4566;
  line-height: 1.45;
  margin: 4px 0 12px;
  cursor: pointer;
  user-select: none;
}
.feature-check input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #7C5CFC;
  cursor: pointer;
  flex-shrink: 0;
}

.field-error { font-size: 0.8125rem; color: #E05C5C; margin-top: 5px; }
.submit-error {
  font-size: 0.875rem;
  color: #E05C5C;
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
}

.thanks-state { text-align: center; }
.thanks-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C5CFC, #9B7AFF);
  color: #FFFFFF;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.thanks-state h1 { margin-bottom: 10px; }
.thanks-state p {
  font-size: 0.9375rem;
  color: #6B6B8D;
  line-height: 1.6;
  margin-bottom: 24px;
}
.btn-back {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background: #F0EBFF;
  color: #7C5CFC;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-back:hover { background: #E4DBFF; }

.hidden { display: none !important; }

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
