/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #020817;
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: rgba(2, 6, 23, 0.98);
  border-bottom: 1px solid rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.9);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #9ca3af;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: all 0.18s ease;
}

.nav-link:hover {
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(15, 23, 42, 0.9);
}

.nav-label {
  font-size: 0.6rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* PAGE */
.page {
  padding: 100px 32px 32px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* INTRO */
.intro {
  margin-bottom: 26px;
}

.intro-label {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 253, 0.45);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 8px;
}

.intro h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.intro-text {
  font-size: 0.8rem;
  color: #9ca3af;
  max-width: 620px;
}

/* FORM SECTION */
.form-section {
  display: flex;
  justify-content: center;
}

.form-card {
  width: 100%;
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.14),
      transparent
    ),
    #020817;
  border-radius: 18px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(31, 41, 55, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 1);
}

.form-card h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-bottom: 14px;
}

/* FORM FIELDS */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.field-inline {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 12px;
  margin-bottom: 10px;
}

.field label {
  font-size: 0.7rem;
  margin-bottom: 4px;
  color: #d1d5db;
}

.field label span {
  color: #facc15;
}

.field input,
.field textarea {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(2, 6, 23, 0.98);
  color: #e5e7eb;
  font-size: 0.75rem;
  outline: none;
  transition: all 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7280;
}

.field input:focus,
.field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
}

.field textarea {
  resize: vertical;
}

.field-hint {
  font-size: 0.6rem;
  color: #6b7280;
  margin-top: 3px;
}

/* Checkbox */
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 0.65rem;
  color: #9ca3af;
}

/* SUBMIT BUTTON */
.btn-submit {
  margin-top: 6px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, #f97316, #ea580c);
  color: #111827;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(248, 150, 69, 0.45);
  transition: all 0.18s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(248, 150, 69, 0.7);
}

/* MESSAGES */
.success-box,
.error-box {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
}

.success-box {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.75);
  color: #bbf7d0;
}

.error-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.8);
  color: #fecaca;
}

.hidden {
  display: none;
}

/* FOOTER */
footer {
  margin-top: auto;
  padding: 12px 16px;
  font-size: 0.65rem;
  color: #4b5563;
  display: flex;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

footer .highlight {
  color: #1d4ed8;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  header {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .page {
    padding: 90px 14px 20px;
  }

  .field-inline {
    grid-template-columns: 1fr;
  }
}
