
/* =========================================================
   BEGENT WAITLIST
   Full-screen multi-step experience
========================================================= */

:root {
  --bg: #080908;
  --surface: #111310;
  --surface-hover: #171a14;
  --lime: #c7ff35;
  --lime-soft: rgba(199, 255, 53, 0.10);
  --white: #f5f6f1;
  --muted: #92958c;
  --muted-light: #b8bbb1;
  --border: rgba(255, 255, 255, 0.11);
  --border-active: rgba(199, 255, 53, 0.65);
  --danger: #ff7777;

  --font: "DM Sans", sans-serif;
  --heading: "Manrope", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}


/* RESET */

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

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}


/* BACKGROUND ATMOSPHERE */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(199, 255, 53, 0.045),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 90% 10%,
      rgba(199, 255, 53, 0.025),
      transparent 35%
    );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}


/* MAIN APP */

.waitlist-app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
}


/* TOP BAR */

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 112px;
  max-height: 42px;
  object-fit: contain;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 600;
  transition:
    color .25s ease,
    border-color .25s ease,
    background .25s ease,
    transform .25s ease;
}

.discord-link svg {
  width: 19px;
  height: 19px;
}

.discord-link:hover {
  color: var(--white);
  border-color: rgba(199, 255, 53, .5);
  background: var(--lime-soft);
  transform: translateY(-2px);
}


/* PROGRESS */

.progress-area {
  position: absolute;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 84%);
  z-index: 10;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

#progressPercent {
  color: var(--lime);
}

.progress-track {
  width: 100%;
  height: 3px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, .10);
}

.progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--lime);
  transition: width .5s var(--ease);
}


/* FULL SCREEN SECTIONS */

.screen {
  display: none;
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: 150px 24px 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screen.active {
  display: flex;
  animation: screenEnter .65s var(--ease) both;
}

@keyframes screenEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.screen-content {
  width: 100%;
  max-width: 660px;
  margin: auto;
  padding: 10px 0 35px;
}

.welcome-content,
.success-content {
  max-width: 720px;
}


/* TYPOGRAPHY */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;

  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 1px;
  background: var(--lime);
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -2.7px;
  line-height: 1.08;
  color: var(--white);
}

h1 {
  font-size: clamp(48px, 7vw, 78px);
}

h2 {
  font-size: clamp(42px, 6vw, 64px);
}

h1 span,
h2 span {
  color: var(--lime);
}

.screen-description {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.screen-description strong {
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
}


/* WELCOME */

.welcome-content {
  padding-top: 30px;
}

.welcome-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 35px;
  color: var(--muted-light);
  font-size: 12px;
}

.note-indicator {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(199, 255, 53, .55);
}


/* PRIMARY BUTTON */

.primary-button {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  border: 1px solid var(--lime);
  border-radius: 8px;
  background: var(--lime);
  color: #10120b;

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

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(199, 255, 53, .15);
}

.primary-button:active {
  transform: scale(.98);
}

.button-arrow {
  font-size: 19px;
  line-height: 1;
  transition: transform .25s ease;
}

.primary-button:hover .button-arrow {
  transform: translateX(4px);
}

.welcome-content > .primary-button {
  margin-top: 32px;
}


/* CHOICES */

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 32px;
}

