:root {
  --bg: #fbf6ff;
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(255, 255, 255, 0.72);
  --primary: #b239ef;
  --primary-strong: #9629cf;
  --text: #5e5868;
  --muted: #7a7386;
  --soft: #b8aec7;
  --danger: #f35f7b;
  --shadow: 0 20px 50px rgba(178, 57, 239, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
  z-index: 0;
}

.bg-glow-top {
  top: -180px;
  right: -180px;
  width: 620px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(178, 57, 239, 0.12) 0%,
    rgba(178, 57, 239, 0.05) 35%,
    rgba(178, 57, 239, 0) 70%
  );
}

.bg-glow-bottom {
  bottom: -200px;
  left: -160px;
  width: 520px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(178, 57, 239, 0.09) 0%,
    rgba(178, 57, 239, 0.04) 35%,
    rgba(178, 57, 239, 0) 70%
  );
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.hero-card,
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card {
  padding: 28px;
  margin-bottom: 18px;
}

.card {
  padding: 24px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(243, 95, 123, 0.1);
  border: 1px solid rgba(243, 95, 123, 0.14);
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--danger);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.hero-text {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.info-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.form {
  margin-top: 18px;
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(178, 57, 239, 0.1);
  background: rgba(178, 57, 239, 0.04);
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(178, 57, 239, 0.28);
  box-shadow: 0 0 0 4px rgba(178, 57, 239, 0.08);
}

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

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  padding: 0;
}

.primary-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(178, 57, 239, 0.18);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    box-shadow 0.18s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-message {
  min-height: 24px;
  margin: 14px 2px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.form-message.success {
  color: #1f7a45;
}

.form-message.error {
  color: #c63b59;
}

.footer {
  padding-top: 8px;
  text-align: center;
  color: #beb6ca;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .page {
    padding: 28px 16px 56px;
  }

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

  h1 {
    font-size: 30px;
  }
}
