* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: #05070d;
  color: #fff;
}

body {
  min-height: 100vh;
}

.page-shell {
  min-height: 100vh;
  padding: 1.5rem;
  background: radial-gradient(circle at top left, rgba(10, 130, 235, 0.16), transparent 34%),
              radial-gradient(circle at bottom right, rgba(255, 226, 122, 0.14), transparent 28%),
              linear-gradient(180deg, #05070d 0%, #090c14 100%);
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #04214a 0%, #0c325f 100%);
  color: #fff;
}

.splash-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 2rem 2.4rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.splash-logo {
  width: 84px;
  height: auto;
}

.splash-eyebrow {
  color: #7cc8ff;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.splash-screen h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1220px;
  margin: 0 auto 1rem;
  padding: 1rem 0;
}

.brand-logo {
  width: min(160px, 24vw);
  max-width: 220px;
  height: auto;
}

.header-copy {
  max-width: 760px;
}

.header-copy .eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #7cc8ff;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.header-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.form-shell {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.progress-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.progress-step {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  text-align: center;
}

.progress-step.active {
  background: rgba(117, 181, 255, 0.14);
  border-color: rgba(124, 200, 255, 0.35);
  color: #fff;
}

.step {
  display: none;
}

.step--active {
  display: block;
}

.card {
  background: linear-gradient(180deg, rgba(4, 27, 62, 0.95) 0%, rgba(7, 12, 23, 0.93) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  border-radius: 32px;
  padding: 2.4rem;
}

.card--welcome {
  padding-top: 2rem;
}

.eyebrow--small {
  display: inline-block;
  margin-bottom: 1rem;
  color: #ffe27a;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.card p {
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}

.field {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.75rem;
}

.field label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.74);
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 1rem) calc(50% - 2px), calc(100% - 0.7rem) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(124, 200, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field select option {
  background: #08101f;
  color: #fff;
}

.select-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.field--small {
  margin-top: 0;
}

.verify-panel {
  margin-top: 2rem;
}

.verify-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.verify-status.hidden {
  display: none;
}

.badge {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.15rem;
}

.badge--success {
  background: rgba(124, 200, 255, 0.18);
  color: #7cc8ff;
}

.badge--error {
  background: rgba(255, 160, 90, 0.18);
  color: #ffcd6b;
}

.button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 1rem 1.8rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.button--primary {
  background: #ffe27a;
  color: #071118;
}

.button--outline {
  background: transparent;
  color: #ffe27a;
  border: 1px solid rgba(255, 226, 122, 0.8);
}

.button--small {
  padding: 0.9rem 1.4rem;
}


.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.summary-grid div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1rem 1.2rem;
}

.summary-grid strong {
  display: block;
  color: #7cc8ff;
  margin-bottom: 0.5rem;
}

.summary-grid p {
  margin: 0;
  color: #fff;
  line-height: 1.6;
}

.check-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.check-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.card--final {
  text-align: center;
}

.card--final h2 {
  margin-top: 1rem;
}

.card--final p {
  margin-top: 1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-panel {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: calc(100% - 2rem);
  padding: 2rem;
  border-radius: 28px;
  background: rgba(5, 10, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 1rem;
}

.modal-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 93, 93, 0.18);
  color: #ffb3b3;
  font-size: 1.6rem;
}

.modal h3 {
  margin: 0;
  font-size: 1.45rem;
}

.modal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .progress-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .page-shell {
    padding: 1rem;
  }

  .page-header {
    justify-content: center;
    text-align: center;
  }

  .header-copy h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .select-row {
    grid-template-columns: 1fr;
  }
}
.button-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}