.choice-card {
  position: relative;
  min-height: 70px;
  padding: 17px 17px 17px 43px;

  display: flex;
  align-items: center;

  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, .018);

  cursor: pointer;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.choice-card:hover {
  border-color: rgba(199, 255, 53, .4);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.choice-card:has(input:checked) {
  border-color: var(--border-active);
  background: var(--lime-soft);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-check {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 4px;
  transition: all .2s ease;
}

.choice-card input:checked + .choice-check {
  background: var(--lime);
  border-color: var(--lime);
}

.choice-card input:checked + .choice-check::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  left: 5px;
  top: 1px;
  border: solid #10120b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.choice-text {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.choice-card input:checked ~ .choice-text {
  color: var(--white);
}


/* FORM FIELDS */

.field-group {
  margin-top: 25px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;

  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.field-label span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 600;
}

.text-field {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;

  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;

  background: rgba(255, 255, 255, .025);
  color: var(--white);

  font-size: 13px;
  line-height: 1.7;

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

textarea.text-field {
  min-height: 110px;
  resize: vertical;
}

.text-field::placeholder {
  color: #65685f;
}

.text-field:hover {
  border-color: rgba(255, 255, 255, .2);
}

.text-field:focus {
  border-color: var(--lime);
  background: rgba(199, 255, 53, .025);
  box-shadow: 0 0 0 3px rgba(199, 255, 53, .06);
}


/* OPTIONAL OTHER GOAL */

#otherGoal {
  margin-top: 10px;
}

.screen-content > .field-label {
  margin-top: 29px;
}


/* STARTUP STAGES */

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

.stage-option {
  position: relative;
  min-height: 55px;
  display: flex;
  align-items: center;
}

.stage-option input {
  position: absolute;
  opacity: 0;
}

.stage-option span {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 55px;
  padding: 12px 15px;

  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);

  color: var(--muted-light);
  font-size: 12px;
  font-weight: 600;

  cursor: pointer;
  transition: all .25s ease;
}

.stage-option span:hover {
  border-color: rgba(199, 255, 53, .4);
}

.stage-option input:checked + span {
  border-color: var(--lime);
  background: var(--lime-soft);
  color: var(--white);
}


/* NAVIGATION */

.screen-navigation {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);

  width: min(660px, calc(100% - 48px));

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.back-button {
  min-height: 48px;
  padding: 0 5px;
  border: none;
  background: transparent;

  color: var(--muted);
  font-size: 12px;
  font-weight: 600;

  transition: color .2s ease;
}

.back-button:hover {
  color: var(--white);
}

.screen-navigation .primary-button {
  min-height: 49px;
}


/* DETAILS */

.privacy-note {
  margin-top: 19px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}


/* VERIFICATION */

.verify-content {
  text-align: left;
}

.verification-input-wrap {
  margin-top: 37px;
}

.verification-input {
  width: 100%;
  min-height: 80px;
  padding: 15px;

  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;

  background: rgba(255, 255, 255, .025);
  color: var(--lime);

  font-family: var(--heading);
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 800;
  letter-spacing: 10px;
  text-align: center;

  transition: border-color .25s ease;
}

.verification-input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(199, 255, 53, .06);
}

.verification-input::placeholder {
  color: #41443b;
}

.resend-text {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.resend-text button {
  margin-left: 5px;
  border: none;
  background: transparent;
  color: var(--lime);
  font-weight: 700;
}

.resend-text button:hover {
  text-decoration: underline;
}


/* ERRORS */

.form-error {
  min-height: 18px;
  margin-top: 9px;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.6;
}

.form-error:empty {
  display: none;
}


/* SUCCESS */

.success-content {
  text-align: center;
}

.success-content .eyebrow {
  justify-content: center;
}

.success-content .screen-description {
  margin-left: auto;
  margin-right: auto;
}

.success-mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 32px;

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

  border: 1px solid rgba(199, 255, 53, .35);
  border-radius: 50%;

  background: var(--lime-soft);
  color: var(--lime);

  animation: successPop .6s var(--ease) both;
}

