.kraftum-data-maturity {
  font-family: Montserrat, Arial, sans-serif;
  max-width: 860px;
  margin: 0 auto;
  padding: 42px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  color: #1e293b;
}

.kdm-header {
  text-align: center;
  margin-bottom: 32px;
}

.kdm-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6ec1e4;
}

.kdm-header h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.18;
  color: #1e293b;
}

.kdm-header p {
  max-width: 700px;
  margin: 0 auto 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
}

.kdm-header small {
  display: block;
  color: #334155;
  font-weight: 600;
}

.kdm-card {
  display: none;
  padding: 34px;
  background: #f8fafc;
  border: 1px solid rgba(30, 41, 59, 0.08);
  border-radius: 22px;
  animation: kdmFade 0.25s ease;
}

.kdm-card.is-active {
  display: block;
}

@keyframes kdmFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kdm-intro {
  text-align: center;
}

.kdm-start,
.kdm-option,
.kdm-next,
.kdm-back,
.kdm-submit,
.kdm-contact-button {
  font-family: Montserrat, Arial, sans-serif;
}

.kdm-start,
.kdm-next,
.kdm-submit,
.kdm-contact-button {
  display: inline-block;
  border: none;
  padding: 15px 30px;
  border-radius: 999px;
  background: #6ec1e4;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kdm-start:hover,
.kdm-next:hover,
.kdm-submit:hover,
.kdm-contact-button:hover {
  background: #4fa3c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(79, 163, 199, 0.28);
}

.kdm-back {
  display: inline-block;
  border: 1px solid rgba(30, 41, 59, 0.18);
  padding: 14px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kdm-back:hover {
  border-color: #1e293b;
  background: #1e293b;
  color: #ffffff;
}

.kdm-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.kdm-progress {
  display: none;
  margin: 0 0 22px;
}

.kdm-progress.is-visible {
  display: block;
}

.kdm-progress-text {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.kdm-progress-track {
  width: 100%;
  height: 9px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 999px;
}

.kdm-progress-bar {
  width: 0%;
  height: 100%;
  background: #6ec1e4;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.kdm-dimension {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(110, 193, 228, 0.16);
  color: #1e293b;
  font-size: 12px;
  font-weight: 800;
}

.kdm-question h3,
.kdm-description h3,
.kdm-lead h3,
.kdm-result h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.35;
  color: #1e293b;
}

.kdm-description p,
.kdm-lead p,
.kdm-result p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

.kdm-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.kdm-option {
  width: 100%;
  border: 1px solid rgba(30, 41, 59, 0.12);
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff;
  color: #1e293b;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kdm-option:hover,
.kdm-option.is-selected {
  border-color: #6ec1e4;
  background: #ecf9ff;
  transform: translateY(-1px);
}

#kdm-description {
  width: 100%;
  min-height: 130px;
  padding: 16px;
  border: 1px solid rgba(30, 41, 59, 0.14);
  border-radius: 16px;
  background: #ffffff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

#kdm-description:focus {
  border-color: #6ec1e4;
  box-shadow: 0 0 0 4px rgba(110, 193, 228, 0.18);
}

.kdm-helper {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.kdm-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.kdm-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.kdm-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.kdm-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(30, 41, 59, 0.14);
  border-radius: 12px;
  background: #ffffff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  color: #1e293b;
  outline: none;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.kdm-field input:focus {
  border-color: #6ec1e4;
  box-shadow: 0 0 0 4px rgba(110, 193, 228, 0.18);
}

.kdm-honeypot {
  display: none !important;
}

.kdm-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #475569;
}

.kdm-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.kdm-message {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.kdm-message.is-error {
  color: #b91c1c;
  font-weight: 700;
}

.kdm-message.is-success {
  color: #15803d;
  font-weight: 700;
}

.kdm-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

.kdm-result {
  text-align: center;
}

.kdm-result-main {
  margin: 24px auto 16px;
  max-width: 420px;
  padding: 28px;
  border-radius: 22px;
  background: #1e293b;
  color: #ffffff;
}

.kdm-result-main span,
.kdm-result-level span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

.kdm-result-main strong {
  display: block;
  font-size: 38px;
  line-height: 1.1;
  color: #ffffff;
}

.kdm-result-level {
  margin: 0 auto 22px;
  max-width: 420px;
  padding: 22px;
  border-radius: 18px;
  background: #ecf9ff;
}

.kdm-result-level span {
  color: #334155;
}

.kdm-result-level strong {
  font-size: 24px;
  color: #1e293b;
}

.kdm-success-note {
  font-size: 13px !important;
  color: #64748b !important;
}

.kdm-cta {
  margin-top: 34px;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1e293b, #334155);
  text-align: center;
  color: #ffffff;
}

.kdm-cta h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #ffffff;
}

.kdm-cta p {
  max-width: 640px;
  margin: 0 auto 22px;
  font-size: 15px;
  line-height: 1.7;
  color: #e2e8f0;
}

@media (max-width: 768px) {
  .kraftum-data-maturity {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .kdm-header h2 {
    font-size: 26px;
  }

  .kdm-card {
    padding: 24px;
  }

  .kdm-question h3,
  .kdm-description h3,
  .kdm-lead h3,
  .kdm-result h3 {
    font-size: 21px;
  }

  .kdm-lead-grid {
    grid-template-columns: 1fr;
  }

  .kdm-actions {
    flex-direction: column;
  }

  .kdm-back,
  .kdm-next,
  .kdm-submit {
    width: 100%;
  }

  .kdm-helper {
    flex-direction: column;
    gap: 6px;
  }

  .kdm-result-main strong {
    font-size: 32px;
  }
}