/* Book a Demo page (/book-demo); reuses promo-page.css buttons, eyebrow and breadcrumb */

.demo-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(8, 124, 251, 0.35), transparent 38%),
    radial-gradient(circle at 85% 85%, rgba(0, 213, 255, 0.16), transparent 36%),
    #030b23;
  color: #fff;
}

.demo-page-inner {
  width: min(100% - 44px, 1180px);
  margin: 0 auto;
  padding: 30px 0 90px;
}

.demo-breadcrumb {
  margin-bottom: 44px;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.demo-intro h1 {
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: none;
}

.demo-intro-description {
  margin: 20px 0 0;
  color: #bdd7ee;
  font-size: 17px;
  line-height: 1.65;
}

.demo-expectations {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.demo-expectations li {
  display: flex;
  gap: 16px;
}

.demo-expectations li > .mdi {
  display: inline-flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(8, 125, 244, 0.22);
  color: #76dcff;
  font-size: 24px;
}

.demo-expectations strong {
  display: block;
  color: #fff;
  font-size: 17px;
}

.demo-expectations p {
  margin: 4px 0 0;
  color: #9cb5d2;
  font-size: 15px;
  line-height: 1.55;
}

.demo-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(144, 221, 255, 0.18);
}

.demo-contact p {
  margin: 0;
  color: #9cb5d2;
  font-size: 14px;
}

.demo-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.demo-contact a:hover {
  color: #8edcff;
}

/* Form card */

.demo-form-card {
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  color: #07143f;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.demo-field-full {
  grid-column: 1 / -1;
}

.demo-field > span {
  color: #263451;
  font-size: 14px;
  font-weight: 600;
}

.demo-field input,
.demo-field select,
.demo-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfdcec;
  border-radius: 10px;
  background: #fff;
  color: #07143f;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.demo-field textarea {
  resize: vertical;
}

.demo-field input:focus,
.demo-field select:focus,
.demo-field textarea:focus {
  border-color: #087df4;
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 125, 244, 0.18);
}

.demo-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  color: #52627b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.demo-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #087df4;
}

.demo-captcha {
  min-height: 78px;
  margin-top: 20px;
}

.demo-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fdecec;
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
}

.demo-submit {
  width: 100%;
  margin-top: 22px;
  cursor: pointer;
}

.demo-submit:disabled,
.demo-submit:disabled:hover {
  border-color: #c5d3e6;
  background: #c5d3e6;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
}

.demo-submit-hint {
  margin: 10px 0 0;
  color: #60708a;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.demo-required {
  color: #e03131;
  font-weight: 700;
}

/* Flag a required field only after the visitor has interacted with it */
.demo-field input:user-invalid,
.demo-field select:user-invalid,
.demo-field textarea:user-invalid {
  border-color: #e03131;
  box-shadow: 0 0 0 3px rgba(224, 49, 49, 0.12);
}

.demo-success {
  text-align: center;
  padding: 56px 34px;
}

.demo-success > .mdi {
  color: #12b886;
  font-size: 56px;
}

.demo-success h2 {
  margin: 12px 0 10px;
  color: #07143f;
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  text-transform: none;
}

.demo-success p {
  margin: 0;
  color: #52627b;
  font-size: 16px;
}

@media (max-width: 991px) {
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 575px) {
  .demo-page-inner {
    width: min(100% - 30px, 560px);
    padding-bottom: 64px;
  }

  .demo-form-card {
    padding: 22px 18px;
  }

  .demo-form-grid {
    grid-template-columns: 1fr;
  }

  .demo-captcha {
    transform: scale(0.92);
    transform-origin: left top;
  }
}
