/* ===============================
   PEP AI — Scoped Styles
   =============================== */

   #chat-popup,
   #chat-toggle {
     --pep-bg: #0b0c10;
     --pep-card: #121418;
     --pep-muted: #9aa3af;
     --pep-accent: #ffcc32;
     font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
   }
   
   /* ===============================
      Floating Button
      =============================== */
   
   #chat-toggle {
     position: fixed;
     bottom: 30px;
     right: 30px;
     background: var(--pep-accent);
     border: none;
     border-radius: 50%;
     width: 56px;
     height: 56px;
     cursor: pointer;
     box-shadow: 0 4px 12px rgba(0,0,0,0.3);
     z-index: 9999;
     animation: pep-breathing 1.6s ease-in-out infinite;
   }
   
   #chat-toggle img {
     width: 28px;
     height: 28px;
   }
   
   @keyframes pep-breathing {
     0%,100% { transform: scale(1); }
     50% { transform: scale(1.08); }
   }
   
   /* ===============================
      Popup Container
      =============================== */
   
   #chat-popup {
     position: fixed;
     bottom: 20px;
     right: 20px;
     width: 480px;
     max-height: 520px;
     display: none;
     flex-direction: column;
     background: var(--pep-card);
     border: 1px solid #1f2937;
     border-radius: 10px;
     box-shadow: 0 8px 30px rgba(0,0,0,0.45);
     z-index: 10000;
     overflow: hidden;
   }
   
   /* ===============================
      Header
      =============================== */
   
   #chat-header {
     padding: 14px;
     background: var(--pep-accent);
     color: #000;
     font-weight: 600;
     display: flex;
     justify-content: space-between;
     align-items: center;
   }
   
   #chat-header button {
     background: transparent;
     border: none;
     font-size: 20px;
     cursor: pointer;
     color: #000;
   }
   
   /* ===============================
      Chat Log
      =============================== */
   
   #chat-popup #log {
     flex: 1;
     padding: 12px;
     overflow-y: auto;
     background: #0f1216;
     font-size: 16px;
     line-height: 1.5;
   }
   
   #chat-popup .msg {
     margin: 8px 0;
     color: white;
   }
   
   #chat-popup .user b {
     color: #60a5fa !important;
   }
   
   #chat-popup .bot b {
     color: #F04E58 !important;
   }
   
   #chat-popup .bot a {
     color: #F04E58 !important;
   }
   
   #chat-popup .bot p,
   #chat-popup .bot h2,
   #chat-popup .bot ul {
     margin: 6px 0;
   }
   
   /* ===============================
      Form
      =============================== */
   
   #chat-popup form {
     display: flex;
     gap: 8px;
     padding: 10px;
     border-top: 1px solid #1f2937;
     background: var(--pep-card);
   }
   
   #chat-popup form input {
     flex: 1;
     padding: 10px;
     border-radius: 8px;
     border: 1px solid #242938;
     background: #0f1216;
     color: #e5e7eb;
     font-size: 14px;
   }
   
   #chat-popup form button {
     background: var(--pep-accent);
     color: #000;
     border: none;
     border-radius: 8px;
     padding: 8px 12px;
     cursor: pointer;
     font-weight: 600;
   }
   
   /* ===============================
      Footer
      =============================== */
   
   #chat-popup .pep-footer {
     text-align: center;
     padding: 8px;
     font-size: 12px;
     color: var(--pep-muted);
   }
   
   /* ===============================
      Loader
      =============================== */
   
   #chat-popup .loader {
     display: inline-block;
     width: 14px;
     height: 14px;
     border: 2px solid #ccc;
     border-top: 2px solid var(--pep-accent);
     border-radius: 50%;
     animation: pep-spin 1s linear infinite;
     margin-left: 6px;
   }
   
   @keyframes pep-spin {
     0% { transform: rotate(0deg); }
     100% { transform: rotate(360deg); }
   }
   
   /* ===============================
      Mobile
      =============================== */
   
   @media (max-width: 767px) {
     #chat-popup {
       width: calc(100% - 40px);
       right: 20px;
       bottom: 20px;
     }
   }

/* ===============================
   PEP INTRO MODAL (Auto Popup)
==================================*/

#pep-intro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9997;
  animation: pepFadeIn .4s ease forwards;
}

@keyframes pepFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal animation */
#pep-intro-modal {
  transform: scale(.9) translateY(20px);
  opacity: 0;
  animation: pepModalIn .4s ease forwards;
}

@keyframes pepModalIn {
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Container Card */
.pep-card {
  background: url(https://wowmktg.com/wp-content/themes/wow-2020/img/lines-1.svg) center center #ffffff;
  padding: 50px;
  border-radius: 8px;
  max-width: 1000px;
  width: 95%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
}

/* Close button */
#pep-intro-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #000;
}

/* Row layout */
.pep-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Columns */
.pep-col {
  padding: 20px;
  box-sizing: border-box;
}

.pep-col-img {
  flex: 0 0 40%;
  text-align: center;
}

.pep-col-content {
  flex: 0 0 60%;
  display: flex;
  align-items: center;
}

/* Avatar */
.pep-avatar {
  width: 300px;
  max-width: 100%;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

/* Text styles */
.pep-title {
  font-family: "Gotham A", "Gotham B", Gotham, Helvetica, sans-serif;
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #000;
}

.pep-lead {
  font-size: 18px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Button */
.pep-btn {
  background: #ffcc32;
  color: #000;
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pep-btn:hover {
  background: #e6b800;
}

/* Responsive */
@media (max-width: 768px) {
  .pep-row {
    flex-direction: column;
    text-align: center;
  }

  .pep-col-img,
  .pep-col-content {
    flex: 0 0 100%;
  }

  .pep-title {
    font-size: 34px;
  }

  .pep-card {
    padding: 30px;
  }
}