:root {
  --primary: #5B4B8A;
  --bg: #0D1117;
  --text: #FAFAF8;
  --neutral: #161B22;
  --border: rgba(230, 230, 233, 0.08);
  --glass-bg: rgba(13, 17, 23, 0.72);

  --transition:
    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.3rem 10%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  background: var(--glass-bg);
  border-bottom: 1px solid var(--border);

  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.15rem;

  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.05em;
}

.logo img {
  height: 68px;
  transform: translateY(6px);
}

.logo span {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  color: var(--text);
  opacity: 0.6;
  transition: var(--transition);
  font-size: 1rem;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* MAIN */
.main-container {
  width: 100%;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding:
    140px
    20px
    80px;
}

/* FORM CARD */
.form-card {
  width: 100%;
  max-width: 860px;

  background: var(--glass-bg);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid var(--border);

  border-radius: 28px;

  padding: 3rem;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.25);

  animation: fadeUp 0.8s ease;
}

.form-card h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.form-card p {
  opacity: 0.72;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.row {
  display: flex;
  gap: 1.2rem;
}

.input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  opacity: 0.82;
}

/* INPUTS */
input,
textarea,
select {
  width: 100%;

  background: rgba(255,255,255,0.03);

  border:
    1px solid var(--border);

  color: var(--text);

  border-radius: 14px;

  padding:
    0.95rem
    1rem;

  font-size: 0.98rem;

  outline: none;

  transition: var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.32);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(91, 75, 138, 0.8);

  box-shadow:
    0 0 0 4px rgba(91, 75, 138, 0.15);
}

/* SELECT FIX */
select {
  appearance: none;
  cursor: pointer;
}

select option {
  background: #111827;
  color: white;
}

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

/* RADIO */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0;
}

/* BUTTON */
button {
  margin-top: 1rem;

  background: var(--primary);
  color: white;

  border: none;

  border-radius: 14px;

  padding: 1rem 1.5rem;

  font-size: 1rem;
  font-weight: 600;

  cursor: pointer;

  transition: var(--transition);

  box-shadow:
    0 10px 20px rgba(91, 75, 138, 0.2);
}

button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 15px 30px rgba(91, 75, 138, 0.3);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* STATUS */
#statusMessage {
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

/* FOOTER */
footer {
  padding: 2rem 10%;
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0.6;

  border-top: 1px solid var(--border);
}

footer a {
  color: var(--text);
  text-decoration: none;
}

/* UTIL */
.hidden {
  display: none;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 768px) {

  nav {
    padding: 1rem 5%;
  }

  .social-links {
    display: none;
  }

  .main-container {
    padding-top: 120px;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .row {
    flex-direction: column;
    gap: 1.4rem;
  }

  .logo {
    font-size: 2rem;
  }

  .logo img {
    height: 54px;
  }

  .form-card h1 {
    font-size: 2.3rem;
  }
}