.success-mark svg {
  width: 36px;
  height: 36px;
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* PROMO CARD */

.promo-card {
  max-width: 400px;
  margin: 35px auto 28px;
  padding: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  border: 1px solid rgba(199, 255, 53, .24);
  border-radius: 12px;

  background:
    linear-gradient(
      145deg,
      rgba(199, 255, 53, .075),
      rgba(255, 255, 255, .015)
    );
}

.promo-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.promo-card strong {
  color: var(--lime);
  font-family: var(--heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
}

.promo-description {
  color: var(--muted);
  font-size: 11px;
}

.discord-cta {
  min-width: 205px;
}

.home-link {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  transition: color .2s ease;
}

.home-link:hover {
  color: var(--lime);
}


/* BOTTOM BRANDING */

.screen-bottom {
  position: absolute;
  bottom: 26px;
  left: 6%;
  right: 6%;

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

  color: #55584f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}


/* BUTTON LOADING SUPPORT */

.primary-button:disabled,
.back-button:disabled,
.resend-text button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}


/* SCROLLBARS */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #303329;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555a47;
}


/* TABLET */

@media (max-width: 760px) {

  .topbar {
    height: 72px;
    padding: 0 5%;
  }

  .brand img {
    width: 100px;
  }

  .progress-area {
    top: 94px;
  }

  .screen {
    padding-top: 155px;
    padding-bottom: 115px;
  }

  .screen-content {
    max-width: 560px;
  }

  .screen-navigation {
    bottom: 27px;
  }

  .choice-grid {
    gap: 9px;
  }

  .choice-card {
    min-height: 67px;
    padding-right: 12px;
  }

}


/* MOBILE */

@media (max-width: 520px) {

  .topbar {
    height: 68px;
    padding: 0 20px;
  }

  .brand img {
    width: 91px;
  }

  .discord-link {
    padding: 8px 11px;
    gap: 7px;
    font-size: 11px;
  }

  .discord-link svg {
    width: 17px;
    height: 17px;
  }

  .progress-area {
    top: 89px;
    width: calc(100% - 48px);
  }

  .progress-meta {
    font-size: 10px;
  }

  .screen {
    min-height: 100svh;
    padding: 145px 23px 115px;
    justify-content: flex-start;
  }

  .screen-content {
    padding-top: 9px;
    padding-bottom: 25px;
  }

  .welcome-content {
    margin-top: auto;
    margin-bottom: auto;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 2px;
  }

  h1 {
    font-size: clamp(45px, 12vw, 62px);
    letter-spacing: -2.3px;
  }

  h2 {
    font-size: clamp(39px, 10vw, 53px);
    letter-spacing: -2px;
  }

  .screen-description {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.8;
  }

  .welcome-note {
    margin-top: 28px;
    font-size: 11px;
  }

  .welcome-content > .primary-button {
    margin-top: 28px;
  }

  .primary-button {
    min-height: 51px;
    padding: 0 18px;
    gap: 20px;
    font-size: 12px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 25px;
  }

  .choice-card {
    min-height: 58px;
    padding: 13px 12px 13px 42px;
  }

  .choice-text {
    font-size: 12px;
  }

  .screen-content > .field-label {
    margin-top: 25px;
  }

  .field-group {
    margin-top: 22px;
  }

  .field-label {
    font-size: 11px;
  }

  .text-field {
    min-height: 51px;
    padding: 13px 14px;
    font-size: 12px;
  }

  textarea.text-field {
    min-height: 105px;
  }

  .stage-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stage-option span {
    min-height: 49px;
    font-size: 11px;
  }

  .screen-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    transform: none;

    width: 100%;
    padding: 14px 21px calc(14px + env(safe-area-inset-bottom));

    background: rgba(8, 9, 8, .94);
    border-top: 1px solid rgba(255, 255, 255, .07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .screen-navigation .primary-button {
    min-height: 47px;
    padding: 0 15px;
    gap: 13px;
  }

  .back-button {
    font-size: 11px;
  }

  .privacy-note {
    font-size: 10px;
  }

  .verification-input {
    min-height: 70px;
    font-size: 30px;
    letter-spacing: 7px;
  }

  .success-content {
    margin-top: auto;
    margin-bottom: auto;
  }

  .success-mark {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
  }

  .promo-card {
    margin-top: 28px;
    padding: 21px;
  }

  .promo-card strong {
    font-size: 32px;
  }

  .screen-bottom {
    bottom: 17px;
    left: 23px;
    right: 23px;
    font-size: 8px;
  }

}


/* SMALL PHONES */

@media (max-width: 360px) {

  .screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 37px;
  }

  .screen-navigation {
    padding-left: 16px;
    padding-right: 16px;
  }

  .screen-navigation .primary-button {
    font-size: 11px;
  }

  .verification-input {
    letter-spacing: 5px;
    font-size: 27px;
  }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}
