/* ============================================
   Prime Footer v1.0 · 链金引擎高端共享Footer
   墨绿深底 + 金色光带 + 多栏grid
   ============================================ */

.prime-footer {
  background: linear-gradient(180deg, #0a1f1a 0%, #061410 100%);
  border-top: 1px solid rgba(212,175,55,0.2);
  padding: 48px 0 0;
  margin-top: 40px;
  position: relative;
  color: #8b92b0;
  font-size: 13px;
}
.prime-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,201,122,0.6), transparent);
}
.pf-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.pf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 900px) {
  .pf-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .pf-footer-grid { grid-template-columns: 1fr; }
}

.pf-brand .name {
  font-size: 20px; font-weight: 800; color: #e8c97a;
  margin-bottom: 8px;
}
.pf-brand .tagline {
  font-size: 13px; color: #8b92b0; line-height: 1.7; margin-bottom: 12px;
}
.pf-brand .entity {
  font-size: 12px; color: #6b7280;
}
.pf-col h4 {
  font-size: 13px; font-weight: 700; color: #e8c97a;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pf-col ul { list-style: none; padding: 0; margin: 0; }
.pf-col ul li { margin-bottom: 8px; }
.pf-col ul li a {
  color: #8b92b0; text-decoration: none; font-size: 13px;
  transition: color 0.2s;
}
.pf-col ul li a:hover { color: #e8c97a; }

.pf-contact .row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: #8b92b0;
}
.pf-contact .row .ico { color: #d4af37; }

.pf-bottom {
  padding: 20px 0; text-align: center; font-size: 12px; color: #6b7280;
}
.pf-bottom .icp { margin-top: 6px; font-size: 11px; opacity: 0.7; }

/* Ask Chat Bubble */
.pf-chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #e8c97a, #b8860b);
  color: #0a1f1a; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transition: transform 0.2s;
}
.pf-chat-fab:hover { transform: scale(1.08); }
.pf-chat-panel {
  position: fixed; bottom: 90px; right: 24px; z-index: 9998;
  width: 340px; max-width: calc(100vw - 48px); height: 460px; max-height: calc(100vh - 120px);
  background: rgba(10,31,26,0.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.3); border-radius: 16px;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all 0.3s cubic-bezier(.2,.7,.2,1);
}
.pf-chat-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.pf-chat-header {
  padding: 14px 18px; border-bottom: 1px solid rgba(212,175,55,0.15);
  font-size: 14px; font-weight: 700; color: #e8c97a;
  display: flex; justify-content: space-between; align-items: center;
}
.pf-chat-close { cursor: pointer; font-size: 18px; color: #8b92b0; }
.pf-chat-body {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.pf-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.6;
}
.pf-msg.user {
  align-self: flex-end; background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3); color: #f6e27a;
}
.pf-msg.bot {
  align-self: flex-start; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); color: #c0c6d8;
}
.pf-chat-input {
  display: flex; gap: 8px; padding: 12px;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.pf-chat-input input {
  flex: 1; padding: 8px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #c0c6d8; font-size: 13px; outline: none; font-family: inherit;
}
.pf-chat-input input:focus { border-color: #d4af37; }
.pf-chat-input button {
  padding: 8px 16px; border-radius: 8px; border: none;
  background: linear-gradient(135deg, #e8c97a, #b8860b); color: #0a1f1a;
  font-weight: 700; font-size: 13px; cursor: pointer;
}
