/* ═══════════════════════════════════════════════════════════════
   SHARED STYLES — Legal Disclaimer + AI Agent Widget
   Nashville Super Bowl LXIV Business Ecosystem
   ═══════════════════════════════════════════════════════════════ */

/* ── Legal Disclaimer ── */
.legal-disclaimer {
  background: #060d18;
  border-top: 1px solid rgba(212,168,67,0.15);
  padding: 40px 24px 32px;
  margin-top: 0;
}
.legal-inner {
  max-width: 960px;
  margin: 0 auto;
}
.legal-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #D4A843;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.legal-text {
  font-size: 0.72rem;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-text strong {
  color: #8A94A6;
}
.legal-links {
  margin: 20px 0 16px;
  font-size: 0.75rem;
}
.legal-links a {
  color: #8A94A6;
  text-decoration: none;
  transition: color 0.2s;
}
.legal-links a:hover {
  color: #D4A843;
}
.legal-trademark {
  font-size: 0.65rem;
  color: #4B5563;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
  margin-top: 8px;
}

/* ── AI Agent Widget ── */
#ai-agent-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
}
.ai-bubble {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4A843 0%, #B8922F 100%);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(212,168,67,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.ai-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(212,168,67,0.6);
}
.ai-bubble.hidden { display: none; }
.ai-bubble-icon { font-size: 1.6rem; }
.ai-bubble-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid #D4A843;
  animation: ai-pulse 2s infinite;
}
@keyframes ai-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.ai-panel {
  position: absolute;
  bottom: 76px; right: 0;
  width: 380px;
  max-height: 520px;
  background: #0A1628;
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 16px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.ai-panel.open { display: flex; }
.ai-panel-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: #111B2E;
  border-bottom: 1px solid rgba(212,168,67,0.15);
}
.ai-panel-avatar {
  width: 40px; height: 40px;
  background: rgba(212,168,67,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.ai-panel-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #F0EDE6;
}
.ai-panel-role {
  font-size: 0.7rem;
  color: #8A94A6;
}
.ai-panel-close {
  margin-left: auto;
  background: none; border: none;
  color: #8A94A6; font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}
.ai-panel-close:hover { color: #F0EDE6; }
.ai-panel-body {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  max-height: 300px;
}
.ai-msg p {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}
.ai-msg-agent p {
  background: #111B2E;
  border: 1px solid rgba(212,168,67,0.1);
  color: #F0EDE6;
  border-bottom-left-radius: 4px;
}
.ai-msg-user p {
  background: rgba(212,168,67,0.15);
  color: #F0EDE6;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  max-width: 85%;
}
.ai-msg a { color: #D4A843; }
.ai-panel-footer {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ai-form {
  display: flex; gap: 8px;
}
.ai-input {
  flex: 1;
  background: #111B2E;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #F0EDE6;
  font-size: 0.82rem;
  outline: none;
}
.ai-input:focus {
  border-color: rgba(212,168,67,0.4);
}
.ai-send {
  background: #D4A843;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  color: #0A1628;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}
.ai-send:hover { background: #E8C96A; }
.ai-disclaimer {
  font-size: 0.6rem;
  color: #4B5563;
  margin-top: 8px;
  text-align: center;
}
.ai-disclaimer a { color: #6B7280; }

/* ── Mobile Responsive ── */
@media (max-width: 480px) {
  .ai-panel {
    width: calc(100vw - 32px);
    right: -8px;
    bottom: 72px;
    max-height: 70vh;
  }
  .ai-bubble { width: 52px; height: 52px; }
  .ai-bubble-icon { font-size: 1.3rem; }
  #ai-agent-widget { bottom: 16px; right: 16px; }
}
