/* ============================================================
   融资AI页（financing-ai.html）专属样式
   依赖 assets/ai-agents.css 提供的基础设计系统与组件
   ============================================================ */

/* ---------- 首屏流动光影：独立装饰图层，不改变正文 ---------- */
.page-hero {
  background: linear-gradient(105deg, #fff 0%, #f8fcf9 53%, #e5f1e9 100%);
}
.page-hero::before,
.page-hero::after { display: none; }
.financing-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.financing-hero-art .flow-upper {
  animation: financing-flow-upper 7s ease-in-out infinite alternate;
}
.financing-hero-art .flow-lower {
  animation: financing-flow-lower 9s ease-in-out infinite alternate;
}
.financing-hero-art .flow-shimmer {
  animation: financing-shimmer 5.5s ease-in-out infinite alternate;
}
@keyframes financing-flow-upper {
  from { transform: translate3d(-75px, -24px, 0) rotate(-2deg); opacity: .72; }
  to { transform: translate3d(75px, 25px, 0) rotate(2deg); opacity: 1; }
}
@keyframes financing-flow-lower {
  from { transform: translate3d(95px, 27px, 0) rotate(2deg); opacity: .65; }
  to { transform: translate3d(-90px, -26px, 0) rotate(-2deg); opacity: 1; }
}
@keyframes financing-shimmer {
  from { transform: translate3d(-70px, 0, 0); opacity: .38; }
  to { transform: translate3d(100px, -12px, 0); opacity: .92; }
}
@media (prefers-reduced-motion: reduce) {
  .financing-hero-art .flow-upper,
  .financing-hero-art .flow-lower,
  .financing-hero-art .flow-shimmer { animation: none; }
}

/* ---------- 指标数据条 ---------- */
.metric-banner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  border: 1px solid rgba(27, 94, 32, 0.14);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
}
.metric-label {
  font-size: 13px;
  font-weight: 600;
  color: #33691E;
  letter-spacing: 0.04em;
}
.metric-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(27,94,32,0.4);
}
.metric-arrow {
  font-size: 15px;
  color: #1B5E20;
  font-weight: 700;
}
.metric-new {
  font-size: 15px;
  font-weight: 700;
  color: #1B5E20;
}

/* ---------- 效率对比表 ---------- */
.eff-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 4px 24px rgba(27, 94, 32, 0.06);
}
.eff-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.eff-table thead th {
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  color: #1B5E20;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  text-align: left;
  padding: 16px 22px;
  border-bottom: 2px solid rgba(27, 94, 32, 0.10);
  white-space: nowrap;
}
.eff-table tbody td {
  font-size: var(--text-base);
  color: var(--fg-2);
  line-height: 1.6;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.eff-table tbody tr:last-child td { border-bottom: none; }
.eff-table tbody tr:hover { background: rgba(232, 245, 233, 0.35); }
.eff-name {
  font-weight: 600;
  color: var(--fg);
}
.eff-new {
  font-weight: 700;
  color: #1B5E20;
}
.eff-gain {
  font-weight: 700;
  color: #558B2F;
}
.eff-note {
  margin-top: 24px;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ---------- 场景标签 ---------- */
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.scene-tags span {
  font-size: 13px;
  color: #33691E;
  background: rgba(139, 195, 74, 0.14);
  border: 1px solid rgba(27, 94, 32, 0.12);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  line-height: 1.5;
}

/* ---------- Hero 指标数据卡 ---------- */
.deploy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.deploy-stat {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  backdrop-filter: blur(6px);
}
.deploy-stat-k {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #1B5E20;
  line-height: 1.25;
  margin-bottom: 6px;
}
.deploy-stat-v {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}
.deploy-stat-k > span { display: inline-block; white-space: nowrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 540px) {
  .deploy-stats { gap: 12px; }
  .deploy-stat { padding: 18px 16px; }
  .deploy-stat-k { font-size: clamp(18px, 5vw, 22px); }
}
@media (max-width: 833px) {
  .deploy-stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .metric-banner { gap: 8px; padding: 8px 16px; }
  .metric-old { font-size: 12px; }
  .metric-new { font-size: 13px; }
  .eff-table tbody td { padding: 14px 16px; font-size: var(--text-sm); }
  .eff-table thead th { padding: 12px 16px; font-size: var(--text-sm); }
}



