/* ================================
   STEPS
================================ */

.ai-step {
  display: none;
  margin-bottom: 24px;
  animation: fadeIn .35s ease;
}

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

@keyframes fadeIn {
  from { opacity:0; transform:translateY(8px); }
  to { opacity:1; transform:translateY(0); }
}


/* ================================
   NAV  
================================ */

.ai-nav {
  margin-top: 32px;

  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ai-nav .next-step,
.ai-nav .ai-force-btn{
    margin-left:auto;
}
 
.ai-nav .btn-box,
#ai-sdlc-form button,
#ai-sdlc-form input[type="submit"] {
  background: #ffe749 !important;
  color: #000 !important;

  border: none !important;
  border-radius: 6px;

  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;

  cursor: pointer;

  padding: 10px 10px;

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

  transition: all .18s ease;

  box-shadow: none !important;
  background-image: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.ai-nav .btn-box:hover,
#ai-sdlc-form button:hover,
#ai-sdlc-form input[type="submit"]:hover {
  background: #000 !important;
  color: #fff !important;
}

.ai-nav .btn-box:active {
  transform: translateY(1px);
}

.ai-nav .btn-box:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.ai-nav .btn-box,
#ai-sdlc-form button,
#ai-sdlc-form input[type="submit"] {
  margin-bottom: 0 !important; 
  width: auto!important;
}


/* ================================
   RESULT BLOCK
================================ */

.ai-result-wrapper {
  max-width: 820px;
  margin: 40px auto;
  padding: 36px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  animation: fadeIn .4s ease;
}

.ai-result-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ai-result-intro {
  color: #444;
  line-height: 1.7;
  margin-bottom: 30px;
}


/* ================================
   SUMMARY LAYOUT
================================ */

.ai-result-summary {
  display: flex;
  gap: 32px;
  align-items: stretch;
  flex-wrap: wrap;
}


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

.ai-score-box {
  background: #c1ff44;
  color: #000;
  padding: 20px;
  border-radius: 12px;
  min-width: 170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

.ai-score-value {
  font-size: 25px;
  font-weight: 900;
}

.ai-score-label {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 1px;
  opacity: .8;
}


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

.ai-maturity-box {
  flex: 1;
  min-width: 260px;
}

.ai-maturity-level {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ai-maturity-desc {
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}


/* ================================
   MATURITY BAR
================================ */

.ai-bar-wrapper {
  background:#eee;
  border-radius: 40px;
  overflow:hidden;
  height:14px;
}

.ai-bar-fill {
  height:100%;
  background:#ffe749;
  width:0%;
  transition: width 1s ease;
}


/* ================================
   EMAIL FIELD
================================ */

#ai-email{
  width:100%;
  max-width:520px;
  padding:14px 16px;
  font-size:16px;
  border:1px solid #ccc;
  box-sizing:border-box;
  transition: all .2s ease;
}

#ai-email:focus{
  outline:none;
  border-color:#ffe749;
  box-shadow:0 0 0 2px rgba(255,231,73,.25);
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 640px) {

  .ai-nav {
    justify-content: space-between;
  }

  .ai-nav .btn-box {
    flex: 1;
    min-width: unset;
  }

  .ai-result-wrapper {
    padding: 24px;
  }

  .ai-result-summary {
    flex-direction: column;
  }

  .ai-score-box {
    width:100%;
  }

}
