/* Lead Form */
.mbps-lead-form {
  background: #080808;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #333;
  max-width: 560px;
  color: #fff;
}

.mbps-lead-form h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mbps-field {
  margin-bottom: 14px;
}

.mbps-field label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  color: #aaa;
}

.mbps-field input,
.mbps-field select,
.mbps-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
}

.mbps-field input:focus,
.mbps-field select:focus,
.mbps-field textarea:focus {
  outline: none;
  border-color: #f5d35c;
}

.mbps-button {
  background: linear-gradient(135deg, #f5d35c, #f28b2b);
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: #000;
  display: inline-block;
  text-decoration: none;
}

.mbps-button-light {
  background: #f5d35c;
  color: #000;
}

/* Social Proof Bar */
.mbps-social-proof {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: rgba(8, 8, 8, 0.95);
  color: #f5f5f5;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid #333;
  z-index: 9998;
}

.mbps-social-proof strong {
  color: #f5d35c;
}

/* Toasts */
.mbps-social-toast {
  position: fixed;
  left: 20px;
  bottom: 70px;
  background: #111;
  color: #f5f5f5;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid #333;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9997;
}

.mbps-social-toast-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Chat Widget */
.mbps-chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.mbps-character-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f5d35c;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mbps-bounce 3s infinite;
  box-shadow: 0 0 18px rgba(245, 211, 92, 0.4);
}

.mbps-character-avatar img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes mbps-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.mbps-chat-toggle {
  background: linear-gradient(135deg, #f5d35c, #f28b2b);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  color: #000;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mbps-chat-window {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 320px;
  max-height: 480px;
  background: #050505;
  border-radius: 18px;
  border: 1px solid #333;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.mbps-chat-window.mbps-chat-open {
  display: flex;
}

.mbps-chat-header {
  padding: 10px 14px;
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mbps-chat-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5d35c;
}

.mbps-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.mbps-chat-body {
  padding: 10px;
  flex: 1;
  overflow-y: auto;
  background: #050505;
}

.mbps-chat-message {
  margin-bottom: 8px;
  max-width: 90%;
  clear: both;
}

.mbps-chat-message p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.mbps-chat-message-bot p {
  background: #111;
  color: #eee;
}

.mbps-chat-message-user {
  text-align: right;
}

.mbps-chat-message-user p {
  background: #f5d35c;
  color: #000;
  margin-left: auto;
}

.mbps-chat-form {
  display: flex;
  border-top: 1px solid #222;
}

.mbps-chat-input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 0.85rem;
  background: #050505;
  color: #fff;
}

.mbps-chat-input:focus {
  outline: none;
}

.mbps-chat-send {
  background: #f5d35c;
  border: none;
  padding: 0 14px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Video wrapper */
.mbps-video-wrap {
  margin: 24px 0;
}

/* Service cards */
.mbps-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.mbps-service-card {
  background: #080808;
  border-radius: 18px;
  border: 1px solid #333;
  padding: 20px;
  color: #fff;
}

.mbps-service-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.mbps-service-price {
  font-weight: 600;
  margin-bottom: 8px;
  color: #f5d35c;
}

.mbps-service-tagline {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #ccc;
}

.mbps-service-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Client portal */
.mbps-client-portal {
  background: #080808;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #333;
  color: #fff;
}

.mbps-project-list,
.mbps-message-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mbps-project-item,
.mbps-message-item {
  border-top: 1px solid #222;
  padding-top: 12px;
  margin-top: 12px;
}

.mbps-message-meta {
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 4px;
}

/* Analytics cards */
.mbps-analytics-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.mbps-analytics-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid #ddd;
  min-width: 160px;
}

.mbps-analytics-card h3 {
  margin: 0 0 6px;
}

.mbps-analytics-number {
  font-size: 1.4rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
  .mbps-chat-window {
    right: 10px;
    width: calc(100% - 20px);
  }

  .mbps-social-proof {
    left: 10px;
    right: 10px;
    text-align: center;
  }

  .mbps-social-toast {
    left: 10px;
    right: 10px;
    bottom: 80px;
    text-align: center;
  }
}
