/* ===== AI获客 输入页 & 结果页 共用样式 ===== */

.acq-body {
  min-height: 100dvh;
  background: var(--bg, #0a0e1a);
  color: var(--text, #e6e9f0);
}

/* ---------- 顶部导航 ---------- */
.acq-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.acq-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.acq-back-link, .acq-history-link {
  font-size: 14px;
  color: var(--text-faint, #8a91a8);
  text-decoration: none;
  transition: color .2s;
}
.acq-back-link:hover, .acq-history-link:hover { color: var(--text, #e6e9f0); }
.acq-history-link { color: var(--primary, #4f8bff); }

/* ---------- 主区 ---------- */
.acq-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.acq-head { margin-bottom: 32px; }
.acq-head h1 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.acq-head-sub { font-size: 18px; color: var(--text, #e6e9f0); margin: 0 0 6px; }
.acq-head-tip { font-size: 14px; color: var(--text-faint, #8a91a8); margin: 0; }

/* ---------- 表单 ---------- */
.acq-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.acq-field {
  background: var(--card, #12172a);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
}
.acq-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.acq-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary, #4f8bff);
  background: rgba(79, 139, 255, 0.12);
  padding: 2px 8px;
  border-radius: 20px;
}
.acq-tag-dim { color: var(--text-faint, #8a91a8); background: rgba(255,255,255,0.05); }

.acq-textarea {
  width: 100%;
  resize: vertical;
  min-height: 96px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text, #e6e9f0);
  font-size: 14px;
  line-height: 1.6;
  font-family: inherit;
  transition: border-color .2s;
}
.acq-textarea:focus, .acq-input:focus {
  outline: none;
  border-color: var(--primary, #4f8bff);
}
.acq-textarea::placeholder, .acq-input::placeholder { color: var(--text-faint, #6b7280); }
.acq-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-faint, #6b7280);
  margin-top: 6px;
}

/* 选项 */
.acq-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.acq-opt {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 14px;
  color: var(--text, #e6e9f0);
  transition: all .18s;
  user-select: none;
}
.acq-opt:hover { border-color: var(--primary, #4f8bff); }
.acq-opt.selected {
  border-color: var(--primary, #4f8bff);
  background: rgba(79, 139, 255, 0.14);
  color: #fff;
}

/* 企业信息 */
.acq-company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.acq-company-item { display: flex; flex-direction: column; gap: 6px; }
.acq-company-key { font-size: 13px; color: var(--text-faint, #8a91a8); }
.acq-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text, #e6e9f0);
  font-size: 14px;
  font-family: inherit;
}

/* 提交 */
.acq-submit { text-align: center; }
.btn-xl {
  font-size: 17px;
  padding: 16px 40px;
}
.acq-quota-hint {
  font-size: 13px;
  color: var(--text-faint, #8a91a8);
  margin: 12px 0 0;
}

/* ---------- 分析动画遮罩 ---------- */
.acq-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 18, 0.92);
  backdrop-filter: blur(6px);
}
.acq-overlay.show { display: flex; }
.acq-analyzing { text-align: center; max-width: 420px; padding: 0 24px; }
.acq-ai-ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary, #4f8bff);
  background: rgba(79, 139, 255, 0.12);
  animation: acqPulse 1.6s ease-in-out infinite;
}
@keyframes acqPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 139, 255, 0.4); }
  50% { box-shadow: 0 0 0 18px rgba(79, 139, 255, 0); }
}
.acq-analyzing h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 24px;
}
.acq-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}
.acq-steps li {
  position: relative;
  padding: 9px 0 9px 32px;
  font-size: 15px;
  color: var(--text-faint, #6b7280);
  opacity: 0.45;
  transition: all .3s;
}
.acq-steps li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-faint, #6b7280);
}
.acq-steps li.done {
  color: var(--text, #e6e9f0);
  opacity: 1;
}
.acq-steps li.done::before {
  border-color: var(--green, #34d399);
  background: var(--green, #34d399);
  content: '✓';
  color: #04150f;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
}
.acq-steps li.current {
  color: #fff;
  opacity: 1;
}
.acq-steps li.current::before {
  border-color: var(--primary, #4f8bff);
  border-top-color: transparent;
  animation: acqSpin .8s linear infinite;
}
@keyframes acqSpin { to { transform: translateY(-50%) rotate(360deg); } }
.acq-analyzing-note { font-size: 13px; color: var(--text-faint, #6b7280); }

/* ---------- 错误提示 ---------- */
.acq-error {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 18, 0.9);
}
.acq-error.show { display: flex; }
.acq-error-card {
  background: var(--card, #12172a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 360px;
}
.acq-error-title { font-size: 16px; margin: 0 0 20px; }

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .acq-company-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .acq-nav { padding: 12px 16px; }
  .acq-main { padding: 28px 16px 60px; }
  .acq-head h1 { font-size: 28px; }
  .acq-field { padding: 18px; }
}
