:root {
  color-scheme: light;
  --page-bg: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.28), transparent 55%),
    #0b1120;
  --card-bg: rgba(15, 23, 42, 0.78);
  --card-border: rgba(148, 163, 184, 0.22);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5f5;
  --accent: linear-gradient(120deg, #22d3ee, #6366f1);
  --accent-solid: #38bdf8;
  --shadow: 0 22px 48px rgba(8, 15, 40, 0.55);
  --radius-lg: 28px;
  --radius-md: 18px;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 32px;
  gap: 32px;
  width: min(100%, 960px);
  overflow: hidden;
}

.page::before,
.page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  z-index: 0;
}

.page::before {
  width: 420px;
  height: 420px;
  background: rgba(14, 165, 233, 0.35);
  top: -180px;
  left: -120px;
}

.page::after {
  width: 360px;
  height: 360px;
  background: rgba(129, 140, 248, 0.3);
  bottom: -160px;
  right: -140px;
}

.backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(330deg, rgba(129, 140, 248, 0.1), transparent 50%);
  z-index: 0;
}

.hero,
.card,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  max-width: 640px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1.18;
  font-weight: 600;
  background: linear-gradient(140deg, #e0f2fe, #c4b5fd 60%, #f8fafc 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero__description {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.7;
}

.card {
  width: min(100%, 620px);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  padding: 32px clamp(20px, 6vw, 40px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card__title {
  margin: 0;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 600;
}

.card__subtitle {
  margin: 12px 0 28px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text-primary);
  padding: 14px 16px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(203, 213, 225, 0.6);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

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

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '\25BC';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(226, 232, 240, 0.65);
  pointer-events: none;
  font-size: 12px;
}

select {
  appearance: none;
  padding-right: 44px;
}

.submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background-image: var(--accent);
  color: #0b1120;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 15px 30px rgba(22, 197, 252, 0.25);
  filter: brightness(1.05);
}

.submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.form__status {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  color: var(--text-secondary);
  font-size: 14px;
}

.footer {
  margin-top: auto;
  text-align: center;
  color: rgba(203, 213, 225, 0.75);
  font-size: 13px;
}

@media (min-width: 768px) {
  .page {
    padding: 72px 40px 48px;
  }

  .card {
    padding: 42px 48px;
  }
}
