/* ==========================================================================
   4ACHIEVERS ULTRA-CREATIVE LEADS MODAL & FORM SYSTEM
   100% Pixel-Accurate Creative Agency Lead Capture Component
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Kalam:wght@400;700&family=Caveat:wght@600;700&display=swap');

/* Modal Root Overlay */
.creative-leads-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.creative-leads-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Master Card Container */
.creative-leads-modal {
  position: relative;
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 
    0 25px 80px rgba(15, 23, 42, 0.22),
    0 0 50px rgba(236, 72, 153, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  overflow-x: hidden !important;
  transform: scale(0.94) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  max-height: min(92vh, 600px);
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.creative-leads-modal::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.creative-leads-overlay.active .creative-leads-modal {
  transform: scale(1) translateY(0);
}

/* Top-Right Circular Close Button */
.creative-leads-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;
  height: 34px;
  background: #f1f5f9;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.22s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.creative-leads-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: #fee2e2;
  color: #ef4444;
  border-color: #fecaca;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
}

/* Two-Column Body Layout (Zero Scrollbars & Clean Fluid Fit) */
.creative-leads-body {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  padding: 14px 20px 8px 20px;
  gap: 16px;
  align-items: stretch;
  overflow-y: auto;
  overflow-x: hidden !important;
  box-sizing: border-box;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.creative-leads-body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.creative-leads-body::-webkit-scrollbar:horizontal {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.creative-leads-body::-webkit-scrollbar-thumb {
  background: transparent;
}

.creative-leads-body::-webkit-scrollbar-track {
  background: transparent;
}

/* ==========================================================================
   LEFT COLUMN: ARTISTIC VISUAL & VALUE STACK
   ========================================================================== */
.creative-leads-art-col {
  position: relative;
  background: linear-gradient(to bottom, rgba(8, 12, 22, 0.05) 0%, rgba(8, 12, 22, 0.15) 45%, rgba(8, 12, 22, 0.92) 70%, #080c16 100%),
              url('../images/creative_leads_left_panel.jpg') center top / cover no-repeat;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  min-height: 360px;
  overflow: hidden !important;
  overflow-x: hidden !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

/* Glowing Neon Lightbulb Sparkle */
.creative-lightbulb-glow {
  position: absolute;
  top: 75px;
  left: 54%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.45) 0%, transparent 70%);
  filter: blur(8px);
  animation: bulbPulse 2.8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes bulbPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.18); }
}

/* Bottom Glass Card: What You Get? */
.creative-what-you-get-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  margin-top: auto;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.creative-what-you-get-card:hover {
  border-color: #ec4899;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.15);
}

.creative-wyg-title {
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.2px;
}

.creative-wyg-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creative-wyg-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creative-wyg-icon {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.creative-wyg-icon.pink {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.creative-wyg-icon.orange {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.creative-wyg-icon.blue {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.creative-wyg-icon.green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.creative-wyg-text h4 {
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.creative-wyg-text p {
  color: #475569;
  font-size: 10px;
  font-weight: 600;
  margin: 1px 0 0 0;
  line-height: 1.15;
}

/* ==========================================================================
   RIGHT COLUMN: CLEAN WHITE HIGH-CONVERTING LEAD FORM
   ========================================================================== */
.creative-leads-form-col {
  background: #ffffff;
  border-radius: 20px;
  padding: 14px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  overflow: hidden !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.creative-leads-form-col::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Ambient soft gradient splash at top right */
.creative-leads-form-col::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 120px;
  background: radial-gradient(circle at 100% 0%, rgba(244, 114, 182, 0.12), transparent 70%);
  border-top-right-radius: 20px;
  pointer-events: none;
}

/* Free Career Guidance Tag */
.creative-form-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.22);
  color: #d946ef;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 9999px;
  margin-bottom: 6px;
  width: fit-content;
}

/* Enquire About Heading + Dynamic Gradient Title */
.creative-form-heading {
  margin: 0 0 3px 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  position: relative;
}

.creative-form-title-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 45%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Hand-drawn doodle accent rays beside heading */
.creative-heading-rays {
  display: inline-block;
  vertical-align: super;
  margin-left: 4px;
  width: 18px;
  height: 18px;
}

.creative-form-subtext {
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.35;
  margin: 0 0 10px 0;
  font-weight: 500;
}

/* Form Container */
.creative-form-fields {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Input Row */
.creative-input-group {
  position: relative;
  width: 100%;
}

.creative-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.creative-input-group.has-textarea .creative-input-icon {
  top: 13px;
  transform: none;
}

.creative-input-field {
  width: 100%;
  height: 38px;
  padding: 8px 12px 8px 34px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: #1e293b;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.creative-input-field::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.creative-input-field:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

.creative-input-field:focus + .creative-input-icon,
.creative-input-group:focus-within .creative-input-icon {
  color: #ec4899;
}

/* Phone Field with Country Code Badge */
.creative-phone-row {
  display: flex;
  gap: 7px;
  position: relative;
}

.creative-phone-row .creative-input-group {
  flex: 1;
}

.creative-country-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  flex-shrink: 0;
  height: 38px;
  cursor: pointer;
  user-select: none;
}

.creative-flag-img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Custom Dropdown Select */
.creative-select-field {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 13px 13px;
  cursor: pointer;
}

/* Message Textarea */
.creative-textarea-field {
  height: 40px;
  padding-top: 8px;
  resize: none;
  line-height: 1.3;
}

/* Submit Enquiry Button */
.creative-submit-btn {
  width: 100%;
  height: 42px;
  margin-top: 2px;
  background: linear-gradient(135deg, #ff5722 0%, #ec4899 48%, #8b5cf6 88%, #7c3aed 100%);
  border: none;
  border-radius: 11px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease;
}

.creative-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.42);
  filter: brightness(1.05);
}

.creative-submit-btn:active {
  transform: translateY(0);
}

.creative-submit-btn .btn-arrow {
  transition: transform 0.2s ease;
}

.creative-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Privacy Assurance Note */
.creative-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 500;
}

.creative-privacy-note i {
  font-size: 10px;
  color: #94a3b8;
}

/* ==========================================================================
   BOTTOM STRIP: TRUST BADGES & TILTED YELLOW STICKY NOTE
   ========================================================================== */
.creative-leads-bottom-bar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 8px 20px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
  box-sizing: border-box;
  overflow: hidden !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.creative-leads-bottom-bar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Left & Center Trust Badges */
.creative-trust-badges-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.creative-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.creative-trust-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.creative-trust-icon-circle.yellow {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fef08a;
}

.creative-trust-icon-circle.cyan {
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #a5f3fc;
}

.creative-trust-icon-circle.purple {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.creative-trust-text h5 {
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.creative-trust-text p {
  color: #475569;
  font-size: 9.5px;
  font-weight: 600;
  margin: 1px 0 0 0;
  line-height: 1.2;
}

/* Bottom Right Sticky Note */
.creative-sticky-note-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 2px 6px;
  margin-right: 4px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Hand-drawn doodle arrow pointing to note */
.creative-sticky-arrow {
  color: #64748b;
  font-size: 16px;
  transform: rotate(-10deg);
}

/* Yellow Tilted Post-It Sticky Note */
.creative-yellow-sticky-note {
  position: relative;
  background: linear-gradient(145deg, #fef08a 0%, #fde047 100%);
  color: #713f12;
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.15;
  padding: 5px 12px 6px 12px;
  border-radius: 4px;
  transform: rotate(3.5deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
  text-align: center;
  transition: transform 0.2s ease;
  user-select: none;
}

.creative-yellow-sticky-note:hover {
  transform: rotate(0deg) scale(1.05);
}

.creative-yellow-sticky-note .heart-doodle {
  display: inline-block;
  font-size: 13px;
  color: #854d0e;
  margin-left: 3px;
}

/* Sticky Tape Graphic at top */
.creative-yellow-sticky-note::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   FLOATING TRIGGER BUTTON (GLOBAL ACROSS ALL PAGES)
   ========================================================================== */
.creative-floating-enquire-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  background: linear-gradient(135deg, #ff5722 0%, #ec4899 50%, #8b5cf6 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.45), 0 0 20px rgba(139, 92, 246, 0.35);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  animation: floatingBounce 3s infinite ease-in-out;
}

.creative-floating-enquire-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 40px rgba(236, 72, 153, 0.6);
  animation-play-state: paused;
}

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

/* ==========================================================================
   SUCCESS SUBMISSION STATE
   ========================================================================== */
.creative-leads-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  animation: fadeInSuccess 0.4s ease-out;
}

@keyframes fadeInSuccess {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.creative-success-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  margin-bottom: 18px;
}

.creative-leads-success-state h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.creative-leads-success-state p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 0 22px 0;
}

.creative-success-close-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.creative-success-close-btn:hover {
  background: #1e293b;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE SCREENS)
   ========================================================================== */
@media (max-width: 768px) {
  .creative-leads-modal {
    max-width: 520px;
    max-height: 94vh;
    border-radius: 24px;
  }

  .creative-leads-body {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .creative-leads-art-col {
    min-height: 200px;
    padding: 16px;
    background-position: center 20%;
  }

  .creative-what-you-get-card {
    display: none; /* Keep mobile clean and focused on lead capture */
  }

  .creative-leads-form-col {
    padding: 22px 18px;
  }

  .creative-form-heading {
    font-size: 22px;
  }

  .creative-trust-badges-wrap {
    gap: 14px;
  }

  .creative-sticky-note-wrap {
    display: none;
  }

  .creative-leads-close {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .creative-leads-modal {
    border-radius: 20px;
    margin: 4px;
  }

  .creative-leads-form-col {
    padding: 18px 14px;
  }

  .creative-form-heading {
    font-size: 19px;
  }

  .creative-trust-badges-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .creative-floating-enquire-btn {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
    font-size: 12px;
  }
}
