/* LP Lead Capture Styles */
@font-face{
  font-family:'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Nunito'), local('Nunito Regular');
}
:root{
  --lp-primary: #8b0000; /* đỏ đun */
  --lp-primary-600: #750000;
  --lp-gradient: linear-gradient(135deg, #8b0000 0%, #b22222 100%);
  --lp-radius: 14px;
  --lp-shadow: 0 8px 30px rgba(139,0,0,.18);
}
.lp-lead-btn{
  font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--lp-gradient);
  color:#fff;
  border:none;
  padding:12px 18px;
  border-radius: 999px;
  cursor:pointer;
  font-weight:700;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: var(--lp-shadow);
}
.lp-lead-btn:hover{ transform: translateY(-1px); opacity:.95; }
.lp-lead-btn:active{ transform: translateY(0); opacity: .9; }
.lp-lead-floating{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
}

.lp-lead-overlay{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.55);
  display:none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}
.lp-lead-overlay.active{ display:flex; }

.lp-lead-modal{
  width: 100%;
  max-width: 520px;
  background:#fff;
  border-radius: var(--lp-radius);
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
  overflow: hidden;
  font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.lp-lead-title{
  margin:0;
  padding:20px 20px 6px;
  font-size: 22px;
  font-weight: 800;
  color:#111827;
}
.lp-lead-desc{
  margin:0 20px 10px;
  color:#374151;
  font-size: 14px;
}
.lp-lead-form{
  padding: 14px 20px 22px;
}
.lp-field{ margin-bottom: 12px; }
.lp-field label{
  display:block;
  font-size: 14px;
  margin-bottom: 6px;
  color:#374151;
  font-weight:700;
}
.lp-field input{
  width:100%;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-field input:focus{
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 4px rgba(139,0,0,.12);
}
.lp-submit{
  width:100%;
  background: var(--lp-gradient);
  color:#fff;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .2s ease, transform .15s ease;
  box-shadow: var(--lp-shadow);
}
.lp-submit:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.lp-submit:active{ transform: translateY(0); }

.lp-lead-close{
  position:absolute;
  margin: 10px 10px 0 0;
  right: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f3f4f6;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lp-lead-close:hover{ background:#e5e7eb; color:#374151; }

.lp-lead-message{
  margin-top: 10px;
  font-size: 14px;
  color:#065f46;
  min-height: 20px;
}
@media (max-width:480px){
  .lp-lead-modal{ max-width: 94vw; }
}
