@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;70;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(80, 60, 180, 0.18), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(30, 100, 220, 0.14), transparent 35%),
    #050816;
  color: #f4f7ff;
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.brand span {
  font-size: 16px;
}

.back {
  color: #b8c1d9;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.back:hover {
  color: #ffffff;
}

/* =========================
   HERO
========================= */

.hero {
  padding: 90px 0 55px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(130, 110, 255, 0.3);
  background: rgba(90, 70, 190, 0.1);
  border-radius: 999px;
  color: #b9adff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.gradient {
  background: linear-gradient(
    110deg,
    #ffffff,
    #b7a9ff,
    #7db8ff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #aeb8d0;
  font-size: 17px;
}

/* =========================
   NOTICE
========================= */

.notice {
  margin: 35px auto 0;
  max-width: 760px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 190, 90, 0.25);
  background: rgba(255, 170, 60, 0.06);
  border-radius: 16px;
  color: #d9dcef;
  text-align: left;
  font-size: 14px;
}

.notice strong {
  color: #ffffff;
}

/* =========================
   MAIN
========================= */

main {
  padding-bottom: 90px;
}

/* =========================
   CARD
========================= */

.card {
  background: rgba(14, 19, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: clamp(22px, 5vw, 42px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

/* =========================
   SECTIONS
========================= */

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

.form-section + .form-section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-title {
  font-size: 24px;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.section-description {
  color: #8f9ab6;
  font-size: 14px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

/* =========================
   LABELS
========================= */

label {
  font-size: 13px;
  font-weight: 700;
  color: #dce2f2;
}

label span {
  color: #7f8aa8;
  font-weight: 500;
}

/* =========================
   INPUTS
========================= */

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 7, 18, 0.72);
  color: #f5f7ff;
  border-radius: 13px;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #59637d;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(130, 110, 255, 0.65);
  background: rgba(5, 8, 20, 0.95);
  box-shadow: 0 0 0 3px rgba(110, 90, 240, 0.1);
}

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

select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* =========================
   REQUIREMENTS
========================= */

.requirements {
  display: grid;
  gap: 10px;
}

.requirement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #aeb8d0;
  font-size: 14px;
}

.requirement::before {
  content: "✓";
  color: #a99aff;
  font-weight: 800;
  flex: 0 0 auto;
}

/* =========================
   AGREEMENT
========================= */

.agreement {
  padding: 18px;
  background: rgba(5, 8, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  color: #aeb8d0;
  font-size: 13px;
}

.agreement strong {
  color: #f1f4ff;
}

/* =========================
   CHECKBOXES
========================= */

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  color: #cbd3e5;
  font-size: 13px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #8878ff;
  flex: 0 0 auto;
}

/* =========================
   SUBMIT
========================= */

.submit-area {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px 20px;
  background: linear-gradient(
    110deg,
    #7767e8,
    #4f8be8
  );
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;

  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(80, 90, 220, 0.2);
}

button:active {
  transform: translateY(0);
}

button:focus-visible {
  outline: 3px solid rgba(140, 125, 255, 0.4);
  outline-offset: 3px;
}

/* =========================
   FINE PRINT
========================= */

.fine-print {
  color: #68738f;
  text-align: center;
  font-size: 12px;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 0;
  color: #68738f;
  font-size: 12px;
  text-align: center;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .container {
    width: min(100% - 24px, 1100px);
  }

  .nav {
    min-height: 62px;
  }

  .brand span {
    font-size: 14px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .back {
    font-size: 12px;
  }

  .hero {
    padding: 65px 0 40px;
  }

  .hero p {
    font-size: 15px;
  }

  .notice {
    font-size: 13px;
    margin-top: 25px;
  }

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

  .field.full {
    grid-column: auto;
  }

  .card {
    border-radius: 20px;
    padding: 22px 18px;
  }

  .section-title {
    font-size: 21px;
  }

  .section-description {
    font-size: 13px;
  }
}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 420px) {

  .brand span {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  h1 {
    font-size: 42px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .card {
    padding: 18px 14px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* =========================
   UNDER DEVELOPMENT PAGE
========================= */

.page {
  width: min(100% - 32px, 1000px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0;

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

  text-align: center;
}

.logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 22px;
  margin-bottom: 30px;

  filter: drop-shadow(
    0 15px 35px rgba(70, 80, 200, 0.18)
  );
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 15px;

  border: 1px solid rgba(130, 110, 255, 0.3);
  background: rgba(90, 70, 190, 0.1);

  border-radius: 999px;

  color: #b9adff;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  margin-bottom: 22px;
}

.page h1 {
  font-size: clamp(42px, 8vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
}

.gradient {
  background: linear-gradient(
    110deg,
    #ffffff,
    #b7a9ff,
    #7db8ff
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.description {
  max-width: 650px;

  color: #aeb8d0;

  font-size: 17px;
  line-height: 1.7;
}

.status-card {
  width: min(100%, 650px);

  margin-top: 38px;
  padding: 24px;

  background: rgba(14, 19, 40, 0.78);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 22px;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.25);
}

.status {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  color: #dce2f2;

  font-size: 14px;
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: #9b8cff;

  box-shadow:
    0 0 14px rgba(155, 140, 255, 0.65);
}

.status-card p {
  margin-top: 12px;

  color: #7f8aa8;

  font-size: 13px;
}

.page footer {
  margin-top: 50px;

  color: #68738f;

  font-size: 12px;
}


/* =========================
   UNDER DEVELOPMENT MOBILE
========================= */

@media (max-width: 600px) {

  .page {
    width: min(100% - 24px, 1000px);
    padding: 30px 0;
  }

  .logo {
    width: 76px;
    height: 76px;
    margin-bottom: 25px;
  }

  .page h1 {
    font-size: 46px;
  }

  .description {
    font-size: 15px;
  }

  .status-card {
    padding: 20px 16px;
  }
}

/* =========================
   404 ERROR PAGE
========================= */

.error-page h1 {
  font-size: clamp(90px, 18vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  margin-bottom: 20px;
}

.error-title {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  color: #f4f7ff;
}

.error-page .description {
  max-width: 600px;
}

.error-actions {
  margin-top: 32px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 150px;

  padding: 13px 22px;

  border-radius: 14px;

  background: linear-gradient(
    110deg,
    #7767e8,
    #4f8be8
  );

  color: #ffffff;

  font-size: 14px;
  font-weight: 800;

  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.error-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  box-shadow:
    0 10px 30px rgba(80, 90, 220, 0.2);
}

.error-button:active {
  transform: translateY(0);
}


/* =========================
   404 MOBILE
========================= */

@media (max-width: 600px) {

  .error-page h1 {
    font-size: 110px;
  }

  .error-title {
    font-size: 25px;
  }

  .error-page .description {
    font-size: 14px;
  }

  .error-button {
    width: 100%;
  }

  .error-actions {
    width: 100%;
    max-width: 280px;
  }
}
