/**
 * 首页 AI 小耕入口 — 咨询层 CTA（Hero / 服务 / 定价 / 估价 / 联系）
 * 次级链接组件（.home-link-meta / .home-link-ghost / .home-link-chip）见 pricing-ai-product.css
 */

/* ── Hero AI CTA ── */
.btn-ai-entry {
  border: 1px solid rgba(200, 169, 110, 0.45);
  background: linear-gradient(
    135deg,
    rgba(200, 169, 110, 0.18) 0%,
    rgba(34, 211, 238, 0.08) 100%
  );
  color: var(--hero-text);
  box-shadow: 0 0 24px rgba(200, 169, 110, 0.12);
}
#hero .btn-ai-entry:hover {
  border-color: rgba(200, 169, 110, 0.65);
  background: linear-gradient(
    135deg,
    rgba(200, 169, 110, 0.28) 0%,
    rgba(34, 211, 238, 0.14) 100%
  );
  color: #fff;
  transform: translateY(-2px);
}
.btn-ai-entry-icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0.95;
}

.hero-actions--triple {
  align-items: stretch;
}

.btn-tertiary-link {
  align-self: center;
  font-size: var(--text-sm-plus);
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.btn-tertiary-link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(201, 154, 46, 0.45);
}

/* ── Hero 服务号 CTA ── */
.hero-mp-cta {
  margin: 0.85rem 0 0;
}
.hero-mp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--sans);
  font-size: var(--text-sm-plus);
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(201, 154, 46, 0.35);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.hero-mp-cta__btn:hover {
  color: var(--gold-light);
  text-decoration-color: rgba(201, 154, 46, 0.65);
}
.hero-mp-cta__icon {
  display: inline-flex;
  opacity: 0.85;
}

/* ── 服务矩阵 · 咨询层横幅 ── */
.ai-consult-band {
  margin: 1.75rem 0 0.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--card-radius);
  border: 1px solid rgba(200, 169, 110, 0.28);
  background:
    linear-gradient(135deg, rgba(10, 12, 18, 0.04) 0%, rgba(200, 169, 110, 0.07) 45%, rgba(34, 211, 238, 0.05) 100%),
    var(--cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.ai-consult-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(200, 169, 110, 0.06) 50%,
    transparent 60%
  );
  pointer-events: none;
}
.ai-consult-band-copy {
  flex: 1;
  min-width: min(100%, 260px);
  position: relative;
  z-index: 1;
}
.ai-consult-band-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.ai-consult-band-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.65);
  animation: ai-entry-pulse 2.4s ease infinite;
}
.ai-consult-band-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.ai-consult-band-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 42rem;
}
.ai-consult-band-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.service-tag--ai {
  background: rgba(201, 154, 46, 0.1);
  border-color: rgba(201, 154, 46, 0.28);
  color: var(--gold-deep, #8a6010);
}
.service-tag--ai a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.service-tag--ai a:hover,
.service-tag--ai a:focus-visible {
  color: var(--gold);
}

/* ── 产品卡 · AI 对照链 ── */
.service-ai-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--link-meta-color);
  text-decoration: none;
  border-bottom: 1px solid var(--link-meta-border);
  padding-bottom: 0.05rem;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.service-ai-link:hover,
.service-ai-link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--link-meta-border-hover);
  gap: 0.42rem;
}
.service-ai-link::after {
  content: '\2192';
}

/* ── 定价 / 估价 · AI 辅助 ── */
.ai-entry-hint {
  text-align: center;
  margin: 1.25rem auto 0;
  max-width: 640px;
  font-size: var(--text-sm-plus);
  line-height: 1.7;
  color: var(--muted);
}
.calc-section .ai-entry-hint {
  color: rgba(255, 255, 255, 0.55);
}
.calc-section .ai-entry-hint a.home-link-meta {
  color: var(--gold-light);
  border-bottom-color: rgba(201, 154, 46, 0.38);
}
.calc-section .ai-entry-hint a.home-link-meta:hover,
.calc-section .ai-entry-hint a.home-link-meta:focus-visible {
  color: #f0d48a;
  border-bottom-color: rgba(232, 184, 74, 0.55);
}

/* ── 联系区 · AI 渠道 ── */
.cta-channel--ai {
  border-color: rgba(200, 169, 110, 0.35);
  background: linear-gradient(
    135deg,
    rgba(200, 169, 110, 0.1) 0%,
    rgba(34, 211, 238, 0.06) 100%
  );
}
.cta-channel--ai:hover {
  border-color: rgba(200, 169, 110, 0.55);
}
.cta-channel--ai .cta-channel-value {
  color: var(--gold);
  font-weight: 600;
}
.contact-dock-item--ai {
  border-color: rgba(200, 169, 110, 0.3);
  background: linear-gradient(
    135deg,
    rgba(200, 169, 110, 0.12) 0%,
    rgba(34, 211, 238, 0.06) 100%
  );
}
.contact-dock-item-badge--ai {
  background: rgba(61, 214, 140, 0.15);
  color: #2ea86a;
  font-size: 0.65rem;
}

@keyframes ai-entry-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.88);
  }
}

@media (max-width: 640px) {
  .ai-consult-band {
    padding: 1.1rem 1.15rem;
  }
  .ai-consult-band-cta {
    width: 100%;
    align-items: stretch;
  }
  .ai-consult-band-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .ai-consult-band-cta .home-link-ghost {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-consult-band-eyebrow-dot,
  .pricing-ai-eyebrow-dot {
    animation: none;
  }
}
