/* 联系客服页面 */

.page-title {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  padding-bottom: 14px;
  padding-left: 16px;
  border-bottom: 3px solid var(--primary);
  border-left: 4px solid var(--primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.contact-desc {
  margin: 0 auto 28px;
  max-width: 420px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.06) 0%, rgba(24, 144, 255, 0.02) 100%);
  border: 1px solid rgba(24, 144, 255, 0.15);
  border-radius: 12px;
}

.contact-qr-wrap {
  display: inline-block;
  padding: 24px;
  background: var(--bg-page);
  border-radius: 16px;
  border: 2px solid var(--border);
  border-top: 4px solid #07c160;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(7, 193, 96, 0.08);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.contact-qr-wrap:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(7, 193, 96, 0.12);
  border-color: rgba(7, 193, 96, 0.4);
}

.contact-qr {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.contact-qr-placeholder {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  background: var(--bg-page);
  border: 2px dashed var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-placeholder);
  text-align: center;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

/* 块级 + margin auto 居中，Edge 下稳定显示在二维码正下方 */
.contact-hint {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: linear-gradient(180deg, rgba(24, 144, 255, 0.06) 0%, rgba(24, 144, 255, 0.02) 100%);
  border-radius: 12px;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-hint-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(135deg, var(--primary) 0%, #07c160 100%);
  border-radius: 50%;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 24px 18px;
  }

  .contact-desc {
    padding: 14px 16px;
    font-size: 15px;
  }

  .contact-qr-wrap {
    padding: 20px;
    border-radius: 14px;
  }

  .contact-qr {
    width: 200px;
    height: 200px;
  }

  .contact-hint {
    padding: 12px 18px;
    font-size: 14px;
  }
  .contact-hint-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }
}
