/* c:/xampp/htdocs/Forum/assets/css/leadCapture.css */
/* Modal overlay */
#lead-modal,
.lead-modal {
  display: none; /* controlled by JS: flex or none */
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.85); /* Dark background matching the forum atmosphere */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Modal content card */
.lead-modal-content {
  background-color: #111116; /* Fallback for --bg-card */
  background-image: linear-gradient(135deg, #111116 0%, #07080d 100%);
  border: 1px solid rgba(201, 162, 39, 0.28); /* Gold border matching forum design */
  border-radius: 12px;
  padding: 30px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(201, 162, 39, 0.15); /* Glowing effect */
  animation: leadFadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Title style */
.lead-modal-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 30%, #FFD84A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form layout */
.lead-field-group {
  margin-bottom: 16px;
}

.lead-field-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #9F8130; /* Golden text secondary */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Input fields */
.lead-field-group input[type="text"],
.lead-field-group input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 8px;
  background-color: #090A0F;
  color: #F6E9B9;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-field-group input[type="text"]::placeholder,
.lead-field-group input[type="email"]::placeholder {
  color: #69531F; /* Muted brown-gold placeholder */
}

.lead-field-group input[type="text"]:focus,
.lead-field-group input[type="email"]:focus {
  border-color: #C9A227;
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.25);
  outline: none;
}

/* Action button area */
.lead-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.lead-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Messages area */
#lead-message {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  min-height: 1.2em;
}

@keyframes leadFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Premium Paywall System
   ============================================================ */
.paywall-truncated-content {
  position: relative;
  max-height: 160px;
  overflow: hidden;
  margin-bottom: -20px;
}

.paywall-truncated-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(13, 13, 18, 0) 0%, rgba(13, 13, 18, 0.95) 80%, rgba(13, 13, 18, 1) 100%);
  pointer-events: none;
}

.premium-paywall-card {
  margin: 30px 0;
  padding: 35px 30px;
  background-color: #111116;
  background-image: linear-gradient(135deg, #111116 0%, #07080d 100%);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(201, 162, 39, 0.15);
  text-align: center;
  position: relative;
  z-index: 10;
  animation: leadFadeInUp 0.4s ease;
}

.paywall-badge {
  background: #C9A227;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.paywall-lock {
  font-size: 42px;
  margin-bottom: 14px;
}

.premium-paywall-card h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.premium-paywall-card p {
  color: #a8b3cf;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto 20px auto;
  max-width: 460px;
}

.paywall-pricing {
  font-size: 14px;
  color: #9F8130;
  margin-bottom: 24px;
  font-weight: 600;
}

.paywall-pricing span {
  color: #FFD84A;
  font-size: 20px;
  font-weight: 800;
  display: inline-block;
  margin-left: 4px;
}

/* ============================================================
   SEO CTA Block (Leads Funnel)
   ============================================================ */
.topic-cta-block {
  margin: 35px 0;
  padding: 24px 28px;
  background-color: #090A0F;
  background-image: linear-gradient(135deg, #090A0F 0%, #151722 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid #C9A227;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.topic-cta-block .cta-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.topic-cta-block .cta-logo .logo-accent {
  color: #C9A227;
}

.topic-cta-block .cta-content {
  flex: 1;
  min-width: 250px;
}

.topic-cta-block h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
  color: #FFD84A;
}

.topic-cta-block p {
  margin: 0;
  font-size: 13px;
  color: #a8b3cf;
  line-height: 1.5;
}

.topic-cta-block .btn {
  white-space: nowrap;
  font-weight: 700;
}

@media (max-width: 768px) {
  .topic-cta-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .topic-cta-block .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   Consulting Sticky Banner & Modals
   ============================================================ */
.consulting-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #111116;
  background-image: linear-gradient(90deg, #111116 0%, #1e1708 50%, #111116 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  padding: 14px 40px 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 9999;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease;
}

.consulting-banner.hidden {
  transform: translateY(100%);
}

.consulting-banner-text {
  color: #f6e9b9;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.consulting-banner-text strong {
  color: #FFD84A;
  font-weight: 700;
}

.consulting-banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.2s ease;
  line-height: 1;
}

.consulting-banner-close:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .consulting-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px 24px;
    gap: 12px;
  }
  .consulting-banner-close {
    top: 15px;
    right: 15px;
    transform: none;
  }
}

