.demo-hero {
  background: var(--dark-1);
  padding: 120px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(91,46,191,0.12);
  border: 1px rgba(91,46,191,0.4) solid;
  color: var(--p3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

.demo-hero h1 {
  color: white;
  margin-bottom: 16px;
}

.demo-hero .subtext {
  color: var(--tw-2);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

.demo-content {
  background: #fafafa;
  padding: 80px 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.demo-left {
  max-width: 400px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--p1);
  margin-bottom: 20px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--tl-1);
  line-height: 1.5;
}

.check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--p1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-circle::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.rating {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px var(--border-light) solid;
}

.stars {
  color: #F59E0B;
  font-size: 16px;
  margin-bottom: 8px;
}

.rating-text {
  font-size: 13px;
  color: var(--tl-2);
  margin-bottom: 4px;
}

.rating-sub {
  font-size: 13px;
  color: var(--tl-2);
}

.booking-form {
  background: var(--light-1);
  border-radius: 16px;
  padding: 32px;
}

.booking-form h3 {
  color: var(--tl-0);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-subtext {
  font-size: 13px;
  color: var(--tl-2);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  height: 48px;
  border: 1.5px var(--border-light) solid;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--tl-0);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input::placeholder {
  color: var(--tl-2);
}

.form-input:focus {
  outline: none;
  border-color: var(--p1);
  box-shadow: 0 0 0 3px rgba(91,46,191,0.12);
}

.form-textarea {
  width: 100%;
  border: 1.5px var(--border-light) solid;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--tl-0);
  background: white;
  font-family: var(--f-body);
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-textarea::placeholder {
  color: var(--tl-2);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--p1);
  box-shadow: 0 0 0 3px rgba(91,46,191,0.12);
}

.booking-form .btn-primary {
  width: 100%;
  margin-top: 24px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--tl-2);
  margin-top: 12px;
}

.demo-steps {
  background: var(--light-1);
  padding: 64px 0;
}

.demo-steps h2 {
  text-align: center;
  color: var(--tl-0);
  margin-bottom: 40px;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.step-item {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: white;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-text {
  font-size: 14px;
  color: var(--tl-1);
  font-weight: 500;
}

.step-arrow {
  font-size: 24px;
  color: var(--tl-2);
}

.demo-faq {
  background: #fafafa;
  padding: 80px 0;
}

.demo-faq h2 {
  text-align: center;
  color: var(--tl-0);
  margin-bottom: 48px;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.acc-item {
  border-bottom: 1px var(--border-light) solid;
}

.acc-head {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--tl-0);
  font-size: 15px;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--tl-2);
  font-size: 14px;
  line-height: 1.6;
}

.acc-item.open .acc-body {
  max-height: 400px;
  padding-bottom: 16px;
}

/* ── Field validation errors ─────────────────── */
.field-error {
  display: block;
  font-size: 12px;
  color: #E53E3E;
  margin-top: 5px;
  min-height: 16px;
}

.form-input.invalid {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}

/* ── Thank-you modal ─────────────────────────── */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.demo-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
}

.demo-modal-overlay.active .demo-modal {
  transform: translateY(0) scale(1);
}

.demo-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(91,46,191,0.1);
  color: var(--p1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.demo-modal h2 {
  color: var(--tl-0);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.demo-modal p {
  color: var(--tl-2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.demo-modal .btn-primary {
  width: 100%;
}

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

  .demo-left {
    max-width: 100%;
  }

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .booking-form {
    padding: 24px;
  }
}
