/* 转化组件：悬浮 CTA + 快速留资弹窗 */
.convert-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.convert-bar-call {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent, #2563eb);
  color: var(--accent, #2563eb);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.convert-bar-btn {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.convert-modal.hidden {
  display: none;
}

.convert-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.convert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.convert-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.convert-modal-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.convert-modal-sub {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.88rem;
}

.convert-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #94a3b8;
}

.convert-modal-card label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.convert-modal-card input,
.convert-modal-card select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.convert-form-msg {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--accent, #2563eb);
  min-height: 1.2em;
}

.article-cta-strong {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03));
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.article-cta-strong h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .convert-bar {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    width: auto;
    max-width: 420px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  }
}
