.page {
  position: relative;
  min-height: 100dvh;
  padding: 96px 8vw 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  color: var(--foreground);
}

.atmosphere {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(255, 215, 156, 0.45),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(146, 220, 213, 0.4),
      transparent 45%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(233, 153, 151, 0.35),
      transparent 45%
    );
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  animation: floatGlow 12s ease-in-out infinite;
}

.header {
  position: relative;
  z-index: 2;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 600;
  color: rgba(30, 27, 22, 0.7);
}

.title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(30, 27, 22, 0.7);
}

.metaRow {
  display: flex;
  gap: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(30, 27, 22, 0.6);
}

.metaRow span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(30, 27, 22, 0.08);
}

.main {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.formCard {
  width: min(100%, 720px);
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 50px var(--shadow);
  border: 1px solid rgba(30, 27, 22, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeUp 0.9s ease both 0.1s;
}

.formHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.formHeader h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.formHeader p {
  color: rgba(30, 27, 22, 0.6);
  font-size: 14px;
}

.badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(146, 220, 213, 0.3);
  color: #125a55;
  font-weight: 600;
  font-size: 12px;
}

.statusRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 27, 22, 0.08);
  font-size: 14px;
}

.statusRow span {
  color: rgba(30, 27, 22, 0.6);
}

.quickStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quickStats div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(30, 27, 22, 0.08);
  box-shadow: 0 8px 18px rgba(30, 27, 22, 0.08);
}

.quickStats p {
  font-size: 12px;
  color: rgba(30, 27, 22, 0.6);
  margin-bottom: 6px;
}

.quickStats strong {
  font-size: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field span {
  color: rgba(30, 27, 22, 0.7);
}

.required {
  color: #c64a3a;
}

.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(30, 27, 22, 0.2);
  background: #fff;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field select:focus {
  outline: none;
  border-color: #3a807a;
  box-shadow: 0 0 0 3px rgba(58, 128, 122, 0.2);
}

.helper {
  font-size: 12px;
  color: rgba(30, 27, 22, 0.6);
}


.form button {
  width: 100%;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #1b1a16;
  background: linear-gradient(120deg, #f4c66f, #f7a1a1);
  box-shadow: 0 12px 26px rgba(247, 161, 161, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form button:focus-visible {
  outline: 3px solid rgba(58, 128, 122, 0.45);
  outline-offset: 3px;
}

.form button:disabled {
  cursor: not-allowed;
  background: #e3ded7;
  color: rgba(30, 27, 22, 0.5);
  box-shadow: none;
}

.form button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(247, 161, 161, 0.4);
}

.feedback {
  min-height: 22px;
  font-size: 14px;
}

.error {
  color: #b3372f;
}

.success {
  color: #1f6f4a;
}

.sideNotes {
  display: flex;
  align-items: flex-start;
}

.noteCard {
  background: rgba(253, 251, 247, 0.7);
  border: 1px dashed rgba(30, 27, 22, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(30, 27, 22, 0.08);
  animation: fadeUp 0.9s ease both 0.2s;
}

.noteCard h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.noteCard ul {
  display: grid;
  gap: 10px;
  list-style: none;
  color: rgba(30, 27, 22, 0.7);
  font-size: 14px;
}

.noteCard li::before {
  content: "•";
  margin-right: 8px;
  color: #e28f5c;
}

.divider {
  height: 1px;
  background: rgba(30, 27, 22, 0.12);
  margin: 18px 0 12px;
}

.tip {
  font-size: 13px;
  color: rgba(30, 27, 22, 0.6);
}

.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 8, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.modalCard {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(15, 12, 8, 0.2);
  border: 1px solid rgba(30, 27, 22, 0.12);
  display: grid;
  gap: 12px;
}

.modalHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modalHeader h3 {
  font-size: 18px;
}

.modalClose {
  border: none;
  background: #f0ebe4;
  color: #2a2018;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.modalClose:focus-visible {
  outline: 3px solid rgba(58, 128, 122, 0.45);
  outline-offset: 2px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
}

@media (max-width: 900px) {
  .page {
    padding: 64px 6vw 90px;
    align-items: stretch;
  }

  .header {
    text-align: left;
  }

  .main {
    width: 100%;
  }

  .quickStats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 40px 6vw 60px;
  }

  .header {
    gap: 12px;
    text-align: center;
    align-items: center;
  }

  .title {
    font-size: 28px;
    line-height: 1.2;
  }

  .formCard {
    width: 100%;
    padding: 24px;
  }

  .formHeader {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .badge {
    align-self: flex-start;
  }

  .form button {
    width: 100%;
  }

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

  .statusRow {
    width: 100%;
  }

  .modalCard {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .header,
  .formCard,
  .noteCard {
    animation: none;
  }
}
