:root{
  --apply-bg-0: #060812;
  --apply-bg-1: #091429;
  --apply-border: rgba(255,255,255,0.12);
  --apply-card: rgba(255,255,255,0.04);
  --apply-text-soft: rgba(255,255,255,0.72);
  --apply-e1: #4DA3FF;
  --apply-e2: #2F7BFF;
  --apply-e3: #00D0FF;
}

html{
  scroll-behavior: smooth;
}

body.apply-body{
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(77,163,255,0.20), rgba(0,0,0,0) 60%),
    radial-gradient(700px 500px at 85% 10%, rgba(0,208,255,0.12), rgba(0,0,0,0) 50%),
    linear-gradient(180deg, var(--apply-bg-1), var(--apply-bg-0));
}

.apply-shell{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px clamp(18px, 3vw, 42px) 28px;
}

.apply-topbar,
.apply-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.apply-logo{
  height: 76px;
  width: auto;
  display: block;
}

.apply-main{
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.apply-progress-wrap{
  margin: 10px auto 28px;
}

.apply-progress-meta{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--apply-text-soft);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.apply-progress{
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.apply-progress .progress-bar{
  background: linear-gradient(90deg, var(--apply-e1), var(--apply-e2), var(--apply-e3));
}

.apply-form{
  position: relative;
}

.apply-step{
  display: none;
}

.apply-step.is-active{
  display: block;
}

.apply-step-inner{
  padding: clamp(26px, 4vw, 42px);
  border-radius: 32px;
  border: 1px solid var(--apply-border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
}

.apply-step-kicker,
.apply-step-title{
  font-family: "Syne", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.apply-step-kicker{
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.74);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.apply-step-title{
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.apply-step-copy{
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--apply-text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.apply-input{
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

textarea.apply-input{
  min-height: 148px;
}

.apply-input:focus{
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(77,163,255,0.56);
  box-shadow: 0 0 0 0.2rem rgba(77,163,255,0.14);
}

.apply-input::placeholder{
  color: rgba(255,255,255,0.44);
}

.form-select.apply-input option{
  color: #071120;
}

.form-label{
  margin-bottom: 8px;
  font-weight: 600;
}

.form-text{
  color: rgba(255,255,255,0.58);
}

.apply-actions{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.btn-pill{
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-electric{
  border: 0;
  color: #061021 !important;
  background: linear-gradient(90deg, var(--apply-e1), var(--apply-e2), var(--apply-e3));
  box-shadow: 0 10px 30px rgba(47,123,255,0.18);
}

.btn-electric:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(47,123,255,0.22);
}

.btn-outline-light{
  background: rgba(255,255,255,0.02);
}

.btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

.apply-back-btn{
  min-width: 112px;
}

.apply-review-card{
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.apply-check{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,0.82);
}

.apply-check + .apply-check{
  margin-top: 16px;
}

.apply-check .form-check-input{
  margin-top: 0.3rem;
  border-radius: 8px;
}

.apply-check a,
.apply-footer a{
  color: #fff;
  text-decoration: none;
}

.apply-result{
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apply-result-actions{
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.apply-footer{
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
  color: rgba(255,255,255,0.72);
}

.apply-honeypot{
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767.98px){
  .apply-shell{
    padding: 18px 16px 24px;
  }

  .apply-logo{
    height: 62px;
  }

  .apply-step-title{
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .apply-actions,
  .apply-result-actions{
    flex-direction: column;
  }

  .apply-actions .btn,
  .apply-result-actions .btn{
    width: 100%;
  }

  .apply-progress-meta,
  .apply-topbar{
    flex-direction: column;
    align-items: flex-start;
  }

  .apply-footer{
    flex-direction: column;
    gap: 12px;
  }
}
