/* ========== Auto Popup Contact Dialog ========== */
.cp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.cp-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cp-dialog {
  background: #fff;
  border-radius: 20px;
  width: 420px;
  max-width: 92vw;
  box-shadow: 0 24px 64px rgba(0,0,0,.25), 0 8px 24px rgba(124,58,237,.12);
  overflow: hidden;
  transform: translateY(24px) scale(.94);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.cp-overlay.active .cp-dialog {
  transform: translateY(0) scale(1);
}
.cp-dialog-header {
  background: linear-gradient(135deg,#A183FD,#7C3AED);
  color: #fff;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.cp-dialog-header::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 140px; height: 140px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cp-dialog-header h3 {
  margin: 0;
  font-family: 'Jost',sans-serif;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.cp-dialog-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,.18);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  position: relative;
  z-index: 1;
  line-height: 1;
}
.cp-dialog-close:hover {
  background: rgba(255,255,255,.32);
  transform: rotate(90deg);
}
.cp-dialog-body {
  padding: 28px 24px 24px;
  text-align: center;
}
.cp-dialog-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.cp-dialog-body p {
  font-family: 'Roboto',sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 20px;
}
.cp-dialog-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg,#A183FD,#7C3AED);
  color: #fff;
  font-family: 'Jost',sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124,58,237,.25);
}
.cp-dialog-btn:hover {
  background: linear-gradient(135deg,#8B6BF0,#6D28D9);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124,58,237,.35);
}
.cp-skip {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: #aaa;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Roboto',sans-serif;
  transition: color .2s;
  padding: 0;
}
.cp-skip:hover {
  color: #777;
}
@media(max-width:480px) {
  .cp-dialog { border-radius: 16px; }
  .cp-dialog-header { padding: 18px 20px; }
  .cp-dialog-body { padding: 22px 18px 18px; }
  .cp-dialog-header h3 { font-size: 16px; }
}