/* ==============================
   PHASE 6: AI AGENT NETWORK
   Ecosystem Dashboard Styles
   ============================== */

/* Hub overview cards */
.ecosystem-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.ecosystem-card {
  background: var(--card, #fff);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}
.ecosystem-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.ecosystem-icon  { font-size: 36px; display: block; margin-bottom: 10px; }
.ecosystem-title { font-size: 13px; font-weight: 600; color: var(--text-2, #666); margin-bottom: 6px; }
.ecosystem-stat  { font-size: 28px; font-weight: 800; color: var(--purple, #9333ea); }

/* Hot Lead Alerts */
.hot-lead-alert {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  border-radius: 12px;
  padding: 16px 20px;
  color: white;
  margin-bottom: 12px;
  animation: hotLeadPulse 2.5s ease-in-out infinite;
}
@keyframes hotLeadPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255,107,107,0.4); }
  50%       { box-shadow: 0 0 30px rgba(255,107,107,0.65); }
}
.lead-info    { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lead-name    { font-weight: 700; font-size: 16px; }
.lead-score   { background: rgba(255,255,255,0.3); padding: 3px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.lead-comment { background: rgba(255,255,255,0.18); padding: 10px 12px; border-radius: 8px; font-style: italic; font-size: 13px; margin-bottom: 12px; }
.lead-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-btn {
  padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.lead-btn-primary   { background: rgba(255,255,255,0.9); color: #C44569; }
.lead-btn-secondary { background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.4); }

/* Influencer Cards */
.influencer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.influencer-card {
  background: var(--card, #fff);
  border-radius: 12px;
  padding: 18px;
  border-top: 4px solid #667eea;
  transition: transform 0.25s;
}
.influencer-card:hover { transform: translateY(-2px); }
.influencer-header  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.influencer-name    { font-weight: 700; font-size: 15px; }
.alignment-badge    { background: #667eea; color: white; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.influencer-meta    { display: flex; gap: 14px; font-size: 12px; color: var(--text-2, #666); margin-bottom: 8px; }
.influencer-reason  { font-size: 13px; line-height: 1.5; margin-bottom: 12px; color: var(--text-1, #333); }
.deal-badge         { font-size: 12px; background: rgba(102,126,234,0.1); color: #667eea; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 12px; }

/* Viral Alert */
.viral-alert {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  border-radius: 12px;
  padding: 20px 24px;
  color: white;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.viral-alert::before {
  content: '🚀';
  position: absolute;
  top: -10px; right: -10px;
  font-size: 100px;
  opacity: 0.15;
  animation: rocketFloat 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rocketFloat {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50%       { transform: translateY(-8px) rotate(-45deg); }
}
.viral-multiplier { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.viral-message    { font-size: 14px; margin-bottom: 14px; opacity: 0.95; }
.ignition-btn {
  background: rgba(255,255,255,0.9);
  color: #11998e;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 14px;
  transition: all 0.25s;
}
.ignition-btn:hover { background: white; transform: scale(1.04); }

/* Cross-Promo / Synergy */
.synergy-card {
  background: var(--card, #fff);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  border-left: 4px solid #FF9800;
  transition: transform 0.25s;
}
.synergy-card:hover { transform: translateY(-2px); }
.synergy-header  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.partner-name    { font-weight: 700; font-size: 16px; }
.synergy-score   { background: #FF9800; color: white; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.synergy-type    { display: inline-block; background: #fff3e0; color: #FF9800; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.campaign-idea   { background: var(--bg-2, #f7f7f7); padding: 12px; border-radius: 8px; margin-bottom: 10px; font-size: 13px; line-height: 1.5; }
.campaign-idea strong { display: block; margin-bottom: 4px; }

/* Ecosystem section subtitles */
.eco-section-title {
  font-size: 16px; font-weight: 700; margin: 24px 0 12px;
  display: flex; align-items: center; gap: 8px; color: var(--text-1, #111);
}
