:root {
  --c-base: #2f6fd6;
  --c-accent: #e74c3c;
  --c-dark: #16305f;
  --c-ink: #2c3a55;
  --c-muted: #8a93a6;
  --c-line: #e4e9f2;
}

body {
  background: #f2f5f9;
}

/* 头部下拉在移动端保持可点 */
.header .nav-collapse {
  background: rgba(255, 255, 255, .97);
}

.page-hero {
  position: relative;
  padding: 80px 0 70px;
  background: linear-gradient(135deg, #16305f 0%, #2f6fd6 55%, #18bed2 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(24, 190, 210, .30), transparent 70%);
}

.page-hero h1 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  max-width: 560px;
}

/* 反馈表单卡片 */
.fb-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(45, 55, 72, .08);
  padding: 40px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.fb-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.fb-section-sub {
  color: var(--c-muted);
  font-size: 14px;
  margin-bottom: 26px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.form-label .req {
  color: var(--c-accent);
  margin-left: 3px;
}

.form-control-fb {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--c-ink);
  background: #fbfcfd;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

textarea.form-control-fb {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 120px;
}

.form-control-fb:focus {
  outline: 0;
  border-color: var(--c-base);
  box-shadow: 0 0 0 3px rgba(47, 111, 214, .15);
  background: #fff;
}

.form-control-fb.is-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, .12);
}

.field-error {
  display: none;
  color: #e74c3c;
  font-size: 12px;
  margin-top: 6px;
}

.field-error.show {
  display: block;
}

/* 咨询类型选择 */
.fb-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-type {
  flex: 1 1 calc(50% - 10px);
  min-width: 120px;
  position: relative;
}

.fb-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fb-type label {
  display: block;
  text-align: center;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  background: #fbfcfd;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}

.fb-type input:checked+label {
  color: #fff;
  background: var(--c-base);
  border-color: var(--c-base);
  box-shadow: 0 6px 16px rgba(47, 111, 214, .3);
}

.btn-fb-submit {
  display: inline-block;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, #2f6fd6, #18bed2);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}

.btn-fb-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 111, 214, .35);
}

.btn-fb-submit:active {
  transform: translateY(0);
}

/* 右侧联系信息 */
.fb-aside {
  background: #f7fafa;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 32px;
}

.fb-aside h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.fb-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

.fb-contact-item i {
  color: var(--c-base);
  font-size: 18px;
  margin-right: 12px;
  margin-top: 2px;
}

.fb-contact-item .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.fb-contact-item .v {
  font-size: 14px;
  color: var(--c-muted);
}

.fb-tip {
  margin-top: 8px;
  font-size: 13px;
  color: var(--c-muted);
  background: #fff;
  border-left: 3px solid var(--c-accent);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
}

/* 隐私协议勾选 */
.fb-agree {
  margin-top: 24px;
}

.fb-agree-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
}

.fb-agree-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fb-agree-box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--c-line);
  border-radius: 5px;
  background: #fbfcfd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  transition: all .2s;
}

.fb-agree-box .icon-check {
  opacity: 0;
  transition: opacity .2s;
}

.fb-agree-label input:checked+.fb-agree-box {
  background: var(--c-base);
  border-color: var(--c-base);
}

.fb-agree-label input:checked+.fb-agree-box .icon-check {
  opacity: 1;
}

.fb-agree-text {
  font-size: 14px;
  color: var(--c-ink);
  margin-left: 10px;
  line-height: 1.6;
}

.fb-agree-text a {
  color: var(--c-base);
  font-weight: 600;
}

.fb-privacy-body {
  font-size: 14px;
  color: var(--c-ink);
  line-height: 1.8;
  max-height: 60vh;
  overflow-y: auto;
}

.fb-privacy-body h4 {
  font-size: 16px;
  margin: 18px 0 6px;
  color: var(--c-ink);
}

.fb-privacy-body p {
  color: var(--c-muted);
  margin-bottom: 8px;
}

.fb-privacy-body ol {
  padding-left: 20px;
}

.fb-privacy-body li {
  color: var(--c-muted);
  margin-bottom: 6px;
}

/* 成功提示 */
.fb-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.fb-success.show {
  display: block;
}

.fb-success .check {
  width: 64px;
  height: 64px;
  line-height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--c-base);
  color: #fff;
  font-size: 32px;
}

.fb-success h3 {
  color: var(--c-ink);
}

/* ===== 移动端适配 ===== */
@media (max-width: 767px) {
  .page-hero {
    padding: 60px 0 60px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 14px;
  }

  .fb-card {
    padding: 24px 18px;
    margin-top: -40px;
  }

  .fb-section-title {
    font-size: 19px;
  }

  .fb-aside {
    padding: 24px 18px;
    margin-top: 20px;
  }

  .fb-type {
    flex: 1 1 100%;
  }

  .form-control-fb {
    height: 50px;
    font-size: 16px;
    /* 防止 iOS 聚焦缩放 */
  }
}