/* 软件开发 · 提交开发需求表格（dev.html #dev-request） */

.dev-req {
  position: relative;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(12,116,124), 0.08), rgba(12,116,124), 0) 60%),
    var(--bg-soft, #f7fafa);
}

.dev-req-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.dev-req-copy .section-title { margin-bottom: 12px; }

.dev-req-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.dev-req-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.dev-req-points li .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--brand);
}

.dev-req-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(12,116,124), 0.16);
  background: rgba(12,116,124), 0.06);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
.dev-req-note a { color: var(--brand-strong, var(--brand)); font-weight: 600; }

.dev-req-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 24px 56px rgba(12,59,64, 0.10);
}

.dev-req-form[hidden],
.dev-req-success[hidden] { display: none !important; }

.dev-req-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dev-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  min-width: 0;
}
.dev-field > label,
.dev-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.dev-field .req { color: #d4380d; margin-left: 2px; }
.dev-field input,
.dev-field select,
.dev-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.dev-field textarea { min-height: 112px; resize: vertical; line-height: 1.65; }
.dev-field input:focus,
.dev-field select:focus,
.dev-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(12,116,124), 0.14);
}
.dev-field input::placeholder,
.dev-field textarea::placeholder { color: var(--ink-3, #93a1b5); }

.dev-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 4px 0 2px;
}
.dev-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
.dev-check input { width: 15px; height: 15px; accent-color: var(--brand); }

.dev-req-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.dev-req-submit[disabled] { opacity: .66; cursor: not-allowed; }

.dev-req-hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3, #7c8ba0);
}
.dev-req-hint a { color: var(--brand); }

.dev-req-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.22);
  font-size: 13px;
  line-height: 1.6;
  color: #b42318;
}
.dev-req-error[hidden] { display: none !important; }

.dev-req-success {
  background: #fff;
  border: 1px solid rgba(31, 122, 69, 0.24);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 24px 56px rgba(12,59,64, 0.10);
  text-align: left;
}
.dev-req-success .ok-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 122, 69, 0.10);
  color: #1f7a45;
  font-size: 13px;
  font-weight: 600;
}
.dev-req-success h3 { margin: 16px 0 8px; font-size: 20px; color: var(--ink); }
.dev-req-success p { margin: 0 0 10px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.dev-req-success .no {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(12,116,124), 0.07);
  border: 1px dashed rgba(12,116,124), 0.32);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-strong, var(--brand));
}
.dev-req-success .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

@media (max-width: 960px) {
  .dev-req-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dev-req-row { grid-template-columns: minmax(0, 1fr); }
  .dev-req-form { padding: 20px; }
}

/* ============================================================
   统一灰色底：服务类型 / 提交需求 / 服务对比 / 交付流程 / 适用场景 / 常见问题
   覆盖 .section-alt 的浅灰与 .dev-req 自带的渐变，六块同一色值。
   ============================================================ */
.section.dev-gray,
.section.dev-gray.section-alt,
.section.dev-gray.dev-req,
.section.dev-gray.dev-flow,
.section.dev-gray.dev-scene,
.section.dev-gray.dev-faq {
  background: #f9fbfb;
  background-image: none;
}

/* ---------- 会员门控 ---------- */
.dev-req-gate,
.dev-req-member {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
}
.dev-req-gate[hidden],
.dev-req-member[hidden] { display: none !important; }
.dev-req-gate {
  border: 1px solid rgba(180, 35, 24, 0.22);
  background: rgba(180, 35, 24, 0.06);
  color: #8a3428;
}
.dev-req-member {
  border: 1px solid rgba(31, 122, 69, 0.22);
  background: rgba(31, 122, 69, 0.07);
  color: #1f6b41;
}
.dev-req-gate .icon,
.dev-req-member .icon { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
.dev-req-gate a { color: #b42318; font-weight: 600; text-decoration: underline; }
.dev-req-member strong { font-weight: 700; }
