/* ==================== KI Engineer Specific Styles ==================== */
/* ==================== Business Calculator Section ==================== */
.ki-business-calculator {
  padding-top: 100px;
  padding-bottom: 80px;
  background: #000000;
  position: relative;
}

/* Grid background pattern */
.calculator-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.calculator-container-wrapper {
  position: relative;
  z-index: 1;
}

/* Section Header */
.calculator-header {
  color: #ffffff;
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.01em;
}

.calculator-description {
  color: #a1a1aa;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  text-align: center;
}

/* Main Calculator Container */
.calculator-container {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%), #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 4px 12px rgba(0, 0, 0, 0.4), 0 16px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* ==================== Step Navigation ==================== */
.step-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  gap: 24px;
  position: relative;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 16px 20px;
  border-radius: 12px;
  min-width: 140px;
}
.step.active {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.step:not(.active) {
  opacity: 0.6;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
}
.step.active .step-number {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.step-label {
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.step:not(.active) .step-label {
  color: #71717a;
  font-size: 14px;
}

.step-connector {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: -1;
}
.step:last-child .step-connector {
  display: none;
}

.progress-line {
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  width: 0%;
  transition: width 0.6s ease;
}
.step.active ~ .step .step-connector .progress-line {
  width: 100%;
}

/* ==================== Step Content ==================== */
.step-content {
  display: none;
}
.step-content.active {
  display: block;
}

.step-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.02em;
}

/* Goal Hint */
.goal-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
  margin-bottom: 12px;
}

.goal-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #bfdbfe;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}

.goal-hint-text {
  color: #a1a1aa;
  font-size: 13px;
}

/* ==================== Business Goals Grid ==================== */
.business-goals {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.goal-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.goal-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.goal-card.selected {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}
.goal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.goal-card-content {
  position: relative;
  z-index: 2;
}

.goal-card-title {
  color: #ffffff;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
}

.goal-card-description {
  color: #a1a1aa;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* ==================== Requirements Section ==================== */
.requirement-group {
  margin-bottom: 24px;
}

.requirement-label {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.requirement-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}
.requirement-select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.requirement-select option {
  background: #1a1a1a;
  color: #ffffff;
}

/* ==================== Next Step Button ==================== */
.next-step-button {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8) 0%, rgba(37, 99, 235, 0.9) 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  padding: 12px 32px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 40px;
}
.next-step-button:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgb(37, 99, 235) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.next-step-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ==================== Team Cards ==================== */
.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.team-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.team-card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}
.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card:hover .team-card-image {
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.team-card-title {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 24px;
}

.team-card-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 16px;
}

.team-card-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.team-card-feature {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}
.team-card-feature .fa-check {
  color: #4ade80;
  margin-right: 10px;
}

.team-card-button {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.8) 0%, rgba(21, 128, 61, 0.9) 100%);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  padding: 12px 24px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}
.team-card-button:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgb(21, 128, 61) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  color: #ffffff;
  text-decoration: none;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
  .calculator-header {
    font-size: 40px;
  }
  .calculator-container {
    padding: 32px;
  }
  .step-navigation {
    gap: 16px;
  }
  .step {
    min-width: 120px;
    padding: 12px 16px;
  }
  .business-goals {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .ki-business-calculator {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .calculator-header {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .calculator-description {
    font-size: 16px;
  }
  .calculator-container {
    padding: 24px;
  }
  .step-navigation {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .step {
    width: 100%;
    max-width: 280px;
  }
  .step-connector {
    display: none;
  }
  .team-card {
    padding: 24px;
  }
  .team-card-image {
    width: 100px;
    height: 100px;
  }
  .team-card-title {
    font-size: 20px;
  }
  .team-card-description {
    font-size: 14px;
  }
}
@media (max-width: 575px) {
  .calculator-header {
    font-size: 28px;
  }
  .calculator-description {
    font-size: 15px;
  }
  .calculator-container {
    padding: 20px;
  }
  .goal-card {
    padding: 16px;
  }
  .team-card {
    padding: 20px;
  }
  .team-card-image {
    width: 80px;
    height: 80px;
  }
  .team-card-title {
    font-size: 18px;
  }
}
