/* Multi-step IT assessment form */
#progress-bar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

#progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 6rem 1.5rem 4rem;
}

.form-container {
  width: 100%;
  max-width: 640px;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-step.active {
  display: block;
}

.form-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-step.exiting {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.step-indicator {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-card {
  padding: 2rem 2rem 2.5rem;
}

.step-title {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.step-subtitle {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.6;
}

.field-label {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 600;
}

.field-label:first-of-type {
  margin-top: 0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input,
.form-select {
  padding: 0.7rem 1rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  background-color: rgba(108, 152, 225, 0.08);
}

.form-input.error {
  border-color: #f87171;
}

.form-select {
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  cursor: pointer;
}

.form-select option {
  background: #001d3d;
  color: #fff;
}

.form-textarea {
  min-height: 100px;
  padding: 0.7rem 1rem;
  resize: vertical;
}

.radio-cards {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.radio-cards.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.radio-cards.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.radio-card-label {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.radio-card-label input[type="radio"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.radio-card-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.radio-card-inner .card-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.radio-card-label:hover .radio-card-inner {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.radio-card-label input:checked ~ .radio-card-inner {
  border-color: var(--gold);
  background: rgba(248, 195, 0, 0.1);
  color: #fff;
}

.radio-card-label input:checked ~ .radio-card-inner .card-icon {
  color: var(--gold);
}

.radio-card-inner.centered {
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  min-height: 76px;
  padding: 1rem 0.5rem;
  text-align: center;
}

.radio-card-inner.centered .card-val {
  font-size: 1.1rem;
  font-weight: 700;
}

.radio-card-inner.centered .card-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

.pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 500;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.85);
}

.pill-btn.selected {
  border-color: var(--green);
  background: rgba(132, 194, 37, 0.15);
  color: #fff;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  user-select: none;
}

.check-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.check-item.selected {
  border-color: var(--green);
  background: rgba(132, 194, 37, 0.1);
}

.check-item input {
  display: none;
}

.check-box {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  transition: border-color 0.18s, background 0.18s;
}

.check-item.selected .check-box {
  border-color: var(--green);
  background: var(--green);
}

.check-box svg {
  display: none;
}

.check-item.selected .check-box svg {
  display: block;
}

.check-item-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
}

.check-item.selected .check-item-label {
  color: #fff;
}

.sub-section {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(108, 152, 225, 0.2);
  border-radius: 10px;
  background: rgba(108, 152, 225, 0.07);
}

.sub-section .field-label {
  margin-top: 1rem;
}

.sub-section .field-label:first-child {
  margin-top: 0;
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.55;
}

.notice-box.info {
  border: 1px solid rgba(108, 152, 225, 0.22);
  background: rgba(108, 152, 225, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.notice-box.success {
  border: 1px solid rgba(132, 194, 37, 0.22);
  background: rgba(132, 194, 37, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.notice-box.warning {
  border: 1px solid rgba(248, 195, 0, 0.2);
  background: rgba(248, 195, 0, 0.09);
  color: rgba(255, 255, 255, 0.78);
}

.notice-box-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.btn-back:hover {
  color: rgba(255, 255, 255, 0.75);
}

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.7rem 1.6rem;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-next:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-next:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  color: #f87171;
  font-size: 0.78rem;
}

.field-error.visible {
  display: block;
}

#results-screen {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#results-screen.visible {
  display: block;
  opacity: 1;
}

.results-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.results-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(132, 194, 37, 0.25);
  border-radius: 999px;
  background: rgba(132, 194, 37, 0.12);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.results-title {
  margin-bottom: 0.6rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.results-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.focus-areas-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.focus-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.25rem;
}

.focus-icon-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.focus-icon-wrap.gold {
  background: rgba(248, 195, 0, 0.15);
  color: var(--gold);
}

.focus-icon-wrap.green {
  background: rgba(132, 194, 37, 0.15);
  color: var(--green);
}

.focus-icon-wrap.blue {
  background: rgba(108, 152, 225, 0.15);
  color: var(--blue);
}

.focus-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.focus-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.6;
}

.results-cta-box {
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(248, 195, 0, 0.18);
  border-radius: 14px;
  background: rgba(248, 195, 0, 0.08);
  text-align: center;
}

.results-cta-box p {
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-call:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 520px) {
  .form-main {
    padding: 5.5rem 1rem 3rem;
  }

  .step-card {
    padding: 1.5rem 1.25rem 2rem;
  }
}

@media (max-width: 480px) {
  .radio-cards.cols-2,
  .radio-cards.cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .step-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 360px) {
  .radio-cards.cols-2,
  .radio-cards.cols-3 {
    grid-template-columns: 1fr;
  }
}
