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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(37, 99, 235, 0.10), transparent 55%),
    radial-gradient(ellipse at 92% 100%, rgba(124, 58, 237, 0.10), transparent 55%),
    #F7F9FC;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: #0F172A;
}

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

.review-logo {
  display: block;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.review-logo span {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.review-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 28px 32px;
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.16);
  border: 1px solid #E2E8F0;
}

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

.review-card .subtitle {
  font-size: 0.9375rem;
  color: #475569;
  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: #CBD5E1;
  padding: 0;
  line-height: 1;
  transition: color 0.15s, transform 0.1s;
}
.star-picker button.active,
.star-picker button.hovered { color: #F59E0B; }
.star-picker button:hover { transform: scale(1.15); }

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

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #0F172A;
  background: #F7F9FC;
  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='%23475569' 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: #2563EB; }
.field-optional { color: #9CA3AF; font-weight: 400; }

.btn-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  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: #94A3B8; 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: #475569;
  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: #2563EB;
  cursor: pointer;
  flex-shrink: 0;
}

.field-error { font-size: 0.8125rem; color: #DC2626; margin-top: 5px; }
.submit-error {
  font-size: 0.875rem;
  color: #DC2626;
  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, #2563EB, #7C3AED);
  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: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}
.btn-back {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background: #DBEAFE;
  color: #2563EB;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-back:hover { background: #BFDBFE; }

.hidden { display: none !important; }

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

.review-footer {
  margin-top: 22px;
  text-align: center;
  font-size: 0.78rem;
  color: #94A3B8;
}
.review-footer a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.15s;
}
.review-footer a:hover { color: #2563EB; }
.review-footer-sep { margin: 0 0.55rem; color: #CBD5E1; }
