/* LEAD CAPTURE MODAL */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25, 25, 25, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white);
  width: 90%;
  max-width: 480px;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 5px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-pros {
  text-align: left;
  background: var(--bg);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  list-style: none;
}

.modal-pros li {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.modal-pros li:last-child { margin-bottom: 0; }

.modal-pros li span { color: var(--green); font-weight: 800; }

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}

.modal-input:focus {
  border-color: var(--blue);
}

.modal-btn-p {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn-p:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.modal-btn-s {
  background: none;
  color: var(--muted);
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.modal-btn-s:hover {
  color: var(--text);
  text-decoration: underline;
}

.modal-social {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-social .s-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.modal-success {
  display: none;
}

.modal-success.active {
  display: block;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

/* INLINE CTA */
.inline-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.inline-cta-txt {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* STICKY BOTTOM BAR */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
  padding: 14px 5%;
  z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-bar.open {
  transform: translateY(0);
}

.sticky-bar-in {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-bar-txt {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.sticky-bar-btns {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sticky-btn {
  padding: 10px 24px;
  font-size: 14px;
}

.sticky-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  padding: 5px;
  line-height:1;
}

@media (max-width: 768px) {
  .inline-cta { flex-direction: column; text-align: center; gap: 15px; }
  .sticky-bar-txt { font-size: 13px; }
  .sticky-btn { padding: 8px 16px; font-size: 12px; }
}

/* SMART ANALYSIS LOADER */
.loader-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 15, 25, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  color: white;
}

.loader-overlay.open {
  opacity: 1;
  visibility: visible;
}

.loader-content {
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.loader-ring {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
}

.loader-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
}

.loader-pct small {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.5;
  margin-left: 2px;
}

.loader-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFF, #0A66C2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loader-msg {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  min-height: 1.6em;
}

.loader-sub {
  font-size: 12px;
  font-weight: 600;
  color: #0A66C2;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.6;
}

#loader-circle {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
