.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.demo-modal.active {
  display: flex;
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 27, 61, 0.55);
}

.demo-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 24px 32px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(108, 32, 245, 0.2);
  box-sizing: border-box;
}

.demo-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #151b3d;
}

.demo-card > p {
  margin: 0 0 16px;
  color: #5f6680;
  font-size: 14px;
  line-height: 1.5;
}

.demo-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: transparent;
  color: #6c20f5;
  font-size: 22px;
  cursor: pointer;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.demo-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #151b3d;
}

.demo-form-group input,
.demo-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdfea;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.demo-form-group input:focus,
.demo-form-group textarea:focus {
  border-color: #6c20f5;
  box-shadow: 0 0 0 3px rgba(108, 32, 245, 0.08);
}

.demo-submit-btn {
  height: 48px;
  border: none;
  border-radius: 10px;
  background: #6c20f5;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 600px) {
  .demo-card {
    padding: 26px 20px;
  }

  .demo-card h2 {
    font-size: 24px;
  }
}