/* Consulting Intake Modal Customizations */
.consulting-modal-content {
  background-color: #111116;
  background-image: linear-gradient(135deg, #111116 0%, #07080d 100%);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 12px;
  padding: 30px;
  max-width: 520px;
  width: 92%;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 162, 39, 0.15);
  position: relative;
  animation: leadFadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.consulting-modal-content h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 30%, #FFD84A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.consulting-modal-content p.subtitle {
  text-align: center;
  color: #a8b3cf;
  font-size: 13px;
  margin: 0 0 20px 0;
}

.consulting-modal-success {
  text-align: center;
  padding: 10px 0;
}

.consulting-modal-success .success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.consulting-modal-success h3 {
  color: #2ED573;
  margin: 0 0 10px 0;
  font-size: 20px;
}

.consulting-modal-success p {
  color: #a8b3cf;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.consulting-modal-success .chat-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Pre-sale Campaign Card & Modal
   ============================================================ */
.presale-card {
  background-color: #0b0c10;
  background-image: linear-gradient(135deg, #10121a 0%, #06070a 100%);
  border: 1px solid rgba(74, 163, 255, 0.22);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.presale-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 163, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.presale-card-info {
  flex: 1;
}

.presale-badge {
  background: rgba(74, 163, 255, 0.1);
  color: #4aa3ff;
  border: 1px solid rgba(74, 163, 255, 0.3);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.presale-card-title {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.presale-card-desc {
  margin: 0 0 14px 0;
  font-size: 13px;
  color: #a8b3cf;
  line-height: 1.5;
}

.presale-card-meta {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 12px;
}

.presale-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.presale-card-meta strong {
  color: #4aa3ff;
}

.presale-card-pricing {
  text-align: right;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.presale-price-tag {
  font-size: 22px;
  font-weight: 800;
  color: #4aa3ff;
}

.presale-price-tag s {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .presale-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 18px;
  }
  .presale-card-pricing {
    align-items: center;
    text-align: center;
  }
  .presale-card-pricing .btn {
    width: 100%;
  }
}

/* Pre-sale Modal Details */
.presale-modal-content {
  background-color: #111116;
  background-image: linear-gradient(135deg, #111116 0%, #07080d 100%);
  border: 1px solid rgba(74, 163, 255, 0.28);
  border-radius: 12px;
  padding: 30px;
  max-width: 580px;
  width: 92%;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(74, 163, 255, 0.15);
  position: relative;
  animation: leadFadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.presale-modal-content h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-align: center;
}

.presale-modal-content p.subtitle {
  text-align: center;
  color: #4aa3ff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 20px 0;
}

.presale-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.presale-feature-item {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  border-radius: 6px;
}

.presale-feature-icon {
  font-size: 18px;
}

.presale-feature-text strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

.presale-feature-text span {
  color: #a8b3cf;
  font-size: 12px;
  line-height: 1.4;
  display: block;
}

.presale-pricing-box {
  background: rgba(74, 163, 255, 0.05);
  border: 1px solid rgba(74, 163, 255, 0.15);
  padding: 16px 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 24px;
}

.presale-pricing-box .vagas-badge {
  background: #ff4757;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}

.presale-pricing-box .price-compare {
  font-size: 13px;
  color: #a8b3cf;
  margin-bottom: 4px;
}

.presale-pricing-box .price-value {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
}

.presale-pricing-box .price-value span {
  color: #4aa3ff;
}

.presale-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

